[dev-context] Bug in setuplines?

Aditya Mahajan adityam at umich.edu
Fri Aug 25 02:46:32 CEST 2006


Hi Hans,

  I think that there is a bug in \setuplines. I tried your example from 
the thread on the mailing list but I still do not get odd/even 
indenting of lines (it works for paragraphs). Consider

\showframe

\starttext

\startbuffer
\startlines
first
second
third
fourth

first
second
third
fourth
\stoplines
\stopbuffer

\setupindenting[medium,first]

\setuplines[indenting=no]
\getbuffer


\setuplines[indenting=yes]
\getbuffer

\setuplines[indenting=odd]
\getbuffer

\setuplines[indenting=even]
\getbuffer

\stoptext

indenting=no and indenting=yes work fine. But indenting=odd|even has 
no effect (rather is same is indenting=no). I tried this at the garden 
and get the same result, so it is not something on my system. I am 
attaching the tex file, the log file and the generated pdf.

Aditya
-------------- next part --------------
This is pdfeTeXk, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) (format=cont-en 2006.8.24)  24 AUG 2006 20:38
entering extended mode
\write18 enabled.
 %&-line parsing enabled.
 (e:\isoimage\usr\local\context\tex\texmf-local/web2c/natural.tcx)
**verse.tex \emergencyend
(./verse.tex

ConTeXt  ver: 2006.08.22 16:28  fmt: 2006.8.24  int: english  mes: english

language        : language en is active
<protectionstate 0>
system          : cont-new loaded
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
color           : palette rollover is available
)
system          : cont-old loaded
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/user/cont-sys.tex
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-exa.tex)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-syn.tex)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-enc.tex)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-siz.tex)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-map.tex)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-spe.tex)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-akb.tex)
system          : module newmat loaded
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/m-newmat.tex))
bodyfont        : 12pt rm is loaded
language        : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr->
texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e
c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna
nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e
c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i
l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 ru->t2a:t2a->21->2:3 en->ec:e
c->22->2:3 uk->ec:ec->23->2:3 us->ec:ec->24->2:3 agr->agr:agr->25->2:3 da->ec:e
c->26->2:3 sv->ec:ec->27->2:3 af->ec:ec->28->2:3 no->ec:ec->29->2:3 deo->ec:ec-
>30->2:3 es->ec:ec->31->2:3 ca->ec:ec->32->2:3 la->ec:ec->33->2:3 ro->ec:ec->34
->2:3 tr->ec:ec->35->2:3 fi->ec:ec->37->2:3 hu->ec:ec->38->2:3 loaded
specials        : tex,postscript,rokicki loaded
\openout2 = `verse.tui'.

system          : verse.top loaded
(./verse.top
specials        : loading definition file tpd
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.tex)
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
\openout0 = `verse-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems         : system commands are enabled
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/page-run.tex
loading         : Context Page Macros / Runtime Macros
) (./verse.tuo) (./verse.tuo) (./verse.tuo) (./verse.tuo) (./verse.tuo)
(./verse.tuo) (./verse.tuo) (./verse.tuo) (./verse.tuo) (./verse.tuo)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/sort-def.tex)
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/sort-lan.tex)
(./verse.tuo) (./verse.tuo)
systems         : begin file verse at line 3
<verse-verse.tmp>
\openout4 = `verse-verse.tmp'.

 (./verse-verse.tmp) (./verse-verse.tmp) (./verse-verse.tmp)
(./verse-verse.tmp)
fonts           : resetting map file list
fonts           : using map file: texnansi-public-lm
fonts           : using map file: original-base
fonts           : using map file: ec-public-lm
fonts           : using map file: ec-base
fonts           : using map file: 8r-base
fonts           : using map file: t5-base
fonts           : using map file: original-ams-base
fonts           : using map file: original-ams-euler
fonts           : using map file: original-public-lm
(e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex)
[1.1{e:\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/context/ori
ginal-empty.map}{e:\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex
/context/texnansi-public-lm.map}{e:\isoimage\usr\local\context\tex\texmf-local/
fonts/map/pdftex/context/original-base.map}{e:\isoimage\usr\local\context\tex\t
exmf-local/fonts/map/pdftex/context/ec-public-lm.map}{e:\isoimage\usr\local\con
text\tex\texmf-local/fonts/map/pdftex/context/ec-base.map}{e:\isoimage\usr\loca
l\context\tex\texmf-local/fonts/map/pdftex/context/8r-base.map}{e:\isoimage\usr
\local\context\tex\texmf-local/fonts/map/pdftex/context/t5-base.map}{e:\isoimag
e\usr\local\context\tex\texmf-local/fonts/map/pdftex/context/original-ams-base.
map}{e:\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/context/ori
ginal-ams-euler.map}{e:\isoimage\usr\local\context\tex\texmf-local/fonts/map/pd
ftex/context/original-public-lm.map}]
systems         : end file verse at line 34
 ) 
Here is how much of TeX's memory you used:
 1290 strings out of 57800
 23520 string characters out of 535316
 4591621 words of memory out of 5528502
 40500 multiletter control sequences out of 10000+50000
 74893 words of font info for 37 fonts, out of 1000000 for 2000
 416 hyphenation exceptions out of 8191
 51i,18n,53p,244b,533s stack positions out of 5000i,500n,6000p,200000b,5000s
PDF statistics:
 8 PDF objects out of 300000
 0 named destinations out of 131072
 5 words of extra memory for PDF output out of 10000
{e:\isoimage\usr\local\context\tex\texmf/fonts/enc/dvips/lm/lm-ec.enc}<e:\iso
image\usr\local\context\tex\texmf/fonts/type1/public/lm/lmr12.pfb>
Output written on verse.pdf (1 page, 25539 bytes).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: verse.pdf
Type: application/pdf
Size: 25539 bytes
Desc: 
Url : http://www.ntg.nl/mailman/private/dev-context/attachments/20060825/7bf65480/attachment-0001.pdf 
-------------- next part --------------
\showframe

\starttext

\startbuffer
\startlines
first
second
third
fourth

first
second
third
fourth
\stoplines
\stopbuffer

\setupindenting[medium,first]

\setuplines[indenting=no]
\getbuffer


\setuplines[indenting=yes]
\getbuffer

\setuplines[indenting=odd]
\getbuffer

\setuplines[indenting=even]
\getbuffer

\stoptext


More information about the dev-context mailing list