Am 20.11.09 07:59, schrieb Thomas Keller: > [..] So putting > > @ifhtml > @exampleindent 0 > @end ifhtml > > in the header fixes my problem.
Apparently I was too fast - while first-level preformatted areas no longer have the unwanted whitespace, deeper levels still have it, see again the attached files. I tried to also set @paragraphindent to 0, but this didn't work. Is there anything else I could set here? I guess its visually pleasing to indent HTML output, but at least for indenting preformatted contents its harmful. A good rule of thumb here should be "indent the elements, not the contents" wherever possible, because somebody might simple want to render another element (not only @example or @smallexample) with a fixed width and would run into the same problems. Thomas. -- GPG-Key 0x160D1092 | [email protected] | http://thomaskeller.biz Please note that according to the EU law on data retention, information on every electronic information exchange might be retained for a period of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=enTitle: Test 1.0
Top
This is
a small
example
which
works
-
This is a small example which does not work
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename test.info
@settitle Test 1.0
@ifhtml
@paragraphindent 0
@exampleindent 0
@end ifhtml
@c %**end of header
@node Top
@top Top
@smallexample
This is
a small
example
which
works
@end smallexample
@itemize
@item
@smallexample
This is
a small
example
which
does not work
@end smallexample
@end itemize
@bye
signature.asc
Description: OpenPGP digital signature
