diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-02-23 23:21:58 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-02-23 23:21:58 +0000 |
commit | f35134ae9f4e96ecca9a295630496ca5e6b613be (patch) | |
tree | 7a1275d6ecc649ab0b38c3e354bc1a8c806a2972 /Build/source/utils/autosp/autosp-src | |
parent | 26b130f30cd70bd1f296fb34e9c7d18d8f3b1bf8 (diff) |
autosp-2018-02-23
git-svn-id: svn://tug.org/texlive/trunk@46726 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/autosp/autosp-src')
-rw-r--r-- | Build/source/utils/autosp/autosp-src/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/utils/autosp/autosp-src/README | 9 | ||||
-rw-r--r-- | Build/source/utils/autosp/autosp-src/autosp.c | 11 | ||||
-rwxr-xr-x | Build/source/utils/autosp/autosp-src/autosp.test | 2 | ||||
-rwxr-xr-x | Build/source/utils/autosp/autosp-src/configure | 20 | ||||
-rw-r--r-- | Build/source/utils/autosp/autosp-src/configure.ac | 2 | ||||
-rw-r--r-- | Build/source/utils/autosp/autosp-src/tests/quod2.tex | 2 | ||||
-rw-r--r-- | Build/source/utils/autosp/autosp-src/tests/quod4.aspc | 2 | ||||
-rwxr-xr-x | Build/source/utils/autosp/autosp-src/tex2aspc.test | 3 | ||||
-rw-r--r-- | Build/source/utils/autosp/autosp-src/utils.h | 2 |
10 files changed, 30 insertions, 28 deletions
diff --git a/Build/source/utils/autosp/autosp-src/ChangeLog b/Build/source/utils/autosp/autosp-src/ChangeLog index c3bf343787a..79aa95597a2 100644 --- a/Build/source/utils/autosp/autosp-src/ChangeLog +++ b/Build/source/utils/autosp/autosp-src/ChangeLog @@ -1,5 +1,10 @@ AUTOSP +2018-02-23 + + Avoid aborting for \endvolta... + Fix version output. + 2018-02-14 Allow for \end{...} in LaTeX-oriented inputs. diff --git a/Build/source/utils/autosp/autosp-src/README b/Build/source/utils/autosp/autosp-src/README index 32cdc77ed78..ea1b5218811 100644 --- a/Build/source/utils/autosp/autosp-src/README +++ b/Build/source/utils/autosp/autosp-src/README @@ -1,5 +1,5 @@ This is the README for the autosp package, -version 2018-02-14. +version 2018-02-23. autosp is a preprocessor that generates note-spacing commands for MusiXTeX scores. It simplifies the creation @@ -25,13 +25,6 @@ precede note segments, allowing more flexible source formatting; the line breaks and spaces will be elided from the output. -If applied to a file with .tex extension, autosp will -process conventional note-spacing commands (but not \vnotes -or \znotes) similarly. This is intended to correct spacing -in an extracted single-instrument part, but may not -produce satisfactory output when applied to a conventional -multi-instrument MusiXTeX score. - If there is a single staff, consecutive whole-bar rest bars are merged into a multi-bar rest. Bar-centered rests can be coded using the standard \def\atnextbar notation but also diff --git a/Build/source/utils/autosp/autosp-src/autosp.c b/Build/source/utils/autosp/autosp-src/autosp.c index ed0d27327aa..4e9773e85d2 100644 --- a/Build/source/utils/autosp/autosp-src/autosp.c +++ b/Build/source/utils/autosp/autosp-src/autosp.c @@ -1,4 +1,4 @@ -char version[12] = "2018-01-17"; +char version[12] = "2018-02-23"; /* Copyright (C) 2014-18 R. D. Tennent School of Computing, * Queen's University, rdt@cs.queensu.ca @@ -2003,10 +2003,11 @@ void process_command (char **ln) *ln = *ln + strlen(*ln); } - else if ( prefix ("\\end", *ln) - && !prefix ("\\end{", *ln) ) + else if ( prefix ("\\end ", *ln) + || prefix ("\\end%", *ln) + || prefix ("\\end{document}", *ln) ) { - fprintf (outfile, "\\end\n"); + fprintf (outfile, *ln); exit(0); } @@ -2077,7 +2078,7 @@ int main (int argc, char *argv[]) time (&mytime); strftime (today, 11, "%Y-%m-%d", localtime (&mytime) ); printf ("This is autosp, version %s.\n", version); - printf ("Copyright (C) 2014-17 R. D. Tennent\n" ); + printf ("Copyright (C) 2014-18 R. D. Tennent\n" ); printf ("School of Computing, Queen's University, rdt@cs.queensu.ca\n" ); printf ("License GNU GPL version 2 or later <http://gnu.org/licences/gpl.html>.\n" ); printf ("There is NO WARRANTY, to the extent permitted by law.\n\n" ); diff --git a/Build/source/utils/autosp/autosp-src/autosp.test b/Build/source/utils/autosp/autosp-src/autosp.test index 07d7e8c2a12..7045194c46d 100755 --- a/Build/source/utils/autosp/autosp-src/autosp.test +++ b/Build/source/utils/autosp/autosp-src/autosp.test @@ -19,7 +19,7 @@ echo && echo "*** autosp --version" echo && echo "*** autosp -dd (missing infile)" ./autosp -dd && exit 1 -echo && echo "*** autosp tests/quod2.aspc quod2.aspc" +echo && echo "*** autosp tests/quod2.aspc quod2.tex" cp $test_srcdir/tests/quod2.aspc . rm -f quod2.tex ./autosp quod2.aspc || exit 1 diff --git a/Build/source/utils/autosp/autosp-src/configure b/Build/source/utils/autosp/autosp-src/configure index 31f2922de58..182a6b718ac 100755 --- a/Build/source/utils/autosp/autosp-src/configure +++ b/Build/source/utils/autosp/autosp-src/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for autosp 2018-02-14. +# Generated by GNU Autoconf 2.69 for autosp 2018-02-23. # # Report bugs to <rdt@cs.queensu.ca>. # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='autosp' PACKAGE_TARNAME='autosp' -PACKAGE_VERSION='2018-02-14' -PACKAGE_STRING='autosp 2018-02-14' +PACKAGE_VERSION='2018-02-23' +PACKAGE_STRING='autosp 2018-02-23' PACKAGE_BUGREPORT='rdt@cs.queensu.ca' PACKAGE_URL='' @@ -1265,7 +1265,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures autosp 2018-02-14 to adapt to many kinds of systems. +\`configure' configures autosp 2018-02-23 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1331,7 +1331,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of autosp 2018-02-14:";; + short | recursive ) echo "Configuration of autosp 2018-02-23:";; esac cat <<\_ACEOF @@ -1422,7 +1422,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -autosp configure 2018-02-14 +autosp configure 2018-02-23 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1845,7 +1845,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by autosp $as_me 2018-02-14, which was +It was created by autosp $as_me 2018-02-23, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2708,7 +2708,7 @@ fi # Define the identity of the package. PACKAGE='autosp' - VERSION='2018-02-14' + VERSION='2018-02-23' cat >>confdefs.h <<_ACEOF @@ -4974,7 +4974,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by autosp $as_me 2018-02-14, which was +This file was extended by autosp $as_me 2018-02-23, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5040,7 +5040,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -autosp config.status 2018-02-14 +autosp config.status 2018-02-23 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/Build/source/utils/autosp/autosp-src/configure.ac b/Build/source/utils/autosp/autosp-src/configure.ac index 57d151f9f9b..0b7a9adf82d 100644 --- a/Build/source/utils/autosp/autosp-src/configure.ac +++ b/Build/source/utils/autosp/autosp-src/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.63) -AC_INIT([autosp],[2018-02-14],[rdt@cs.queensu.ca]) +AC_INIT([autosp],[2018-02-23],[rdt@cs.queensu.ca]) AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE AC_CONFIG_HEADERS([config.h]) diff --git a/Build/source/utils/autosp/autosp-src/tests/quod2.tex b/Build/source/utils/autosp/autosp-src/tests/quod2.tex index 77dba9d1ef1..775ae9ee1a5 100644 --- a/Build/source/utils/autosp/autosp-src/tests/quod2.tex +++ b/Build/source/utils/autosp/autosp-src/tests/quod2.tex @@ -1,4 +1,4 @@ -% Generated by autosp (2018-01-17). +% Generated by autosp (2018-02-23). \input musixtex \input musixplt \input soul.sty diff --git a/Build/source/utils/autosp/autosp-src/tests/quod4.aspc b/Build/source/utils/autosp/autosp-src/tests/quod4.aspc index 700d1660de9..7dbfa3c3afb 100644 --- a/Build/source/utils/autosp/autosp-src/tests/quod4.aspc +++ b/Build/source/utils/autosp/autosp-src/tests/quod4.aspc @@ -1,5 +1,5 @@ % Generated by tex2aspc (2017-12-15). -% Generated by autosp (2018-01-17). +% Generated by autosp (2018-02-23). \input musixtex \input musixplt \input soul.sty diff --git a/Build/source/utils/autosp/autosp-src/tex2aspc.test b/Build/source/utils/autosp/autosp-src/tex2aspc.test index 6ed04eb631b..76f28272cd4 100755 --- a/Build/source/utils/autosp/autosp-src/tex2aspc.test +++ b/Build/source/utils/autosp/autosp-src/tex2aspc.test @@ -1,5 +1,7 @@ #! /bin/sh -vx +#! /bin/sh -vx + # Copyright 2018 Karl Berry <tex-live@tug.org> # You may freely use, modify and/or distribute this file. @@ -26,3 +28,4 @@ rm -f quod4.aspc echo && echo "*** diff quod4.aspc tests/quod4.aspc" diff quod4.aspc "$test_srcdir"/tests/quod4.aspc || exit 1 + diff --git a/Build/source/utils/autosp/autosp-src/utils.h b/Build/source/utils/autosp/autosp-src/utils.h index a6a728d6182..1bcb884b889 100644 --- a/Build/source/utils/autosp/autosp-src/utils.h +++ b/Build/source/utils/autosp/autosp-src/utils.h @@ -1,6 +1,6 @@ /* - utils.h -- header file for fixmsxpart.c and msxlint.c + utils.h -- header file for autosp, rebar and tex2aspc Copyright (c) 2005-15 R. D. Tennent School of Computing, Queen's University, rdt@cs.queensu.ca |