mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
more HTML kludges
This commit is contained in:
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
@@ -1,3 +1,4 @@
|
|||||||
|
%Add copyright for Matterhorn extracts
|
||||||
\documentclass{book}
|
\documentclass{book}
|
||||||
% Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf,
|
% Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf,
|
||||||
% dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc.
|
% dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc.
|
||||||
@@ -31,14 +32,15 @@
|
|||||||
\usepackage{pmboxdraw}
|
\usepackage{pmboxdraw}
|
||||||
\usepackage{longtable}
|
\usepackage{longtable}
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
\title{Coherent PDF Command Line Tools Manual}
|
||||||
|
\ifdefined\HCode\maketitle\else\fi
|
||||||
\frontmatter
|
\frontmatter
|
||||||
\pagestyle{empty}
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
|
||||||
\begin{flushright}
|
\begin{flushright}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\ifdefined\HCode
|
\ifdefined\HCode
|
||||||
{\sffamily \bfseries \Huge Coherent PDF Command Line Tools}
|
{\sffamily \bfseries \Huge Coherent PDF Command Line Tools}
|
||||||
\else
|
\else
|
||||||
|
@@ -4,5 +4,9 @@ cp ../Changes .
|
|||||||
mkdir ../camlpdf
|
mkdir ../camlpdf
|
||||||
cp ../../camlpdf/Changes ../camlpdf/Changes
|
cp ../../camlpdf/Changes ../camlpdf/Changes
|
||||||
TEXINTUTS=..:$TEXINPUTS htlatex ../cpdfmanual "html,2"
|
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
|
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
|
LCTYPE=C LANG=C sed -i '' 's/__/\ \ /g' *.html
|
||||||
|
#Make sure HTML files have a lang set
|
||||||
|
LCTYPE=C LANG=C sed -i '' 's/<html >/<html lang="en">/g' *.html
|
||||||
|
Reference in New Issue
Block a user