print/p5-LaTeX-Encode 0.092.0nb9 NetBSD
Encode characters for LaTeX formatting
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2
- Categories
- textproc
- Package size
- 17.5 KiB, 80.5 KiB installed
Description
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!).
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | print/p5-LaTeX-Encode | 0.092.0nb9 |
| FreeBSD | textproc/p5-LaTeX-Encode | 0.092.0 |
| OpenBSD | textproc/p5-LaTeX-Encode | 0.092.0p0 |
| DragonFly | textproc/p5-LaTeX-Encode | 0.092.0 |
| HardenedBSD | textproc/p5-LaTeX-Encode | 0.092.0 |
| GhostBSD | textproc/p5-LaTeX-Encode | 0.092.0 |
Install
Binary package:
pkgin install p5-LaTeX-Encode
From pkgsrc:
cd /usr/pkgsrc/print/p5-LaTeX-Encode && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.092.0nb9 |
| NetBSD 10.1 aarch64 | 0.092.0nb8 |
| SmartOS / illumos x86_64 | 0.092.0nb9 |
| macOS 15 arm64 | 0.092.0nb9 |