Hi, with the latest beta there is always a line break after a \blackrule … bug or feature? \starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext Regards Andreas
Am 21.12.2011 um 12:04 schrieb Andreas Harder:
Hi,
with the latest beta there is always a line break after a \blackrule … bug or feature?
\starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext
It’s neither a bug nor a feature, just a result of TeX’s horizontal and vertical modes, the same happens when you use \framed in vertical mode. \starttext \framed{line 1} \framed{line 2} \stoptext Wolfgang
On 21.12.2011, at 12:33, Wolfgang Schuster wrote:
Am 21.12.2011 um 12:04 schrieb Andreas Harder:
Hi,
with the latest beta there is always a line break after a \blackrule … bug or feature?
\starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext
It’s neither a bug nor a feature, just a result of TeX’s horizontal and vertical modes, the same happens when you use \framed in vertical mode.
\starttext \framed{line 1} \framed{line 2} \stoptext
Yes, you are right. My example was too minimal. I used \defineheadplacement and since yesterdays beta the line break is introduced. \starttext \defineheadplacement[MyPlacement][vertical] {\vbox{\localheadsetup\begstrut\blackrule[width=3cm] #2}} \setuphead[subject][alternative=MyPlacement] \subject{test Äg} \stoptext Andreas
Am 21.12.2011 um 12:50 schrieb Andreas Harder:
Yes, you are right. My example was too minimal. I used \defineheadplacement and since yesterdays beta the line break is introduced.
\starttext
\defineheadplacement[MyPlacement][vertical] {\vbox{\localheadsetup\begstrut\blackrule[width=3cm] #2}}
\setuphead[subject][alternative=MyPlacement]
\subject{test Äg}
\stoptext
spac-ver.mkvi (change \setvalue to \letvalue) -\setvalue{\??ut:\v!auto }\setautostrut % \setvalue{\??ut:\v!auto }{\setautostrut} +\letvalue{\??ut:\v!auto }\setautostrut % \setvalue{\??ut:\v!auto }{\setautostrut} Wolfgang
On 21-12-2011 15:02, Wolfgang Schuster wrote:
-\setvalue{\??ut:\v!auto }\setautostrut % \setvalue{\??ut:\v!auto }{\setautostrut} +\letvalue{\??ut:\v!auto }\setautostrut % \setvalue{\??ut:\v!auto }{\setautostrut}
ah, interesting that something works at all ... fixed Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Andreas Harder
-
Hans Hagen
-
Wolfgang Schuster