ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Hanging indent in startstoplines for poems
Date: Mon, 29 Mar 2010 17:53:25 +0200	[thread overview]
Message-ID: <4BB0CCF5.3080703@googlemail.com> (raw)
In-Reply-To: <4BB0C760.5080305@web.de>

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.

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
___________________________________________________________________________________


  reply	other threads:[~2010-03-29 15:53 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 [this message]
2010-03-29 16:51   ` Hans Hagen
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=4BB0CCF5.3080703@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /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).