Hi, I've been using asciidoc (right now at 8.6.6) pretty regularly these past months (it's awesome, by the way), and I noticed some problems with the way it deals with single and double quotes.
1. Direct speech over multiple paragraphs asciidoc doesn't seem to recognise opening double quotes `` if they aren't paired with closing quotes '' and vice versa. But direct speech continuing over multiple paragraphs is only closed by a single pair of closing quotes, like this (for English): ======================================== John said, ``It's going to rain. ``My knees hurt every time there's a storm coming.'' ======================================== which should be rendered with “ and ”, respectively: ======================================== John said, “It’s going to rain. “My knees hurt every time there’s a storm coming.” ======================================== but is instead rendered: ======================================== John said, ``It’s going to rain. “My knees hurt every time there’s a storm coming.” ======================================== Presumably, in languages that do not use opening quotes for each paragraph of direct speech, the final quotes would remain a pair of '' instead of proper double quotes. 2. Word-final apostrophes Similarly to the previous problem, word-final apostrophes (the girls' toys) are not rendered properly as ’, but rather as simple dumb typewriter single quote '. 3. Single/double quote combinations Finally, there seems to be a big mix-up in sentences like: ======================================== ```Garlic' is not the word I would use,'' Peter said. ======================================== which is rendered: ======================================== “`Garlic' is not the word I would use,” Peter said. ======================================== instead of: ======================================== “‘Garlic’ is not the word I would use,” Peter said. ======================================== that is with the inner quotes not replaced by ‘ and ’ respectively, but instead remaining as ` and '. The accompanying issue ======================================== ``I think the proper term is `Huzzah!''' ======================================== renders all the quotes, but switches the final ''' into double quote-single quote order: ======================================== “I think the proper term is ‘Huzzah!”’ ======================================== while it should be single quote-double quote: ======================================== “I think the proper term is ‘Huzzah!’” ======================================== as the inner quotes should be closed before the outer ones. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To view this discussion on the web visit https://groups.google.com/d/msg/asciidoc/-/oCm1W7XwB9gJ. 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.
