texlive[49396] trunk: ptex2pdf (12dec18)
commits+karl at tug.org
commits+karl at tug.org
Wed Dec 12 22:34:12 CET 2018
Revision: 49396
http://tug.org/svn/texlive?view=revision&revision=49396
Author: karl
Date: 2018-12-12 22:34:12 +0100 (Wed, 12 Dec 2018)
Log Message:
-----------
ptex2pdf (12dec18)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua
trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md
trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
trunk/Master/tlpkg/libexec/ctan2tds
Modified: trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua 2018-12-12 21:24:41 UTC (rev 49395)
+++ trunk/Build/source/texk/texlive/linked_scripts/ptex2pdf/ptex2pdf.lua 2018-12-12 21:34:12 UTC (rev 49396)
@@ -1,7 +1,7 @@
#!/usr/bin/env texlua
NAME = "ptex2pdf[.lua]"
-VERSION = "20180514.0"
+VERSION = "20181212.0"
AUTHOR = "Norbert Preining"
AUTHOREMAIL = "norbert at preining.info"
SHORTDESC = "Convert Japanese TeX documents to pdf"
@@ -177,6 +177,8 @@
- version 20180514.0
Windows: for uptex use command_line_encoding=utf8, for all other turn
it off (set to none)
+- version 20181212.0
+ support directories containing dots (thanks kn1cht)
]]
@@ -399,7 +401,7 @@
end
else
-- if it has already an extension, we need to drop it to get the dvi name
- bname = string.gsub(filename, "^(.*)%.[^.]+$", "%1")
+ bname = string.gsub(filename, "^(.*)%.[^./]+$", "%1")
end
-- filename may contain "/", but the intermediate output is written
-- in current directory, so we need to drop it
Modified: trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl 2018-12-12 21:24:41 UTC (rev 49395)
+++ trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl 2018-12-12 21:34:12 UTC (rev 49396)
@@ -7811,7 +7811,7 @@
=item B<conf [texmf|tlmgr|updmap [--conffile I<file>] [--delete] [I<key> [I<value>]]]>
-=item B<conf auxtrees [--conffile I<file>] [show|add|delete] [I<value>]>
+=item B<conf auxtrees [--conffile I<file>] [show|add|remove] [I<value>]>
With only C<conf>, show general configuration information for TeX Live,
including active configuration files, path settings, and more. This is
@@ -7845,8 +7845,8 @@
shows the list of additional trees, C<auxtrees add> I<tree> adds a tree
to the list, and C<auxtrees remove> I<tree> removes a tree from the list
(if present). The trees should not contain an C<ls-R> file (or files
-might not be found if the C<ls-R> becomes stale). This works by
-manipulating the Kpathsea variable C<TEXMFAUXTREES>, in
+will not be found if the C<ls-R> becomes stale). This works by
+manipulating the Kpathsea variable C<TEXMFAUXTREES>, in (by default)
C<ROOT/texmf.cnf>. Example:
tlmgr conf auxtrees add /quick/test/tree
@@ -7853,7 +7853,8 @@
tlmgr conf auxtrees remove /quick/test/tree
In all cases the configuration file can be explicitly specified via the
-option C<--conffile> I<file>, if desired.
+option C<--conffile> I<file>, e.g., if you don't want to change the
+system-wide configuration.
Warning: The general facility for changing configuration values is here,
but tinkering with settings in this way is strongly discouraged. Again,
Modified: trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md 2018-12-12 21:24:41 UTC (rev 49395)
+++ trunk/Master/texmf-dist/doc/latex/ptex2pdf/README.md 2018-12-12 21:34:12 UTC (rev 49396)
@@ -163,6 +163,8 @@
- version 20180514.0
Windows: for uptex use command_line_encoding=utf8, for all other turn
it off (set to none)
+- version 20181212.0
+ support directories containing dots (thanks kn1cht)
## Copyright and License ##
Modified: trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua 2018-12-12 21:24:41 UTC (rev 49395)
+++ trunk/Master/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua 2018-12-12 21:34:12 UTC (rev 49396)
@@ -1,7 +1,7 @@
#!/usr/bin/env texlua
NAME = "ptex2pdf[.lua]"
-VERSION = "20180514.0"
+VERSION = "20181212.0"
AUTHOR = "Norbert Preining"
AUTHOREMAIL = "norbert at preining.info"
SHORTDESC = "Convert Japanese TeX documents to pdf"
@@ -177,6 +177,8 @@
- version 20180514.0
Windows: for uptex use command_line_encoding=utf8, for all other turn
it off (set to none)
+- version 20181212.0
+ support directories containing dots (thanks kn1cht)
]]
@@ -399,7 +401,7 @@
end
else
-- if it has already an extension, we need to drop it to get the dvi name
- bname = string.gsub(filename, "^(.*)%.[^.]+$", "%1")
+ bname = string.gsub(filename, "^(.*)%.[^./]+$", "%1")
end
-- filename may contain "/", but the intermediate output is written
-- in current directory, so we need to drop it
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2018-12-12 21:24:41 UTC (rev 49395)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2018-12-12 21:34:12 UTC (rev 49396)
@@ -1446,6 +1446,7 @@
'pst-cox' => '&POSTpstcox',
'pst-geo' => '&POSTpstgeo',
'ptex-fontmaps' => '&POSTptex_fontmaps',
+ 'ptex2pdf' => '&POSTptex2pdf',
'pxbase' => '&POSTpxbase',
'pxchfon' => '&POSTpxchfon',
'recipebook' => '&POST_rmsymlink',
@@ -6138,6 +6139,14 @@
&SYSTEM ("$MV database $fmiscdest/$package");
}
+sub POSTptex2pdf {
+ print "POST$package - preserve tlpostcode/ptex2pdf-tlpost.pl\n";
+ my $dirpath = "tlpkg/tlpostcode";
+ my $dest = "$TOPDEST/$dirpath";
+ &xmkdir ($dest);
+ &SYSTEM ("$CP $Master/$dirpath/ptex2pdf-tlpost.pl $dest/");
+}
+
sub POSTknitting {
print "POST$package - move generic .tex file\n";
my $dest = "$DEST/tex/plain/$package";
More information about the tex-live-commits
mailing list