ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \quotation, protrusion and linebreaking
@ 2022-10-11 18:00 Leah Neukirchen via ntg-context
  2022-10-11 18:21 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 11+ messages in thread
From: Leah Neukirchen via ntg-context @ 2022-10-11 18:00 UTC (permalink / raw)
  To: ntg-context; +Cc: Leah Neukirchen

Hello,

I noticed the following problem:


\showframe

\startluacode
  fonts.protrusions.vectors.pure[0x201C] = { 1, 1 }
\stopluacode

\definefontfeature[default][default][protrusion=pure]
\setupalign[hanging]

\starttext

This text is unquoted.

“This text is quoted manually.”

\quotation{This text is quoted by a macro.}

This is a very long line followed by a nice linebreak, very supercalifragilisticexpialidocious.

This is a very long line followed by an ugly linebreak, not \quotation{supercalifragilisticexpialidocious}

\stoptext


The macro-quoted text is not protruded.  I fixed this locally with a macro
\def\q#1{\protrusionboundary1\quotation{#1}}
Should this be default?

But the missing hyphenation I have to add myself with \-.  Ideas?

-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-10-13  3:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 18:00 \quotation, protrusion and linebreaking Leah Neukirchen via ntg-context
2022-10-11 18:21 ` Henning Hraban Ramm via ntg-context
2022-10-11 19:06   ` Leah Neukirchen via ntg-context
2022-10-12  8:14     ` Henning Hraban Ramm via ntg-context
2022-10-12 18:49       ` Denis Maier via ntg-context
2022-10-12 19:12         ` Hans Hagen via ntg-context
2022-10-12 19:17           ` Denis Maier via ntg-context
2022-10-12 20:25             ` Wolfgang Schuster via ntg-context
2022-10-12 22:43               ` Alan Braslau via ntg-context
2022-10-13  3:56                 ` Wolfgang Schuster via ntg-context
2022-10-12 19:54     ` Rik Kabel via ntg-context

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).