Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Wolfgang Schuster

Lukas/ConTeXt schrieb am 23.09.2020 um 10:33:

Hello,
  
how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt:
  


\setuphead[subsubsection][number=no]
\setuplist[subsubsection][distance=20mm,width=20mm]


\setuplist
  [subsubsection]
  [margin=5em]

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Hello,

yes, this works well, thanks you!
 
(I guessed there was a built-in option to achieve this simply.)
 
Best regards,
 
Lukas



-- Původní e-mail --

Od: Tomas Hala 

Komu: mailing list for ConTeXt users 

Datum: 23. 9. 2020 12:08:50

Předmět: Re: [NTG-context] How to shift unnumbered ToC entry?

Hello Lukas,

you can try this:

\setuphead[subsubsection][number=no]
\setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd]

\def\mycmd#1{\hskip20mm#1}

\starttext
  \placecontent
  \page
  \section{S}
\subsection{Ss}
  \subsubsection{Sss}
\stoptext

Best wishes,

Tomáš 

Wed, Sep 23, 2020 ve 10:33:45AM +0200 Lukas/ConTeXt napsal(a):
# Hello,
# 
# how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt:
# 
# 
# \setuphead[subsubsection][number=no]
# \setuplist[subsubsection][distance=20mm,width=20mm]
# 
# \starttext
#   \placecontent
#   \page
#   \section{S}
# \subsection{Ss}
#   \subsubsection{Sss}
# \stoptext
# 
# 
# I'm getting:
# 
# "
# 1. S
# 1.1  Ss
# Sss
# "
# 
# but I'd rather see:
# 
# "
# 1. S
# 1.1  Ss
# Sss
# "
# 
# How to achieve this?
# 
# Best regards,
# 
# Lukas

# \setuphead[subsubsection][number=no]
# \setuplist[subsubsection][distance=20mm,width=20mm]
# 
# \starttext
#   \placecontent
#   \page
#   \section{S}
# \subsection{Ss}
#   \subsubsection{Sss}
# \stoptext
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Tomas Hala
Hello Lukas,

you can try this:

\setuphead[subsubsection][number=no]
\setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd]

\def\mycmd#1{\hskip20mm#1}

\starttext
  \placecontent
  \page
  \section{S}
\subsection{Ss}
  \subsubsection{Sss}
\stoptext

Best wishes,

Tomáš 

Wed, Sep 23, 2020 ve 10:33:45AM +0200 Lukas/ConTeXt napsal(a):
# Hello,
# 
# how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt:
# 
# 
# \setuphead[subsubsection][number=no]
# \setuplist[subsubsection][distance=20mm,width=20mm]
# 
# \starttext
#   \placecontent
#   \page
#   \section{S}
# \subsection{Ss}
#   \subsubsection{Sss}
# \stoptext
# 
# 
# I'm getting:
# 
# "
# 1. S
# 1.1  Ss
# Sss
# "
# 
# but I'd rather see:
# 
# "
# 1. S
# 1.1  Ss
# Sss
# "
# 
# How to achieve this?
# 
# Best regards,
# 
# Lukas

# \setuphead[subsubsection][number=no]
# \setuplist[subsubsection][distance=20mm,width=20mm]
# 
# \starttext
#   \placecontent
#   \page
#   \section{S}
# \subsection{Ss}
#   \subsubsection{Sss}
# \stoptext


# 
___
# 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://context.aanhet.net
# archive  : https://bitbucket.org/phg/context-mirror/commits/
# wiki : http://contextgarden.net
# 
___


 Tomáš Hála

Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28

http://akela.mendelu.cz/~thala
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___