pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/p5-LaTeX-Encode Importing package for perl modul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/321563241dcf
branches:  trunk
changeset: 558930:321563241dcf
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun May 17 10:24:53 2009 +0000

description:
Importing package for perl module LaTeX::Encode as a dependency of upcoming
LaTeX::Table and Template::Plugin::Latex packages.

This module provides a function to encode text that is to be formatted with
LaTeX. It encodes characters that are special to LaTeX or that are
represented in LaTeX by LaTeX commands.

diffstat:

 print/p5-LaTeX-Encode/DESCR    |  18 ++++++++++++++++++
 print/p5-LaTeX-Encode/Makefile |  20 ++++++++++++++++++++
 print/p5-LaTeX-Encode/distinfo |   5 +++++
 3 files changed, 43 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r 1a06fb626c21 -r 321563241dcf print/p5-LaTeX-Encode/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-LaTeX-Encode/DESCR       Sun May 17 10:24:53 2009 +0000
@@ -0,0 +1,18 @@
+This module provides a function to encode text that is to be formatted with
+LaTeX. It encodes characters that are special to LaTeX or that are
+represented in LaTeX by LaTeX commands.
+
+The special characters are: \ (command character), { (open group), }
+(end group), & (table column separator), # (parameter specifier),
+% (comment character), _ (subscript), ^ (superscript),
+~ (non-breakable space), $ (mathematics mode).
+
+Note that some of the LaTeX commands for characters are defined in the LaTeX
+textcomp package. If your text includes such characters, you will need to
+include the following lines in the preamble to your LaTeX document.
+
+    \usepackage[T1]{fontenc}
+    \usepackage{textcomp}
+
+The function is useful for encoding data that is interpolated into LaTeX
+document templates, say with Template::Plugin::Latex (shameless plug!).
diff -r 1a06fb626c21 -r 321563241dcf print/p5-LaTeX-Encode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-LaTeX-Encode/Makefile    Sun May 17 10:24:53 2009 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/17 10:24:53 sno Exp $
+#
+
+DISTNAME=      LaTeX-Encode-0.03
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=LaTeX/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/LaTeX-Encode/
+COMMENT=       Encode characters for LaTeX formatting
+LICENSE=       gnu-gpl-v2 # OR artistic
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_PACKLIST=                auto/LaTeX/Encode/.packlist
+REPLACE_PERL+=         scripts/build-character-table scripts/format-encoding-reference
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1a06fb626c21 -r 321563241dcf print/p5-LaTeX-Encode/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-LaTeX-Encode/distinfo    Sun May 17 10:24:53 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/17 10:24:53 sno Exp $
+
+SHA1 (LaTeX-Encode-0.03.tar.gz) = 03d095b12bc425298fcb56cef5f0a2007cfc515b
+RMD160 (LaTeX-Encode-0.03.tar.gz) = e1dd766e6e2adf956b9c9c0eabe659c2dcab0671
+Size (LaTeX-Encode-0.03.tar.gz) = 22547 bytes



Home | Main Index | Thread Index | Old Index