summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-14 22:38:13 +0000
committerKarl Berry <karl@freefriends.org>2018-05-14 22:38:13 +0000
commitbc4819b082d8683ef5cc246c21ac834e41430855 (patch)
treea73c745b9f64a31e4e1d666e2eaad9df69ccd419 /Master
parent32fd8ca3946589acbe2800af03959dc13c9678fc (diff)
ptex2pdf (14may18)
git-svn-id: svn://tug.org/texlive/trunk@47716 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/ptex2pdf/README.md9
-rwxr-xr-xMaster/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua17
2 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/ptex2pdf/README.md b/Master/texmf-dist/doc/latex/ptex2pdf/README.md
index 57908ef7ff1..75d8c8afcfd 100644
--- a/Master/texmf-dist/doc/latex/ptex2pdf/README.md
+++ b/Master/texmf-dist/doc/latex/ptex2pdf/README.md
@@ -160,14 +160,17 @@ http://github.com/texjporg/ptex2pdf
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@preining.info
-(c) Copyright 2012 Bob Tennent rdt@cs.queensu.ca
+(c) Copyright 2016-2018 Japanese TeX Development Community
+(c) Copyright 2013-2018 Norbert Preining norbert@preining.info
+(c) Copyright 2012 Bob Tennent rdt@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
diff --git a/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua b/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
index 9885f044aa7..2bba4546eaa 100755
--- a/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
+++ b/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
@@ -1,7 +1,7 @@
#!/usr/bin/env texlua
NAME = "ptex2pdf[.lua]"
-VERSION = "20170622.0"
+VERSION = "20180514.0"
AUTHOR = "Norbert Preining"
AUTHOREMAIL = "norbert@preining.info"
SHORTDESC = "Convert Japanese TeX documents to pdf"
@@ -29,9 +29,9 @@ options: -v version
LICENSECOPYRIGHT = [[
Originally based on musixtex.lua from Bob Tennent.
-(c) Copyright 2016-2017 Japanese TeX Development Community
-(c) Copyright 2013-2017 Norbert Preining norbert@preining.info
-(c) Copyright 2012 Bob Tennent rdt@cs.queensu.ca
+(c) Copyright 2016-2018 Japanese TeX Development Community
+(c) Copyright 2013-2018 Norbert Preining norbert@preining.info
+(c) Copyright 2012 Bob Tennent rdt@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 @@ CHANGELOG = [[
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 @@ end
-- 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