How to add markup to author information in document title

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to add markup to author information in document title

oddhack
Because lawyers, I need to do something like this:

= A Trademarked^(TM)^ Title
Editors: A Registered^(R)^ Editor

Unfortunately, the title is formatted with a superscript (TM) in html5 output, but the editor line shows the literal markup. Is there a way to accomplish this?


Reply | Threaded
Open this post in threaded view
|

Re: How to add markup to author information in document title

Andrew Carver
This seems to work:

= A Trademarked^(TM)^ Title
:R: pass:q,r[^(R)^]
Editors: A Registered{R} Editor

I think this issue is due to it being in a header--where, if I gather correctly, only "Special Characters" and "Attributes" get replaced. But having an attribute entry above the author line doesn't disrupt; because, "Attribute entries can be placed anywhere in the header" (https://asciidoctor.org/docs/user-manual/#doc-header).
Reply | Threaded
Open this post in threaded view
|

Re: How to add markup to author information in document title

oddhack
Thanks! Very helpful.
Reply | Threaded
Open this post in threaded view
|

Re: How to add markup to author information in document title

mojavelinux
Administrator

On Mon, Oct 15, 2018 at 4:22 PM oddhack [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thanks! Very helpful.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/How-to-add-markup-to-author-information-in-document-title-tp6488p6529.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux