diff options
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/latex2nemeth/latex2nemeth | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2nemeth/README | 26 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/latex2nemeth/latex2nemeth | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/latex2nemeth/latex2nemeth-v1.0.2.jar (renamed from Master/texmf-dist/scripts/latex2nemeth/latex2nemeth-v1.0.1.jar) | bin | 7960397 -> 7967051 bytes |
4 files changed, 20 insertions, 10 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/latex2nemeth/latex2nemeth b/Build/source/texk/texlive/linked_scripts/latex2nemeth/latex2nemeth index 681eef40c5c..3ce409fc29b 100755 --- a/Build/source/texk/texlive/linked_scripts/latex2nemeth/latex2nemeth +++ b/Build/source/texk/texlive/linked_scripts/latex2nemeth/latex2nemeth @@ -1,3 +1,3 @@ #!/bin/sh -jarpath=`kpsewhich --progname=latex2nemeth --format=texmfscripts latex2nemeth-v1.0.1.jar` +jarpath=`kpsewhich --progname=latex2nemeth --format=texmfscripts latex2nemeth-v1.0.2.jar` exec java -jar "$jarpath" "$@" 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 diff --git a/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth b/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth index 681eef40c5c..3ce409fc29b 100755 --- a/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth +++ b/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth @@ -1,3 +1,3 @@ #!/bin/sh -jarpath=`kpsewhich --progname=latex2nemeth --format=texmfscripts latex2nemeth-v1.0.1.jar` +jarpath=`kpsewhich --progname=latex2nemeth --format=texmfscripts latex2nemeth-v1.0.2.jar` exec java -jar "$jarpath" "$@" diff --git a/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth-v1.0.1.jar b/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth-v1.0.2.jar Binary files differindex c6021e6ea80..af98f3898eb 100755 --- a/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth-v1.0.1.jar +++ b/Master/texmf-dist/scripts/latex2nemeth/latex2nemeth-v1.0.2.jar |