Oliver Buerschaper wrote:
Hello,
I can't get the 'align' parameter to have any effect on label text in
definitions. Here is a simple test case:
\setuplayout[backspace=40mm]
\definedescription
[test]
[location=inleft,
width=25mm,
align=left,
margin=standard]
\starttext
\test{Hello} World! \par
\test{Misaligned} Labels
\stoptext
Changing the value of 'align' to 'middle' or 'right' does nothing. I'm
using ConTeXt ver: 2009.04.28 08:46 MKIV fmt: 2009.5.9 int:
english/english, and LuaTeX, Version beta-0.40.0-2009042219 luatex.web
>= v2344
Confirmed on 2009.05.14 16:44 if a new line is inserted just before
\stoptext:
---
\setuplayout[backspace=40mm]
\definedescription
[test]
[location=inleft,
width=25mm,
align=left,
margin=standard]
\starttext
\test{Hello} World! \par
\test{Misaligned} Labels
\stoptext
descriptions (and a few more commands) expect a \par (or empty line)
best use
\starttest{Hello} World! \stoptest
\starttest{Misaligned} Labels \stoptest
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________