* A bug in location=hanging ?
@ 2004-03-12 11:56 Steffen Wolfrum
0 siblings, 0 replies; only message in thread
From: Steffen Wolfrum @ 2004-03-12 11:56 UTC (permalink / raw)
Hi,
Please have a look at the example below.
"\setuphanging[distance=0cm]" does not seem to have an effect at all.
If I set "margin=-0.0001cm" it is almost zero,
but if I set "margin=0cm" it jumps an undefined step to the right.
Why can't it be zero? Did I forget a "%" at the end of some line?
Thank you,
Steffen
******* Example:
\definelist[MyNoteList]
\setuphanging[distance=0cm]
\definedescription
[WhatANote]
[style=bold,margin=-0.0001cm,width=5cm,before=,after={\blank[5pt]},location=hanging]
\def\MyNoteList#1#2#3{\startWhatANote{#1}#2\stopWhatANote}
\setuplist
[MyNoteList]
[criterium=text,
alternative=command,
command=\MyNoteList]
\newcounter\MyNotes
\long\def\MyNote#1%
{\ifhmode\unskip\fi
\doglobal\increment\MyNotes\relax
\high{\MyNotes}%
\expanded{\writetolist[MyNoteList]{\MyNotes}}{#1}}
\starttext
Text
\dorecurse{2}{test \MyNote{Whow, {\it another} note \input tufte }\endgraf}
\page Text \placelist[MyNoteList][criterium=text]
Text
\stoptext
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-12 11:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-12 11:56 A bug in location=hanging ? Steffen Wolfrum
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).