On 29-3-2010 17:53, Wolfgang Schuster wrote:
Am 29.03.10 17:29, schrieb Torsten Suhling:

Hello,

I have a question regarding hanging indentation in
startstoplines-environment.

So I try to use ConTeXt to typeset poems. In some texts/poems
ar long lines, which have to be broken. They should be broken
into hanging indentations.

Any idea how to do that?
\definelines
[verse]
[indenting={yes,-2em,first},
before={\startnarrower[2em]},
after=\stopnarrower,
% style={\setupalign[flushleft,nothyphenated]},
style={\raggedright\nohyphens},
]

@Hans, can you change \setupalign to

\unexpanded\def\setupalign
{\dosingleargument\dosetupalign}

else it can't be used in the style key.

sure, but i'd expected you to implement a proper align=... then -)

i made a few more in that module unexpanded

i'll upload a beta in a couple of minutes so you were just in time

Hans

-----------------------------------------------------------------
                                          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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to