bug-texinfo
[Top][All Lists]
Advanced

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

HTML output for @quotation + @author


From: Mahlon
Subject: HTML output for @quotation + @author
Date: Thu, 20 Nov 2014 11:34:36 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

20 Nov 2014

RE: HTML output for @quotation + @author commands

VERSION: makeinfo 5.2 (built from source on Fedora 20 x86_64)

BUG:

There are two issues for the HTML output when using the @author command within a @quotation:

1) A blank line is generated between the quotation itself and the author's name. This extra line is not present in the info output.

2) The author's name (and the emdash) are centered on the page. This mirrors the info output, but the author's name looks isolated (lonely?) in the HTML output, especially for a short quotation, because the name may be considerably beyond the quotation itself.

For the following source:

@quotation

"A penny saved is a penny earned."

@author Benjamin Franklin

@end quotation


currently, the HTML looks like this:

<blockquote>

<p>&quot;A penny saved is a penny earned.&quot;

</p></blockquote>

<div align="center">&mdash; <em>Benjamin Franklin</em>

</div>



Logically, the 'author' output should be inside the <blockquote><p>, thus eliminating the extra blank line and beautifying the horizontal alignment. For example:

<blockquote>

<p>&quot;A penny saved is a penny earned.&quot;<br>

<span style="margin-left:3.2em">&mdash; <em>Benjamin Franklin</em></span>

</p></blockquote>


Note that the '3.2em' indentation is used in the above example because it agrees with all the other indentations generated by the texi-to-HTML converter. Note also that depending on where the last line of the word-wrrapped quotation naturally ends, the <br> might generate an extra blank line anyway, but I don't think we can do anything about that...


Cheers,
Mahlon



--

Software Sam - software and tools for GNU/Linux

Mahlon Smith,
The Software Samurai
On the Web: http://www.SoftwareSam.us/


reply via email to

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