Man page - apertium-deslatex(1)
Packages contains this manual
- apertium-deslatex(1)
- apertium-retxt(1)
- apertium-rertf(1)
- apertium-extract-caps(1)
- apertium-destxt(1)
- apertium-tagger(1)
- apertium-remediawiki(1)
- apertium-relatex(1)
- apertium-rehtml(1)
- apertium-rexlsx(1)
- apertium-repptx(1)
- apertium-rewxml(1)
- apertium-deshtml-alt(1)
- apertium-transfer(1)
- apertium(1)
- apertium-multiple-translations(1)
- apertium-postchunk(1)
- apertium-deswxml(1)
- apertium-desmediawiki(1)
- apertium-despptx(1)
- apertium-preprocess-transfer(1)
- apertium-utils-fixlatex(1)
- apertium-interchunk(1)
- apertium-prelatex(1)
- apertium-desrtf(1)
- apertium-deshtml(1)
- apertium-unformat(1)
- apertium-reodt(1)
- apertium-postlatex-raw(1)
- apertium-desxlsx(1)
- apertium-pretransfer(1)
- apertium-desodt(1)
- apertium-postlatex(1)
- apertium-restore-caps(1)
apt-get install apertium
Manual
APERTIUM-DESLATEX (1) General Commands Manual APERTIUM-DESLATEX (1)
NAME
apertium-deslatex — LaTeX format processor for Apertium
SYNOPSIS
apertium-deslatex [ -hin ] [ input_file [ output_file ]]
DESCRIPTION
This tool is part of the Apertium open-source machine translation toolbox : https://apertium.org/.
The apertium-deslatex filter preprocesses apertium-prelatex (1) output to a deformatted “XMLish” LaTeX custom format. The output is suitable for processing with lt-proc (1). Format information (newlines, tabs, etc.) is enclosed in brackets so that lt-proc (1) treats it as whitespace between words.
OPTIONS
-h
,
--help
Display this help.
-i
Makes the addition of trailing sentence terminator (‘.’) unconditional, often leading to duplicates.
-n
Suppresses the addition of a trailing sentence terminator.
EXAMPLES
You could write the following to show how the word “gener” is analysed:
echo "
<textit/><CONTENTS>gener</CONTENTS> " | apertium-deslatex | lt-proc ca-es.automorf.bin
SEE ALSO
apertium (1), apertium-destxt (1), apertium-postlatex (1), apertium-postlatex-raw (1), apertium-prelatex (1), apertium-relatex (1), lt-proc (1)
COPYRIGHT
Copyright © 2005, 2006 Universitat d’Alacant / Universidad de Alicante. This is free software. You may redistribute copies of it under the terms of the GNU General Public License : https://www.gnu.org/licenses/gpl.html.
BUGS
Complicated constructions in LaTeX (e.g., custom defined tags) are not (yet) supported. Apertium February 29, 2012 APERTIUM-DESLATEX (1)