diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-18 21:17:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-18 21:17:45 +0000 |
commit | 6ba00476fa30dee230a29b78b78c6df7a4401816 (patch) | |
tree | bee256b14f5a08dea4ecc1e158c49b74198a7975 /Master/texmf-dist/doc | |
parent | 792ae04d28e61e9ce8b84aa1ded3be822cb76916 (diff) |
latex2nemeth (18mar20)
git-svn-id: svn://tug.org/texlive/trunk@54389 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/support/latex2nemeth/README | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/support/latex2nemeth/README b/Master/texmf-dist/doc/support/latex2nemeth/README index a6f6011dd97..e5a7588528a 100644 --- a/Master/texmf-dist/doc/support/latex2nemeth/README +++ b/Master/texmf-dist/doc/support/latex2nemeth/README @@ -1,6 +1,16 @@ Latex2Nemeth ============ -Version 1.0.1 +Version 1.0.2 + +==================================== + +New addition in this version (compared to 1.0.1) +is basic macro support. The program supports +simple replacement commands (such as \newcommand{}{}) +and commands with optional arguments +(such as \newcommand{\inner}[2]{\langle#1,#2\rangle}). + +===================================== This is the source tree for Latex2Nemeth, a tool for translating TeX files to Braille. @@ -13,7 +23,7 @@ This is the source tree for Latex2Nemeth, a tool for translating TeX files to Br Licence ------- -Copyright 2016-2017 by Andreas Papasalοuros, Antonis Tsolomitis. +Copyright 2016-2020 by Andreas Papasalοuros, Antonis Tsolomitis. This program is distributed under the GPL, version 3 or later. Please see the COPYING file for details. @@ -53,7 +63,7 @@ Usage ----- After compiling the tool the executable `jar` will be located in the `target/` directory, -e.g. `target/latex2nemeth-v1.0.1.jar`. +e.g. `target/latex2nemeth-v1.0.2.jar`. A simple to way to run the tool is @@ -69,13 +79,13 @@ A simple to way to run the tool is **Examples** A simple example: - java -jar target/latex2nemeth-v1.0.1.jar src/test/resources/com/latex2nemeth/bootstrap/mathtest.tex src/test/resources/com/latex2nemeth/bootstrap/mathtest.aux + java -jar target/latex2nemeth-v1.0.2.jar src/test/resources/com/latex2nemeth/bootstrap/mathtest.tex src/test/resources/com/latex2nemeth/bootstrap/mathtest.aux A more complicated example: - java -jar target/latex2nemeth-v1.0.1.jar src/test/resources/com/latex2nemeth/bootstrap/mathtest.tex src/test/resources/com/latex2nemeth/bootstrap/mathtest.aux -o ch -m nemeth -e src/test/resources/com/latex2nemeth/bootstrap/nemeth.json + java -jar target/latex2nemeth-v1.0.2.jar src/test/resources/com/latex2nemeth/bootstrap/mathtest.tex src/test/resources/com/latex2nemeth/bootstrap/mathtest.aux -o ch -m nemeth -e src/test/resources/com/latex2nemeth/bootstrap/nemeth.json An example with pictures: - java -jar target/latex2nemeth-v1.0.1.jar src/test/resources/com/latex2nemeth/bootstrap/mathpics.tex src/test/resources/com/latex2nemeth/bootstrap/mathpics.aux + java -jar target/latex2nemeth-v1.0.2.jar src/test/resources/com/latex2nemeth/bootstrap/mathpics.tex src/test/resources/com/latex2nemeth/bootstrap/mathpics.aux **Notes** ------------- @@ -85,7 +95,7 @@ A simple to way to run the tool is iconv -f iso8859-7 -t utf-8 source.tex > source-utf8.tex - or using your editor. Now run "java -jar latex2nemeth-v1.0.1.jar" as above with + or using your editor. Now run "java -jar latex2nemeth-v1.0.2.jar" as above with source-utf8.tex as the tex file and source.aux as the aux file. If errors are produced you need to modify the source-utf8.tex at the line indicated. Usually the errors have to do either with non supported shortcuts for macros @@ -119,7 +129,7 @@ smoothly a \newcommand can be introduced in the preamble, such as 6. It is possible to translate TeX files using different Braille alphabets. A different Braille alphabet is encoded in a JSON file. For example, in order to translate a texfile into polytonic Greek, the command is as follows: - java -jar latex2nemeth-v1.0.1.jar texfile.tex auxfile.aux -e /path/to/polytonic.json + java -jar latex2nemeth-v1.0.2.jar texfile.tex auxfile.aux -e /path/to/polytonic.json Please report issues related to erratic output to a n d p a p a s [AT] a e g e a n . g r and issues related to the tex file handling/modifying to a n t o n i s . t s o l o m i t i s [AT] g m a i l . c o m |