summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/tex4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-13 23:30:22 +0000
committerKarl Berry <karl@freefriends.org>2016-06-13 23:30:22 +0000
commit468705804f75812ddcbda9904e54cc1feebf0988 (patch)
treef92f5efb3932104616b9ad9ce701302f2c7b5652 /Master/texmf-dist/scripts/tex4ht
parent1f98965118852ee8aad4dee68065570d96762a21 (diff)
xhlatex: restore; ooffice.4ht: elide incorrect indentation
git-svn-id: svn://tug.org/texlive/trunk@41440 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/tex4ht')
-rwxr-xr-xMaster/texmf-dist/scripts/tex4ht/xhlatex.sh36
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/tex4ht/xhlatex.sh b/Master/texmf-dist/scripts/tex4ht/xhlatex.sh
new file mode 100755
index 00000000000..979fb06e79b
--- /dev/null
+++ b/Master/texmf-dist/scripts/tex4ht/xhlatex.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+#
+#
+# xhlatex Version 1.1
+# Copyright (C) 2003--2009 Eitan M. Gurari
+# Copyright 2009 TeX Users Group
+#
+# This work may be distributed and/or modified under the
+# conditions of the LaTeX Project Public License, either
+# version 1.3 of this license or (at your option) any
+# later version. The latest version of this license is
+# in
+# http://www.latex-project.org/lppl.txt
+# and version 1.3 or later is part of all distributions
+# of LaTeX version 2003/12/01 or later.
+#
+# This work has the LPPL maintenance status "maintained".
+#
+# The Current Maintainer of this work
+# is the TeX4ht Project.
+#
+# tex4ht@tug.org
+# http://www.tug.org/tex4ht
+#
+#
+
+
+ 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,xhtml]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,xhtml}\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,xhtml]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,xhtml}\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,xhtml]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,xhtml}\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 -cvalidate ## -d~/WWW/temp/ -m644
+
+
+