imports ports/textproc/p5-LaTeX-Encode, merged from submissions by Andrew Fresh
and Chris Bennett. Earlier version OK landry@ TeX::Encode exports the function 'latex_encode' which encodes characters in a string, that would be incorrectly interpreted by LaTeX.
This commit is contained in:
parent
ff37bfa26b
commit
bb51797759
18
textproc/p5-LaTeX-Encode/Makefile
Normal file
18
textproc/p5-LaTeX-Encode/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/06/27 10:57:54 sthen Exp $
|
||||
|
||||
COMMENT= encode characters for LaTeX formatting
|
||||
|
||||
DISTNAME= LaTeX-Encode-0.03
|
||||
CATEGORIES= textproc
|
||||
|
||||
MODULES= cpan
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
REGRESS_DEPENDS= devel/p5-Test-Pod-Coverage>=1.08p1
|
||||
|
||||
.include <bsd.port.mk>
|
5
textproc/p5-LaTeX-Encode/distinfo
Normal file
5
textproc/p5-LaTeX-Encode/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (LaTeX-Encode-0.03.tar.gz) = o928fLb4RtfhTm+lMyxwaw==
|
||||
RMD160 (LaTeX-Encode-0.03.tar.gz) = 4d12bm4q35VrnJwOq+ZZwtyrBnE=
|
||||
SHA1 (LaTeX-Encode-0.03.tar.gz) = A9CVsSvEJSmPy1bO9fCiAHz8UVs=
|
||||
SHA256 (LaTeX-Encode-0.03.tar.gz) = jbvFjR13GJA304upQsxpkwKYA1bk8qP9kBy/Eg+W7K4=
|
||||
SIZE (LaTeX-Encode-0.03.tar.gz) = 22547
|
18
textproc/p5-LaTeX-Encode/pkg/DESCR
Normal file
18
textproc/p5-LaTeX-Encode/pkg/DESCR
Normal file
@ -0,0 +1,18 @@
|
||||
TeX::Encode exports the function 'latex_encode' which encodes
|
||||
characters in a string, that would be incorrectly interpreted by
|
||||
LaTeX.
|
||||
|
||||
The latex_encode function takes a text string and an optional
|
||||
reference to a hash of options. The options currently supported
|
||||
are "exclude" to specify a list of characters that should not be
|
||||
encoded (often this is "\\{}" to allow LaTeX commands to be used
|
||||
in the text string), and "iquotes" to enable "intelligent quotes",
|
||||
that is double quotes around a phrase will be converted to "``" and
|
||||
"''" and single quotes to "`" and "'".
|
||||
|
||||
The scripts directory contains scripts to help build the character
|
||||
encoding tables used by the module and to create and format a
|
||||
document listing the characters that the module encodes with their
|
||||
Unicode character value, HTML entity representation, LaTeX encoding
|
||||
and visual representation. These scripts are not installed by "make
|
||||
install".
|
6
textproc/p5-LaTeX-Encode/pkg/PLIST
Normal file
6
textproc/p5-LaTeX-Encode/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/06/27 10:57:54 sthen Exp $
|
||||
${P5SITE}/LaTeX/
|
||||
${P5SITE}/LaTeX/Encode/
|
||||
${P5SITE}/LaTeX/Encode.pm
|
||||
${P5SITE}/LaTeX/Encode/EncodingTable.pm
|
||||
@man man/man3p/LaTeX::Encode.3p
|
Loading…
Reference in New Issue
Block a user