* Bug or feature?
@ 2011-12-21 11:04 Andreas Harder
2011-12-21 11:33 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Harder @ 2011-12-21 11:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug or feature?
2011-12-21 11:04 Bug or feature? Andreas Harder
@ 2011-12-21 11:33 ` Wolfgang Schuster
2011-12-21 11:50 ` Andreas Harder
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-12-21 11:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug or feature?
2011-12-21 11:33 ` Wolfgang Schuster
@ 2011-12-21 11:50 ` Andreas Harder
2011-12-21 14:02 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Harder @ 2011-12-21 11:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug or feature?
2011-12-21 11:50 ` Andreas Harder
@ 2011-12-21 14:02 ` Wolfgang Schuster
2011-12-21 22:38 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-12-21 14:02 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug or feature?
2011-12-21 14:02 ` Wolfgang Schuster
@ 2011-12-21 22:38 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-12-21 22:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-21 22:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-21 11:04 Bug or feature? Andreas Harder
2011-12-21 11:33 ` Wolfgang Schuster
2011-12-21 11:50 ` Andreas Harder
2011-12-21 14:02 ` Wolfgang Schuster
2011-12-21 22:38 ` Hans Hagen
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).