mf schrieb am 12.12.2019 um 15:56:
I wrote a better version. I still have a couple of questions.
In the lines:
\iffirstargument
\getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,#1]
\else
\getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,]
\fi
i would avoid
Il 11/12/19 21:25, Wolfgang Schuster ha scritto:
\starttext
\startbuffer
This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed to the right from
their second line\par
\startalignment[flushright]
\ifdim\dimexpr\hsize-\lastlinewidth\relax>2\emwi
mf schrieb am 11.12.2019 um 15:31:
This is a good-enough solution to my problem:
\setupalign[stretch]
\starttext
\def\Text{This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed to the right from
their second line}
\def\Pages{34, 57, 101-1
This is a good-enough solution to my problem:
\setupalign[stretch]
\starttext
\def\Text{This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed to the right from
their second line}
\def\Pages{34, 57, 101-104, 276, 345, 401, 403, 512.}
\type{\
mf schrieb am 10.12.2019 um 12:27:
Hello list, is there a way to achieve this?
\def\FlushRightFromNextLine{\relax}
\setupnarrower[left=0cm,right=11cm]
\setupalign[stretch]
\starttext
This is what I'd like to type in my source:\par
\blank
\type{This is the text of an index term, that is normally
Hello list, is there a way to achieve this?
\def\FlushRightFromNextLine{\relax}
\setupnarrower[left=0cm,right=11cm]
\setupalign[stretch]
\starttext
This is what I'd like to type in my source:\par
\blank
\type{This is the text of an index term, that is normally justified,
but I'd like the page num