[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Hans Hagen via ntg-context
] \setcounter [userpage] [0] \setuppagenumbering [location=] \startdocument \setupfooter[state=stop] \startfrontmatter frontpage \stopfrontmatter \setupfooter[state=start] \startbodymatter \dorecurse{10}{\samplefile{lorem}} \stopbodymatter \stopdocument \setupfootertexts [title

[NTG-context] Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1? \setupfootertexts [title] [\pagenumber{} of \totalnumberofpages] \setcounter [userpage] [0

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
] \setcounter[userpage][1] %\showmakeup[vbox] %\showlayout \dostepwiserecurse{0}{30}{1}{ \xmlprocessfile{mysetups}{/path to xhtml files/4439720318703948998_84-h-\recurselevel.htm.xhtml}{} } \stoptext Below are the result showing the number of overfull boxes for these novels using the setups

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
] %\setupalignpass[test1] \setupalignpass[test2] %\setupalignpass[test3] %\setupalignpass[test4] %\setupalignpass[test5] %\setupalignpass[optional1] %\setupalignpass[test2b] \starttext \setuppagenumbering[location={footer,middle},alternative=doublesided,state=start] \setcounter[userpage][1] %\showmakeup

Re: [NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread jbf via ntg-context
\currentitemnumber{}, the last one. \setcounter[mynumber][\currentitemnumber] \stopitemize The \type{\getnumber[mynumber]} value is \getnumber[mynumber]. \incrementcounter[mynumber] And now the big finish, start at \getnumber[mynumber]: \startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL? \item

[NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread Michael Urban via ntg-context
[mynumber][] \startitemize[n] \item The first item. \item The second item \item Item number \currentitemnumber{}, the last one. \setcounter[mynumber][\currentitemnumber] \stopitemize The \type{\getnumber[mynumber]} value is \getnumber[mynumber]. \incrementcounter[mynumber] And now the big finish

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
l.~i.][pagenumber][pagenumber][Figures of Vol.~i.] \noheaderandfooterlines \completelistoffigures \PY } \component ackn % A. Murugaiyan & E. Parlier-Renault \component pref % A. Murugaiyan & E. Parlier-Renault \component intr % Y. Subbarayalu \stopfrontmatter \startbodymatter

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
\the\titlefootnotes\relax \setcounter[footnote][0] \unskipfunnylines \stopsetups \startsetups [document:stop] \stopcolumns \stopsetups \startdocument test\footnote{test} \input knuth \input knuth \input knuth \input knuth \stopdocument On Wed, May 18, 2022 at 10:02 PM Ross wrote: > Af

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
rk] >> > > \setupnote[putjustmark][location=none] >> > > \setupnotation[putjustmark][numberconversion=set 2] >> > > >> > > >> > > \definenote[putjustnote]%[footnote] % if footnotes need to be >> > grouped, &g

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
finenote[putjustnote]%[footnote] % if footnotes need to be > > grouped, > > > uncomment the second argument and the line after > \the\titlefootnotes > > > \setupnote[putjustnote][textcommand=\gobbleoneargument] > > &

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
line after \the\titlefootnotes > > \setupnote[putjustnote][textcommand=\gobbleoneargument] > > \setupnotation[putjustnote][numberconversion=set 2] > > > > > > \newtoks\titlefootnotes > > > > > > \def\thanks#1{\putjustmark{#1}\appendtoks \putjustnote{#1}

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread mf via ntg-context
toks \putjustnote{#1} \to \titlefootnotes} \appendtoks   \setcounter[footnote][0] % this looks stupid because it has no effect   %\setupnotation[footnote][numberconversion=numerals] \to \titlefootnotes \definenamespace    [addr]    [type=module,     name=address,     command=yes,     setup=

[NTG-context] Can I just put a footnote without marking in the main text?

2022-05-17 Thread Zhichu Chen via ntg-context
toks\titlefootnotes \def\thanks#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to \titlefootnotes} \def\email#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to \titlefootnotes} \appendtoks   \setcounter[footnote][0] % this looks stupid because it has no effect   %\setupnotation[footnote][numberconver

Re: [NTG-context] Counter names

2022-01-20 Thread Hans Hagen via ntg-context
accessible \starttext \chapter{test} \setupheadnumber[chapter][+5] \placefigure{}{} \chapter{test} \placefigure{}{} \setcounter[figure][4] \placefigure{}{} \stoptext chemical combination endnote figure footnote formula graphic intermezzo itemgroup:itemize itemgroup:itemize:note linenote paragrap

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
\setuplist[subject, section, subsection] \setupcombinedlist[content][list={subject,section,subsection}, alternative=c] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][5] \page \subject{Vorwort} \page \setupuserpagenumber[numberconversion=numbers] \setcounter

Re: [NTG-context] Display reference number as Roman number

2021-01-06 Thread Rik Kabel
, but it is functional. \definelabel[Qa] \definecounter[SAVE][numberconversion=R] \starttext This is labeled.\Qa\par This is labeled.\Qa[REF]\par \setcounter[SAVE][{\rawcountervalue[Qa]}] See \in[REF].\par See \ref[number][REF].\par See \in[REF].\par This is labeled.\Qa\par

Re: [NTG-context] xtable row number trouble

2020-10-26 Thread Wolfgang Schuster
Oleg schrieb am 26.10.2020 um 21:03: On Sun, Oct 25, 2020 at 09:26:06PM +0100, Wolfgang Schuster wrote: Oleg schrieb am 25.10.2020 um 14:51: Hi, all. I try to place a row number into the first column of my table. I tried: \definecounter[rownum][way=bytext,prefix=no] \setcounter[rownum][0

Re: [NTG-context] xtable row number trouble

2020-10-26 Thread Oleg
On Sun, Oct 25, 2020 at 09:26:06PM +0100, Wolfgang Schuster wrote: > Oleg schrieb am 25.10.2020 um 14:51: > > Hi, all. > > > > I try to place a row number into the first column of my table. > > I tried: > > > > \definecounter[rownum][way=byte

Re: [NTG-context] xtable row number trouble

2020-10-25 Thread Wolfgang Schuster
Oleg schrieb am 25.10.2020 um 14:51: Hi, all. I try to place a row number into the first column of my table. I tried: \definecounter[rownum][way=bytext,prefix=no] \setcounter[rownum][0] \starttext \startxtable \startxrow \startxcell \incrementcounter[rownum

[NTG-context] xtable row number trouble

2020-10-25 Thread Oleg
Hi, all. I try to place a row number into the first column of my table. I tried: \definecounter[rownum][way=bytext,prefix=no] \setcounter[rownum][0] \starttext \startxtable \startxrow \startxcell \incrementcounter[rownum] \rawcounter[rownum

[NTG-context] page counter problem

2020-09-30 Thread Alan Bowen
, method=overlay]{} \setcounter[userpage][101] \noheaderandfooterlines \getfiguredimensions[HannahBW.pdf] \dorecurse{\noffigurepages} {\vbox to \paperheight {\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax \hbox to \hsize {\hskip-\backspace \layeredtext

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
dypart]   \setcounter [userpage] [1]\stopsectionblockenvironmentbut it gave me the same result. Any idea how I can get the correct result?Julian ___If your question is of interest to others as well, please add an

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
onversionset[frontpart:pagenumber][][romannumerals] \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment but it gave me the same result. Any idea how I can get the correct res

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
1!I tried a slightly simpler version of the above which I found on Stackexchange: \definestructureconversionset [frontpart:pagenumber] [] [romannumerals]\startsectionblockenvironment [bodypart]   \setcounter [userpage] [1]\stopsectionblockenvironmentbut it gave me the same result. Any idea how I

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread Wolfgang Schuster
a slightly simpler version of the above which I found on Stackexchange: |\definestructureconversionset[frontpart:pagenumber][][romannumerals]|| | |\startsectionblockenvironment[bodypart]| |\setcounter[userpage][1]\stopsectionblockenvironment| but it gave me the same result. Any idea how I can

[NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread jbf
of the above which I found on Stackexchange: |\definestructureconversionset[frontpart:pagenumber][][romannumerals]|| | |\startsectionblockenvironment[bodypart]| |\setcounter[userpage][1]\stopsectionblockenvironment| but it gave me the same result. Any idea how I can get the correct result? Julian

Re: [NTG-context] Overriding the number on a float

2020-08-25 Thread Aditya Mahajan
On Mon, 24 Aug 2020, Taco Hoekwater wrote: > > > > On 24 Aug 2020, at 19:59, Wolfgang Schuster > > wrote: > >> \setcounter[figure][5] % next figure is no.6 > > For this subfigure stuff, perhaps this is useful? > > [...] > > I could not find

Re: [NTG-context] Overriding the number on a float

2020-08-25 Thread Duncan Hothersall
Hoekwater wrote: > > > > On 24 Aug 2020, at 19:59, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > > > >> > >> > >> \setcounter[figure][5] % next figure is no.6 > > For this subfigure stuff, perhaps this is useful? &g

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Taco Hoekwater
> On 24 Aug 2020, at 19:59, Wolfgang Schuster > wrote: > >> >> >> \setcounter[figure][5] % next figure is no.6 For this subfigure stuff, perhaps this is useful? % setup definitions \definecounter[subfigure][way=bytext,prefix=no] \setupcounter[subfigure][s

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Otared Kavian
] \stopplacefigure \stopsection \startsection[title=Two] \startplacefigure[title=Test] \externalfigure[dummy] \stopplacefigure \stopsection \setcounter[figure][5] % next figure is no.6 \startsection[ownnumber=10,title={A section}] \start \setupcaptions[numberstopper={a}] \startplacefigure[title=Test

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
d that be possible? You can set your own section numbers but the counter isn't stopped. Thank you! I overlooked "ownnumber". It works for sections, but not for items or floats. \setnumber[section][10] doesn’t work, \setcounter the same (according to the source they’re synonymous

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
>> numbering like 1, 2, 3, 3a, 4, 7... >> Something like >> \startitem[number={R}] >> or >> \startsection[number={3a}] >> would be nice. >> If I set it to an integer, ConTeXt should set the counter accordingly, >> otherwise continue counting

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
\startbodymatter \setcounter[userpage][1] test \stopbodymatter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Wolfgang Schuster
Alan Bowen schrieb am 10.06.2020 um 17:04: Thanks, Taco! That works in my mwe. I added way=bytext in my env file and the output is just what I need. Why don't you use sub pages? \starttext %\setupsubpagenumber[start=5]\resetsubpagenumber \setcounter[subpage][5] \startTEXpage \samplefile

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
that resets the counter to one at the start > of the next page (it is useful for footnotes that are numbered > per-page, but not for actual page counters). > > > \definecounter[volpage][type=page] > \starttext > \setcounter[volpage][5] > \dorecurse{3}{\startTEXpage[off

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
\setcounter[volpage][5] \dorecurse{3}{\startTEXpage[offset=2pc] \input ward \blank[medium] \centerline{\red\tfa\rawcounter[volpage]\incrementcounter[volpage]} \stopTEXpage} \stoptext > On 10 Jun 2020, at 15:05, Alan Bowen wrote: > >

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
of a book are > not proving successful. The following code shows the nature of the problem. > > > > \definecounter[volpage][type=page, way=bypage] > > \starttext > > \setcounter[volpage][5] > > \dorecurse{3}{\startTEXpage[offset=2pc] > > \input ward &

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
the problem. > > \definecounter[volpage][type=page, way=bypage] > \starttext > \setcounter[volpage][5] > \dorecurse{3}{\startTEXpage[offset=2pc] > \input ward > \blank[medium] > > \centerline{\red\tfa\rawcounter[volpage]\incrementcounter

[NTG-context] problem with counters (page)

2020-06-09 Thread Alan Bowen
My efforts to set up a new page counter in the footertexts of a book are not proving successful. The following code shows the nature of the problem. \definecounter[volpage][type=page, way=bypage] \starttext \setcounter[volpage][5] \dorecurse{3}{\startTEXpage[offset=2pc] \input ward \blank[medium

Re: [NTG-context] packed list only if items > 5

2019-11-14 Thread Tomas Hala
Hi Pablo, I am not sure if the itemize environment can be configured on the fly. The following code should solve your problem: \definecounter[minforpacked] \setcounter[minforpacked][5] \def\mystartitemize#1\stopitemize{% \definecounter[mycounter

[NTG-context] Right-to-left Documents

2019-11-14 Thread Marc Trius
, and was informed by Wolfgang Schuster that it is currently impossible to do. He suggested that I use \setcounter[realpage][2] to simulate a document that starts with a left page, but warned that this might cause unwanted side effects. Would it be possible to properly implement document-level right

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
[frontpart:pagenumber] [] [romannumerals] \startsectionblockenvironment [bodypart] \setcounter [userpage] [1] \stopsectionblockenvironment \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts[\setups{text right}][][][\setups{text left}] \startsetups[text right] \rlap{} \hfill \sc \getmarking

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
[frontpart:pagenumber] [] [romannumerals] \startsectionblockenvironment [bodypart] \setcounter [userpage] [1] \stopsectionblockenvironment \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts[\setups{text right}][][][\setups{text left}] \startsetups[text right] \rlap{} \hfill \sc \getmarking

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
bottomheight=1mm, footerdistance=10mm] \usetypescript[pagella] \setupbodyfont[pagella,12pt] \setupcolors[state=start] \setupfootertexts[section][] \setupfooter[alternative=,style=\bf\em] \setuppagenumbering[alternative=,location={footer,right},style=\bf\em] \setcounter[userpage][0] \setu

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
=,style=\bf\em] \setuppagenumbering[alternative=,location={footer,right},style=\bf\em] \setcounter[userpage][0] \setupcombinedlist[content][level=1] \setupexternalfigures[directory={images}] \stopenvironment ___ If your

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Wolfgang Schuster
\startTheorem in my book. So, I add "\setcounter[Exam][0]” before the \startchapter everytime. I couldn’t figure out what relation is there between Theorems and Exam. The numbers are correct with the latest beta. mtx-context | current version: 2019.02.10 17:43 Wol

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
t reset even though the new chapter began, for example, Example 2.3, 2.4, 3.5, 3.6 etc. However, I couldn’t make the same error with this code, It never happened without theorems, but it appeared when I added \startTheorem in my book. So, I add "\setcounter[Exam][0]” before the \startchapt

[NTG-context] Why do I have to enclose \rawcounter in braces in this MWE ?

2018-09-25 Thread Damien Thiriet
Hello list, Why do I have to enclose \rawcountervalue in braces to get this MWE compiled ? \definecounter[fiche][way=bytext] \setupheadertexts[Fiche méthodologique N.{\rawcountervalue[fiche]} ][][][] \starttext \setcounter[fiche][2] \starttitle[title={Un essai

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Pablo Rodriguez
is the mechanism of how the user counters work. >> [...] >> \starttext >> >> %\setcounter[mycounter][0] % initializing at this point not working (the >> counter is 10 more than it should be). WHY? > > tables take multiple passes so you need to decrement when s

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Hans Hagen
example: \definecounter[mycounter] \def\getmycounter{\incrementcounter[mycounter]\getnumber[mycounter]} \startbuffer[groups]     \startxrow     \startxcell \getmycounter\stopxcell     \startxcell Content of column\stopxcell \stopxrow \stopbuffer \starttext %\setcounter[mycounter][0

[NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Jaroslav Hajtmar
\getmycounter{\incrementcounter[mycounter]\getnumber[mycounter]} \startbuffer[groups] \startxrow \startxcell \getmycounter\stopxcell \startxcell Content of column\stopxcell \stopxrow \stopbuffer \starttext %\setcounter[mycounter][0] % initializing at this point not working (the counter

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
EXpage === This feels more like “the ConTeXt way” to me. \defineframed [MQTframed] [offset=overlay, frame=off, background=color, backgroundcolor=green, align=middle] \definecounter[MQT] \setcounter[MQT][1] \define[1]\NUM {% \startframed[MQTframed] \convertedcounter[MQT]\par

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Henri Menke
page > === This feels more like “the ConTeXt way” to me. \defineframed [MQTframed] [offset=overlay, frame=off, background=color, backgroundcolor=green, align=middle] \definecounter[MQT] \setcounter[MQT][1] \define[1]\NUM {% \startframed[MQTframed] \converte

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
f,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \input ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext == See attached: 1) Would like the footnote-number counter to start at 2, not 1. Add \setcoun

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Wolfgang Schuster
t ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext == See attached: 1) Would like the footnote-number counter to start at 2, not 1. Add \setcounter[footnote][1] after \startlocalfootnotes. 2) Alternatively, would like to be able to

Re: [NTG-context] How to make the first chapter number 0?

2018-01-27 Thread Procházka Lukáš Ing .
Hello Jeong, see both solutions attached. Check them in relation to TOC. Best regards, Lukas On Sat, 27 Jan 2018 16:08:03 +0100, Jeong Dal <hak...@me.com> wrote: Hi, I’d like to start the chapter number from 0. So I tried “\setcounter[chapter][-1]” or “\setcounter[chapter][0]” t

[NTG-context] How to make the first chapter number 0?

2018-01-27 Thread Jeong Dal
Hi, I’d like to start the chapter number from 0. So I tried “\setcounter[chapter][-1]” or “\setcounter[chapter][0]” to test, but it doesn’t work. Is there any good method to make the number of the first chapter 0? Thank you for reading. Best regards, Dalyoung

Re: [NTG-context] figure numbering S3, S4, S6, ...

2017-07-13 Thread Henri Menke
numbering starts with S3 instead of S1. > > How can I achieve this? \setuppapersize[A6] \setupexternalfigures[location=default] \setupfloatcaption   [figure]   [way=bytext,numberstarter={S}] \setcounter[figure][2] \starttext \startplacefigure[title={Cow}]   \externalfigure[cow][width=2c

Re: [NTG-context] A new problem in old TOC

2016-07-18 Thread Ursula Hermann
in old TOC <mailto:ursula.herm...@univie.ac.at> Ursula Hermann 15. Juli 2016 um 19:33 Hello Wolfgang! Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userp

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 15. Juli 2016 um 19:33 Hello Wolfgang! Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] The two se

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
, alternative=c, interaction=all] \setuphead [chapter] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
ersion=romannumerals] \setcounter[userpage][2] \startchapter [title={Ursula Hermann \indenting[yes, next] Danksagung}] \stopchapter \startchapter [title={Bildbeschreibung der Cover-Grafik}] \stopchapter \startchapter [title={Einleitung:"Entwicklung" behindern?

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
merals] \setcounter[userpage][2] \startchapter [title={Ursula Hermann {Danksagung}}] \starttext \stoptext Could somebody help me? Do I need a special way? Not with your current example because 1. it contains 3 \starttext commands, 2. there are too many setup

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \setuphead [section] [sectionsegments=section:section] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title={Ursula

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
Hello Otared! At least the example is this. Now it works perfekt: \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title={Danksagung}] \stopchapter \startchapter [title={Bildbeschreibung der Cover-Grafik

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
Hello Otared! I have it. I found an mail on the mailinglist . This works. It is: \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][5] \startpart [title={Danksagung}] \stoppart \startchapter [title={Bildbeschreibung der Cover

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
over-Grafik}] > \setupuserpagenumber[numberconversion=numbers] > \startchapter > [title={Einleitung:"Entwicklung" behindern?}] > \stoptext > > Ähm where do i set the counter. I mean when I set\setcounter? > > Uschi > Von: ntg-context [mailto:ntg-context-boun...@ntg

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
xt > > Ähm where do i set the counter. I mean when I set\setcounter? > > Uschi > Von: ntg-context [mailto:ntg-context-boun...@ntg.nl > <mailto:ntg-context-boun...@ntg.nl>] Im Auftrag von Ursula Hermann > Gesendet: Dienstag, 28. Juni 2016 12:31 > An: 'maili

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Ursula Hermann
" behindern?}] \stoptext Ähm where do i set the counter. I mean when I set\setcounter? Where and why do you want to change the page counter. Wolfgang ___ If your question is of interest to others as well, ple

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Wolfgang Schuster
Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung:"Entwicklung" behindern?}] \stoptext Ähm where do i set the counter. I mean when I set\setcounter? Where and why do you want to change the page co

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
:"Entwicklung" behindern?}] \stoptext Ähm where do i set the counter. I mean when I set\setcounter? Uschi Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Ursula Hermann Gesendet: Dienstag, 28. Juni 2016 12:31 An: 'mailing list for ConTeXt users' Betreff: Re: [N

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
> >>> bbb bar buch bühne section3 >>> >>> What am I doing in the wrong way? >> \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}] >> >> \definefontfeature[default][default][onum=yes] >> >> \setupbodyfont[pagella] >> >> \starttext

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
>> What am I doing in the wrong way? > \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}] > > \definefontfeature[default][default][onum=yes] > > \setupbodyfont[pagella] > > \starttext > > \setcounter[userpage][100] > > \completecontent >

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Wolfgang Schuster
hapter][pagestyle={\feature[=][tabularnumbers]}] \definefontfeature[default][default][onum=yes] \setupbodyfont[pagella] \starttext \setcounter[userpage][100] \completecontent \dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}} \st

Re: [NTG-context] Page number woes

2016-03-15 Thread Pablo Rodriguez
C would mean that Intro starts on page 3, but nope, it > still starts on page 2). > [...] Hi Mari, how about adding "\setcounter[userpage][1]" just before the introduction? Just in case it might help, Pablo -- http://www.ousia.tk _

Re: [NTG-context] A document composed only of TEXpages

2016-03-04 Thread Hans Hagen
to use \setcounter[userpage][\pagenumber+1]. TEXpage etc is probably not the best mechanism to use for that as it is just a vbox in the test suite there is a file experiment-001.tex that shows you a trick (maybe that should be module) Here is my document: *** \setupinteraction[state=start

[NTG-context] A document composed only of TEXpages

2016-03-04 Thread Chicho Pep
Hello everybody, I would like to have a document composed of TEXpages only, where each TEXpage contains one whole subsection or section. I have achieved that indeed, but I don't get to understand how the numbering of pages works in this case. I've tried to use \setcounter[userpage][\pagenumber+1

Re: [NTG-context] late reset of counter with way=bypage

2016-02-22 Thread massifr
note]% \incrementcounter[authornote]\decrementcounter[authornote]% <-- authornote is incremented and decremented to force the reset by page >\setcounter[footnote][{\rawcountervalue[authornote]}]% >\setupnotation[footnote][numberconversion=set 1]% >\foot

[NTG-context] late reset of counter with way=bypage

2016-02-18 Thread massifr
every page (way=bypage). - \setupnotation[footnote][way=bypage] \definecounter[authornote][way=bypage] % taken and adapted from https://www.mail-archive.com/ntg-context@ntg.nl/msg56637.html \define[1]\authorNote{\bgroup% \savecounter[footnote]% \setcounter[footnote][{\rawcountervalue

Re: [NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-04 Thread Jeong Dal
value of ThmNumber is 0 even though \setcounter\ThmNumber1. Please enhance the sample code which works nicer way. Also, where can I find good explanation on “counter”? Thank you for reading. Best regards, Dalyoung % \newcounter\ThmNumber \setcounter\ThmNumber1 \increment\ThmNumber

Re: [NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-18 Thread Jaroslav Hajtmar
, Pablo Here is my minimal example: \starttext %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive chapter} \page \setcounter[userpage][53] \chapter{Fifth (actually first) nonfictive chapter

Re: [NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-18 Thread Pablo Rodriguez
: \starttext %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive chapter} \page \setcounter[userpage][53] \chapter{Fifth (actually first) nonfictive chapter} blablabla \stoptext -- http://www.ousia.tk

[NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-17 Thread Jaroslav Hajtmar
} %\hiddenchapter{Fictive chapter} \page \setcounter[userpage][53] \chapter{Fifth (actually first) nonfictive chapter} blablabla \stoptext ___ If your question is of interest to others as well, please add an entry

[NTG-context] Handling line numbers in frontmatter.

2015-04-16 Thread John Culleton
by one. Page numbers are roman. I have tried changing the page number sequence using e.g,: \setcounter[userpage][-4] but that has no effect. I tried iv instead of 4 but that didn't work either. MKIV and Texlive 2014. --- \starttext \startfrontmatter

[NTG-context] Change counter of chapters (sections, subsections...)

2015-04-16 Thread Jaroslav Hajtmar
chapter} \chapter{Fictive chapter} \chapter{Fictive chapter} \page \setcounter[userpage][53] \chapter{Fifth (actually first) nonfictive chapter} blablabla \stoptext Thanx for help. Jaroslav Hajtmar___

[NTG-context] Page numbering, new style and running heads.

2015-02-25 Thread John Culleton
The new method of handling page numbering (roman and arabic) using e.g., \setupuserpagenumber[numberconversion=Romannumerals] \setcounter[userpage][5] works just fine if you remember one thing: in running heads the word pagenumber has to be replaced with userpagenumber. But in the \chapter

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
=,alternative=doublesided] \definemakeup [titlepage] [align=middle,style=\bf] \starttext \startfrontmatter Small title \page \phantom{x}\vfill Colofon \page \starttitlepagemakeup BIG TITLE \stoptitlepagemakeup % - empty page inserted after here, so page number becomes 5 \setcounter[userpage

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Wolfgang Schuster
Am 31.01.2015 um 17:42 schrieb Rob Heusdens robh...@xs4all.nl: \starttitlepagemakeup BIG TITLE \stoptitlepagemakeup % - empty page inserted after here, so page number becomes 5 \setcounter[userpage][5] % - without this, the page number = 3 You don’t need this manual setting

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
Am 31.01.2015 um 17:42 schrieb Rob Heusdens robh...@xs4all.nl: \starttitlepagemakeup BIG TITLE \stoptitlepagemakeup % - empty page inserted after here, so page number becomes 5 \setcounter[userpage][5] % - without this, the page number = 3 You don’t need this manual setting

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
=,alternative=doublesided] \definemakeup [titlepage] [align=middle,style=\bf] \starttext \startfrontmatter Small title \page \phantom{x}\vfill Colofon \page \starttitlepagemakeup BIG TITLE \stoptitlepagemakeup % - empty page inserted after here, so page number becomes 5 \setcounter[userpage][5

Re: [NTG-context] setuppage is ignored

2014-05-08 Thread Thomas Friedrich
way to reset the page numbering. How to start the page numbering at 1 in the body matter? You have to change the value of the “userpage” counter, i.e. \setcounter[userpage][1] is needed. Wolfgang ___ If your

Re: [NTG-context] setuppage is ignored

2014-05-07 Thread Wolfgang Schuster
” counter, i.e. \setcounter[userpage][1] is needed. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] Appendix Page Numbering

2014-02-06 Thread Wolfgang Schuster
, ..., P-25, APP-1, APP-3, ... How can I get this with ConTeXt? \defineconversionset[frontpart:pagenumber][][romannumerals] \definesectionblock[project][projectmatter] \startsectionblockenvironment[project] \setcounter[userpage][1] \setuppagenumber[numberstarter=P

Re: [NTG-context] reset blocks with dorecurse

2014-01-15 Thread DesdeChaves
] \page \setcounter[userpage][1] \centerline{\kap{Maths}} \centerline{\kap{Worksheet}} \crlf Name:\thinrules[n=1]%, interlinespace=big] Evaluation:\thinrules[n=1]%, interlinespace=big] \getbuffer[examn] \stopsetups \starttext \setuppagenumbering[state=stop

[NTG-context] reset blocks with dorecurse

2014-01-14 Thread DesdeChaves
}] \setupblock[hint][before={\starthint},after={\stophint}] \setupblock[answer][before={\startanswer},after={\stopanswer}] \keepblocks[question] \hideblocks[hint] \hideblocks[answer] \startsetups examn:make \resetnumber[answer] \resetnumber[question] \resetnumber[hint] \page \setcounter

[NTG-context] Image width in a two-column layout

2013-09-02 Thread Thangalin
}, location=global, %wfactor=fit,] \setuphead[section][ after={\startStyleColumns}, aftersection={\stopStyleColumns},] \starttext \startbodymatter \setuppagenumbering[conversion=numbers] \setcounter[userpage][1] \startchapter[ title={Chapter}, reference=sec:chapter, ] \startsection

Re: [NTG-context] Pagenumbering

2013-06-05 Thread Marco Patzer
On 2013–06–05 Tim Steenvoorden wrote: I doing something wrong is this a bug? \starttext \setupcounter[userpage][10] \setcounter [userpage] [10] Marco signature.asc Description: Digital signature ___ If your

Re: [NTG-context] Pagenumbering

2013-06-05 Thread Tim Steenvoorden
Oh god, stupid me. Thanks, Marco! Cheers, Tim Op woensdag 5 juni 2013, om 12:54 heeft Marco Patzer het volgende geschreven: On 2013–06–05 Tim Steenvoorden wrote: I doing something wrong is this a bug? \starttext \setupcounter[userpage][10] \setcounter [userpage

Re: [NTG-context] setuppagenumber--start at page xy

2013-04-27 Thread Marco Patzer
On 2013–04–21 Jörg Hagmann wrote: Has the code for starting pagenumbering at a given number changed? I'm using last year's template for an annual report, but can't get it to work. Minimal example: \setuppagenumber[number=3] \setcounter[userpage][3] Marco signature.asc Description

  1   2   >