hgbook

diff ja/htlatex.sh @ 896:fefa45ccffc0

Place comments widget outside the <table> element to avoid layout issues.
author dukebody <dukebody@gmail.com>
date Mon Oct 26 12:26:18 2009 +0100 (2009-10-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ja/htlatex.sh	Mon Oct 26 12:26:18 2009 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +# USAGE: htlatex.sh <html-target> <????> <latex-option>
     1.7 +#LATEX=latex
     1.8 +#LATEX=platex
     1.9 +LATEX=jlatex
    1.10 +
    1.11 +${LATEX} $3 '\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