[NTG-context] ToC like entry list

Jan Tosovsky j.tosovsky at email.cz
Fri Jan 31 22:55:25 CET 2014

On 2014-01-31 Jan Tosovsky wrote:
> On 2014-01-30 Jan Tosovsky wrote:
> >
> > I am trying to typeset a quite complex list of accounting entries.
> > http://drifted.in/other/045.jpg
> >
> I've made some progress with this code:
> ...
> Now I am trying to left indent paragraph lines except the first one.
> But indenting seems to be ignored in the cell at all. How can I accomplish
> this?

According to the following thread I placed \hangindent=1cm \hangafter=1
commands in the cell and it works as expected (although I have no idea what
really I do :-)

\def\mydots{\leavevmode\xleaders\hbox to 0.5em{\hfil.\hfil}\hfill\kern0pt}

\setupTABLE[column][1][align={hz, hanging}]
\setupTABLE[column][last][align={left, low}]
\bTR \bTD \hangindent=1cm \hangafter=1 \input{ward} \mydots \eTD \bTD 1.220
\eTD \eTR
\bTR \bTD somewhat more \mydots \eTD \bTD[bottomframe=on] 5.186 \eTD \eTR
\bTR \bTD {\hskip 11cm} together \mydots \eTD \bTD 6.406 \eTD \eTR

Thanks for watching. Problem solved. The rest are just variations on the
code above.
If there is a room for other optimizations, please let me know.

Thanks, Jan

More information about the ntg-context mailing list