tion]
[
style=\bf,
textcolor=Couleur5,
numbercolor=CouleurContraste5,
sectionsegments=1:5,
align=flushleft,
]
\setuphead
[subsubsubject]
[
]
\setuphead
[subsubsubsection]
[
textcolor=CouleurContraste3,
numberc
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" "subsubsubsubsection
)
> Am 2020-03-21 um 03:10 schrieb T. Kurt Bond :
>
> I'd like subsection entries in the table of contents to be indented
> slightly, and subsubsection entries to be indented slightly more,
> and subsubsubsection entries to be indented some more.
>
> Is there any way to do th
> Am 2020-03-21 um 03:10 schrieb T. Kurt Bond :
>
> I'd like subsection entries in the table of contents to be indented slightly,
> and subsubsection entries to be indented slightly more, and subsubsubsection
> entries to be indented some more.
>
> Is there any
I'd like subsection entries in the table of contents to be indented
slightly, and subsubsection entries to be indented slightly more, and
subsubsubsection entries to be indented some more.
Is there any way to do this?
--
T. Kurt Bond, tkurtb...@gmail.com
,
chapter,
section,
subsection,
subsubsection,
subsubsubsection][sectionconversionset=myconvset]
\setuphead[chapter][sectionsegments=chapter,style=bold,
after={\blank[small]},before={\blank[big]},sectionstopper=.]
\setuphead[section][sectionsegments=section,style=bold,
after={\blank[small
section,
subsection,
subsubsection,
subsubsubsection,
subsubsubsubsection,
subsubsubsubsubsection,
subsubsubsubsubsubsection,
subsubsubsubsubsubsubsection][sectionconversionset=myconvset]
\setuphead[chapter][sectionsegments=chapter]
\setuphead[section][sectionsegments=section]
\setuphead[subsection
{Chapter}
\section{Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
\subsubsubsection{Subsubsubsection}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry
][x,y,z][?]
\setuphead[sectionseparatorset=mysectionseparator]
\setuphead[part] [placehead=yes,page=no]
\setuphead[chapter][page=no]
\starttext
\part{Part}
\chapter{Chapter}
\section{Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
\subsubsubsection{Subsubsubsection
to create a lot of what I want by using \definehead and
\setuphead. I am using ownnumber.
\definehead[PSAappsection][subsection]
\definehead[PSAappsubsection][subsubsection]
\definehead[PSAappsubsubsection][subsubsubsection]
\setuphead[PSAappsection][continue=no,ownnumber=yes,after=]
\setuphead
][subsubsubsection]
\setuphead[PSAappsection][continue=no,ownnumber=yes,after=]
\setuphead[PSAappsubsection][continue=no,ownnumber=yes,before=,after=]
\setuphead[PSAappsubsubsection][continue=no,ownnumber=yes,before=,after=]
What is left is to figure out the style where each sub (sub sub) section
][width=15mm,headnumber=no]
\setuplist[subsubsection][width=20mm,style=slanted,pagestyle=normal]
\starttext
\completecontent
\page[yes]
\section{First section}
\subsection{First subsection}
\subsubsection{First subsubsection}
\subsubsubsection{First subsubsubsection}
\section{Second section
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
\startsectionlevel[title=Section]
\startsectionlevel[title
are :
\definesection[section-1] % part
\definesection[section-2] % chapter
\definesection[section-3] % section
\definesection[section-4] % subsection
\definesection[section-5] % subsubsection
\definesection[section-6] % subsubsubsection
\definesection[section-7] % subsubsubsubsection
There's
…
\startbodymatter
\component chapterFoo/main
\component chapterBar/main
\stopbodymatter
…
\stopproduct
Each of my chapters uses \chapter, \section … \subsubsubsection markers. I
would like to use references for each of them.
Is it possible to reference for example the subsection Foo AA from
…
\stopproduct
Each of my chapters uses \chapter, \section … \subsubsubsection markers. I
would like to use references for each of them.
Is it possible to reference for example the subsection Foo AA from the
chapter start with an relative reference such as
\chapter[sec:foo]{Foo
Hello,
is it possible to reference parts of a document in a relative style?
My structure is as follows:
\startproduct
…
\startbodymatter
\component chapterFoo/main
\component chapterBar/main
\stopbodymatter
…
\stopproduct
Each of my chapters uses \chapter, \section … \subsubsubsection
in the Contents?
You have to redefine the \completecontent command to include
“backmatterchapter” in the list of headings.
\definecombinedlist[content][part,chapter,backmatterchapter,section,subsection,subsubsection,subsubsubsection]
Wolfgang
.
\definecombinedlist[content][part,chapter,backmatterchapter,section,subsection,subsubsection,subsubsubsection]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
!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
the image and the text above it).
I've been doing this for many days. Until late yesterday afternoon. Now
context spits out this:
quote
structuresectioning subsubsubsection @ level 6 : 0.0.0.1.3.1
- One URL for All Projects
! LuaTeX error /usr/share/texmf/tex/context/base/l-file.lua:219: bad
modify the padding of an image when it's placed to increase the
spacing between the image and the text above it).
I've been doing this for many days. Until late yesterday afternoon. Now
context spits out this:
quote
structuresectioning subsubsubsection @ level 6 : 0.0.0.1.3.1
:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv:
1 \definestructurelevels[A][subsubsubsection,]
2
3 \starttext
4 \startstructurelevel[A][title=Title]
5 \input knuth
6 \stopstructurelevel
7 \stoptext
8
Best regards,
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz
Hello,
I'm not able to compile the following code with the
ConTeXt ver: 2011.06.15 11:49 MKIV fmt: 2011.6.15 int: english/english:
\definestructurelevels
[Test]
[subsection,
subsubsection,
subsubsubsection,
]
\starttext
\startstructurelevel[Test][title=Title
,
subsubsubsection,
]
\starttext
\startstructurelevel[Test][title=Title]
aaa
\stopstructurelevel
\stoptext
strc-lev.lua:
function sections.startautolevel(category)
category = category ~= and category or default
level = level + 1
local lc = levels[category]
if not lc
:
\definestructurelevels
[Test]
[subsection,
subsubsection,
subsubsubsection,
]
\starttext
\startstructurelevel[Test][title=Title]
aaa
\stopstructurelevel
\stoptext
strc-lev.lua:
function sections.startautolevel(category)
category = category ~= and category or default
expand to \subsection
\PUSHHEAD
\HEAD{...} % Should expand to \subsubsection
\PUSHHEAD
\HEAD{...} % Should expand to \subsubsubsection
\POPHEAD
\HEAD{...} % Should expand to \subsubsection again
\POPHEAD
\POPHEAD
\POPHEAD
\stoptext
---
Any
{...} % Should expand to \section
\PUSHHEAD
\HEAD{...} % Should expand to \subsection
\PUSHHEAD
\HEAD{...} % Should expand to \subsubsection
\PUSHHEAD
\HEAD{...} % Should expand to \subsubsubsection
\POPHEAD
\HEAD{...} % Should expand to \subsubsection
=),sectionsegments=4:4]
\setupstructurehead[subsubsection]
[sectionstarter=,sectionstopper=.,sectionsegments=5:5]
\setupstructurehead[subsubsubsection][sectionstarter=(,sectionstopper=),sectionsegments=6:6]
\section {One}
\subsection{Two}
\subsubsection[sectest]{Three}
\subsubsubsection[subsectest]{Four
]
\setupstructurehead[subsubsection]
[sectionstarter=,sectionstopper=.,sectionsegments=5:5]
\setupstructurehead[subsubsubsection][sectionstarter=(,sectionstopper=),sectionsegments=6:6]
\section {One}
\subsection{Two}
\subsubsection[sectest]{Three}
\subsubsubsection[subsectest]{Four}
See in Three
=.5em]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section][style=bold,width=10mm]
\setuplist[section][before
\stopstructurelevel
\stopstructurelevel
\stopstructurelevel
\stoptext
this uses
\definestructurelevels
[default]
[chapter,
section,
subsection,
subsubsection,
subsubsubsection,
subsubsubsubsection]
The more verbose variant is still there:
\definehead[xxsection
[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 ignorance
,subsection,subsubsubsection]
and
\setupcombinedlist[mylist][alternative=d]
is a short form for
\setuplist[section,subsection,subsubsubsection][alternative=d]
Wolfgang
___
If your question is of interest to others
Am 14.06.10 16:04, schrieb Vyatcheslav Yatskovsky:
Isn't there should be list name, mylist?
\setuplist[section,subsection,subsubsubsection][alternative=d]
\setupcombinedlist[mylist] =
\setuplist[section,subsection,subsubsubsection]
mylist == section + subsection + subsubsubsection
,
subsubsection,
subsubsubsection,
subsubsubsubsection,
title,
subject,
subsubject,
subsubsubject,
subsubsubsubject,
subsubsubsubsubject]
[criterium=all]
\startsectionblockenvironment[frontpart]
\setuphead[title,subject,subsubject][incrementnumber=no]
\stopsectionblockenvironment
]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section][style=bold,width=10mm]
\setuplist[section][before=\blank
own, as I may do in other programming languages? (5) How are
things like \subsection, \subsubsection, \subsubsubsection, ...
implemented? I am used to languages in which there is only a finite set of
commands; why is the logic here not more like \section[level=1],
\section[level=2], ... ? (6
end a square-bracketed section with a final square-bracket on a line of its
own, as I may do in other programming languages? (5) How are things like
\subsection, \sub
subsection, \subsubsubsection, ... implemented? I am used to languages in
which there is only a finite set of commands; why
section with a final square-bracket on a
line of its own, as I may do in other programming languages? (5) How are
things like \subsection, \sub
subsection, \subsubsubsection, ... implemented? I am used to languages in
which there is only a finite set of commands; why is the logic here not more
\setuplabeltext [\s!fr] [\v!subsection=Soussection]
---
\setuplabeltext [\s!fr] [\v!subsection=]
292c292
\setuplabeltext [\s!fr] [\v!subsubsection=Soussoussection]
---
\setuplabeltext [\s!fr] [\v!subsubsection=]
300c300
\setuplabeltext [\s!fr] [\v!subsubsubsection=Soussoussoussection
!subsubsubsection=Soussoussoussection]
---
\setuplabeltext [\s!fr] [\v!subsubsubsection=]
308c308
\setuplabeltext [\s!fr] [\v!appendix=Annexe]
---
\setuplabeltext [\s!fr] [\v!appendix=]
BTW, in this file, some texts have trailing spaces and some do not.
This is probably a bug?
Also, some strings have unicode
,left={\bgroup\bf},right={\egroup},width=fit,headstyle=\ss]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist
=Subsubsecci\'o]
\setuplabeltext [\s!it] [\v!subsubsection=]
\setuplabeltext [\s!la] [\v!subsubsection=]
\setuplabeltext [\s!pt] [\v!subsubsection=]
\setuplabeltext [\s!ro] [\v!subsubsection=]
\setuplabeltext [\s!fr] [\v!subsubsubsection=]
! \setuplabeltext [\s!es] [\v!subsubsubsection
={\mathematics{\Box}},style=normal,indenting=yes]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section][style=bold
=normal,indenting=yes]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section][style=bold,width=10mm]
\setuplist
³
\defineenumeration[demo][text={Demostració.\space},number=no,location=serried,width=fit,headstyle=italic,indentnext=yes,between=\blank,textdistance=.5em,closesymbol={\mathematics{\Box}},style=normal,indenting=yes]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist
={\mathematics{\Box}},style=normal,indenting=yes]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section][style
=normal,indenting=yes]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section][style=bold,width=10mm]
\setuplist
,closesymbol={\mathematics{\Box}},style=normal,indenting=yes]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section
,textdistance=.5em,closesymbol={\mathematics{\Box}},style=normal,indenting=yes]
% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c]
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section
=Subsubsecci\'o]
\setuplabeltext [\s!it] [\v!subsubsection=]
\setuplabeltext [\s!la] [\v!subsubsection=]
\setuplabeltext [\s!pt] [\v!subsubsection=]
\setuplabeltext [\s!ro] [\v!subsubsection=]
\setuplabeltext [\s!fr] [\v!subsubsubsection=]
\setuplabeltext [\s!es] [\v!subsubsubsection=Subsubsubsecci
!subsubsection=]
\setuplabeltext [\s!pt] [\v!subsubsection=]
\setuplabeltext [\s!ro] [\v!subsubsection=]
\setuplabeltext [\s!fr] [\v!subsubsubsection=]
\setuplabeltext [\s!es] [\v!subsubsubsection=Subsubsubsecci\'on]
\setuplabeltext [\s!ca] [\v!subsubsubsection=Subsubsubsecci\'o]
\setuplabeltext [\s!it] [\v
] [\v!subsubsubsection=]
\setuplabeltext [\s!es] [\v!subsubsubsection=]
\setuplabeltext [\s!ca] [\v!subsubsubsection=]
\setuplabeltext [\s!it] [\v!subsubsubsection=]
\setuplabeltext [\s!la] [\v!subsubsubsection=]
\setuplabeltext [\s!pt] [\v!subsubsubsection=]
\setuplabeltext [\s!ro] [\v!subsubsubsection
] % Chapter
\setuplabeltext [section=بخش ]
\setuplabeltext [subsection=زيربخش ]
\setuplabeltext [subsubsection=زيرزيربخش ]
\setuplabeltext [subsubsubsection=زيرزيرزيربخش ]
\setuplabeltext [appendix=پيوست ] % Appendix
\setuplabeltext [part=قسمت ]
\setuplabeltext [line=خط ]
\setuplabeltext [lines=خطهاي
Hi,
sorry for my foggy post last night (02:50h ...)
Hopefully this example makes it clearer:
--
\starttext
\showframe
\definehead[EbeneFuenf] [subsubsubsection]
\setupsection[section-6][conversion=characters,previousnumber=yes]
\def\FuenfCommand#1{#1.}
\def\CurrentEbeneFuenfNumber#1#2%
{\hbox
Steffen Wolfrum schrieb:
Hi,
sorry for my foggy post last night (02:50h ...)
Hopefully this example makes it clearer:
--
\starttext
\showframe
\definehead[EbeneFuenf][subsubsubsection]
\setupsection[section-6][conversion=characters,previousnumber=yes]
\def\FuenfCommand#1{#1
Am 29.08.2008 um 11:18 schrieb Peter Rolf:
Steffen Wolfrum schrieb:
Hi,
sorry for my foggy post last night (02:50h ...)
Hopefully this example makes it clearer:
--
\starttext
\showframe
\definehead[EbeneFuenf][subsubsubsection]
\setupsection[section-6][conversion=characters
that in a style.
\setuplabeltext [chapter=فصل ] % Chapter
\setuplabeltext [section=بخش ]
\setuplabeltext [subsection=زيربخش ]
\setuplabeltext [subsubsection=زيرزيربخش ]
\setuplabeltext [subsubsubsection=زيرزيرزيربخش ]
\setuplabeltext [appendix=پيوست ] % Appendix
\setuplabeltext [part=قسمت ]
\setuplabeltext
=رسم ]
%D We don't set these here. One can do that in a style.
\setuplabeltext [\s!en] [\v!chapter=] % Chapter
\setuplabeltext [\s!en] [\v!section=]
\setuplabeltext [\s!en] [\v!subsection=]
\setuplabeltext [\s!en] [\v!subsubsection=]
\setuplabeltext [\s!en] [\v!subsubsubsection
h4 element with subsection
(@article/h4).each do |h4|
h4.swap(\\subsubsubsection{#{h4.inner_html}})
end
# replace h5 element with subsection
(@article/h5).each do |h5|
h5.swap(\\subsubsubsubsection{#{h5.inner_html}})
end
# replace precode by equivalent command in context
(@article/pre).each do
[subsectionnumber]
system : mark subsubsection defined [subsubsection]
system : mark subsubsectionnumber defined [subsubsectionnumber]
system : mark subsubsubsection defined [subsubsubsection]
system : mark subsubsubsectionnumber defined [subsubsubsectionnumber]
system : mark subsubsubsubsection defined
.swap(\\subsubsection{#{h3.inner_html}})
end
# replace h4 element with subsection
(@article/h4).each do |h4|
h4.swap(\\subsubsubsection{#{h4.inner_html}})
end
# replace h5 element with subsection
(@article/h5).each do |h5|
h5.swap(\\subsubsubsubsection{#{h5.inner_html}})
end
# replace precode
Does this help?
\setupwhitespace[medium]
\setupindenting[medium,yes]
\definehead[TocHead][chapter]
\setuphead
[TocHead]
[number=no,
incrementnumber=no,
before=\blank,
after=\blank]
\definecombinedlist
[content]
[part,
chapter,section,subsection,
subsubsubsection
]
\setuparranging[2SIDE]
\starttext
\completecontent
\section{First section}
\subsection{First subsection}
\subsubsection{First subsubsection}
\subsubsubsection{First subsubsubsection}
\section{Second section}
\subsection{Second subsection}
\subsubsection{Second subsubsection}
\subsubsubsection{Second
1) Is there a way to suppress the display of Appendix page numbers in
a TOC while retaining alternative=c for Chapters?
I got the effect I wanted by hijacking subsubsection and subsubsubsection.
Is there a way to change the subsubsubsection numbers to letters?
Thanks, Neal
On Thu, 1 Jun 2006, Neal Lester wrote:
Is there a way to change the subsubsubsection numbers to letters?
\setupsection[section-6][bodypartconversion=Character] should do the
trick
section-1 corresponds to part, section-2 to chapter, and so on.
Aditya
\setuplabeltext [\s!cz] [\v!subsubsection=] % Podpodsekce % new
\setuplabeltext [\s!sk] [\v!subsubsection=]
---
\setuplabeltext [\s!cz] [\v!subsubsection=] % Podpodsekce
\setuplabeltext [\s!sk] [\v!subsubsection=] % Podpodsekcia
345,346c346,347
\setuplabeltext [\s!cz] [\v!subsubsubsection
% new
\setuplabeltext [\s!sk] [\v!subsubsection=]
---
\setuplabeltext [\s!cz] [\v!subsubsection=] % Podpodsekce
\setuplabeltext [\s!sk] [\v!subsubsection=] % Podpodsekcia
345,346c346,347
\setuplabeltext [\s!cz] [\v!subsubsubsection=] % Podpodpodsekce % new
\setuplabeltext [\s!sk] [\v
[subsection]
system : mark subsectionnumber defined [subsectionnumber]
system : mark subsubsection defined [subsubsection]
system : mark subsubsectionnumber defined [subsubsectionnumber]
system : mark subsubsubsection defined [subsubsubsection]
system : mark
subsectionnumber defined [subsectionnumber]
system : mark subsubsection defined [subsubsection]
system : mark subsubsectionnumber defined [subsubsectionnumber]
system : mark subsubsubsection defined [subsubsubsection]
system : mark subsubsubsectionnumber defined
: mark subsubsection defined [subsubsection]
system : mark subsubsectionnumber defined [subsubsectionnumber]
system : mark subsubsubsection defined [subsubsubsection]
system : mark subsubsubsectionnumber defined
[subsubsubsectionnumber]
system : mark
={/}]
\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 bit large, because I'm developing a whole
defined [subsectionnumber]
system : mark subsubsection defined [subsubsection]
system : mark subsubsectionnumber defined [subsubsectionnumber]
system : mark subsubsubsection defined [subsubsubsection]
system : mark subsubsubsectionnumber defined [subsubsubsectionnumber
Patrick Gundlach [EMAIL PROTECTED] wrote:
Hello Steffen,
... sure I have seen that subsubsubsection is already defined in core-sec.tex.
Then the numbering/charactering works fine ... BUT why does a heading that's
mapped to it
just not appear in the TOC?
Sorry, but I don't get
Hello Steffen,
[...]
Hah, it was just an forgotten entry in the darkest corner of my
environment setup:
Good news that you've got it. If you had posted a complete but minimal
example, you might have gotten your answer earlier.
Patrick
--
ConTeXt wiki: http://contextgarden.net
Hallo Patrick,
Patrick Gundlach [EMAIL PROTECTED] wrote:
Hello Steffen,
[...]
Hah, it was just an forgotten entry in the darkest corner of my
environment setup:
Good news that you've got it. If you had posted a complete but minimal
example, you might have gotten your answer
Hello Steffen,
Actually that's how I found the answer - while writing a minimal example!
Minimal examples always invite to get a fresh look again, don't they?
right! This is a pretty normal bug-finding procedure for me:
1) something with $SOFTWARE goes wrong
2) open mail client, start mail to
Hi,
I have to typeset a document with 5 heading levels.
So I wanted to create a subsubsubsection (section-6).
But it doesn't work.
According to the manual I did it like that:
\definesection[section-6]
\setupsection[section-6][conversion=characters,previousnumber=no]
\definehead[LevelFive
Hi,
According to the manual I did it like that:
\definesection[section-6]
\setupsection[section-6][conversion=characters,previousnumber=no]
\definehead[LevelFive][section-6]
\definehead[LevelFive][section=section-6]
Patrick
(and please post a minimal but complete example for testing!)
... sure I have seen that subsubsubsection is already defined in core-sec.tex.
Then the numbering/charactering works fine ... BUT why does a heading that's mapped to
it
just not appear in the TOC?
Steffen
___
ntg-context mailing list
[EMAIL PROTECTED
81 matches
Mail list logo