Hi Lex
Good idea, thanks for the patch.
On 18/06/11 09:57, Lex Trotman wrote:
Hi Stuart,
There have been several questions lately about how to set up things
for different output formats.
When using a2x asciidoc doesn't know what the output format is,
The attached patch to a2x sets attribute {format} to its format option
so documents can adjust themselves accordingly.
Not sure if it should be documented in a2x or asciidoc or both?
Named attribute 'a2x-format' to avoid confusion with table 'format' attribute.
Documented in a2x man page (similar to blogpost-* attributes documented in
blogpost man page).
What version of a2x did you patch? it seems way out of sync with 8.6.5.
I patched it by hand so would be a good idea to check it.
http://code.google.com/p/asciidoc/source/detail?r=4211bd8041871dd9188a2f1089cd505e6970508e
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.