pretext icon indicating copy to clipboard operation
pretext copied to clipboard

making nested quotes visible

Open davidfarmer opened this issue 8 years ago • 2 comments

The sample article shows quotes nested in various ways: http://mathbook.pugetsound.edu/examples/sample-article/html/section-8.html

I suggest that, for example, when a single quote encloses a phrase in double quotes, and the two types of quotes are adjacent, then there should be a little bit of space between them. That way the reader can see the nesting more clearly. In the current HTML version, the appearance is like several single quotes in a row.

Maybe a good task for someone new to the project.

davidfarmer avatar Feb 07 '17 02:02 davidfarmer

The wikipedia article specifically mentions this as a use case for a thin space: https://en.wikipedia.org/wiki/Thin_space One wants a non-breaking thin space in this context.

davidfarmer avatar Feb 07 '17 02:02 davidfarmer

This got rather involved for LaTeX, which is why those tests are there. I'd never examined them carefully in HTML output, that I can recall. Perhaps the four types of quotes (grouped/solo, double/single) can look "left" and "right" for an immediate enclosing parent and insert that non-breaking thin space. I'd test the look on that thin-space before embarking on this one. XSL for LaTeX would have lots of hints.

rbeezer avatar Feb 07 '17 03:02 rbeezer