* Protruding quotation marks obviate narrowed quotations
@ 2020-12-30 20:13 Michael Guravage
0 siblings, 0 replies; only message in thread
From: Michael Guravage @ 2020-12-30 20:13 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1380 bytes --]
Several months ago I posed the following question.
When I start a paragraph with a \quote or a \quotation the left quotemark
does not protrude, but when I use Unicode quotes it does. I would prefer to
use the commands. Any suggestions on how I can achieve proper left
protrusion without resorting to Unicode characters?
Wolfgang suggested the following lines of code; which worked perfically.
\setupquotation [method=font]
\setupquote [method=font]
Returning to this project after several months I observe that when I use a
\start- stopquotation environment, the quotation is not narrowed. The
\setupquotation command obviously affects both the \quotation command and
\start- stopquotation environment.
Is there an elegant way to apply the \setupquotation command and retain the
quotation indentation?
Cheers,
Michael
Here's a mwe.
\showframe
\showgrid
\setupwhitespace[medium]
% Setup hanging punctuation, less severe style
\definefontfeature
[default]
[default]
[protrusion=punctuation,expansion=quality]
\setupalign[hz,hanging]
% Provide protrusion for quotations.
\setupquotation[method=font] % Toggle this line to see the effect.
\setupquote[method=font]
\starttext
\startparagraph
\quotation[method=font]{Love makes the world go round,} as an old
proverb has it\ldots
\stopparagraph
\startquotation
\input tufte
\stopquotation
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 1964 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-30 20:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-30 20:13 Protruding quotation marks obviate narrowed quotations Michael Guravage
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).