summaryrefslogtreecommitdiff
path: root/Build/source/texk/tex4htk/htxelatex.bat
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-12-20 12:44:24 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-12-20 12:44:24 +0000
commiteefd36e9749205ed3aae855796c09e5c7600de41 (patch)
tree02785a96316478885c6b78c2730921a692dea054 /Build/source/texk/tex4htk/htxelatex.bat
parent46500586978b361422a73168b912a0e151111885 (diff)
add ht*.bat scripts for WIN32
git-svn-id: svn://tug.org/texlive/trunk@20813 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tex4htk/htxelatex.bat')
-rwxr-xr-xBuild/source/texk/tex4htk/htxelatex.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/tex4htk/htxelatex.bat b/Build/source/texk/tex4htk/htxelatex.bat
new file mode 100755
index 00000000000..95ee8c9d2f6
--- /dev/null
+++ b/Build/source/texk/tex4htk/htxelatex.bat
@@ -0,0 +1,5 @@
+ xelatex -no-pdf %5 \makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode %2.a.b.c.\input %1
+ xelatex -no-pdf %5 \makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode %2.a.b.c.\input %1
+ xelatex -no-pdf %5 \makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode %2.a.b.c.\input %1
+ tex4ht -.xdv %1 -i/tex4ht/ht-fonts/%3 -ewin32/tex4ht.env
+ t4ht -.xdv %1 %4 -ewin32/tex4ht.env