From 593462acc8e3b54c39db56d6bcfe9021a397d105 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Sun, 8 Dec 2024 12:31:23 +0000 Subject: [PATCH] more HTML kludges --- cpdfmanual.pdf | Bin 459839 -> 459839 bytes cpdfmanual.tex | 6 ++++-- html_manual/go | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index a50d629f23afe043b38e0c2b5e6a715c0d2721e5..060e0b51da469ac19b64fbb16308cef10bb589bf 100644 GIT binary patch delta 138 zcmdnrA+x_jrlEzgg{g(Pg{6gc3)|BtDi(%DMn(qaQJP%(zWFIGi6yBD8ZK5w21X`^ zMg~yH?VL~9^!S`DESwAsTun?&Or2Z}9nBmq-3*K@jezW{ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index df38282..a967768 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -1,3 +1,4 @@ +%Add copyright for Matterhorn extracts \documentclass{book} % Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf, % dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc. @@ -31,14 +32,15 @@ \usepackage{pmboxdraw} \usepackage{longtable} \begin{document} - +\title{Coherent PDF Command Line Tools Manual} +\ifdefined\HCode\maketitle\else\fi \frontmatter \pagestyle{empty} - \begin{flushright} + \ifdefined\HCode {\sffamily \bfseries \Huge Coherent PDF Command Line Tools} \else diff --git a/html_manual/go b/html_manual/go index 56ab615..6a1549f 100755 --- a/html_manual/go +++ b/html_manual/go @@ -4,5 +4,9 @@ cp ../Changes . mkdir ../camlpdf cp ../../camlpdf/Changes ../camlpdf/Changes TEXINTUTS=..:$TEXINPUTS htlatex ../cpdfmanual "html,2" +#Pad frames sed -i '' 's/.framedenv{border: 1px solid black;}/.framedenv{border: 1px solid black; padding: 8px}/g' cpdfmanual.css +#Remove tex4ht's attempt at box-drawing characters for struct trees LCTYPE=C LANG=C sed -i '' 's/__/\ \ /g' *.html +#Make sure HTML files have a lang set +LCTYPE=C LANG=C sed -i '' 's///g' *.html