runemadsen / Magic-Book-Project

DEPRECATED: We are reviving the Magic Book project as a node package: https://github.com/magicbookproject/magicbook
http://itp.nyu.edu
620 stars 62 forks source link

Literal commas where commas are delimiters #148

Open shiffman opened 11 years ago

shiffman commented 11 years ago

question for @runemadsen

I am working on NOC issue https://github.com/shiffman/The-Nature-of-Code/issues/24

I have everything working, but have a small issue.

ASCIIDOC quote syntax is:

[quote, cite author]

What I need to do is something like:

[quote, Fred, Frank, and Francine]

This doesn't work b/c the commas are treated as delimiters. I've tried passthroughs, escaping, etc. Is the solution:

[quote, "Fred, Frank, and Francine"]

This throws some errors at the moment.

shiffman commented 11 years ago

This, by the way, is not urgent as for now I'll probably just pass-through block the entire blockquote, which is easy enough.

runemadsen commented 11 years ago

Weird. The quotes should work.

Let me give it a try and see if I can fix it.

On Sat, Oct 20, 2012 at 10:56 PM, Daniel Shiffman notifications@github.comwrote:

This, by the way, is not urgent as for now I'll probably just pass-through block the entire blockquote, which is easy enough.

— Reply to this email directly or view it on GitHubhttps://github.com/runemadsen/Magic-Book-Project/issues/148#issuecomment-9639177.

shiffman commented 11 years ago

There are only three quotes and I ended up using pass-throughs where necessary so this is a very minor problem at this point.

stevenklise commented 11 years ago

Another workaround would be to use the html escape code for a comma: , which I just tried and works with the PDF.

But still, weird.