summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/tex4ht/htlatex.sh
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-05-12 01:17:25 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-05-12 01:17:25 +0000
commit8b69b7a0cbcd4f04e900c3878a991916b3b00c28 (patch)
tree45b0334099bd15858b5a932383b7fc0c77db34ca /Master/texmf-dist/scripts/tex4ht/htlatex.sh
parent61db0d9e4a6d71762a53437026a6eb62cc0c1fcb (diff)
added tex4ht scripts to the texmf-dist/scripts/tex4ht directory, per conversation with Karl
git-svn-id: svn://tug.org/texlive/trunk@8075 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/tex4ht/htlatex.sh')
-rwxr-xr-xMaster/texmf-dist/scripts/tex4ht/htlatex.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/tex4ht/htlatex.sh b/Master/texmf-dist/scripts/tex4ht/htlatex.sh
new file mode 100755
index 00000000000..1b8b7cea74a
--- /dev/null
+++ b/Master/texmf-dist/scripts/tex4ht/htlatex.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+ latex $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
+ latex $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
+ latex $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 -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
+ t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644
+
+
+