[NTG-context] Re: protrusion in framed

2023-10-20 Thread 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  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___
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
___


[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
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

protrusion-in-framed.pdf
Description: Adobe PDF document
___
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
___


[NTG-context] Re: protrusion in framed

2023-10-20 Thread Wolfgang Schuster

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
___