* [NTG-context] protrusion in framed
@ 2023-10-20 12:53 Csikos Bela
2023-10-20 12:59 ` [NTG-context] " Wolfgang Schuster
2023-10-20 13:03 ` Csikos Bela
0 siblings, 2 replies; 4+ messages in thread
From: Csikos Bela @ 2023-10-20 12:53 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 586 bytes --]
Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }\blank\setlocalhsize\framed[frame=off,location=top,align=normal,offset=0pt,width=local]{\input tufte }\stoptextThe compiled pdf is attached as protrusion-in-framed.pdf.Is is possible to make protrusion work in framed?I need to use framed in itemize to prevent splittinf of items between pages.Thanks,bcsikos
[-- Attachment #1.2: Type: text/html, Size: 1171 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: protrusion in framed
2023-10-20 12:53 [NTG-context] protrusion in framed Csikos Bela
@ 2023-10-20 12:59 ` Wolfgang Schuster
2023-10-20 13:11 ` Csikos Bela
2023-10-20 13:03 ` Csikos Bela
1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2023-10-20 12:59 UTC (permalink / raw)
To: mailing list for ConTeXt users, Csikos Bela
Csikos Bela schrieb am 20.10.2023 um 14:53:
> Hello:
>
> Protrusioin doesn't work in framed environment.
>
> This is a short code:
>
> \definefontfeature[default][default][expansion=quality,protrusion=quality]
>
> \setupalign[hz,hanging]
>
> \showframe
>
> \starttext
>
> \input tufte
>
> \blank
>
> \framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }
\framed[...,align={normal,hz,hanging},...]{...}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: protrusion in framed
2023-10-20 12:59 ` [NTG-context] " Wolfgang Schuster
@ 2023-10-20 13:11 ` Csikos Bela
0 siblings, 0 replies; 4+ messages in thread
From: Csikos Bela @ 2023-10-20 13:11 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 668 bytes --]
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't work in framed environment. > > This is a short code: > > \definefontfeature[default][default][expansion=quality,protrusion=quality] > > \setupalign[hz,hanging] > > \showframe > > \starttext > > \input tufte > > \blank > > \framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte } \framed[...,align={normal,hz,hanging},...]{...} Wolfgang Thank you for the super fast answer!Another question related to my sample code:Why the right edge of the text hangs into the margin when I use this code:\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }Thanks,bcsikos
[-- Attachment #1.2: Type: text/html, Size: 1326 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: protrusion in framed
2023-10-20 12:53 [NTG-context] protrusion in framed Csikos Bela
2023-10-20 12:59 ` [NTG-context] " Wolfgang Schuster
@ 2023-10-20 13:03 ` Csikos Bela
1 sibling, 0 replies; 4+ messages in thread
From: Csikos Bela @ 2023-10-20 13:03 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 645 bytes --]
I forgot to attach the pdf.-------- Eredeti levél --------Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }\blank\setlocalhsize\framed[frame=off,location=top,align=normal,offset=0pt,width=local]{\input tufte }\stoptextThe compiled pdf is attached as protrusion-in-framed.pdf.Is is possible to make protrusion work in framed?I need to use framed in itemize to prevent splittinf of items between pages.Thanks,bcsikos
[-- Attachment #1.2: Type: text/html, Size: 1362 bytes --]
[-- Attachment #2: protrusion-in-framed.pdf --]
[-- Type: application/pdf, Size: 12262 bytes --]
[-- Attachment #3: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-20 13:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20 12:53 [NTG-context] protrusion in framed Csikos Bela
2023-10-20 12:59 ` [NTG-context] " Wolfgang Schuster
2023-10-20 13:11 ` Csikos Bela
2023-10-20 13:03 ` Csikos Bela
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).