If you were to add a start-stopquotation block to Wolfgang's example, you'd
see that the resulting paragraph has lost its narrowness. Is there a way to
allow quotes to protrude into the left margin while preserving the
narrowness of start-stopquotation blocks? My own solution is not to
\setupquotation[method=font] but to define a delimited text environment
whose method=font, and use it when a paragraph begins with a quotation.
I have attached my own mwe. You can toggle the \setquotation command with
--mode=font.
Does anyone have a more elegant, or better yet, a correct solution?
With kind regards,
Michael
On Sat, Jun 5, 2021 at 7:36 AM Sandra Snan
Thank you both for your help. Additionally, I needed to make sure that \setupbodyfont comes after all this. But now I've finally got the margin-potruding quotations of my dreams.
writes: -----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Wolfgang Schuster Gesendet: Freitag, 4. Juni 2021 10:08 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] quotes potruding out in the left margin Sandra Snan schrieb am 04.06.2021 um 09:52:
Oh, the example you just posted doesn't work on live.contextgarden, let alone on my installation. The quotation marks still don't potrude.
I tested my example on the garden and got the expected output with the quotation marks in the margin (only partially but this is normal with the quality setting).
I can confirm that this works. As Wolfgang notes protrusion is only partial with the default settings, but you can tweak it with \setupfontprotrusion (see below). \setupfontprotrusion [quality] [left=2] is probably what you want since this puts the complete quotation mark into the margin.
I don't know what the numbers mean. Maybe someone can add to this.
Denis
======================== %\setupfontprotrusion [quality] [left=0] % no protrusion on the left margin \setupfontprotrusion [quality] [left=1] % default %\setupfontprotrusion [quality] [left=1.5] % more protrustion %\setupfontprotrusion [quality] [left=2] % even more protrustion %\setupfontprotrusion [quality] [left=2.5] % too much protrusion
\definefontfeature [default] [default] [protrusion=quality, expansion=quality]
\setupquotation [method=font]
\setupalign [hz,hanging]
\showframe [text] [text]
\starttext
oh hi there
“you are so”
\quotation{you are so}
here here
\stoptext ========================
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________ 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
___________________________________________________________________________________