,
alternative=startendpages,
criterium=all,
headnumber=no,
interaction=page,
numberalign=flushright,
before={\blank[2.2ex, fixed]},
inbetween=\endgraf,
]
\setuplist[StudyTitle][
state=start,
textcolor=black,
alternative=startendpages,
criterium=all,
headnumber=no,
interaction=all,
numberalign=flushright
> On 20 Mar 2024, at 18:45, Andres Conrado Montoya
> wrote:
>
> 2. As far as I have found, including the chapter/section number in the
> marking is not really a trivial task. I usually hack something using
> \headnumber and \getmarking, like so:
You can do the follow
= on markings (you can call them with \getmarking) and
listing= in the table of contents.
2. As far as I have found, including the chapter/section number in the
marking is *not really a trivial task*. I usually hack something using
\headnumber and \getmarking, like so:
\setuppagenumbering
at 21:38 (+0200), Lutz Haseloff wrote:
> Hi Jim,
> perhaps does this work for you?
>
> \setuplist[chapter][headnumber=no]
> \setuphead[chapter][number=no]
> \starttext
> \completecontent
> \page
> \chapter{Chapter one}
> \input knuth
> \chapter{Chapt
Hi Jim,
perhaps does this work for you?
\setuplist[chapter][headnumber=no]
\setuphead[chapter][number=no]
\starttext
\completecontent
\page
\chapter{Chapter one}
\input knuth
\chapter{Chapter two}
\input ward
\stoptext
Greetings Lutz
Am 9. September 2023 20:11:55 MESZ schrieb
The following is a setuplist for the table of contents. Is there a way to
have the section part only go to 80% of the page width, similar to
width=0.8\textwidth
\setuplist
[chapter]
[style={\bf}]
\setuplist
[section]
[style={\tfx}]
\setuplist
[chapter,section]
[headnumber=no
ored' –
>
> \define[2]\ChapterTitle{#2}
> \setuphead[chapter][command=\ChapterTitle]
>
> It will still appeared as numbered in any lists (ToC, etc). Also, it can be
> accessed using \headnumber[...][...]. An example graphic –
>
> \startuseMPgraphic {graphic:cha
\setuphead[chapter][command=\ChapterTitle]
It will still appeared as numbered in any lists (ToC, etc). Also, it can be
accessed using \headnumber[...][...]. An example graphic –
\startuseMPgraphic {graphic:chapter}
picture cg;
cg := outlinetext.d
("\ssbfd \headnumber[chap
e{10}{
\startchapter[title={Chapter \convertnumber{word}{\recurselevel}}]
\input knuth
\ifnum\headnumber[chapter]=5
{\bfd five}
\fi
\blank
\input tufte
\blank
\input ward
\blank
\ifnum\recurselevel=5
\page
\i
mpty]}
\stopsetups
\setuphead
[chapter]
[page=yes,
before=\directsetup{chapter:before},
aftersection=\directsetup{chapter:after}]
\starttext
\dorecurse{10}{
\startchapter[title={Chapter \convertnumber{word}{\recurselevel}}]
\input knuth
\ifnum\h
e{10}{
\startchapter[title={Chapter \convertnumber{word}{\recurselevel}}]
\input knuth
\ifnum\headnumber[chapter]=5
{\bfd five}
\fi
\blank
\input tufte
\blank
\input ward
\blank
\ifnum\recurselevel=5
\page
\input zapf
t from a \definefont
>before={\setups{PartSetup}},
>command=\placePartTitle,
> ]
>
> With \setuplayout[location=doublesided] this then comes out on the RHS.
>
> For the ToC, I use:
>
> \setuplist [alternative=b]
> \setuplist [Part]
> [ headnumber=no,
&g
acehead=yes,
style={\stylePartTitle}, %% this is just from a \definefont
before={\setups{PartSetup}},
command=\placePartTitle,
]
With \setuplayout[location=doublesided] this then comes out on the RHS.
For the ToC, I use:
\setuplist [alternative=b]
\setuplist [Part]
[ headnumber=no,
margin=0
On 3/7/21 1:21 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 07.03.2021 um 10:49:
>> Dear list,
>>
>> I have the following sample:
>>
>>\starttext
>> \section{Section}
>>\currentheadnumber\\
>
> You need \determineheadnumber[section] before you can use
> \currentheadnum
\headnumbercontent only when you create a new section layout
with \defineheadalternative.
\headnumber[section]
It's a bug.
\stoptext
In LMTX, \headnumber[section] triggers an error message about missing
number.
BTW, \currentheadnumber outputs 0 in both MkIV and LMTX. I think this
may be
Dear list,
I have the following sample:
\starttext
\section{Section}
\currentheadnumber\\
\headnumbercontent\\
\headnumber[section]
\stoptext
In LMTX, \headnumber[section] triggers an error message about missing
number.
BTW, \currentheadnumber outputs 0 in both MkIV
st:
> >
> >
> > \definelist[test]
> >
> > \starttext
> >
> > \placelist[test][criterium=all, alternative=b]
>
> Add "headnumber=always".
Thanks!
Aditya
__
. But, for some reason, the list number doesn't show in placelist:
\definelist[test]
\starttext
\placelist[test][criterium=all, alternative=b]
Add "headnumber=always".
Wolfgang
___
If your question
pagebreak.
>> \definepagechecker
>> [willi]
>> [method=1,before=,after=,inbetween={\page}]
>> \setuplist
>> [chapter]
>> [prefix=no,
>> sectionnumber=no,
>> headnumber=no,
>> alternative=command,
>> command=\Mychaptercommand,
>
reference I include a screenshot of the problematic pagebreak.
\definepagechecker
[willi]
[method=1,before=,after=,inbetween={\page}]
\setuplist
[chapter]
[prefix=no,
sectionnumber=no,
headnumber=no,
alternative=command,
command=\Mychaptercommand,
inbetween={\checkpage[willi
problematic pagebreak.
\definepagechecker
[willi]
[method=1,before=,after=,inbetween={\page}]
\setuplist
[chapter]
[prefix=no,
sectionnumber=no,
headnumber=no,
alternative=command,
command=\Mychaptercommand,
inbetween={\checkpage[willi][lines=4
{\currentheadnumber} %{\headnumber[section][current]}{odd}
{even}
{\vfil
{\bf End of even numbered section}
\stopsection%
}
{\vfil
{\bf End of odd numbered section
Jon Wong schrieb am Fr., 20. Dez. 2019, 15:18:
> Is it \setuplist[subsubject][headnumber=yes]?
>
\setuphead[...][incrementnumber=list]
Wolfgang
>
___
If your question is of interest to others as well, p
Is it \setuplist[subsubject][headnumber=yes]?
___
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
idth]{\ss#1}}
\def\PageFrame{%
\inframed[width=14mm,
height=6mm,
frame=off,
offset=0pt,
framecolor=darkgray,
background=color,
backgroundcolor=darkgray]{\color[white]{\ssx\pagenumber}}}
\def\HeadStr#1{\headnumber[#1]\hskip1em\getm
]
[alternative=d, pagenumber=no,
headnumber=no, style=\itx, criterium=local] \par
\stopalign
\stopsetups
\setuplist[chapter][after=\directsetup{placelist:section}]
\starttext
\placelist[chapter]
\dorecurse{4}{\chapter{Chapter}
\dorecurse{20}{\section{Section
\setuplist[section][style=\scb, setups=interlinesp:section]
\setuplist[subsection]
[style=\itx, alternative=d, pagenumber=no, headnumber=no,
setups=interlinesp:subsection]
\starttext
\completecontent
\section{Zweites Hauptstück. Von der Deduction der reinen
rsionset[ACCONVERSION][][ACPROCESSOR->n]
>
> \defineenumeration
> [ex]
> [text=,
>distance=0.3em,
>width=fit,
>numberconversionset=ACCONVERSION,
>alternative=serried]
>
> \starttext
>
> \dorecurse{5}
> {\startex
> \input knuth
>\stopex}
put knuth
\stopex}
\stoptext
I think I understand that headnumber sends settings (text and number)
to the \ACFRAME command.
The headcommand is applied to the text *and* counter of the enumeration
while numberconversionset
changes on the counter, i.e. when you want a frame only around the
counter
Hi Wolfgang,
In fact, I wanted to know why the instructions to create a new style for the
counter were useless (% in the code) . I think I understand that headnumber
sends settings (text and number) to the \ACFRAME command.
Fabrice
Envoyé de mon iPad
> Le 22 juil. 2016 à 01:22, Wolfg
\writetolist[section]{1}{Writetolist: Subject title}
>> \stopsubject
>> \stoptext
>
> headnumber=always
>
>
> -
> Hans Hagen | PRAGMA ADE
>
][criterium=all]
\stopsubject
\startsubject[title=A Paragraph as Subject]
\writetolist[section]{1}{Writetolist: Subject title}
\stopsubject
\stoptext
headnumber=always
makes \structurenumber or
\headnumber[section] empty.
Basically what is a way to have (for example):
Chapitre 1
instead of
1 Chapitre
Many thanks
Best regards
Joseph Canedo___
If your question is of interest
ext=yes,sectionsegments=chapter:section,align={nothyphenated}]
\setuphead[subject][indentnext=yes,style=\tf]
\define[3]\PartListEntry{
\vbox{DEEL #1\crlf #2}
}
\setuplist[part][state=start,headnumber=no,pagenumber=no,alternativ
Toc%
>> {Bijlage -- #1}
>>
>> \define[1]\BackToc%
>>{Noten -- #1}
>>
>> [â¦]
>
> and replace these list setups
>
>> \setuplist[chapter][headnumber=yes,style=bold,width=17ex,numbercommand=\ChapterNumberToc]
>> %\setuplist[chapter][headnu
[ChapterFiller]
>
> \define[1]\ChapterNumberToc%
>{Hoofdstuk #1 -- }
>
> \define[3]\ChapterToc%
> {\vbox{\bf Hoofdstuk #1 -- #2 \filler[ChapterFiller] #3}}
>
> \define[1]\AppendixToc%
> {Bijlage -- #1}
>
> \define[1]\BackToc%
>{Noten -- #1}
>
>
ommand,align={flushleft,nothyphenated,verytolerant}]
\setuphead[back][number=no,header=nomarking,command=,textcommand=\MyBackCommand,align={flushleft,nothyphenated,verytolerant}]
\setuplist[chapter][headnumber=yes,style=bold,width=17ex,numbercommand=\ChapterNumberToc]
%\setuplist[chapter][headnumb
[back][chapter]
\definehead[appendix][chapter]
\definehead[summary][section]
\setuplist[chapter][alternative=interactive,command=\ChapterToc]
\setuplist[section][headnumber=no]
\setuplist[summary][headnumber=no]
\setuplist[appendix][headnumber=no,style=bold,textcommand=\AppendixToc]
\setuplist[ba
option, which
> needs 3 arguments, but could not get it to work.
>
> Here is how it looks now:
>
> \define[1]\ChapterNumberToc%
>{Hoofdstuk #1 -- }
>
> \definecombinedlist[content][chapter]
> \setupcombinedlist[content][level=4, alternative=c]
> \setuplist[cha
#1 -- }
\definecombinedlist[content][chapter]
\setupcombinedlist[content][level=4, alternative=c]
\setuplist[chapter][headnumber=yes,style=bold,width=8em,numbercommand=\ChapterNumberToc]
\starttext
\completecontent
\dorecurse{5}{
\chapter {Knuth} \input knuth
\chapter {Zapf} \input zapf}
\stoptext
As you can see,
e code for \mychaptercode I am using
\headnumber[chapter]. But then cannot imagine how to set the right style and
color.
Finally, how is the macro containing the expansion for the
chapter,sectiion-designation recalled? It is the macro defined by for example
\setuplabeltext[chapter=Hoofdstuk ]. The
r seems to be completely ignored in that case.
>>
>> Here's a nearly-minimal example:
>>
>> \setuplist[section][width=10mm,style=bold]
>> \setuplist[subsection][width=15mm,headnumber=no]
>
> \setuplist[subsection][distance=20mm,headnumber=no]
Dear Wol
s a nearly-minimal example:
>
> \setuplist[section][width=10mm,style=bold]
> \setuplist[subsection][width=15mm,headnumber=no]
\setuplist[subsection][distance=20mm,headnumber=no]
Wolfgang
___
If your questi
ction][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 se
]
\definecombinedlist [content][intro,chapter,section]
\setuplist [intro] [headnumber=no]
\starttext
\startfrontmatter
\setuppagenumber[numberconversion=romannumerals,state=start,number=1]
%\setupnumber[page][1]
\completecontent
\intro{No number}
\input knuth
\input knuth
\input knuth
I have specified the headnumber of chapter to be "the Number chpt".
By using \setuplist and \placelist with the attributes "label=yes",
I could get a content with the label as what I want.
But the headnumber of chapter label on bookmarks is still using "Number"
inte
ection[title=alphasec] \stopsection
>\stoptext
>
> How do you determine whether or not the chapter title should be displayed?
\define[3]\SectionListEntry
{\par \leftaligned\bgroup
\hbox to 2em{\color[red]{#3}}%
\hskip 1em
\vtop{\hsize\dimexpr
\c!criterium=\@@pbcriterium,
\c!headnumber=\v!always,
\c!width=]
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip
0pt plus 6em\penalty20\ \hskip 0pt plus -6em (#1~minut)}}
\defineitemgroup[exercises]
\setupitemgroup[exercises][1][n,broad,intro][left={\headnumber[chapter]},before={},inbetween={\blank[medium]}]
\def\ppauza{\unskip\kern.2em--\hskip.2em\ignorespaces}
\starttext
\noheaderandfooterlines
\startalign
\def\Mysectioncommand#1#2#3{#2, \hskip0.5\bodyfontsize
#3.\hskip0.25\bodyfontsize}
used in
\setuplist
[chapter]
[prefix=no,
sectionnumber=no,
headnumber=no,
alternative=command,
command=\Mychaptercommand]
\setuplist
[section]
[prefix=no
][ans,chapter,section]
\setuplist[ans][headnumber=no]
Then finally
\ans{Answers to Exercises}
cheers,
Alasdair
On Fri, Feb 17, 2012 at 4:05 PM, Otared Kavian wrote:
> Hi,
>
> Didn't you see my answer? As suggested below, you can
> use \chapter[title={Answer to all the questions}
t;s), and appear so in the ToC. Like:
>
> 4.4 Second last section
> 4.5 Last section
> Exercises
>
> What is the best way of doing this (MkII)? I've tried
>
> \definehead[exercise][section]
> \setuphead[exercise][number=no]
> \setuplist[exercise][headnumbe
I)? I've tried
\definehead[exercise][section]
\setuphead[exercise][number=no]
\setuplist[exercise][headnumber=no]
but that doesn't work on its own, and when paired with
\definecombinedlist[content][exercise,chapter,section] wipes out the
conten
>>> ~~~
>>>
>>> has one section at depth 1 and three sectons at depth 2.
>>
>> \definestructureconversionset[default][n,n,A,I][n]
>>
>> \starttext
>>
>> \section {one}
>>
>> \subsection{1} \subsection{2} \subsection{3}
>>
:
\headnumber[section]
\headnumber[subsection]
\stoptext
This gives the value of the number. Is there a way to get the
structurecounter associated with it? I am interested in also finding the
total number of sections at the current level (equivalent to
\laststructurecounter[...]).
Thanks
e}
>
> \subsection{1} \subsection{2} \subsection{3}
> ~~~
>
> has one section at depth 1 and three sectons at depth 2.
\definestructureconversionset[default][n,n,A,I][n]
\starttext
\section {one}
\subsection{1} \subsection{2} \subsection{3}
Raw number:
\namedheadnumber{section}
\namedhe
,
headnumber=no]
\starttext
\startsubject[title={\bfb Suppentopf}]
\placelist[section][criterium=all]
\stopsubject
or:
\setuplist
[section]
[prefix=no,
sectionnumber=no,
headnumber=no]
\definecombinedlist
[MeinInhalt]
[section]
\starttext
\startsubject[title={\bfb Suppentopf
5, schrieb Herbert Voss:
>> With the following code I get
>>
>> 1. Teil foo
>> § 1 1 bar
>> i baz
>>
>> but I need
>>
>> 1. Teil foo
>> § 1 A. bar
>> I. baz
>>
>> I cannot get the needed informati
no one has an idea?
Am 09.04.2011 20:55, schrieb Herbert Voss:
With the following code I get
1. Teil foo
§ 1 1 bar
i baz
but I need
1. Teil foo
§ 1 A. bar
I. baz
I cannot get the needed information from the wiki and the documentation.
\def\PartNo#1{#1.\,Teil}
\def\ChapterNo#1{§ \headnumber
With the following code I get
1. Teil foo
§ 1 1 bar
i baz
but I need
1. Teil foo
§ 1 A. bar
I. baz
I cannot get the needed information from the wiki and the documentation.
\def\PartNo#1{#1.\,Teil}
\def\ChapterNo#1{§ \headnumber[part]
\determineheadnumber[chapter
mber{chapter}}}\enskip\getmarking[section][first]}%[EbeneEins]}
%\def\HeadR{\headnumber[section]\enskip\getmarking[section][first]}
\def\HeadL{Part
{\convertnumber{Numbers}{\namedheadnumber{chapter}}}\enskip\getmarking[EbeneEins]}
\def\HeadR{\getmarking[sectionnumber]\enskip\getmarking[section]}
\setup
Am 10.03.2011 um 15:48 schrieb Steffen Wolfrum:
> Sure, but why does TeX write "1.2 one"? The second part "one" is correct ...
> Why can't both parts be synchronized (correctly of course!)??
It’s because \headnumber is macro expansion which happens when TeX col
ntry "one"??
"\getmarking[section]" provides the right information,
"\headnumber[section]" is too far in border cases ...
Isn't there a command that gets the number that belongs to the text of
"\getmarking[section]"
Steffen
Am 10.03.2011 um 15:1
quot;1.1 one"
>> - on page 3 there is still
>> section "1.1 one" and you get the header entry "1.2 one" (<- ?!)
>> - on page 5 there is
>> section "1.2 two" and you get the header entry "1.2 two"
>>
>> you see
u get the header entry "1.2 one" (<- ?!)
> - on page 5 there is
> section "1.2 two" and you get the header entry "1.2 two"
>
> you see the problem? the "getmarking" behaves correctly (one/one/two)
> while the "headnumber" is confu
2 one" (<- ?!)
>>> - on page 5 there is
>>> section "1.2 two" and you get the header entry "1.2 two"
>>>
>>> you see the problem? the "getmarking" behaves correctly (one/one/two)
>>> while the "headnumber"
ction "1.1 one" and you get the header entry "1.2 one" (<- ?!)
>> - on page 5 there is
>> section "1.2 two" and you get the header entry "1.2 two"
>>
>> you see the problem? the "getmarking" behaves correctly (one/one/two)
>> whi
age 5 there is
> section "1.2 two" and you get the header entry "1.2 two"
>
> you see the problem? the "getmarking" behaves correctly (one/one/two)
> while the "headnumber" is confused (1.1/1.2/1.2))!
Could some maybe please have look at my te
t;1.2 two" and you get the header entry "1.2 two"
you see the problem? the "getmarking" behaves correctly (one/one/two)
while the "headnumber" is confused (1.1/1.2/1.2))!
Is this a bug or am I doing something wrong?
Steffen
---
% ConTeXt ver: 2011.02.25 22
location=middle,marking=off]
\setupwhitespace[halfline]
\setuppagenumbering [alternative=doublesided,location=]
\setupheader[align=middle]
\setupheadertexts
[\vtop{\startalignment[center]\KolumneR\stopalignment}] [pagenumber]
[pagenumber] [\vtop{\startalignment[center]\KolumneL\sto
tyle=\ss\bf,pagestyle=\ss\bf,n
umberstyle=\ss\bf,aligntitle=yes]
\setuplist [intro][headnumber=no]
\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input Knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-00
ative=doublesided,location=]
\setupheader[align=middle]
\def\KolumneL{{\convertnumber{Numbers}{\namedheadnumber{chapter}}.\,Teil:}\enskip\getmarking[chapter]}
\def\KolumneR{\headnumber[section]\enskip\getmarking[section]}
\setupheadertexts
[\vtop{\startalignment[center]\KolumneR\stopalig
Hi,
did I misunderstood something ... or is this simply a bug?!
In that example below \getmarking uses the value of title ... and not of mark!
(is there an other command to access the value of mark?)
Steffen
---
\def\KolumneL{\headnumber[chapter]\enskip\getmarking[chapter]}
\def
] [unnumberedchapter,chapter,section]
\setuplist [unnumberedchapter] [headnumber=no]
Bof! (pardon my French, as they say in polite circles)
Much easier (or cleaner if you wish), using the structured syntax, is:
\startchapter [number=no,incrementnumber=no,
title={Conclusions}]
\stopchapter
Hi all,
how can I change a section's conversion (eg. for use in headertext).
See minimal example below, please.
Steffen
===
\starttext
\chapter{Test}
\headnumber[chapter]% now we have numbers
% And just now we want to show the same as Characters not numbers:
%\convertnumber{\Chara
etuplist [intro] [headnumber=no]
\starttext
\completecontent
\startfrontmatter
\intro{Preface}
\stopfrontmatter
\startbodymatter
\chapter{Text of the Book}
\stopbodymatter
\startappendices
\intro{Appendices}
\chapter{Supporting Data}
\stopappendices
\stoptext
Tom Benjey
717-258-9733 voice
717-
r the 5th section, like with
alternative=d. How to manage this?
In fact I've a setup like:
\setuplist [section][alternative=c]
\setuplist [subsection] [alternative=d,margin=3em,headnumber=no]
\starttext \showframe
\placecontent
\dorecurse{7}{\section{Test alpha}\section{Test beta}
compared to your LaTeX code, I find the ConTeXt way of coding this
> wonderfully simple and elegant):
>
> \startsetups[header]
> \framed[width=\textwidth,frame=off,bottomframe=on,align=right]
> {\rlap{\headnumber[chapter] \getmarking[chapter]}
> \hfill
>
you have in your example (and
compared to your LaTeX code, I find the ConTeXt way of coding this
wonderfully simple and elegant):
\startsetups[header]
\framed[width=\textwidth,frame=off,bottomframe=on,align=right]
{\rlap{\headnumber[chapter] \getmarking[chapter]}
\hfill
illi
With...
\starttext
\chapter{One}
\placefigure
[here]
[]
{A figure}
% {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]}
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]}
% {\externalfigure[XY\currentheadnumber][width=\th
tached
KR
Willi
headnumber-test.tex
Description: Binary data
___
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/listin
On Mon, Apr 20, 2009 at 15:44, Wolfgang Schuster
wrote:
>
> headnumber=no
>
> Wolfgang
>
Oh gosh, HEADnumber. *slaps forehead*
Thank you for your patience with us idiot users,
Jeff
___
If your
#x27;t get rid of the part number. I tried
everything I could think about, but to no avail.
headnumber=no
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : n
Yanrui Li wrote:
2009/4/11 Hans Hagen :
Wolfgang Schuster wrote:
I add it to my list, mkii and mkiv behave in the reverse way.
thanks for collecting the issues, i prefer looking at them at once (next
week) so if you make a summary / test file ...
\headnumber missing with MkIV.
\starttext
2009/4/11 Yanrui Li :
> 2009/4/11 Hans Hagen :
>> Wolfgang Schuster wrote:
>>
>>> I add it to my list, mkii and mkiv behave in the reverse way.
>>
>> thanks for collecting the issues, i prefer looking at them at once (next
>> week) so if you make a
2009/4/11 Hans Hagen :
> Wolfgang Schuster wrote:
>
>> I add it to my list, mkii and mkiv behave in the reverse way.
>
> thanks for collecting the issues, i prefer looking at them at once (next
> week) so if you make a summary / test file ...
>
\headnumber missing with Mk
[kapitel]
\framed[frame=off, bottomframe=on, width=\textwidth, strut=yes]{%
\rlap{\headnumber[chapter]. \getmarking[chapter]}
\hfill
\strut
\hfill
\llap{\pagenumber}
}
\stopsetups
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
ht
Hi,
How do you get the chapter number in front of the chapter heading in the
TOC,
in the following example with \setuphead[chapter][number=no] ?
\setuplist[chapter][%
alternative=b,
numbercommand={\headnumber[chapter]},% this has no effect
% criterium=local]
criterium=chapter]
\setuphead
bookmark list.
>>
>> Does anybody know of a similar option in ConText? I have searched the
>> \setupinteraction documentation, but haven't been able to locate anything
>> useful.
>
> There is no core support for this (yet?)
>
>> I have also tried the \bo
milar option in ConText? I have searched the
> \setupinteraction documentation, but haven't been able to locate anything
> useful.
There is no core support for this (yet?)
> I have also tried the \bookmark command with reference to \headnumber, but
> macro
> expans
nteraction documentation, but haven't been able to locate anything
useful.
I have also tried the \bookmark command with reference to \headnumber, but
macro
expansion does not take place.
All hints are welcome!
Best regard
erences]
\gotobox{text}[references]
\graycolor[text]
\grid[options]
# \gsaveXMLasdata
\hairline
\head[references]
\headnumber[section]
\headtext{text}
# \hfilll
\hideblocks[names][names]
\high{text}
# \HL
\hl[number]
# \hpos
# \hspace
# \ifconditional
# \ifdefined
# \iftrialtypesetting
# \ifundefin
ok,
I found the solution. In the documentation (cont-eni.pdf) at page 172
following is written:
For example:
\currentheadnumber : 8.3
\headnumber[chapter] : 8
\headnumber[section] : 8.3
but that is partly wrong. There should be standing (change example from 8.3 to
8.3.2):
For example
aragraph
% paragraphHeading{} Defines the margin-heading of that paragraph
% crossref{}[] common command for internal references
\definenumber[paragraphNumber]
\setuphead[chapter,section,subsection,subsubsection][after={\resetnumber[paragraphNumber]}]
\def\presentheadnumber
{\doifelse{\headnumber[sec
hm.. it still executes always the else-part of the doifelse-function
>
> (Untested)
>
> > \def\presentheadnumber%
> >{\doifelse{\headnumber[section]}{0}%
>
> ^^^^^^
>
> >{\headnumber[chapte
gt;{\doifelse{\headnumber[section]}{0}%
^^
>{\headnumber[chapter]}%
> {\headnumber[section]}%
>}
>
Aditya
___
If your
; I am getting back only the last part of the heading-number. So I tried do
> implement a function like this:
>
> ...
I don't have much time to investigate properly but there should be a
\complexheadnumber defined in core-sec which gives you what you need.
This should be tied to \hea
Hi,
I tried to get the full present heading-number. If I am using currentnumber
the result is only the last part of the heading-number. So I tried do
implement a function like this:
\def\presentheadnumber%
{\doifelse{\headnumber[section]}{}%
{\headnumber[chapter
Hi,
I tried to get the full present heading-number. If I am using currentnumber
I am getting back only the last part of the heading-number. So I tried do
implement a function like this:
\def\presentheadnumber%
{\doifelse{\headnumber[section]}{}%
{\headnumber[chapter
istparameter\currentlist\c!interaction\v!all}%
%
\makelistelement\v!all%
{\forgetall
\dostartlistattributes\c!style\c!color\empty
\!!widthb\hsize
\doifelse{\listparameter\c!headnumber}\v!yes
{\setbox2\hbox \ifdim\!!widtha>\zeropoint t
1 - 100 of 135 matches
Mail list logo