Mercurial > pub > dyncall > dyncall
diff doc/manual/manual_tex4ht.cfg @ 76:7ca46969e0ad
- tweaks in manual, mainly for html generation
author | cslag |
---|---|
date | Mon, 21 Mar 2016 01:15:37 +0100 |
parents | 8326c5ced916 |
children | 186af66ae67f |
line wrap: on
line diff
--- a/doc/manual/manual_tex4ht.cfg Sun Mar 20 18:44:41 2016 +0100 +++ b/doc/manual/manual_tex4ht.cfg Mon Mar 21 01:15:37 2016 +0100 @@ -51,6 +51,14 @@ % should this really rely on online content (dyncall's .css) even for an offline build? @@@ \Configure{@HEAD}{\HCode{<link rel="stylesheet" href="http://dyncall.org/data/main.css" type="text/css" media="all"/>\Hnewline}} +% Image path prefix can be set here... +%\Configure{IMG} +%{\ht:special{t4ht=<img src="}} +%{\ht:special{t4ht=" alt="}} +%{" } +%{\ht:special{t4ht=" }} +%{\ht:special{t4ht=/>}} + % Make TOC display as nested "ul"s. \Configure{tableofcontents} {}{\tocItem{0}}{}{}{} \ConfigureToc{section} {}{\tocItem{1}{\HCode{<li>}}}{}{} @@ -82,6 +90,7 @@ % of tabular*, which we then mend with the code below. Not sure if % this is just a hack around a tex4ht bug, but it nicely lets us % pick which table should be a picture or not. +% This means: use tabular for pictures, tabular* for text output. @@@ might want to abstract this into \htmlpic or so \Configure{tabular} {\HCode{<table>}} {\HCode{</table>}} @@ -118,6 +127,8 @@ \Configure{textbf}{\Tg<b>}{\Tg</b>} \Configure{emph}{\Tg<em>}{\Tg</em>} +% @@@ list of things that are still open: +% paragraph{xxx} - should probably be forced to always be on newline to reflect pdf %\lstset{ language=C, basicstyle=\ttfamily, numbers=left, %numberstyle=\tiny, numbersep=10pt, showstringspaces=false}