help-texinfo
[Top][All Lists]
Advanced

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

Re: exdent


From: Akim Demaille
Subject: Re: exdent
Date: 30 Apr 2002 09:00:25 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:

>> From: address@hidden (Karl Berry) Date: Thu, 25 Apr 2002
>> 11:15:50 -0400
>> 
>> If it is not, then the following question probably applies: I'm try
>> to comment an @example, and I'm using exdented lines to put my
>> comments.
>> 
>> I believe this is a bug in @exdent and/or @example in 4.2 :(.

Eli> Can you send a small example?  I'd like to look at this.

Sure.  It's just the plain straightforward use of exdent and example.

/tmp % cat exdent.texi                                            nostromo 8:57
\input texinfo

@setfilename exdent

Some pretext.

@example
This should be indented.
@exdent This should not.
This should be indented too.
@end example

@noindent
some posttext.

@bye
/tmp % makeinfo --no-header exdent.texi                           nostromo 8:57
Some pretext.

     This should be indented.
This should not.
     This should be indented too.

some posttext.

/tmp % makeinfo --html exdent.texi -o-                            nostromo 8:58
<html lang="en">
<head>
<title>Sans titre</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name=description content="Sans titre">
<meta name=generator content="makeinfo 4.2">
<link href="http://www.gnu.org/software/texinfo/"; rel=generator-home>
</head>
<body>
Some pretext.

<br><pre>This should be indented.
<br>This should not.<br>
This should be indented too.
</pre>

<p>some posttext.

</body></html>

And this is the output from Lynx.

   Some pretext.
This should be indented.
This should not.

This should be indented too.

   some posttext.


(Arg.   Do we need those two eol?)



reply via email to

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