[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
, 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

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
> 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

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
= 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

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
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

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
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

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
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

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
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

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread śrīrāma via ntg-context
\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

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
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

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
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

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
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

Re: [NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
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

Re: [NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Wolfgang Schuster
\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

[NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
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

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Aditya Mahajan
st: > > > > > > \definelist[test] > > > > \starttext > > > > \placelist[test][criterium=all, alternative=b] > > Add "headnumber=always". Thanks! Aditya __

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Wolfgang Schuster
. 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

Re: [NTG-context] \checkpage in the TOC

2020-08-12 Thread Willi Egger
pagebreak. >> \definepagechecker >> [willi] >> [method=1,before=,after=,inbetween={\page}] >> \setuplist >> [chapter] >> [prefix=no, >> sectionnumber=no, >> headnumber=no, >> alternative=command, >> command=\Mychaptercommand, >

Re: [NTG-context] \checkpage in the TOC

2020-08-11 Thread Hans Hagen
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

[NTG-context] \checkpage in the TOC

2020-08-11 Thread Willi Egger
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

[NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Willi Egger
{\currentheadnumber} %{\headnumber[section][current]}{odd} {even} {\vfil {\bf End of even numbered section} \stopsection% } {\vfil {\bf End of odd numbered section

Re: [NTG-context] How to get subsubject to show numbering in TOC?

2019-12-20 Thread Wolfgang Schuster
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

[NTG-context] How to get subsubject to show numbering in TOC?

2019-12-20 Thread Jon Wong
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

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
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

[NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
] [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

[NTG-context] interlinespace for \setuplist

2016-12-06 Thread Pablo Rodriguez
\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

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Fabrice Couvreur
rsionset[ACCONVERSION][][ACPROCESSOR->n] > > \defineenumeration > [ex] > [text=, >distance=0.3em, >width=fit, >numberconversionset=ACCONVERSION, >alternative=serried] > > \starttext > > \dorecurse{5} > {\startex > \input knuth >\stopex}

Re: [NTG-context] Question about headcommand

2016-07-21 Thread Wolfgang Schuster
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

Re: [NTG-context] Question about headcommand

2016-07-21 Thread Fabrice Couvreur
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

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Willi Egger
\writetolist[section]{1}{Writetolist: Subject title} >> \stopsubject >> \stoptext > > headnumber=always > > > - > Hans Hagen | PRAGMA ADE >

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Hans Hagen
][criterium=all] \stopsubject \startsubject[title=A Paragraph as Subject] \writetolist[section]{1}{Writetolist: Subject title} \stopsubject \stoptext headnumber=always

[NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread josephcanedo
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

[NTG-context] Formatting TOC

2015-08-03 Thread robheus
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

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-06 Thread Rob Heusdens
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

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Wolfgang Schuster
[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} > >

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Rob Heusdens
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

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
[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

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Wolfgang Schuster
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

[NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
#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,

[NTG-context] typeset chapter elements

2014-11-11 Thread Meer, H. van der
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

Re: [NTG-context] \setuplist ignores width= in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
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

Re: [NTG-context] \setuplist ignores width= in combination with headnumber=no

2014-05-23 Thread Wolfgang Schuster
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

[NTG-context] \setuplist ignores width= in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
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

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
] \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

[NTG-context] Bookmarks with the specified label on

2014-02-06 Thread Lei WANG
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

Re: [NTG-context] Rearrange Table of Contents section page numbers

2014-02-01 Thread Wolfgang Schuster
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

Re: [NTG-context] bibliography (interaction)

2013-03-21 Thread Hans Hagen
\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

[NTG-context] A strange problem, probably with \startitemize[columns]

2012-07-28 Thread Marcin Borkowski
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

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
\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

Re: [NTG-context] "Turning off" special chapter headings

2012-02-16 Thread Alasdair McAndrew
][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}

Re: [NTG-context] Some more ToC questions

2011-10-26 Thread Wolfgang Schuster
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

[NTG-context] Some more ToC questions

2011-10-25 Thread Alasdair McAndrew
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

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Wolfgang Schuster
>>> ~~~ >>> >>> 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} >>

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Aditya Mahajan
: \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

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Wolfgang Schuster
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

Re: [NTG-context] TOC struggles

2011-08-26 Thread Taco Hoekwater
, 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

Re: [NTG-context] section headings

2011-04-19 Thread Willi Egger
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

Re: [NTG-context] section headings

2011-04-18 Thread Herbert Voss
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

[NTG-context] section headings

2011-04-09 Thread 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[part] \determineheadnumber[chapter

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread luigi scarso
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

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Wolfgang Schuster
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

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
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

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
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

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Wolfgang Schuster
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

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Willi Egger
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"

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread luigi scarso
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

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
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

[NTG-context] header entries semi-wrong

2011-03-06 Thread Steffen Wolfrum
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

Re: [NTG-context] running headers on postponed makeup

2011-02-15 Thread Steffen Wolfrum
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

[NTG-context] Table of Contents issues

2011-02-12 Thread Tom
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

[NTG-context] Bug: delay in \getmarking

2010-12-17 Thread Steffen Wolfrum
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

[NTG-context] getmarking does not use mark?

2010-09-27 Thread Steffen Wolfrum
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

[NTG-context] unnumbered chapters

2010-09-27 Thread Alan BRASLAU
] [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

[NTG-context] countervalue section

2010-09-12 Thread Steffen Wolfrum
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

[NTG-context] Unnumbered titles in table of contents

2010-07-04 Thread Tom
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-

[NTG-context] Customizing table of contents (lists)

2009-11-07 Thread Andreas Harder
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}

Re: [NTG-context] The header/footer settings compared to fancyhdr

2009-10-04 Thread Joshua Lee
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 >

Re: [NTG-context] The header/footer settings compared to fancyhdr

2009-10-04 Thread Thomas A. Schmitz
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

Re: [NTG-context] New structure ...

2009-05-19 Thread Alan Stone
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

[NTG-context] New structure ...

2009-05-19 Thread Willi Egger
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

Re: [NTG-context] TOCS: part number, custom alternative and margins

2009-04-21 Thread Jeff Smith
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

Re: [NTG-context] TOCS: part number, custom alternative and margins

2009-04-20 Thread Wolfgang Schuster
#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

Re: [NTG-context] new structure code

2009-04-13 Thread Hans Hagen
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

Re: [NTG-context] new structure code

2009-04-10 Thread Yanrui Li
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

Re: [NTG-context] new structure code

2009-04-10 Thread 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 summary / test file ... > \headnumber missing with Mk

[NTG-context] Number and name of a section

2009-03-21 Thread Henning Hraban Ramm
[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

[NTG-context] TOC question

2009-02-16 Thread Alan Stone
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

Re: [NTG-context] Numbered bookmarks in PDF

2008-08-27 Thread Hans Hagen
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

Re: [NTG-context] Numbered bookmarks in PDF

2008-08-27 Thread Taco Hoekwater
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

[NTG-context] Numbered bookmarks in PDF

2008-08-27 Thread B. Tommy Jensen
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

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
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

Re: [NTG-context] currentheadnumber / doif.. problem

2007-10-18 Thread Peter Schorsch
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

Re: [NTG-context] currentheadnumber / doif.. problem

2007-10-15 Thread Peter Schorsch
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

Re: [NTG-context] currentheadnumber / doif.. problem

2007-09-25 Thread Peter Schorsch
hm.. it still executes always the else-part of the doifelse-function > > (Untested) > > > \def\presentheadnumber% > >{\doifelse{\headnumber[section]}{0}% > > ^^^^^^ > > >{\headnumber[chapte

Re: [NTG-context] currentheadnumber / doif.. problem

2007-09-12 Thread Aditya Mahajan
gt;{\doifelse{\headnumber[section]}{0}% ^^ >{\headnumber[chapter]}% > {\headnumber[section]}% >} > Aditya ___ If your

Re: [NTG-context] currentheadnumber / doif.. problem

2007-09-12 Thread Duncan Hothersall
; 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

[NTG-context] currentheadnumber / doif.. problem

2007-09-10 Thread Peter Schorsch
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

[NTG-context] currentheadnumber / doif.. problem

2007-09-10 Thread Peter Schorsch
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

Re: [NTG-context] TOC, listalternative d, ragged right, interaction

2007-07-18 Thread luigi scarso
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   2   >