]
\setcounter
[userpage]
[0]
\setuppagenumbering
[location=]
\startdocument
\setupfooter[state=stop]
\startfrontmatter
frontpage
\stopfrontmatter
\setupfooter[state=start]
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stopdocument
\setupfootertexts
[title
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
]
\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
]
%\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
\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
[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
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
\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
rk]
>> > > \setupnote[putjustmark][location=none]
>> > > \setupnotation[putjustmark][numberconversion=set 2]
>> > >
>> > >
>> > > \definenote[putjustnote]%[footnote] % if footnotes need to be
>> > grouped,
&g
finenote[putjustnote]%[footnote] % if footnotes need to be
> > grouped,
> > > uncomment the second argument and the line after
> \the\titlefootnotes
> > > \setupnote[putjustnote][textcommand=\gobbleoneargument]
> > &
line after \the\titlefootnotes
> > \setupnote[putjustnote][textcommand=\gobbleoneargument]
> > \setupnotation[putjustnote][numberconversion=set 2]
> >
> >
> > \newtoks\titlefootnotes
> >
> >
> > \def\thanks#1{\putjustmark{#1}\appendtoks \putjustnote{#1}
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=
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
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
\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
, 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
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
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
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
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
, 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
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
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
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
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
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
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
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
> 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
]
\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
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
>> 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
\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
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
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
\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:
>
>
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
&
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
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
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
, 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
[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
[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
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
=,style=\bf\em]
\setuppagenumbering[alternative=,location={footer,right},style=\bf\em]
\setcounter[userpage][0]
\setupcombinedlist[content][level=1]
\setupexternalfigures[directory={images}]
\stopenvironment
___
If your
\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
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
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
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
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
\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
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
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
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
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
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
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
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
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
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
,
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
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?
]
[sectionresetset=,
conversion=,
number=no,
placehead=yes,
bodypartlabel=part,
sectionsegments=chater:chapter]
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][2]
\startchapter
[title
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
=no,
placehead=yes,
bodypartlabel=part,
sectionsegments=chater:chapter]
\setuphead [section]
[sectionsegments=section:section]
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][2]
\startchapter
[title={Ursula
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
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
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
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
" 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
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
:"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
>
>>> 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
>> 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
>
hapter][pagestyle={\feature[=][tabularnumbers]}]
\definefontfeature[default][default][onum=yes]
\setupbodyfont[pagella]
\starttext
\setcounter[userpage][100]
\completecontent
\dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}}
\st
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
_
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
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
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
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
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
,
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
:
\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
}
%\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
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
chapter}
\chapter{Fictive chapter}
\chapter{Fictive chapter}
\page
\setcounter[userpage][53]
\chapter{Fifth (actually first) nonfictive chapter}
blablabla
\stoptext
Thanx for help.
Jaroslav Hajtmar___
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
=,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
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
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
=,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
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
” 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
, ..., 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
]
\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
}]
\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
},
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
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
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
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 - 100 of 140 matches
Mail list logo