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>"A penny saved is a penny earned."
</p></blockquote>
<div align="center">— <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>"A penny saved is a penny earned."<br>
<span style="margin-left:3.2em">— <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/
<http://www.SoftwareSam.us/home.html>/