From c8b8ea37fe9cd71b53223dff23f291b2f158fc0f Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 19 Mar 2020 03:01:18 +0000 Subject: CTAN sync 202003190301 --- support/latex2nemeth/README | 26 ++++++++++++++++++-------- support/latex2nemeth/latex2nemeth | 2 +- support/pmx/OSX/pmxab | Bin 748292 -> 739596 bytes support/pmx/README | 2 +- support/pmx/doc/ChangeLog | 1 + 5 files changed, 21 insertions(+), 10 deletions(-) (limited to 'support') diff --git a/support/latex2nemeth/README b/support/latex2nemeth/README index a6f6011dd9..e5a7588528 100644 --- a/support/latex2nemeth/README +++ b/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/support/latex2nemeth/latex2nemeth b/support/latex2nemeth/latex2nemeth index 681eef40c5..3ce409fc29 100755 --- a/support/latex2nemeth/latex2nemeth +++ b/support/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/support/pmx/OSX/pmxab b/support/pmx/OSX/pmxab index 728b070872..547598390b 100755 Binary files a/support/pmx/OSX/pmxab and b/support/pmx/OSX/pmxab differ diff --git a/support/pmx/README b/support/pmx/README index 18a886f436..2584839ad4 100644 --- a/support/pmx/README +++ b/support/pmx/README @@ -1,4 +1,4 @@ -This is PMX, version 2.94 (2020-01-27). PMX provides a preprocessor for MusiXTeX. +This is PMX, version 2.94 (2020-03-17). PMX provides a preprocessor for MusiXTeX. pmxab builds a TeX input file based on a .pmx input file in a much simpler language, making most of the layout decisions diff --git a/support/pmx/doc/ChangeLog b/support/pmx/doc/ChangeLog index 6715e9b1e3..3453c44fc5 100644 --- a/support/pmx/doc/ChangeLog +++ b/support/pmx/doc/ChangeLog @@ -1,6 +1,7 @@ 2.94 Allow moving dots on main and chord note in 2-note termolos Add definitions of \hbp and \hbpp to pmx.tex + Correct scaldold bug (17-03-2020) 2.91 Tweak: insert \stdstemfalse before every user-shortened or lengthened stem. -- cgit v1.2.3