ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* alternative en TOC
@ 2022-10-06 11:37 Horacio Suárez via ntg-context
  2022-10-06 12:55 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Horacio Suárez via ntg-context @ 2022-10-06 11:37 UTC (permalink / raw)
  To: ntg-context; +Cc: Horacio Suárez


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

hello

it is possible to list chapters and section as "alternative=c" and subsections as "alternative=d" in the same TOC?

Thankyou very much in advance.


-------------------
Horacio Suárez
Editorial Antropofagia
antropofagia.com.ar

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

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

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: alternative en TOC
  2022-10-06 11:37 alternative en TOC Horacio Suárez via ntg-context
@ 2022-10-06 12:55 ` Henning Hraban Ramm via ntg-context
  2022-10-06 13:24   ` Horacio Suárez via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-10-06 12:55 UTC (permalink / raw)
  To: Horacio Suárez via ntg-context; +Cc: Henning Hraban Ramm

Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context:
> hello
> 
> it is possible to list chapters and section as "alternative=c" and 
> subsections as "alternative=d" in the same TOC?

Did you try
\setuplist[subsection][alternative=d]
?

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: alternative en TOC
  2022-10-06 12:55 ` Henning Hraban Ramm via ntg-context
@ 2022-10-06 13:24   ` Horacio Suárez via ntg-context
  2022-10-06 14:02     ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Horacio Suárez via ntg-context @ 2022-10-06 13:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Horacio Suárez


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

Not working, besides "[alternative=d]" apears on top of the first pdf page.

Thankyou.

-------------------
Horacio Suárez
Editorial Antropofagia
antropofagia.com.ar
________________________________
De: ntg-context <ntg-context-bounces@ntg.nl> en nombre de Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
Enviado: jueves, 6 de octubre de 2022 09:55
Para: Horacio Suárez via ntg-context <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Asunto: Re: [NTG-context] alternative en TOC

Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context:
> hello
>
> it is possible to list chapters and section as "alternative=c" and
> subsections as "alternative=d" in the same TOC?

Did you try
\setuplist[subsection][alternative=d]
?

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

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

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: alternative en TOC
  2022-10-06 13:24   ` Horacio Suárez via ntg-context
@ 2022-10-06 14:02     ` Henning Hraban Ramm via ntg-context
  2022-10-06 14:33       ` Horacio Suárez via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-10-06 14:02 UTC (permalink / raw)
  To: Horacio Suárez via ntg-context; +Cc: Henning Hraban Ramm

Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context:
> Not working, besides "[alternative=d]" apears on top of the first pdf page.

This works for me:

\setuppapersize[A7,landscape]
\setuplist[alternative=c]
\setuplist[subsection][alternative=d]

\starttext
   \placecontent
   \hairline
   \section{Section}
     \subsection{Subsection}
       \subsubsection{Subsubsection}
\stoptext

Check if your braces/brackets are right.

Hraban


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: alternative en TOC
  2022-10-06 14:02     ` Henning Hraban Ramm via ntg-context
@ 2022-10-06 14:33       ` Horacio Suárez via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Horacio Suárez via ntg-context @ 2022-10-06 14:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Horacio Suárez


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

Its worring now. I have to add \setuplist[subsection][alternative=d] after \setupcombinedlist[content] etc. before that line it has no effect here.

\definecombinedlist[content][part,chapter,section,subsection]
\setupcombinedlist[content][alternative=c,partnumber=no,placehead=yes,color=black,interaction=all]
\setuplist[subsection][alternative=d]

Thankyou very much.

-------------------
Horacio Suárez
Editorial Antropofagia
antropofagia.com.ar
________________________________
De: ntg-context <ntg-context-bounces@ntg.nl> en nombre de Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
Enviado: jueves, 6 de octubre de 2022 11:02
Para: Horacio Suárez via ntg-context <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Asunto: Re: [NTG-context] alternative en TOC

Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context:
> Not working, besides "[alternative=d]" apears on top of the first pdf page.

This works for me:

\setuppapersize[A7,landscape]
\setuplist[alternative=c]
\setuplist[subsection][alternative=d]

\starttext
   \placecontent
   \hairline
   \section{Section}
     \subsection{Subsection}
       \subsubsection{Subsubsection}
\stoptext

Check if your braces/brackets are right.

Hraban


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

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

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-10-06 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 11:37 alternative en TOC Horacio Suárez via ntg-context
2022-10-06 12:55 ` Henning Hraban Ramm via ntg-context
2022-10-06 13:24   ` Horacio Suárez via ntg-context
2022-10-06 14:02     ` Henning Hraban Ramm via ntg-context
2022-10-06 14:33       ` Horacio Suárez via ntg-context

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