bug-texinfo
[Top][All Lists]
Advanced

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

Re: In HTML mode, @quotation uses <blockquote> AND sets indentation to 5


From: Karl Berry
Subject: Re: In HTML mode, @quotation uses <blockquote> AND sets indentation to 5 spaces!
Date: Sun, 30 Mar 2008 13:23:43 -0500

Hi Reinhold,

    @quotation
    @example 

But if you say @quotation + @example, you are requesting two indented
environments.  For example, what if the input was actually a quotation:

--------------------------------------------------
Don Knuth wrote, and we quote:

@quotation
Here is some beautiful code using goto statements:

@example
tex := 3.14;
goto my_label;
@end example
@end quotation
---------------------------------------------------

In that case, the @example should be indented relative to the
@quotation, seems to me.

So I think my question is, why are you using @quotation around @example
in the first place, since you're not (I guess) quoting anything?  (Sorry
if this was in your earlier messages, which I hope to get to later
today.)

    @quotation
    @verbatim
    Similarly, text in @verbatim environments inside @quotation IS
    indented by 5 spaces...
    @end verbatim
    @end quotation

Verbatim is verbatim -> no indentation -> the indentation you're seeing
is from @quotation.  As requested by the input.

Best,
k





reply via email to

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