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 Any help much appreciated, and congratulations to all those who have helped make ConTeXt such an excellent tool. Tim Wraight
I'm already having problems with the following minimal test: --- \definedescription[test] \starttext \test{Hello} world! \stoptext --- TeX complains that the file ended while it was scanning \dodowithpar. For TeX this is probably not surprising, and a new line before \stoptext solves the problem. Is it possible to make ConTeXt insensitive to new lines in the above situation (and similar ones)? Oliver
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
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 --- Best, Oliver
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 -----------------------------------------------------------------
On 19 May 2009, at 22:48, Hans Hagen wrote:
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 In that case, perhaps there's a simper way to achieve my aim: I'm doing dialogue, and want to have the speakers' names right-aligned (ie. ragged left) in the margin. Is there a better way to do this than descriptions?
for example: Jim: Isn't ConteXt fun? John: Sure. When you know what you're doing.
----------------------------------------------------------------- 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 : ntg-context@ntg.nl / 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 ___________________________________________________________________________________
http://archive.contextgarden.net/message/20080130.152108.77e74a14.en.html http://archive.contextgarden.net/message/20090305.193628.ebaae6c2.en.html Wolfgang Am 19.05.2009 um 21:05 schrieb Tim Wraight:
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
Any help much appreciated, and congratulations to all those who have helped make ConTeXt such an excellent tool.
Tim Wraight
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 20 May 2009, at 10:11, Wolfgang Schuster wrote:
http://archive.contextgarden.net/message/20080130.152108.77e74a14.en.html http://archive.contextgarden.net/message/20090305.193628.ebaae6c2.en.html
Thanks Wolfgang, that's very helpful. If I understand correctly, headeralign has not yet been implemented, but for now we can use text= \hfill to give the same result. It certainly seems to work fine for me. Cheers, Tim
Wolfgang
Am 19.05.2009 um 21:05 schrieb Tim Wraight:
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
Any help much appreciated, and congratulations to all those who have helped make ConTeXt such an excellent tool.
Tim Wraight
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (4)
-
Hans Hagen
-
Oliver Buerschaper
-
Tim Wraight
-
Wolfgang Schuster