[NTG-context] sidefloats and narrower
Hi again, this is related to “quotation with footnote“. If you compile the example with (latest) LMTX, all is good. But MkIV (--luatex) lets the quotations (“Zitat”) run over the float. Without the \setupdelimitedtext line, distances between paragraphs become irregular in both versions (but differently). \useMPlibrary[dum] \usemodule[visual] \setupwhitespace[halfline] \setupdelimitedtext[quotation][method=font] \setupnarrower[left=2em,right=1.5em] \definenarrower[Zitat] \setupnarrower[Zitat] [left=2em, right=1.5em, before=\dontleavehmode\hskip-0.33em\startquotation, after=\stopquotation] \starttext %\fakewords{50}{60} \startplacefigure[location={right,-line},title={\fakewords{7}{10}}] \externalfigure[022][width=0.33\textwidth,height=0.75\textheight] \stopplacefigure \startZitat \fakewords{30}{60} \stopZitat \fakewords{30}{60} \startZitat \fakewords{15}{20} \stopZitat \fakewords{30}{60} \stoptext Hraban ___ 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 ___
Re: [NTG-context] Sidefloats inside framed
Henri Menke schrieb am 15.09.2019 um 05:05: Dear list, Is there a way to get sidefloats working inside a frame? I'm currently designing a conference poster and I'm manually placing blocks using \setlayerframed where inside those blocks I'd like to have sidefloats. MWE is below. Cheers, Henri --- \starttext \startplacefigure[location={none,right}] \externalfigure[cow][width=.5\hsize] \stopplacefigure \samplefile{lorem} \startframed [height=20\lineheight, width=\hsize, offset=0pt, align=width] \startplacefigure[location={none,right}] \externalfigure[cow][width=.5\hsize] \stopplacefigure \samplefile{lorem} \stopframed \stoptext \starttext \startframed[align={width,tolerant},width=max,lines=20,offset=0pt] \starthanging{\externalfigure[dummy][width=.5\hsize]} \samplefile{lorem} \stophanging \stopframed \stoptext Wolfgang ___ 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 ___
Re: [NTG-context] Sidefloats inside framed
On Sun, 15 Sep 2019, Henri Menke wrote: Dear list, Is there a way to get sidefloats working inside a frame? I'm currently designing a conference poster and I'm manually placing blocks using \setlayerframed where inside those blocks I'd like to have sidefloats. MWE is below. You could use background instead of framed. Aditya ___ 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 ___
[NTG-context] Sidefloats inside framed
Dear list, Is there a way to get sidefloats working inside a frame? I'm currently designing a conference poster and I'm manually placing blocks using \setlayerframed where inside those blocks I'd like to have sidefloats. MWE is below. Cheers, Henri --- \starttext \startplacefigure[location={none,right}] \externalfigure[cow][width=.5\hsize] \stopplacefigure \samplefile{lorem} \startframed [height=20\lineheight, width=\hsize, offset=0pt, align=width] \startplacefigure[location={none,right}] \externalfigure[cow][width=.5\hsize] \stopplacefigure \samplefile{lorem} \stopframed \stoptext signature.asc Description: OpenPGP digital signature ___ 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 ___
Re: [NTG-context] sidefloats
Source & result attached. On Wed, 15 Oct 2014 10:35:04 +0200, Hans Hagen wrote: new in next beta: \starttext \placefigure [left] {} {\framed[height=1cm,width=2cm]{}} \input tufte \doifelsesidefloat {\dontleavehmode{\bf OKAY}: HERE} {\inmargin{OKAY} HERE} \placefigure [left] {} {\framed[height=10cm,width=2cm]{}} \input tufte \doifelsesidefloat {\dontleavehmode{\bf OKAY}: HERE} {\inmargin{OKAY} HERE} \stoptext -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 SideFloat.mkiv Description: Binary data SideFloat.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 / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] sidefloats
new in next beta: \starttext \placefigure [left] {} {\framed[height=1cm,width=2cm]{}} \input tufte \doifelsesidefloat {\dontleavehmode{\bf OKAY}: HERE} {\inmargin{OKAY} HERE} \placefigure [left] {} {\framed[height=10cm,width=2cm]{}} \input tufte \doifelsesidefloat {\dontleavehmode{\bf OKAY}: HERE} {\inmargin{OKAY} HERE} \stoptext -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___