|
From: | Mahlon |
Subject: | @flushright command in HTML output |
Date: | Sat, 29 Nov 2014 01:40:39 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
28 Nov 2014 RE: @flushright command VERSION: makeinfo 5.2 (built from source on Fedora 20 x86_64) BUG: The @flushright command is incompletely implemented for the HTML output. 'flushright' implies pre-formatted text because the whole paragraph is being shoved to the right margin; however, for text in blocks that would normally have wrapped, this is inconsistent. Outside an environment and within an @example, @display and @format blocks, flushright looks great in the info output. Carefully constructed text in @quotation and @indentedblock environments also looks fine in the info output. However, the HTML for all of these has issues because it is directly styled (<p align=”right”> ... </p>) rather than calling out a class name.
Outside an environment (with and without explicit line breaks):@* @w{Generated HTML: <p align="right"> ... </p>} @flushright Jungle, George of address@hidden Ape Mountain, address@hidden Bukubu address@hidden Deepest address@hidden @sp 1 Jungle, George of the Ape Mountain, South Bukubu Territory Deepest Africa @end flushright
@html <div style="white-space:pre; text-align:right; color:red;"> <span style="text-decoration:underline">Direct HTML Output for pre-formatted, right-aligned text:</span> Jungle, George of the Ape Mountain, South Bukubu Territory Deepest Africa </div> @end html
In an @@example environment:@* @example @flushright Jungle, George of the Ape Mountain, South Bukubu Territory Deepest Africa @end flushright @end example
My
recommendation would be that instead of direct styling: The
@flushright should call out a class name so we can address it
with
CSS:
Cheers, Mahlon
--
Software Sam - software and tools for GNU/Linux |
[Prev in Thread] | Current Thread | [Next in Thread] |