ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to shift unnumbered ToC entry?
@ 2020-09-23  8:33 Lukas/ConTeXt
  2020-09-23  9:59 ` Tomas Hala
  2020-09-23 13:57 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Lukas/ConTeXt @ 2020-09-23  8:33 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

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

[-- Attachment #2: t.mkiv --]
[-- Type: text/x-tex, Size: 205 bytes --]

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

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

[-- Attachment #3: t.pdf --]
[-- Type: application/pdf, Size: 7496 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: How to shift unnumbered ToC entry?
  2020-09-23  8:33 How to shift unnumbered ToC entry? Lukas/ConTeXt
@ 2020-09-23  9:59 ` Tomas Hala
  2020-09-23 10:17   ` Lukas/ConTeXt
  2020-09-23 13:57 ` Wolfgang Schuster
  1 sibling, 1 reply; 4+ messages in thread
From: Tomas Hala @ 2020-09-23  9:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: How to shift unnumbered ToC entry?
  2020-09-23  9:59 ` Tomas Hala
@ 2020-09-23 10:17   ` Lukas/ConTeXt
  0 siblings, 0 replies; 4+ messages in thread
From: Lukas/ConTeXt @ 2020-09-23 10:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <tomas.hala@mendelu.cz>

Komu: mailing list for ConTeXt users <ntg-context@ntg.nl>

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
___________________________________________________________________________________

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

* Re: How to shift unnumbered ToC entry?
  2020-09-23  8:33 How to shift unnumbered ToC entry? Lukas/ConTeXt
  2020-09-23  9:59 ` Tomas Hala
@ 2020-09-23 13:57 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2020-09-23 13:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-09-23 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23  8:33 How to shift unnumbered ToC entry? Lukas/ConTeXt
2020-09-23  9:59 ` Tomas Hala
2020-09-23 10:17   ` Lukas/ConTeXt
2020-09-23 13:57 ` 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).