2024-12-05 17:30:25 +01:00
|
|
|
cp -r ../manualimages .
|
|
|
|
cp ../logo.pdf .
|
|
|
|
cp ../Changes .
|
|
|
|
mkdir ../camlpdf
|
|
|
|
cp ../../camlpdf/Changes ../camlpdf/Changes
|
|
|
|
TEXINTUTS=..:$TEXINPUTS htlatex ../cpdfmanual "html,2"
|
2024-12-08 13:31:23 +01:00
|
|
|
#Pad frames
|
2024-12-06 20:08:53 +01:00
|
|
|
sed -i '' 's/.framedenv{border: 1px solid black;}/.framedenv{border: 1px solid black; padding: 8px}/g' cpdfmanual.css
|
2024-12-08 13:31:23 +01:00
|
|
|
#Remove tex4ht's attempt at box-drawing characters for struct trees
|
2024-12-07 17:30:16 +01:00
|
|
|
LCTYPE=C LANG=C sed -i '' 's/__/\ \ /g' *.html
|
2024-12-08 13:31:23 +01:00
|
|
|
#Make sure HTML files have a lang set
|
|
|
|
LCTYPE=C LANG=C sed -i '' 's/<html >/<html lang="en">/g' *.html
|
2024-12-08 19:49:14 +01:00
|
|
|
#Give the main page a title
|
|
|
|
LCTYPE=C LANG=C sed -i '' 's/<title>/<title>Coherent PDF Command Line Tools Manual/' cpdfmanual.html
|