texlive[57688] Build/source/utils/xml2pmx: xml2pmx 2021-02-07

commits+karl at tug.org commits+karl at tug.org
Tue Feb 9 19:23:15 CET 2021


Revision: 57688
          http://tug.org/svn/texlive?view=revision&revision=57688
Author:   karl
Date:     2021-02-09 19:23:15 +0100 (Tue, 09 Feb 2021)
Log Message:
-----------
xml2pmx 2021-02-07

Modified Paths:
--------------
    trunk/Build/source/utils/xml2pmx/ChangeLog
    trunk/Build/source/utils/xml2pmx/Makefile.am
    trunk/Build/source/utils/xml2pmx/TLpatches/TL-Changes
    trunk/Build/source/utils/xml2pmx/configure.ac
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/Makefile.am
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/configure.ac
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Complete.m
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Fifo.m
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/MyFiles.m
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Strings1.m
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Testbed.m
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/b.m

Added Paths:
-----------
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/xml2pmx.1

Removed Paths:
-------------
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/.deps/
    trunk/Build/source/utils/xml2pmx/xml2pmx-src/test/

Modified: trunk/Build/source/utils/xml2pmx/ChangeLog
===================================================================
--- trunk/Build/source/utils/xml2pmx/ChangeLog	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/ChangeLog	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,3 +1,7 @@
+2021-02-09  Karl Berry  <karl at freefriends.org>
+
+	* xml2pmx-2021-02-07: import.
+
 2021-02-07  Karl Berry  <karl at freefriends.org>
 
 	* xml2pmx-2021-01-23: initial import into TL.

Modified: trunk/Build/source/utils/xml2pmx/Makefile.am
===================================================================
--- trunk/Build/source/utils/xml2pmx/Makefile.am	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/Makefile.am	2021-02-09 18:23:15 UTC (rev 57688)
@@ -34,8 +34,8 @@
 	@XML2PMX_TREE@/support.c \
 	@XML2PMX_TREE@/xmain.c
 
-#man1_MANS = \
-#	$(XML2PMX_TREE)/xml2pmx.1 
+man1_MANS = \
+	$(XML2PMX_TREE)/xml2pmx.1 
 
 # Tests
 AM_TESTS_ENVIRONMENT = XML2PMX_TREE=$(XML2PMX_TREE); export XML2PMX_TREE;

Modified: trunk/Build/source/utils/xml2pmx/TLpatches/TL-Changes
===================================================================
--- trunk/Build/source/utils/xml2pmx/TLpatches/TL-Changes	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/TLpatches/TL-Changes	2021-02-09 18:23:15 UTC (rev 57688)
@@ -6,6 +6,3 @@
 	aclocal.m4
 	configure
 	scripts/ # whole directory
-
-Move to top directory:
-	tests/*

Modified: trunk/Build/source/utils/xml2pmx/configure.ac
===================================================================
--- trunk/Build/source/utils/xml2pmx/configure.ac	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/configure.ac	2021-02-09 18:23:15 UTC (rev 57688)
@@ -7,7 +7,7 @@
 dnl   gives unlimited permission to copy and/or distribute it,
 dnl   with or without modifications, as long as this notice is preserved.
 dnl
-m4_define([xml2pmx_version], [2021-01-23])[]dnl using unmodified xml2pmx source
+m4_define([xml2pmx_version], [2021-02-07])[]dnl using unmodified xml2pmx source
 AC_INIT([xml2pmx (TeX Live)], xml2pmx_version, [tex-k at tug.org])
 AC_PREREQ([2.65])
 AC_CONFIG_SRCDIR([xml2pmx-src/obx.h])

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/Makefile.am
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/Makefile.am	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/Makefile.am	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,12 +1,12 @@
 bin_PROGRAMS = xml2pmx
 
 xml2pmx_SOURCES = Args.c Builtin.c dynlink.c Files.c gc.c \
-	image.c interp.c primtab0.c support.c xmain.c loader.c \
+	image.c interp.c primtab0.c support.c wrapper.c xmain.c loader.c \
 	exec.h keiko.h obcommon.h obx.h primtab.h
 
-# Add action.c (included in interp.c), the test subdirectory, and
+# Add action.c (included in interp.c), and
 # Oberon sources from the obsrc directory.
-EXTRA_DIST = action.c test \
+EXTRA_DIST = action.c \
 	obsrc/b.m obsrc/Complete.m obsrc/Fifo.m obsrc/Makefile \
 	obsrc/MyFiles.m obsrc/Strings1.m obsrc/Testbed.m
 
@@ -14,5 +14,6 @@
 EXTRA_DIST += $(TESTS)
 EXTRA_DIST += tests/Telemann.xml tests/Telemann.pmx
 EXTRA_DIST += configure.ac Makefile.am
+dist_man_MANS = xml2pmx.1
 
 DISTCLEANFILES = Telemann* .deps/*

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/configure.ac
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/configure.ac	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/configure.ac	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,6 +1,6 @@
 # configure.ac for XML2PMX
 
-AC_INIT(xml2pmx, 2021-01-23, rdt at cs.queensu.ca)
+AC_INIT(xml2pmx, 2021-02-07, rdt at cs.queensu.ca)
 AC_CONFIG_AUX_DIR(scripts)
 AM_INIT_AUTOMAKE([-Wall foreign])
 AC_CONFIG_SRCDIR(obx.h)

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Complete.m
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Complete.m	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Complete.m	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,4 +1,22 @@
 MODULE Complete;
+
+(***************************************************************************)
+(**************** Copyright 2015--2021 Dieter Gloetzel ********************)
+(************************ Version016 multi platform  ***********************)
+(***************************************************************************)
+(*  This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>. *)
+
 IMPORT Strings := Strings1, Out;
 TYPE LONGINT = INTEGER;
 VAR pmxdur : ARRAY 10 OF ARRAY 4 OF CHAR; durvec : ARRAY 10 OF INTEGER; ixmax : LONGINT; 

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Fifo.m
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Fifo.m	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Fifo.m	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,4 +1,22 @@
 MODULE Fifo;
+
+(***************************************************************************)
+(**************** Copyright 2015--2021 Dieter Gloetzel ********************)
+(************************ Version016 multi platform  ***********************)
+(***************************************************************************)
+(*  This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>. *)
+
 IMPORT Out; (*  := WCout; *)
 VAR
 TYPE 

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/MyFiles.m
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/MyFiles.m	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/MyFiles.m	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,5 +1,22 @@
 MODULE MyFiles;
 
+(***************************************************************************)
+(**************** Copyright 2015--2021 Dieter Gloetzel ********************)
+(************************ Version016 multi platform  ***********************)
+(***************************************************************************)
+(*  This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>. *)
+
 IMPORT Files;
 
 TYPE File* =

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Strings1.m
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Strings1.m	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Strings1.m	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,5 +1,22 @@
 MODULE Strings1;	(** portable *) (* ejz, *)
 
+(***************************************************************************)
+(**************** Copyright 2015--2021 Dieter Gloetzel ********************)
+(************************ Version016 multi platform  ***********************)
+(***************************************************************************)
+(*  This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>. *)
+
 TYPE LONGINT = INTEGER;
 
 (** Strings is a utility module that provides procedures to manipulate strings.

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Testbed.m
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Testbed.m	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/Testbed.m	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,6 +1,7 @@
 MODULE Testbed;  
+
 (***************************************************************************)
-(**************** Copyright 2015 --2021 Dieter Gloetzel ********************)
+(**************** Copyright 2015--2021 Dieter Gloetzel ********************)
 (************************ Version016 multi platform  ***********************)
 (***************************************************************************)
 (*  This program is free software: you can redistribute it and/or modify
@@ -15,6 +16,7 @@
 
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>. *)
+
     (* corrections starting 09.07.2020    beam2pmx add "l" or "u" to "[j"    *)
  (*  IMPORT Texts, Strings, Files, Oberon, b, Complete, Out;  (*   Import fuer Oberon Version *) *)
  (*  IMPORT Args32, Strings, Files, Out := WCout, b, Complete, Fifo ;  *)  (* Import fuer Windows-Exe Version  *)

Modified: trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/b.m
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/b.m	2021-02-09 00:54:14 UTC (rev 57687)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/obsrc/b.m	2021-02-09 18:23:15 UTC (rev 57688)
@@ -1,5 +1,22 @@
 MODULE b;
 (* Achtung "PrintRange" eingebaut, zusaetzliche Importe *)
+
+(***************************************************************************)
+(**************** Copyright 2015--2021 Dieter Gloetzel ********************)
+(************************ Version016 multi platform  ***********************)
+(***************************************************************************)
+(*  This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>. *)
 	
 IMPORT Files := MyFiles, Strings := Strings1, Fifo, Out;
 TYPE LONGINT = INTEGER;

Added: trunk/Build/source/utils/xml2pmx/xml2pmx-src/xml2pmx.1
===================================================================
--- trunk/Build/source/utils/xml2pmx/xml2pmx-src/xml2pmx.1	                        (rev 0)
+++ trunk/Build/source/utils/xml2pmx/xml2pmx-src/xml2pmx.1	2021-02-09 18:23:15 UTC (rev 57688)
@@ -0,0 +1,59 @@
+.TH XML2PMX 1 2021-01-23  "" ""
+
+.SH DESCRIPTION
+
+xml2pmx translates MusicXML files to input suitable for PMX processing
+
+.SH SYNOPSIS
+
+.B xml2pmx 
+.RB  [ \-v\ |\ \-\-version\ |\ \-h\ |\ \-\-help ]
+
+.B xml2pmx  
+.IR input .xml
+.IR output .pmx
+[ p | d | v | s | l ] ..
+
+The 
+.BR musixtex.lua 
+script
+from version 0.23 supports 
+.BR xml2pmx 
+as a pre-preprocessor for MusicXML files.
+
+.SH OPTIONS
+
+The meanings of the letter options are as follows:
+
+     p       XML parser output; not recommended unless the terminal window process has enough storage
+
+     d       information on "directions" (dynamical marks etc)  
+
+     v       distribution of voices over instruments and measures 
+
+     s       statistics of MusicXML tags like <note>, <measure> etc 
+
+     l       for extracting lyrics in a separate file  
+
+.SH BUGS
+
+.B xml2pmx 
+processes input in UTF-8 encoding only.  MusicXML files in UTF-16 encoding should be
+converted using, for example, 
+.B recode
+(in Unix-like systems) or by importing into an editor like
+.B notepad
+and saving in UTF-8 encoding.
+
+.SH SEE ALSO
+
+.BR pmx (1)
+.BR obc (1)
+.BR musixtex (1)
+.BR recode (1)
+
+.SH AUTHORS
+This man page was written by Bob Tennent <rdt at cs.queensu.ca>.
+.B xml2pmx
+was written by Dieter Gloetzel <d.gloetzel at web.de> and
+adapted for compilation by obc (the Oxford Oberon Compiler) by Mike Spivey <mike at cs.ox.ac.uk>.


Property changes on: trunk/Build/source/utils/xml2pmx/xml2pmx-src/xml2pmx.1
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list.