bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @format and @display in HTML output


From: Torsten Bronger
Subject: Re: @format and @display in HTML output
Date: Sat, 19 Apr 2003 11:03:59 +0200
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

Halloechen!

"Eli Zaretskii" <address@hidden> writes:

>> From: Torsten Bronger <address@hidden>
>> Date: Tue, 15 Apr 2003 21:32:37 +0200
>> 
>> I expect @display and @format to use the standard font in HTML
>> files, however they switch to the fixed width font family.
>
> Really?  I don't see this on my system: both @display and @format do
> not specify the font at all.
>
> Can you show us a short example of the HTML produced by makeinfo from
> @display and @format?

My (heavily pruned) Texinfo file says

% -*-texinfo-*-
\input texinfo

@c %**start of header
@setfilename tbook.info
@settitle tbook
@c %**end of header

@ifnottex
@node Top
@top Top node

@format
Hat der alte Hexenmeister
Sich doch einmal wegbegeben.
Und nun sollen seine Geister
Auch nach meinem Willen leben.
Seine Wort und Werke
Merkt ich und den Bauch.
Und mit Geistesst@"arke
Tu ich Wunder auch.
@end format


@end ifnottex

@bye

which is transformed to

<html lang="en">
<head>
<title>tbook</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="tbook">
<meta name="generator" content="makeinfo 4.5">
<link href="http://www.gnu.org/software/texinfo/"; rel="generator-home">
</head>
<body>
<div class="node">
<p><hr>
Knoten:<a name="Top">Top</a>,
Aufw&auml;rts:<a rel="up" accesskey="u" href="#dir">(dir)</a>

<br>
</div>

<h2 class="unnumbered">Top node</h2>

<pre class="format">Hat der alte Hexenmeister
Sich doch einmal wegbegeben.
Und nun sollen seine Geister
Auch nach meinem Willen leben.
Seine Wort und Werke
Merkt ich und den Bauch.
Und mit Geistesst&auml;rke
Tu ich Wunder auch.
</pre>

   </body></html>

i.e. no DOCTYPE declaration, and in particular no CSS definitions.
Thus my Mozilla 1.1 uses his standard style sheet which obviously
means "Courier" for the <pre> region.

Tschoe,
Torsten.

P.S.: You can see another small problem here: It says "Knoten"
instead of "node" due to my locale; therefore I wrote
   LANG=en ; makeinfo --output=$@ --no-split --html $<
in my Makefile.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]