From: Hans Hagen <pragma@wxs.nl>
To: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Hanging indent in startstoplines for poems
Date: Mon, 29 Mar 2010 18:51:05 +0200 [thread overview]
Message-ID: <4BB0DA79.50509@wxs.nl> (raw)
In-Reply-To: <4BB0CCF5.3080703@googlemail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-03-29 16:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-29 15:29 Torsten Suhling
2010-03-29 15:53 ` Wolfgang Schuster
2010-03-29 16:51 ` Hans Hagen [this message]
2010-03-29 19:24 ` Wolfgang Schuster
2010-03-30 21:34 ` Torsten Suhling
2010-03-31 13:06 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BB0DA79.50509@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=schuster.wolfgang@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).