Login  Register

Re: How to use curly quotes in monospaced block?

Posted by Mark S on Jul 28, 2019; 4:28pm
URL: https://discuss.asciidoctor.org/How-to-use-curly-quotes-in-monospaced-block-tp7020p7022.html

Thank you. I tried both and in both cases asciidoctor-pdf produced a blank space where the quotes should be. I think this is due to the default fonts. I'll read the docs on theming to see if I can set fonts that have the curly quotes.

On Sun, 28 Jul 2019 at 11:44, ahus1 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I see at least two possibilities to add (typographic) curly quotes:

  1. use unicode characters
  2. enable macros as described in AsciiDoc Writers's Guide: Inline pass macro and explicit substitutions
The two examples below will lead to the same output:

Unicode variant:

----
myapp/myapp.rs      # “executable”
myapp/myapp_test.rs # tests
----
Macro variant:
[subs=+macros]
----
myapp/myapp.rs      # pass:quotes["`executable`"]
myapp/myapp_test.rs # tests
----



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/How-to-use-curly-quotes-in-monospaced-block-tp7020p7021.html
To unsubscribe from How to use curly quotes in monospaced block?, click here.
NAML



--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu