ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ToC like entry list
       [not found] <00b601cf1dfe$d09c8110$71d58330$@tosovsky@email.cz>
@ 2014-01-31 20:46 ` Jan Tosovsky
       [not found] ` <00a501cf1ec5$85950440$90bf0cc0$@tosovsky@email.cz>
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2014-01-31 20:46 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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:

\def\mydots{\leavevmode\xleaders\hbox to 0.5em{\hfil.\hfil}\hfill\kern0pt}
% credit to:
http://tex.stackexchange.com/questions/85335/how-to-change-dot-spacing-in-do
tfill
\starttext
\setupTABLE[frame=off]
\setupTABLE[column][first][align={hz, hanging}, indenting=yes] %indenting
seems to be ignored
\setupTABLE[column][last][align={left, low}]
\bTABLE[columndistance=0.2cm]
\bTR \bTD[indent=next] \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
\eTABLE
\stoptext

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?

Thanks, Jan

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ToC like entry list
       [not found] ` <00a501cf1ec5$85950440$90bf0cc0$@tosovsky@email.cz>
@ 2014-01-31 21:55   ` Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2014-01-31 21:55 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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 :-)
http://tex.stackexchange.com/questions/96020/how-do-i-do-hanging-indents-in-
context


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

\starttext
\setupTABLE[frame=off]
\setupTABLE[column][1][align={hz, hanging}]
\setupTABLE[column][last][align={left, low}]
\bTABLE[columndistance=0.2cm]
\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
\eTABLE
\stoptext

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* ToC like entry list
@ 2014-01-30 21:04 Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2014-01-30 21:04 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

Dear All,

I am trying to typeset a quite complex list of accounting entries.
http://drifted.in/other/045.jpg

It is like Table of Contents, but without page numbers. I have no idea what
commands to use for this. There is no need to have it exactly the same, just
roughly.

Thanks, Jan

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-31 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <00b601cf1dfe$d09c8110$71d58330$@tosovsky@email.cz>
2014-01-31 20:46 ` ToC like entry list Jan Tosovsky
     [not found] ` <00a501cf1ec5$85950440$90bf0cc0$@tosovsky@email.cz>
2014-01-31 21:55   ` Jan Tosovsky
2014-01-30 21:04 Jan Tosovsky

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