Hi Bela

On 27/05/10 20:04, Bela Hausmann wrote:
Hello,

I don't think there is support for the DocBook titleabbrev[1] feature?
How about adding it to AsciiDoc?

Do the fop and dblatex toolchains render titleabrev's?

It would be straightforward to implement using a block macro e.g.

[macros]
(?u)^(?P<name>titleabbrev)::(\[(?P<attrlist>.*?)\])$=#

[titleabbrev-blockmacro]
<titleabbrev>{0}</titleabbrev>


Example:

titleabbrev::[Section 1]

Emits:

<titleabbrev>Section 1</titleabbrev>


Or simply using the existing passthrough block macro:

pass::[<titleabbrev>Section 1</titleabbrev>]



Greetings,
Bela

[1]http://www.docbook.org/tdg5/en/html/titleabbrev.html


Cheers, Stuart

--
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