ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: typesetting verse?
Date: Thu, 24 Aug 2006 00:17:44 +0200	[thread overview]
Message-ID: <44ECD408.3060200@wxs.nl> (raw)
In-Reply-To: <Pine.WNT.4.63.0608231032330.496@nqvgln>

Aditya Mahajan wrote:
> On Wed, 23 Aug 2006, Hans Hagen wrote:
>
>   
>> Derek Schmidt wrote:
>>     
>>> Hi,
>>>
>>> Another simple question--have at it!
>>>
>>> I'd like to typeset some poetry. It should be indented, obey lines,
>>> and the lines should be close together, not like separate paragraphs.
>>> So far I've got
>>>
>>> \definestartstop[verse][commands=\obeylines]
>>>
>>>
>>> What next?
>>>
>>>       
>> \startlines...\stoplines
>>
>> has provisions for odd/even indentation and such
>>
>> also, indentation settings can handle odd/even stuff
>>     
>
> Aparantly not! The following simple example does not give me indenting 
> of odd lines (unless I misunderstood the feature)
>
> \setupindenting[medium]
> \setuplines[indenting=odd]
>
> \starttext
> \startlines
> first
> second
> third
> fourth
> \stoplines
>
> \stoptext
>   
\showframe

\starttext

\setupindenting[medium,first]

\setuplines[indenting=no]

\startlines
first
second
third
fourth

first
second
third
fourth
\stoplines

\setuplines[indenting=yes]

\startlines
first
second
third
fourth

first
second
third
fourth
\stoplines

\setuplines[indenting=odd]

\startlines
first
second
third
fourth

first
second
third
fourth
\stoplines

\setuplines[indenting=even]

\startlines
first
second
third
fourth

first
second
third
fourth
\stoplines

\page

\setupindenting[no]

first \par second \par third \par fourth \blank first \par second \par third \par fourth \blank

\setupindenting[yes]

first \par second \par third \par fourth \blank first \par second \par third \par fourth \blank

\setupindenting[odd]

first \par second \par third \par fourth \blank first \par second \par third \par fourth \blank

\setupindenting[even]

first \par second \par third \par fourth \blank first \par second \par third \par fourth \blank

\setupindenting[next]

first \par second \par third \par fourth \blank first \par second \par third \par fourth \blank

\setupindenting[first]

first \par second \par third \par fourth \blank first \par second \par third \par fourth \blank

\stoptext

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

  reply	other threads:[~2006-08-23 22:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23  3:39 Derek Schmidt
2006-08-23  4:24 ` Aditya Mahajan
2006-08-23 22:35   ` Derek Schmidt
2006-08-23 22:38     ` Aditya Mahajan
2006-08-24  0:22       ` Derek Schmidt
2006-08-23  8:09 ` Hans Hagen
2006-08-23 14:44   ` Aditya Mahajan
2006-08-23 22:17     ` Hans Hagen [this message]
2006-08-23 14:02 ` John R. Culleton
2006-08-23 14:12   ` Derek Schmidt

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=44ECD408.3060200@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.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).