On 23/06/11 13:31, Lex Trotman wrote:
On 23 June 2011 10:26, Grant Edwards<[email protected]>  wrote:
On 2011-06-23, Lex Trotman<[email protected]>  wrote:
On 23 June 2011 05:12, Grant Edwards<[email protected]>  wrote:
I can't seem to get the "caption" option for admonition
blocks/paragraphs to work with the FOP backend. ?The HTML output looks
right (says "Question" in the left column), but pdf output still says
"Note".

[icon=None, caption="Question"]
NOTE: Caption option doesn't work with FOP backend?

See the admonition :-) at the beginning of user guide 12.4.1 and later
where it explicitly says "Use the caption attribute to customize the
admonition captions (not applicable to docbook backend)."

Yep.  Found it.

Unfortunately, the user guide at 
http://www.methods.co.nz/asciidoc/userguide.html

is formatted such that it's so wide (at least in my browser) it's
difficult to read due to the constant left/right scrolling required.
In my browser a normal paragraph averages about 170 characters wide.


Welcome to my campaign for limited width text web pages in accordance
with W3C guidelines (about 80 characters ~ 35-40em). All Stuart has to
do is set :max-width: 40em instead of its current value of 70em,
please feel free to hassle him, I've been banging on in this and other
forums about it too much lately, people will be thinking I'm obsessed.
:-)

The big problem is that the text doesn't wrap when the browser window width drops below 70em -- a restriction imposed by the the table based layout. The table based layout was historically mandated because of IE6 CSS incompatibilities. I've changed to the CSS based layout (layout2):

http://code.google.com/p/asciidoc/source/detail?r=9ffd3078924b3d7a2e074b7b6038465e742f3312

and uploaded the User Guide in the new layout (just the User Guide for now):

http://www.methods.co.nz/asciidoc/userguide.html

Newer browsers shouldn't have problems with the CSS.


Cheers, Stuart



Cheers
Lex


--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to