# HG changeset patch # User cslag # Date 1464956474 -7200 # Node ID 00fc2b9b4e3d3060272459ed811ac0f14fa3996e # Parent e932e6331f357658ae0aeb7c6e6e8c1be3e3218b - html improvements of manual (paragraphs and css) diff -r e932e6331f35 -r 00fc2b9b4e3d doc/manual/manual_tex4ht.cfg --- a/doc/manual/manual_tex4ht.cfg Fri Jun 03 02:40:13 2016 +0200 +++ b/doc/manual/manual_tex4ht.cfg Fri Jun 03 14:21:14 2016 +0200 @@ -102,7 +102,7 @@ % Remove hr-tags that tex4ht inserts by default in around floats (e.g. tables) and replace them with a background. % Also remove hr-tags around figures, entirely. -\Configure{float}[]{\HCode{
}}{}{\HCode{
}} +\Configure{float}[]{\HCode{
}}{}{\HCode{
}} \ConfigureEnv{figure}{\HCode{}}{\HCode{}}{}{} %% Simplest possible table layout - do rest in css. @@ -127,9 +127,9 @@ %\ConfigureEnv{lstlisting}{\listingLineReset\Tg
}{\Tg
}{}{} %\Configure{listings}{}{}{}{\ifnum \lstlineno>0 \Tg
\fi \listingLine} -% Make listing/table captions nicer. NOTE: the -0.5em might need to be adapted if the main css changes.@@@ +% Make listing/table captions nicer. \Configure{caption} - {\HCode{
}} + {\HCode{
}} {\HCode{}} {\HCode{: }} {\HCode{
}} @@ -154,14 +154,10 @@ %http://www.itisnotoverengineering.com/2013/06/syntax-highlighting-with-tex4ht.html -% Simplest possible paragraphs -% @@@ this creates paragraphs around block level elements, which is not what we would like -% @@@ but it looks decent, except for the space in the float-element lr-corner -\Configure{HtmlPar}{\EndP\Tg

}{\EndP\Tg

}{\HCode{

\Hnewline}}{\HCode{

\Hnewline}} -%\Configure{HtmlPar}{\EndP\HCode{}}{\EndP\HCode{}}{\HCode{\Hnewline}}{\HCode{\Hnewline}} -%\Configure{HtmlPar}{\EndP\Tg

}{\EndP\HCode{}}{\HCode{

\Hnewline}}{\HCode{\Hnewline}} -%\Configure{HtmlPar}{\EndP\HCode{}}{\EndP\Tg

}{\HCode{\Hnewline}}{\HCode{

\Hnewline}} - +% Simplest possible paragraphs. +% Note, we don't use the optional

end tags, as we would end up wrapping block level +% elements like in

...

pairs. +\Configure{HtmlPar}{\EndP\Tg

}{\EndP\Tg

}{\HCode{\Hnewline}}{\HCode{\Hnewline}} % On site navigation texts