ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* page number placement in multiline TOC entry
@ 2011-11-07 14:51 Michael Guravage
  2011-11-07 15:09 ` Andreas Harder
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Guravage @ 2011-11-07 14:51 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 257 bytes --]

Greetings,

At the recent ConTeXt workshop someone mentioned that they had achieved
placing a pagenumber to the right of the first line of a multiline table of
contents entry. Can anyone describe how to acomplish this?

With kind regards,

Michael Guravage

[-- Attachment #1.2: Type: text/html, Size: 356 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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: page number placement in multiline TOC entry
  2011-11-07 14:51 page number placement in multiline TOC entry Michael Guravage
@ 2011-11-07 15:09 ` Andreas Harder
  2011-11-07 16:46   ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Harder @ 2011-11-07 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On 07.11.2011, at 15:51, Michael Guravage wrote:

> Greetings,
> 
> At the recent ConTeXt workshop someone mentioned that they had achieved placing a pagenumber to the right of the first line of a multiline table of contents entry. Can anyone describe how to acomplish this?

Hi,

something like this?

\define[3]\ChapterList
  {\bTABLE[offset=0pt,rulethickness=0pt,strut=yes,frame=off,width=broad]
     \bTR
       \bTD[width=2em] \begstrut#1\endstrut \eTD
       \bTD            \begstrut#2\endstrut \eTD
       \bTD[width=2em,align={left,high}] \begstrut#3\endstrut \eTD
     \eTR
   \eTABLE}

\setuplist[chapter][alternative=command,command=\ChapterList]

\starttext \showframe
  \placelist[chapter]
  \dorecurse{3}{\chapter{Some very long title. Some very long title. Some very long title. Some very long title. Some very long title. }}
\stoptext

Regards
	Andreas
___________________________________________________________________________________
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: page number placement in multiline TOC entry
  2011-11-07 15:09 ` Andreas Harder
@ 2011-11-07 16:46   ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2011-11-07 16:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.11.2011 um 16:09 schrieb Andreas Harder:

> 
> On 07.11.2011, at 15:51, Michael Guravage wrote:
> 
>> Greetings,
>> 
>> At the recent ConTeXt workshop someone mentioned that they had achieved placing a pagenumber to the right of the first line of a multiline table of contents entry. Can anyone describe how to acomplish this?
> 
> Hi,
> 
> something like this?

Hans wrote some code for Thomas A. Schmitz (the one how showed it at the conference) but it never went into the core.

Wolfgang
___________________________________________________________________________________
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:[~2011-11-07 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-07 14:51 page number placement in multiline TOC entry Michael Guravage
2011-11-07 15:09 ` Andreas Harder
2011-11-07 16:46   ` Wolfgang Schuster

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