Bashing on with HTML manual

This commit is contained in:
John Whitington 2024-12-05 16:30:25 +00:00
parent bba73f6c4b
commit 7171e11a52
3 changed files with 10 additions and 20 deletions

View File

@ -67,13 +67,7 @@ Version 2.7.3 (January 2025)
\vspace{25mm}
\vfill
\ifdefined\HCode
%htlatex code here
\else
%pdflatex code here
\includegraphics{logo.pdf}
\fi
\vspace{2mm}
{\sffamily \bfseries \LARGE Coherent Graphics Ltd}
@ -4893,12 +4887,6 @@ To produce a PDF in PDF/UA-1 or PDF/UA-2 format add, say, \texttt{-subformat PDF
\noindent\verb!-rolemap! Set role map
\end{framed}}
\ifdefined\HCode
%htlatex code here
Please see the PDF version of the manual for the documentation to this chapter.
\else
\section{Basics}
We can draw on an existing PDF (or a new one created with \texttt{-create-pdf} from the previous chapter) using the \texttt{-draw} operation. This provides commands for drawing vector graphics, simple text and adding images. For example:
@ -5452,8 +5440,6 @@ Extra information may be added to structure tree nodes with \texttt{-eltinfo} /
A role map, which maps non-standard structure types to standard ones, may be set with \texttt{-rolemap}. For example \texttt{-rolemap "/S1/H1/S2/H2"} would map the S1 structure type to the standard type H1 and so on.
\fi%End htlatex hack
\begin{cpdflib}
\clearpage
\section*{C Interface}
@ -6314,10 +6300,6 @@ YYYY-MM-DDThh:mm:ssTZD
\pagestyle{fancy}
\vfill
\ifdefined\HCode
%htlatex code here
\else
%pdflatex code here
\chapter{Change logs}\pagestyle{empty}
\section{CPDF Change Log}
@ -6331,7 +6313,6 @@ YYYY-MM-DDThh:mm:ssTZD
{\footnotesize\begin{alltt}
\input{../camlpdf/Changes}
\end{alltt}}
\fi
\chapter{Matterhorn Protocol}\pagestyle{empty}

View File

@ -1 +1,5 @@
rm -f *.html *.4ct *.4tc *.aux *.css *.dvi *.idv *.idx *.lg *.log *.tmp *.xref *.png *.toc *.out *.cut
rm -rf manualimages
rm -f Changes
rm -rf ../camlpdf
rm -f logo.pdf

View File

@ -1 +1,6 @@
htlatex ../cpdfmanual "html,2"
cp -r ../manualimages .
cp ../logo.pdf .
cp ../Changes .
mkdir ../camlpdf
cp ../../camlpdf/Changes ../camlpdf/Changes
TEXINTUTS=..:$TEXINPUTS htlatex ../cpdfmanual "html,2"