texlive[47716] trunk: ptex2pdf (14may18)

commits+karl at tug.org commits+karl at tug.org
Tue May 15 00:38:13 CEST 2018


Revision: 47716
          http://tug.org/svn/texlive?view=revision&revision=47716
Author:   karl
Date:     2018-05-15 00:38:13 +0200 (Tue, 15 May 2018)
Log Message:
-----------
ptex2pdf (14may18)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua
    trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md
    trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua

Modified: trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua	2018-05-14 22:36:09 UTC (rev 47715)
+++ trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua	2018-05-14 22:38:13 UTC (rev 47716)
@@ -1,7 +1,7 @@
 #!/usr/bin/env texlua
 
 NAME = "ptex2pdf[.lua]"
-VERSION = "20170622.0"
+VERSION = "20180514.0"
 AUTHOR = "Norbert Preining"
 AUTHOREMAIL = "norbert at preining.info"
 SHORTDESC = "Convert Japanese TeX documents to pdf"
@@ -29,9 +29,9 @@
 LICENSECOPYRIGHT = [[
 Originally based on musixtex.lua from Bob Tennent.
 
-(c) Copyright 2016-2017 Japanese TeX Development Community  
-(c) Copyright 2013-2017 Norbert Preining norbert at preining.info  
-(c) Copyright 2012      Bob Tennent rdt at cs.queensu.ca  
+(c) Copyright 2016-2018 Japanese TeX Development Community
+(c) Copyright 2013-2018 Norbert Preining norbert at preining.info
+(c) Copyright 2012      Bob Tennent rdt at cs.queensu.ca
 
 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
@@ -174,6 +174,9 @@
   first replace all backslash chars to slash chars  
 - version 20170622.0  
   pass all non-optional arguments before filename to TeX engine  
+- version 20180514.0
+  Windows: for uptex use command_line_encoding=utf8, for all other turn
+  it off (set to none)
 ]]
 
 
@@ -406,9 +409,11 @@
 
 -- we are still here, so we found a file
 -- make sure that on Windows/uptex we are using utf8 as command line encoding
-if use_uptex == 1 then
-  if os.type == 'windows' then
+if os.type == 'windows' then
+  if use_uptex == 1 then
     os.setenv('command_line_encoding', 'utf8')
+  else
+    os.setenv('command_line_encoding', 'none')
   end
 end
 if (outputdir ~= ".") then

Modified: trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md	2018-05-14 22:36:09 UTC (rev 47715)
+++ trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md	2018-05-14 22:38:13 UTC (rev 47716)
@@ -160,14 +160,17 @@
   first replace all backslash chars to slash chars  
 - version 20170622.0  
   pass all non-optional arguments before filename to TeX engine  
+- version 20180514.0
+  Windows: for uptex use command_line_encoding=utf8, for all other turn
+  it off (set to none)
 
 ## Copyright and License ##
 
 Originally based on musixtex.lua from Bob Tennent.
 
-(c) Copyright 2016-2017 Japanese TeX Development Community  
-(c) Copyright 2013-2017 Norbert Preining norbert at preining.info  
-(c) Copyright 2012      Bob Tennent rdt at cs.queensu.ca  
+(c) Copyright 2016-2018 Japanese TeX Development Community
+(c) Copyright 2013-2018 Norbert Preining norbert at preining.info
+(c) Copyright 2012      Bob Tennent rdt at cs.queensu.ca
 
 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

Modified: trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua	2018-05-14 22:36:09 UTC (rev 47715)
+++ trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua	2018-05-14 22:38:13 UTC (rev 47716)
@@ -1,7 +1,7 @@
 #!/usr/bin/env texlua
 
 NAME = "ptex2pdf[.lua]"
-VERSION = "20170622.0"
+VERSION = "20180514.0"
 AUTHOR = "Norbert Preining"
 AUTHOREMAIL = "norbert at preining.info"
 SHORTDESC = "Convert Japanese TeX documents to pdf"
@@ -29,9 +29,9 @@
 LICENSECOPYRIGHT = [[
 Originally based on musixtex.lua from Bob Tennent.
 
-(c) Copyright 2016-2017 Japanese TeX Development Community  
-(c) Copyright 2013-2017 Norbert Preining norbert at preining.info  
-(c) Copyright 2012      Bob Tennent rdt at cs.queensu.ca  
+(c) Copyright 2016-2018 Japanese TeX Development Community
+(c) Copyright 2013-2018 Norbert Preining norbert at preining.info
+(c) Copyright 2012      Bob Tennent rdt at cs.queensu.ca
 
 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
@@ -174,6 +174,9 @@
   first replace all backslash chars to slash chars  
 - version 20170622.0  
   pass all non-optional arguments before filename to TeX engine  
+- version 20180514.0
+  Windows: for uptex use command_line_encoding=utf8, for all other turn
+  it off (set to none)
 ]]
 
 
@@ -406,9 +409,11 @@
 
 -- we are still here, so we found a file
 -- make sure that on Windows/uptex we are using utf8 as command line encoding
-if use_uptex == 1 then
-  if os.type == 'windows' then
+if os.type == 'windows' then
+  if use_uptex == 1 then
     os.setenv('command_line_encoding', 'utf8')
+  else
+    os.setenv('command_line_encoding', 'none')
   end
 end
 if (outputdir ~= ".") then



More information about the tex-live-commits mailing list