Login  Register

Re: Smart quotes and DocBook

Posted by mojavelinux on Oct 29, 2018; 9:22pm
URL: https://discuss.asciidoctor.org/Smart-quotes-and-DocBook-tp6566p6567.html

That's a good question. It's a consequence of this change: https://github.com/asciidoctor/asciidoctor/issues/2272

How are single and double quotes differentiated in DocBook? I actually don't know. If I knew, it would be straightforward to add additional markup since we know which one it is at the time of conversion.

Cheers,

-Dan

On Mon, Oct 29, 2018 at 1:45 PM pela [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Running asciidoctor with docbook output the sentence.

A "`double-quoted word`" and a '`single-quoted word`'.

Gives the translation:
<simpara>A
double-quoted word
 and a
single-quoted word
.</simpara>

Is this intended? How can I differentiate the quote marks?

pela


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Smart-quotes-and-DocBook-tp6566.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