bug-texinfo
[Top][All Lists]
Advanced

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

[cvs] html for @example and @verbatiminclude


From: Brian Gough
Subject: [cvs] html for @example and @verbatiminclude
Date: Mon, 20 Oct 2003 14:36:49 +0100

Hi, 

I've been testing out the current CVS Texinfo. I found a couple of
problems with the makeinfo indentation of html examples (files
attached):

$ makeinfo --html --no-headers  --no-split test.texi
----------------------------------------------------------------------
this is a test  this is a test  this is a test

<pre class="example">     example line 1
     example line 2
     example line 3
     </pre>

<p>continuation of the paragraph
----------------------------------------------------------------------

In Mozilla 1.4 the spaces before the final </pre> add an extra line in
the ouput (i.e. there are two lines between the end of the example and
the next paragraph)

There is also a problem with @verbatiminclude inside an @example
environment

$ makeinfo --html --no-headers  --no-split test2.texi
----------------------------------------------------------------------
second test second test second test second test

<pre class="example">

     <pre class="verbatim">#include &lt;stdio.h>
     
     int
     main (void)
     {
       printf ("Hello, world!\n");
       return 0;
     }
     </pre></pre>

<p>continuation of the paragraph
----------------------------------------------------------------------

The indentation of the first real line of text is missing, and there
are two additional lines before the verbatiminclude text (again in
Mozilla 1.4).

best regards,

-- 
Brian Gough

Network Theory Ltd -- Publishing Free Software Manuals
15 Royal Park
Bristol BS8 3AL
United Kingdom

Tel: +44 (0)117 3179309
Fax: +44 (0)117 9048108
Web: http://www.network-theory.co.uk/

Attachment: test.texi
Description: Binary data

Attachment: test2.texi
Description: Binary data

Attachment: hello.c
Description: Binary data


reply via email to

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