textproc/p5-LaTeX-Encode 0.092.0p0 OpenBSD
encode characters for LaTeX formatting
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- textproc, perl5
Description
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".
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/p5-LaTeX-Encode | 0.092.0p0 |
| FreeBSD | textproc/p5-LaTeX-Encode | 0.092.0 |
| NetBSD | print/p5-LaTeX-Encode | 0.092.0nb9 |
| DragonFly | textproc/p5-LaTeX-Encode | 0.092.0 |
Install
Binary package:
pkg_add p5-LaTeX-Encode
From the ports tree:
cd /usr/ports/textproc/p5-LaTeX-Encode && make install
Dependencies
Run dependencies 1
No port depends on this one.