From: Michael Guravage <guravage@literatesolutions.com>
To: ntg-context@ntg.nl
Subject: Protruding quotation marks obviate narrowed quotations
Date: Wed, 30 Dec 2020 21:13:09 +0100 [thread overview]
Message-ID: <CAL-A5LZ_jK5=-x-2o82Mc3te55e6pM-faqc7cS7fcRCUFPynaw@mail.gmail.com> (raw)
[-- 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
___________________________________________________________________________________
reply other threads:[~2020-12-30 20:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAL-A5LZ_jK5=-x-2o82Mc3te55e6pM-faqc7cS7fcRCUFPynaw@mail.gmail.com' \
--to=guravage@literatesolutions.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).