Re: [NTG-context] Marginrule levels after \placefigure[right]
On Sun, 28 Aug 2016, Aditya Mahajan wrote: Hi, This is based on a question on TeX.SE https://tex.stackexchange.com/questions/326653/context-wrapfigure-interacts-with-marginrule All marginrules except those of level 1 stop working after \placefigure[right]. Here is a minimal example: \useexternalfigure[ctanlion][http://www.ctan.org/lion/ctan_lion_350x350.png][width=4cm] \starttext \placefigure[here,none,right]{}{\externalfigure[ctanlion]} \input knuth \startmarginrule[2] \input ward \stopmarginrule \startmarginrule[1] \input ward \stopmarginrule \startmarginrule[3] \input ward \stopmarginrule \stoptext The output is attached. The attached patch seems to fix the bug. Aditya*** /opt/context-minimals/tex/texmf-context/tex/context/base/mkiv/anch-bar.mkiv 2016-08-28 16:55:00.0 -0400 --- anch-bar.mkiv 2016-08-28 16:52:47.0 -0400 *** *** 111,118 \advance\d_anch_sidebars_distance\scratchdistance\relax \fi \else \ifnum\m_level=\plusone -\scratchdimen\sidebarparameter\c!leftmargindistance\relax \ifdim\scratchdimen=\zeropoint \advance\d_anch_sidebars_distance\scratchdistance\relax \else --- 111,118 \advance\d_anch_sidebars_distance\scratchdistance\relax \fi \else + \scratchdimen\sidebarparameter\c!leftmargindistance\relax \ifnum\m_level=\plusone \ifdim\scratchdimen=\zeropoint \advance\d_anch_sidebars_distance\scratchdistance\relax \else ___ 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] Marginrule levels after \placefigure[right]
Hi, This is based on a question on TeX.SE https://tex.stackexchange.com/questions/326653/context-wrapfigure-interacts-with-marginrule All marginrules except those of level 1 stop working after \placefigure[right]. Here is a minimal example: \useexternalfigure[ctanlion][http://www.ctan.org/lion/ctan_lion_350x350.png][width=4cm] \starttext \placefigure[here,none,right]{}{\externalfigure[ctanlion]} \input knuth \startmarginrule[2] \input ward \stopmarginrule \startmarginrule[1] \input ward \stopmarginrule \startmarginrule[3] \input ward \stopmarginrule \stoptext The output is attached. Aditya min.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] marginrule does not work properly in wiki
Hello, The following example does not work properly in wiki (the rule is missed), while in mkIV it's OK. \starttext \startmarginrule The sound of a duck is a good demonstration of how different people listen to a sound. Everywhere in Europe the sound is equal. But in every country it is described differently: kwaak||kwaak (Netherlands), couin||couin (French), gick||gack (German), rap||rap (Danish) and mech||mech (Spanish). If you speak these words aloud you will notice that in spite of the consonants the sound is really very well described. And what about a cow, does it say boe, mboe or mm? \stopmarginrule \stoptext http://wiki.contextgarden.net/Reference/en/startmarginrule Regards, Vyatcheslav ___ 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 ___
Re: [NTG-context] marginrule does not work properly in wiki
Looks like I understood the reason. It's not visible because it's inside the margin, and wiki does margins. :) Am I right? Hello, The following example does not work properly in wiki (the rule is missed), while in mkIV it's OK. \starttext \startmarginrule The sound of a duck is a good demonstration of how different people listen to a sound. Everywhere in Europe the sound is equal. But in every country it is described differently: kwaak||kwaak (Netherlands), couin||couin (French), gick||gack (German), rap||rap (Danish) and mech||mech (Spanish). If you speak these words aloud you will notice that in spite of the consonants the sound is really very well described. And what about a cow, does it say boe, mboe or mm? \stopmarginrule \stoptext http://wiki.contextgarden.net/Reference/en/startmarginrule Regards, Vyatcheslav -- Best Regards, Vyatcheslav Yatskovsky ___ 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 ___