t][
page=no,
placehead=yes,
numbercommand=\groupedcommand{}{.} % Add period after numbers
]
\setuphead[chapter][
page=no,
numbercommand=\groupedcommand{}{.} % Add period after numbers
]
\setuphead[section, subsection, subsubsection, subsubsubsection,
subsubsubsubsection][
numbercomma
,
numbercommand=\groupedcommand{}{.} % Add period after numbers
]
\setuphead[chapter][
page=no,
numbercommand=\groupedcommand{}{.} % Add period after numbers
]
\setuphead[section, subsection, subsubsection, subsubsubsection,
subsubsubsubsection][
numbercommand=\groupedcommand{}{.} % Add
t;
> > \definesectionlevels
> > [default]
> > [section, subsection, subsubsection, subsubsubsection,
> subsubsubsubsection]
> >
> > \starttext
> > \startsectionlevel
> > \startsectionlevel
> > \startsectionlevel
> > \startsectionlevel
> &
rt wrote:
> > ConTeXt LMTX version: 2024.05.27 18:16
> >
> > Reproducible example:
> >
> > \definesectionlevels
> > [default]
> > [section, subsection, subsubsection, subsubsubsection,
> subsubsubsubsection]
> >
> > \starttext
>
Well, you define less levels than you need.
Try this :
%
\definesectionlevels
[default]
[
%chapter, % uncomment this line to make it work
section, subsection, subsubsection, subsubsubsection, subsubsubsubsection]
\starttext
ConTeXt LMTX version: 2024.05.27 18:16
Reproducible example:
\definesectionlevels
[default]
[section, subsection, subsubsection, subsubsubsection, subsubsubsubsection]
\starttext
\startsectionlevel
\startsectionlevel
\startsectionlevel
\startsectionlevel
\startsectionlevel
\startsectionlevel
ou are using an Emacs macro to do the export then the following code
will return the first 2 from the list of section types:
(let ((list '("part" "chapter" "section" "subsection" "subsubsection"
"subsubsubsection" "subs
ection,
subsection,
subsubsection,
subsubsubsection,
subsubsubsubsection,
subsubsubsubsubsection,
subsubsubsubsubsubsection,
subsubsubsubsubsubsubsection][sectionconversionset=myconvset]
\setuphead[chapter][sectionsegments=chapter]
\setuphead[section][sectionsegments=section]
\
section,
subsection,
subsubsection,
subsubsubsection,
subsubsubsubsection,
subsubsubsubsubsection,
subsubsubsubsubsubsection,
subsubsubsubsubsubsubsection][sectionconversionset=myconvset]
\setuphead[chapter][sectionsegments=chapter]
\setuphead[section][sectionsegments=section]
\setuphead[subsection
subsubsubsubsection), you may need to define your own using
\definesectionlevels.
Best regards
Andreas
Am 2016-03-11 09:08, schrieb m...@silentumbrella.com:
Greetings,
Is it possible to have
\starttext
\startchapter
Hey a chapter!
\startsection
something.one
\startsection
someting.one.one
vel
> \stoptext
You can’t mix sectionlevels and normal section command. When you want a \section
for the first level change the level settings with
\definesectionlevels
[default]
[section,
subsection,
subsubsection,
subsubsubsection,
subsubsubsubsection]
and use
\starttext
\s
that you can use different
rendering. In fact the topmost levels are :
\definesection[section-1] % part
\definesection[section-2] % chapter
\definesection[section-3] % section
\definesection[section-4] % subsection
\definesection[section-5] % subsubsection
\definesection[section-6] % subsubsubsecti
nedlist
[\v!content]
[\v!part,
\v!chapter,
\v!section,
\v!subsection,
\v!subsubsection,
\v!subsubsubsection,
\v!subsubsubsubsection]
[\c!level=\v!subsubsubsubsection,
\c!criterium=\v!local]
Hope this helps!
Cheers,
Sietse
\stopstructurelevel
\stopstructurelevel
\stopstructurelevel
\stoptext
this uses
\definestructurelevels
[default]
[chapter,
section,
subsection,
subsubsection,
subsubsubsection,
subsubsubsubsection]
The more verbose variant is still there:
\definehead[xxsection
dlist[content][level=section]
\starttext
\completecontent
\chapter{Level 0}
\section{Level 1}
\subsection{Level 2}
\subsubsection{Level 3}
\subsubsubsection{Level 4}
\subsubsubsubsection{Level 5}
\stoptext
Is this a bug, or I did something wrong?
--
There is no emotion; there is peace.
There is no igno
Hi all,
how do I get my numbers in level nine (and higher) back?
See example below please.
Did someone change module[subsub] ??
Thanks in advance,
Steffen
[2010.09.05 13:23 MKIV]
=
\usemodule[subsub]
\starttext
\definehead [LevelSeven] [subsubsubsubsection]
\definehead [LevelNine
,
subsubsection,
subsubsubsection,
subsubsubsubsection,
title,
subject,
subsubject,
subsubsubject,
subsubsubsubject,
subsubsubsubsubject]
[criterium=all]
\startsectionblockenvironment[frontpart]
\setuphead[title,subject,subsubject][incrementnumber=no]
\stopsectionblockenvironment
is appears in the log file:
system : part,chapter,section,subsection,subsubsection,subsubsubsectio
n,subsubsubsubsection not found/processed
--
All the best,
Berend de Boer
___
If your question is of interest
rticle/"h2").each do |h2|
h2.swap("\\subsection{#{h2.inner_html}}")
end
# replace h3 element with subsection
(@article/"h3").each do |h3|
h3.swap("\\subsubsection{#{h3.inner_html}}")
end
# replace h4 element with subsection
(@article/"h4").each do |h4|
h
defined [subsection]
system : mark subsectionnumber defined [subsectionnumber]
system : mark subsubsection defined [subsubsection]
system : mark subsubsectionnumber defined [subsubsectionnumber]
system : mark subsubsubsection defined [subsubsubsection]
system : mark subsubsubsectionnumber define
tion
(@article/"h1").each do |h1|
h1.swap("\\section{#{h1.inner_html}}")
end
# replace h2 element with subsection
(@article/"h2").each do |h2|
h2.swap("\\subsection{#{h2.inner_html}}")
end
# replace h3 element with subsection
(@article/"h3").each do
,subsubsubsubsection]
[level=subsubsubsubsection,
criterium=local]
\def\PageCommand#1{Page #1}
\setuplist
[chapter]
[before=\blank,
after=\blank,
style=bold,
pagecommand=\PageCommand]
\setuplist
[section]
[pagecommand=\PageCommand,
alternative=c]
\starttext
\TocHead{Table of Contents
lm.map}{/usr/
> local/share/te
> xmf-dist/fonts/map/dvips/context/ec-base.map}{/usr/local/share/
> texmf-dist/fonts
> /map/dvips/context/8r-base.map}{/usr/local/share/texmf-dist/fonts/
> map/dvips/con
> text/t5-base.map}{/usr/local/share/texmf-dist/fonts/map/pdftex/
> contex
t/original
-ams-base.map}{/usr/local/share/texmf-dist/fonts/map/dvips/context/original-ams
-euler.map}{/usr/local/share/texmf-dist/fonts/map/dvips/context/original-public
-lm.map}]
structure : begin of sectionblock frontmatter
title : - \headtext {content}
(./programlisting.001.tuo)
bsubsection]
system : mark subsubsubsectionnumber defined
[subsubsubsectionnumber]
system : mark subsubsubsubsection defined [subsubsubsubsection]
system : mark subsubsubsubsectionnumber defined
[subsubsubsubsectionnu
mber]
system : mark title defined [title]
ectionnumber defined
[subsubsubsectionnumber]
system : mark subsubsubsubsection defined [subsubsubsubsection]
system : mark subsubsubsubsectionnumber defined
[subsubsubsubsectionnu
mber]
system : mark title defined [title]
system : mark titlenumber defined [titlenumber]
system
: mark subsubsubsubsection defined [subsubsubsubsection]
system : mark subsubsubsubsectionnumber defined
[subsubsubsubsectionnu
mber]
system : mark title defined [title]
system : mark titlenumber defined [titlenumber]
system : mark subject defined [subject]
system
uplist [subsubsection] [separator={/}]
>\setuplist [subsubsubsection][separator={/}]
>\setuplist [subsubsubsubsection] [separator={/}]
>
> Taco
Has no effect - tried this early on. Thanks for the suggestion. Seems
like this *should* be the answer though...
My current test file is a
[separator={/}]
\setuplist [chapter] [separator={/}]
\setuplist [section] [separator={/}]
\setuplist [subsection] [separator={/}]
\setuplist [subsubsection] [separator={/}]
\setuplist [subsubsubsection][separator={/}]
\setup
d [subsubsectionnumber]
system : mark subsubsubsection defined [subsubsubsection]
system : mark subsubsubsectionnumber defined [subsubsubsectionnumber]
system : mark subsubsubsubsection defined [subsubsubsubsection]
system : mark subsubsubsubsectionnumber defined [subs
ber defined [subsubsubsectionnumber]
system : mark subsubsubsubsection defined [subsubsubsubsection]
system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu
mber]
system : mark title defined [title]
system : mark titlenumber defined [titlenumber]
sys
: calculating backgrounds
168c169,171
< [1.1{/usr/TeX/texmf-var/dvips/config/pdftex.map}]
---
> [1.1{/usr/TeX/texmf-var/dvips/config/pdftex.map}
> Warning: pdfetex (file 8a-agaramond.map): cannot open font map
file
> ]
170,171c173,174
< system :
part,chapter,section,sub
At 20:30 29/09/2003 +0200, you wrote:
On Sat, Sep 27, 2003 at 12:18:21PM +0200, Hans Hagen wrote:
> At 07:41 27/09/2003 +0200, you wrote:
>
> >From: "Simon Pepping" <[EMAIL PROTECTED]>
> >
> >> >P: How to define '' as a synonym of
On Sat, Sep 27, 2003 at 12:18:21PM +0200, Hans Hagen wrote:
> At 07:41 27/09/2003 +0200, you wrote:
>
> >From: "Simon Pepping" <[EMAIL PROTECTED]>
> >
> >> >P: How to define '' as a synonym of 'subsubsubsubsection'
Hello!
From: "Hans Hagen" <[EMAIL PROTECTED]>
>
\letcsnamecsname\csname\@@XMLelement:#1\endcsname\csname\@@XMLelement:#2\end
csname
>
> etc, but before you enter that track, what exactly do you want?
In example; assume that 'subsubsubsubsection' is
At 07:41 27/09/2003 +0200, you wrote:
From: "Simon Pepping" <[EMAIL PROTECTED]>
> >P: How to define '' as a synonym of 'subsubsubsubsection' without
wrtiting
> >P: the same code twice?
>
> From DocbookInContext:
>
> %D A \
From: "Simon Pepping" <[EMAIL PROTECTED]>
> >P: How to define '' as a synonym of 'subsubsubsubsection' without
wrtiting
> >P: the same code twice?
>
> From DocbookInContext:
>
> %D A \type{\let} for XML environments
> \
On Thu, Sep 25, 2003 at 02:57:17PM +0200, Pawel Jackowski na Onet wrote:
> Hi all!
>
> Is there any way to define XML command synonyms? Assume that one defined
>
> \deifneXMLenvirnment[subsubsubsubsection]{...}{...}
>
> How to define &
Hi Pawel
> >
> > Is there any way to define XML command synonyms? Assume that one defined
> >
> > \deifneXMLenvirnment[subsubsubsubsection]{...}{...}
> >
> > How to define '' as a synonym of 'subsubsubsubsection' without
Hi Pawel
>
> Is there any way to define XML command synonyms? Assume that one defined
>
> \deifneXMLenvirnment[subsubsubsubsection]{...}{...}
>
> How to define '' as a synonym of 'subsubsubsubsection' without
wrtiting
> the same c
Hi all!
Is there any way to define XML command synonyms? Assume that one defined
\deifneXMLenvirnment[subsubsubsubsection]{...}{...}
How to define '' as a synonym of 'subsubsubsubsection' without wrtiting
the same code twic
41 matches
Mail list logo