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

2020-09-06 Thread Jan Willem Flamma
Willem FlammaSubject: Re: [NTG-context] \setupuserpagenumber not working as expected Jan Willem Flamma schrieb am 03.09.2020 um 10:29:> Dear Julian,> > I use something similar using a main product file, an environment file > that contain the styling and several components t

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

2020-09-04 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 03.09.2020 um 10:29: Dear Julian, I use something similar using a main product file, an environment file that contain the styling and several components that build up the frontmatter, the manual and the appendices. Below my setup where I start the roman

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

2020-09-04 Thread Jan Willem Flamma
Credits to Pragma who helped me to set this up a few years ago. From: jbfSent: Friday, 4 September 2020 00:20To: Jan Willem FlammaCc: ntg >> mailing list for ConTeXt usersSubject: Re: [NTG-context] \setupuserpagenumber not working as expected Thanks Jan, that is an extensive bit of work

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

2020-09-03 Thread jbf
*From: *jbf <mailto:roma83...@gmail.com> *Sent: *Thursday, 3 September 2020 06:05 *To: *mailing list for ConTeXt users <mailto:ntg-context@ntg.nl> *Subject: *[NTG-context] \setupuserpagenumber not working as expected Am seeking to have frontmatter pages in roman numer

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

2020-09-03 Thread Wolfgang Schuster
jbf schrieb am 03.09.2020 um 06:32: Thanks Wolfgang. I did have the respective setupsectionblocks, but they said [page= ], so I have now changed them to [page=yes] and things work as expected. I also tried the second \page method you offered, which, naturally enough, also works. I take it

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

2020-09-03 Thread Jan Willem Flamma
for ConTeXt usersSubject: [NTG-context] \setupuserpagenumber not working as expected Am seeking to have frontmatter pages in roman numerals and from Chapter 1 onwards in arabic numerals. I have achieved something of the kind, but page 1 (arabic) is appearing on the last page of the frontmatter

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

2020-09-02 Thread Wolfgang Schuster
] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuplist[chapter][pageconversionset=pagenumber] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment The frontmatter

[NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread jbf
] \setupuserpagenumber[numberconversion=romannumerals] \setuplist[chapter][pageconversionset=pagenumber] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment The frontmatter is some 16 pages worth (ends

Re: [NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Wolfgang Schuster
[userpagenumber][state=start,start=7] is not giving the expected result. MWE: [...] Is this a bug or do I miss something? The second one. The name of the counter isn't "userpagenumber" and you don't even have to know the name of the counter because \setupuserpagenumber has the sa

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.04.2020 um 13:54: Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist

[NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist[chapter] use the realpage counter? According to i

[NTG-context] using realpagenumber for /PageLabels

2020-04-09 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupuserpagenumber[way=chapter] \starttext \dorecurse{5}{\chapter{Chapter}} \stoptext I need to restart user page numbers in each part (I use real page to number the complete document). But the main problem is this way also restarts

Re: [NTG-context] Manipulating the pagenumber in the TOC

2019-04-21 Thread Wolfgang Schuster
scape] \setupuserpagenumber[numberconversion=dwarsligger] \setuppagenumbering[location=none] \setupheadertexts [\doifoddpageelse{}{\prefixedpagenumber}] \setupfootertexts [\doifoddpageelse{\prefixedpagenumber}{}] \usemodule [visual] \starttext \completecontent \dorecurse{10}   {\chapter{\fakewo

Re: [NTG-context] A strange request...

2019-02-20 Thread Wolfgang Schuster
letterpercent d",(#1+1)/2}} \defineconversion [dwarsligger] [\DwarsliggerNumber] \setuppapersize[A5,landscape] \setupuserpagenumber[numberconversion=dwarsligger] \setuppagenumbering[location=none] \setupheadertexts [\doifoddpageelse{\prefixedpagenumber}{}] \starttext \dorecurse{1

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
, incrementnumber=list] \startproduct Danggok \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definestructureconversionset[backpart:pagenumber][][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-27 Thread Rik Kabel
\define[1]\fnindex{\index[Footnote->]{#1}} \define[1]\fiindex{\index[Figure->]{#1}} \defineconversionset [backpart:pagenumber][][backpart->o] \setupuserpagenumber[way=byblock] \setuppagenumbering [location=none] \setupheadertexts[{\convertedcounter[userpage][numberconversionset=

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-27 Thread Florian Grammel
following can help. It has separate user page numbers for the > main matter and back matter, with a suffixed ‘n’ for the items indexed from > backmatter pages, but no suffix on the backmatter page numbers. The index > entries for figures are rubricated and have a leading ‘f’. > > \

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-26 Thread Rik Kabel
rt] [style=slanted,right=n] \defineprocessor [Figure] [style=\tf,color=red,left=f] \defineconversionset [backpart:pagenumber][][backpart->o] \setupuserpagenumber[way=byblock] \setuppagenumbering [location=none] \setupheadertexts[{\convertedcounter[userpage][numberconvers

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
le=yes, alternative=c, interaction=all] \setuphead [chapter] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconv

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
setset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \setuphead [section] [sectionsegments=section:section] \starttext \placecontent \setupuserpagenumber[numberconversion=romannu

[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
ula Hermann <ursula.herm...@univie.ac.at> wrote: > > Hello Wolfgang! > > I have now written as you told me. > \starttext > \placecontent > \setupuserpagenumber[numberconversion=romannumerals] > \startchapter > \startchapter[title={Bildbeschreibung der C

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

2016-06-30 Thread Otared Kavian
tarttext > \placecontent > \setupuserpagenumber[numberconversion=romannumerals] > \startchapter > \startchapter[title={Bildbeschreibung der Cover-Grafik}] > \setupuserpagenumber[numberconversion=numbers] > \startchapter > [title={Einleitung:"Entwicklung" behindern?}] > \stopte

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

2016-06-30 Thread Ursula Hermann
I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung:"Entwicklung

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

2016-06-28 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 28. Juni 2016 um 14:15 Hello Wolfgang! I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-

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

2016-06-28 Thread Ursula Hermann
Hello Wolfgang! I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung

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

2016-06-28 Thread Ursula Hermann
ooking for the \setupuserpagenumber command (but \setuppagenumber would also work because it’s a synonym for the command) and you have to use the numbercommand key to change the conversion. \setupuserpagenumber[numberconversion=romannumerals] Wo

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

2016-06-24 Thread Wolfgang Schuster
bering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re looking for the \setupuserpagenumber command (but \setuppagenumber

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster
fttoright, location=] \setupuserpagenumber[numberconversion=Characters] % numberconversion=arabicdecimals \starttext \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \stoptext Wolfgang ___ If your q

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
> \setupuserpagenumber[numberconversion=Characters] > Wolfgang Thank you very much Wolfgang.Its nice seperation of settings and content. ___ If your question is of interest to others as well, please add an

[NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-18 Thread Ibn Saeed
Hello I am trying to get mashriqi arabic numerals. i tried \setupuserpagenumber[numberconversion=arabicnumerals] but it does not make any change. ___ If your question is of interest to others as well, please add

Re: [NTG-context] pagereferences

2016-01-17 Thread Wolfgang Schuster
change? You can use the dataset command which lets you store other information, e.g. the current value of the visible pagenumber. \definedataset[hans][delay=yes] \setupuserpagenumber[number=3] \starttext One\setdataset[hans][one][pagenumber=\userpagenumber] \page[+2] Two\setdataset[hans]

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
umbers] \definestructureconversionset[backpart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupuserpagenumber[numberconversion=n

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
al problems > introduced with new tokenizer in place... (boundary conditions). > More complete example for experiments: (I am not experienced in ConTeXt, most of it was suggested here in the forum, there are most likely other ways how to accomplish the desired output - see attac

Re: [NTG-context] tex error in curent beta

2015-10-15 Thread Wolfgang Schuster
lines): ... \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \definestructureconversionset[backpart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannu

[NTG-context] tex error in curent beta

2015-10-15 Thread Jan Tosovsky
] \definestructureconversionset[bodypart:pagenumber] [][numbers] \definestructureconversionset[backpart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment ... tex error > tex error on line 22 in fil

Re: [NTG-context] Formatting of page number in table of contents

2015-08-12 Thread Aditya Mahajan
: \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] The page numbers are formatted correctly on each page, but not in the table of contents. For example, \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] \starttext \placelist[part,section][alternative=c, criterium=all

[NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Aditya Mahajan
Hi, I am using a document structure part-section-subsection (i.e., no chapters). The page numbers have to be formatted as partnumber-pagenumber. So, I am using the following setup: \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] The page numbers are formatted correctly on each

Re: [NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Wolfgang Schuster
Aditya Mahajan mailto:adit...@umich.edu 11. August 2015 18:53 Hi, I am using a document structure part-section-subsection (i.e., no chapters). The page numbers have to be formatted as partnumber-pagenumber. So, I am using the following setup: \setupuserpagenumber[way=bypart, prefix=yes

[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

[NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
this: \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] % some stuff \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers] \setnumber[page]{1} %some stuff \stopbodymatter

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example: begin example \starttext \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
Thank you! This works. But tell me: How do you know this? The manual and the website don’t explain it this way… Best regards Werner On 22 May 2014, at 12:16, Otared Kavian wrote: Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example: begin

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
: begin example \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[backpart:pagenumber] [][characters] \starttext \startfrontmatter \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
example \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[backpart:pagenumber] [][characters] \starttext \startfrontmatter \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[number=1] \input

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
] \defineconversionset[backpart:pagenumber] [][characters \defineconversionset[appendix:pagenumber][][Characters] \setupuserpagenumber[numberconversionset=pagenumber,way=byblock] Now it’s not nessecary to reset the pagenumber. Thanks for the hint about the Sample texts. Best regards. WH On 22 May 2014

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
[backpart:pagenumber] [][characters] \setupuserpagenumber[way=byblock] \starttext \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \chapter{First chapter} \input ward.tex \section{A section} \input dawkins.tex \stopbodymatter \startbackmatter \chapter[title={Index},number=no] \input

Re: [NTG-context] setuppage is ignored

2014-05-08 Thread Thomas Friedrich
Thanks Wolfgang, it does work now! I didn't now that the counter would be called 'userpage'. It thought I had to set the page-counter (\setconter[page][1]), as I was using \setuppagenumber[numberconversion=numbers,state=start] and not \setupuserpagenumber[numberconversion=numbers,state=start

Re: [NTG-context] setuppage is ignored

2014-05-08 Thread Wolfgang Schuster
[numberconversion=numbers,state=start] and not \setupuserpagenumber[numberconversion=numbers,state=start] It seems as if both commands have the same effect. Are these synonyms? Is there a way for an end-user (like me) to infer from a command as \setuppagenumber that the corresponding counter

Re: [NTG-context] Appendix Page Numbering

2014-02-20 Thread Troy Henderson
anyhow, i'll add this: \setupuserpagenumber[viewerprefix=titlepage] \startstandardmakeup The first page \stopstandardmakeup \setupuserpagenumber[viewerprefix=p ] Thanks Hans. That works great. Is it possible to have ONLY the prefix (not followed

Re: [NTG-context] Appendix Page Numbering

2014-02-14 Thread Hans Hagen
with an interface for that which also can be wikified and remembered well anyhow, i'll add this: \setupuserpagenumber[viewerprefix=titlepage] \startstandardmakeup The first page \stopstandardmakeup \setupuserpagenumber[viewerprefix=p ] so it's a semi-manual job Hans

Re: [NTG-context] Appendix Page Numbering

2014-02-14 Thread Troy Henderson
\setupuserpagenumber[viewerprefix=titlepage] \startstandardmakeup The first page \stopstandardmakeup \setupuserpagenumber[viewerprefix=p ] I'm clearly missing something. Troy \setupinteraction[state=start] \defineconversionset[frontpart:pagenumber][][romannumerals

Re: [NTG-context] Appendix Page Numbering

2014-02-14 Thread Wolfgang Schuster
Am 15.02.2014 um 02:30 schrieb Troy Henderson thend...@gmail.com: \setupuserpagenumber[viewerprefix=titlepage] \startstandardmakeup The first page \stopstandardmakeup \setupuserpagenumber[viewerprefix=p ] I'm clearly missing something. Have you updated you

Re: [NTG-context] Appendix Page Numbering

2014-02-13 Thread Hans Hagen
are. mkiv: \nopdfcompression \setupinteraction [state=start] \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[appendix:pagenumber] [][Characters] \setupuserpagenumber[numberconverionset=pagenumber,way

Re: [NTG-context] userpagenumber

2013-03-27 Thread Thomas A. Schmitz
On 03/26/2013 06:07 PM, Wolfgang Schuster wrote: 1. \setuppagenumber is a synonym for \setupuserpagenumber 2. The “number=XX” setting doesn’t work in MkIV and you have to use \setupcounter. Thank you for your words of wisdom, Wolfgang. Wouldn't it make sense to have backwards compatibility

Re: [NTG-context] userpagenumber

2013-03-27 Thread Hans Hagen
On 3/27/2013 9:21 AM, Thomas A. Schmitz wrote: On 03/26/2013 06:07 PM, Wolfgang Schuster wrote: 1. \setuppagenumber is a synonym for \setupuserpagenumber 2. The “number=XX” setting doesn’t work in MkIV and you have to use \setupcounter. Thank you for your words of wisdom, Wolfgang. Wouldn't

[NTG-context] userpagenumber

2013-03-26 Thread Thomas A. Schmitz
Hi, shouldn't this work? \setupuserpagenumber[number=34] \starttext \dorecurse{20}{\userpagenumber \page} \stoptext I must admit that I'm pretty confused about pagenumbering; there are too many options of \setup...pagenumber and \setup...pagenumbering for my simple brain now, and I often

Re: [NTG-context] userpagenumber

2013-03-26 Thread Marco Patzer
On 2013–03–26 Thomas A. Schmitz wrote: shouldn't this work? \setupuserpagenumber[number=34] I don't know if that's the recommended way, but I set the page number as follows: \setcounter [userpage] [34] Marco signature.asc Description: Digital signature

Re: [NTG-context] userpagenumber

2013-03-26 Thread Thomas A. Schmitz
On 03/26/2013 01:54 PM, Marco Patzer wrote: I don't know if that's the recommended way, but I set the page number as follows: \setcounter [userpage] [34] Thank you. Yes that works, but I thought that \setupuserpagenumber was the proper way to do those things. Thomas

Re: [NTG-context] userpagenumber

2013-03-26 Thread Wolfgang Schuster
that \setupuserpagenumber was the proper way to do those things. 1. \setuppagenumber is a synonym for \setupuserpagenumber 2. The “number=XX” setting doesn’t work in MkIV and you have to use \setupcounter. Wolfgang ___ If your

[NTG-context] no bibliography when using bodymatter/backmatter/...

2013-01-03 Thread Andreas Mang
is the citation added (this is different, if I put the placepublication command into the bodymatter) Cheers, Andreas % ConTeXt ver: 2013.01.02 18:19 MKIV %%% minimal example %%% \setupcombinedlist[content][level=4, alternative=c] \startsectionblockenvironment[bodypart] \setupuserpagenumber

Re: [NTG-context] no bibliography when using bodymatter/backmatter/...

2013-01-03 Thread Andreas Mang
] \setupuserpagenumber[numberconversion=numbers] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications

[NTG-context] ConTeXt: Page numbering in words for spanish

2012-11-21 Thread Acidrums4
[numstring][\numstr] \setupuserpagenumber[numberconversion=numstring] \starttext \dorecurse{100}{\recurselevel\page} \stoptext I'm such a noob with TeX and I cannot figure out how to do this, and I need this for this friday!. However, Aditya in the TeX section of StackExchange (http

Re: [NTG-context] ConTeXt: Page numbering in words for spanish

2012-11-21 Thread Hans Hagen
: \input numstr \defineconversion[numstring][\numstr] \setupuserpagenumber[numberconversion=numstring] \starttext \dorecurse{100}{\recurselevel\page} \stoptext I'm such a noob with TeX and I cannot figure out how to do this, and I need this for this friday!. However, Aditya in the TeX section

Re: [NTG-context] Strange bug with reversed itemize

2012-09-13 Thread Otared Kavian
Hi Aditya, Yes it is a strange behaviour and it appears only when using mkiv and reversed itemize, even with \setuppagenumber[start=12] instead of \setupuserpagenumber[start=12] Also the pagenumber remains unchanged with either of these commands, which means that it's a bug

Re: [NTG-context] Strange bug with reversed itemize

2012-09-13 Thread Aditya Mahajan
On Thu, 13 Sep 2012, Otared Kavian wrote: On 13 sept. 2012, at 02:34, Aditya Mahajan adit...@umich.edu wrote: For some reason, the numbering in itemize is affected by the value of userpage! \setupuserpagenumber[start=12] \starttext \startitemize[n,reverse] \item One \item Two \stopitemize

Re: [NTG-context] Strange bug with reversed itemize

2012-09-13 Thread Aditya Mahajan
On Thu, 13 Sep 2012, Aditya Mahajan wrote: On Thu, 13 Sep 2012, Otared Kavian wrote: On 13 sept. 2012, at 02:34, Aditya Mahajan adit...@umich.edu wrote: For some reason, the numbering in itemize is affected by the value of userpage! \setupuserpagenumber[start=12] \starttext \startitemize

Re: [NTG-context] Strange bug with reversed itemize

2012-09-13 Thread Aditya Mahajan
! \setupuserpagenumber[start=12] \starttext \startitemize[n,reverse] \item One \item Two \stopitemize \stoptext With ConTeXt 2012.09.11 20:36 I get 13. One 12. Two Any ideas? Yes it is a strange behaviour and it appears only when using mkiv and reversed itemize, even with \setuppagenumber[start

[NTG-context] Strange bug with reversed itemize

2012-09-12 Thread Aditya Mahajan
Hi, For some reason, the numbering in itemize is affected by the value of userpage! \setupuserpagenumber[start=12] \starttext \startitemize[n,reverse] \item One \item Two \stopitemize \stoptext With ConTeXt 2012.09.11 20:36 I get 13. One 12. Two Any ideas? Aditya

Re: [NTG-context] Strange bug with reversed itemize

2012-09-12 Thread burwoad
What your got is already reversed, isn't it? On Thu, Sep 13, 2012 at 8:34 AM, Aditya Mahajan adit...@umich.edu wrote: Hi, For some reason, the numbering in itemize is affected by the value of userpage! \setupuserpagenumber[start=12] \starttext \startitemize[n,reverse] \item One

Re: [NTG-context] Strange bug with reversed itemize

2012-09-12 Thread Aditya Mahajan
On Thu, Sep 13, 2012 at 8:34 AM, Aditya Mahajan adit...@umich.edu wrote: Hi, For some reason, the numbering in itemize is affected by the value of userpage! \setupuserpagenumber[start=12] \starttext \startitemize[n,reverse] \item One \item Two \stopitemize \stoptext With ConTeXt

Re: [NTG-context] Italic page number.

2012-08-05 Thread Wolfgang Schuster
=italic] \setupuserpagenumber[numberconversion=romannumerals] % you can also use \setuppagenumber which is a synonym for \setupuserpagenumber Wolfgang___ If your question is of interest to others as well, please add

[NTG-context] two more bugs in latest

2012-07-10 Thread Thomas A. Schmitz
Hi all, sorry for bringing the bad news all the time... There are two more bugs in the latest beta which I just stumbled upon: userpage=bysection does not work, pdf bookmarks are not produced. Example: \setupuserpagenumber [state=start,way=bysection] \setupfootertexts [{\getmarking

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
\MapsRunningAuthor {\global\let\MapsRunningAuthor\MapsAuthor}% \doifnothing\MapsRunningTitle {\global\let\MapsRunningTitle\MapsTitle}}% \def\dostartArticle[#1]{% \MapsBibData[#1] \pageno=\MapsPage \setupuserpagenumber[start=\MapsPage] \startbaselinecorrection \bgroup \hsize = 457pt

[NTG-context] change the page number

2012-05-06 Thread Steffen Wolfrum
Hi, how do I change the page number? In april and may versions it does not work anymore: \setuppagenumber[number=5]% no effect \setuprealpagenumber[number=5]% no effect \setuppagenumber[number=5]% no effect %\setupuserpagenumber[numberconversion=Romannumerals]% works OK! \starttext

Re: [NTG-context] Page numbering in latest beta

2012-04-02 Thread Steffen Fritzsche
] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals, way=byblock] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupuserpagenumber[numberconversion=numbers] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart

[NTG-context] Page numbering in latest beta

2012-03-30 Thread Steffen Fritzsche
: \startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=romannumerals

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Hans Hagen
[alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Hans Hagen
effect of this.) So, now we don't reset any longer unless the 'start' key's value differs. As a consequence one needs to be explicit in some cases, like yours. By default, we number per text (we could change that if needed) but in the past the \setupuserpagenumber triggers a synchronization

Re: [NTG-context] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Aditya Mahajan
) is \setuppagenumber[number=1] rather than \setuppagenumbering[number=1] (as I understand it \setuppagenumbering controls the way in which page numbers are displayed and \setuppagenumber controls the numbers themselves). There is also \setupuserpagenumber[number=1] and \setupuserpagenumber[way

Re: [NTG-context] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Aditya, On Mon, 21 Nov 2011 15:09:23 -0700, Aditya Mahajan adit...@umich.edu wrote: There is also \setupuserpagenumber[number=1] and \setupuserpagenumber[way=bysuperpart] (if superpart is defined using \definehead). Hmm, I was wondering if there was something like this in the system

Re: [NTG-context] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Wolfgang Schuster
Am 21.11.2011 um 23:20 schrieb Idris Samawi Hamid ادريس سماوي حامد: Hi Aditya, On Mon, 21 Nov 2011 15:09:23 -0700, Aditya Mahajan adit...@umich.edu wrote: There is also \setupuserpagenumber[number=1] and \setupuserpagenumber[way=bysuperpart] (if superpart is defined using \definehead

Re: [NTG-context] Page numbering: conversion broken

2011-11-10 Thread Christian
for the mkii-mkiv problem. \setupuserpagenumber[numberconversion=romannumerals] or better (because you can set different conversion for the frontpart, main part etc) \definestructureconversionset[pagenumber][][romannumerals] \setupuserpagenumber[numberconversionset=pagenumber] Thank you

Re: [NTG-context] Page numbering: conversion broken

2011-11-09 Thread Wolfgang Schuster
this \convertnumber{r}{4} works as expected. Is this fixed in a later beta? There is nothing to fix, the while numbering mechanism has changed in MkIV and you have to write now \setupuserpagenumber[numberconversion=romannumerals] or better (because you can set different conversion

[NTG-context] about \startstructureblockenvironment

2011-10-12 Thread Jeong Dalyoung
\setupuserpagenumber[numberconversion=romannumerals] 8 \setuppagenumber[number=1] 9 \stopstructureblockenvironment 10 11 \startstructureblockenvironment[bodypart] 12 \setuppagenumber[number=1] 13 \stopstructureblockenvironment 14 15 \startcomponent Test 16 l.6 \startstructureblockenvironment

[NTG-context] Error with \{start,stop}structureblockenvironment

2011-06-11 Thread Martin 'golodhrim' Scholz
lines from the file.tex are: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion

Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-13 Thread Jeong Dalyoung
] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1

[NTG-context] Is Minimals ready for non-developers to use?

2011-03-13 Thread Tom
] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Intro} \input tufte

[NTG-context] how to make chapter starts from odd page always?

2011-02-24 Thread Jeong Dalyoung
] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \setuphead[chapter][command=,number=no,page=right] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \setuppagenumbering[alternative

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Hans Hagen
=yellow,numbercommand=\underbar,pagecommand=\ChapterPrefix] That doesn't work, and I've some difficulties to figure how computation is performed in e-TeX... Could you help me to resolve this issue ? \starttext \setupuserpagenumber[way=bychapter] \dorecurse{3}{\chapter{test} \dorecurse{4}{test

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Pierre-François Bonnefoi
to figure how computation is performed in e-TeX... Could you help me to resolve this issue ? \starttext \setupuserpagenumber[way=bychapter] \dorecurse{3}{\chapter{test} \dorecurse{4}{test \page}} \stoptext

Re: [NTG-context] pagenumbers in metafun

2010-09-28 Thread Thomas A. Schmitz
] \setupuserpagenumber[state=start] \starttext \dorecurse{8}{\userpagenumber \input knuth\page} \resetuserpagenumber \dorecurse{8}{\userpagenumber \input knuth\page} \stoptext The PageNumber does the right thing: goes from 1 to 8, then is reset to 1 again. But NOfPages results in 16, the total number

Re: [NTG-context] subpagenumbering

2010-09-05 Thread Hans Hagen
:\nofuserpages – lastusr:\lastuserpage] % \setupuserpagenumber[way=bychapter,state=start] \setupsubpagenumber[way=bychapter,state=start] \starttext % \dorecurse{3}{\chapter{!!}\dorecurse{10}{\input knuth\par}\page} % \resetsubpagenumber} \dorecurse{3}{\chapter{!!}\dorecurse{10}{\input knuth\par

Re: [NTG-context] Roman page numbers

2010-08-12 Thread Wolfgang Schuster
=romannumerals] has no effect too. \setupuserpagenumbering[numberconversion=romannumerals] Thanks for the reply, but I get the following error: ! Undefined control sequence. l.10 \setupuserpagenumbering [numberconversion=romannumerals] Should be \setupuserpagenumber. Wolfgang

  1   2   >