Re: [NTG-context] Blocks inside a conditional mode.

2021-11-29 Thread Fabrice L via ntg-context
o this, even if I realized now that there is a similar example in the wiki. For the list, in case in the future this would be useful for another user, below is the complete minimal example using this approach. % - Minimal working example : \setuppapersize[S5][S5] \enablemode[Professor] \de

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
\defineblock[ComplementTwo] \defineblock[ComplementThree] \setupblock[ComplementTwo,ComplementThree][ before={\page[yes]\setuppagenumber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]}, after={\page[yes]\setuppagenumber[state=start]}] \startte

[NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
TeX capacity exceeded, sorry [input stack size=5] % The problem can be summarized in this minimal non working example : % — MWE — \setuppapersize[S5][S5] \enablemode[Professor] \defineblock[Complement] \setupblock[Complement][ before={\page[yes]\setuppagenum

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Wolfgang Schuster via ntg-context
versionset=pagenumber] There is no need to set the number conversion for list. \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopsectionblockenvironment No need for these settings because you already changed

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Pablo Rodriguez via ntg-context
lockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{25}{\null

Re: [NTG-context] Table of Content

2021-02-12 Thread Pablo Rodriguez
On 2/11/21 12:11 PM, Ursula Hermann wrote: > Dear List! > > > I did this example, which works perfect. If i would like to  take a new > page after the Table of Content, is \page the right way?  Hi Ursula, "\page\null\page" does the trick in your case. "\setuppage

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

2020-09-06 Thread Jan Willem Flamma
rightpage] [setups=pagenumber:right]    \setuppagenumber [number=1] \stopsectionblockenvironment \startsectionblockenvironment [appendix]    \setupbackgrounds [leftpage] [setups=pagenumber:left]    \setupbackgrounds [rightpage] [setups=pagenumber:right] \stopsectionblockenvironment 

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

2020-09-04 Thread Wolfgang Schuster
[rightpage] [setups=pagenumber:right] \stopsectionblockenvironment \startsectionblockenvironment [bodypart] \setupbackgrounds [leftpage] [setups=pagenumber:left] \setupbackgrounds [rightpage] [setups=pagenumber:right] \setuppagenumber [number=1

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

2020-09-04 Thread Jan Willem Flamma
matter    \component fm-frontpage    \component fm-titlepage    \component fm-tableofcontents\stopfrontmatter % Load bodymatter file\startbodymatter\setupbackgrounds    [leftpage]    [setups=pagenumber:left]\setupbackgrounds    [rightpage]    [setups=pagenumber:right]\setuppagenumber[number=1]    \com

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

2020-09-03 Thread jbf
] \setupbackgrounds [rightpage] [setups=pagenumber:right] \setuppagenumber[number=1] \component co-01 \component co-02 \stopbodymatter % Load backmatter files \startbackmatter \setupbackgrounds [leftpage] [setups=pagenumber:left] \setupbackgrounds [rightpage] [setups=pagenumber:right

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

2020-09-03 Thread Jan Willem Flamma
bodymatter file\startbodymatter\setupbackgrounds    [leftpage]    [setups=pagenumber:left]\setupbackgrounds    [rightpage]    [setups=pagenumber:right]\setuppagenumber[number=1]    \component co-01    \component co-02\stopbodymatter % Load backmatter files\startbackmatter\setupbackgrounds

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] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
\startmakeup[toc] >> \placecontent >> \stopmakeup >> %\setuppagenumber[number=1] >> \startchapter[title={A}]\stopchapter >> \startchapter[title={B}]\stopchapter >> \stopfrontmatter >> \stoptext >> &

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 10:11 PM, Nicola wrote: > Consider this example: > > \definemakeup[toc][align=middle] > \setuppagenumbering[alternative=doublesided] > \starttext > \startfrontmatter > \startmakeup[toc] > \placecontent > \stopmakeup

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
Consider this example: \definemakeup[toc][align=middle] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \startmakeup[toc] \placecontent \stopmakeup %\setuppagenumber[number=1] \startchapter[title

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
\stopfrontmatter \startbodymatter \setuppagenumber[number=1] \dorecurse{10}{\startchapter[title={XYZ}]\input{tufte}\stopchapter} \stopbodymatter \stoptext

Re: [NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Wolfgang Schuster
each page but you can checl for left and right pages, this mode is enabled with \setuppagenumber[alternative={singlesided,doublesided}]. Wolfgang ___ If your question is of interest to others as well, please ad

Re: [NTG-context] Page number woes

2019-09-05 Thread Mari Voipio
Well, this was total waste of space from my part. When I found a working file in a different project and copied the code over I realized that my problem code should never have worked: I had \setuppagenumber[stop] when I should have had \setuppagenumber[state=stop]. Adding "state="

Re: [NTG-context] Page number woes

2019-09-03 Thread Wolfgang Schuster
Mari Voipio schrieb am 02.09.2019 um 13:07: Hello! I have a document where I want the page numbers to start from the first page of chapter one. There's bunch of stuff before that, including a table of contents. This has worked fine: \startproduct prd-pr23 \startfrontmatter \setuppagenumber

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
[numberconversion=romannumerals] \setuppagenumber[alternative=singlesided,number=] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=2] \setuppagenumbering[alternative=singlesided] \stopsectionblockenvironment %\startsectionblockenvironment[backpart

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

2018-03-06 Thread ????????
l] \startstandardmakeup \midaligned{\CruxFramed{\ssd OpenStack}} \vfil \stopstandardmakeup \stopBG \startfrontmatter \setuplayout[reset] \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1] \completecontent %\completelistoffigures %\completelistof

Re: [NTG-context] confusing columns balancing results

2017-07-14 Thread Floris van Manen
obably a good reason for, but i don’t understand it (yet) What is the correct way to define it? .F \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][

Re: [NTG-context] confusing columns balancing results

2017-07-14 Thread Rik Kabel
=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout

Re: [NTG-context] confusing columns balancing results

2017-07-14 Thread Floris van Manen
=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm, cutspace=0cm, leftmargin

Re: [NTG-context] confusing columns balancing results

2017-07-13 Thread Henri Menke
stance=4mm,  >     balance=yes,  >     tolerance=tolerant] > \setupfootertexts[][] > \setuplayout[ >     backspace=10mm, >     width=277mm, >     height=fit, >     topspace=10mm, >     header=0mm, >     top=0mm, >     footer=0mm, >     bottom=0mm] > \setup

[NTG-context] confusing columns balancing results

2017-07-13 Thread Floris van Manen
, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm

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

2016-07-01 Thread Ursula Hermann
looking 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] Wolfgang ___

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

2016-07-01 Thread Ursula Hermann
numerals] You’re looking 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. \setupus

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

2016-06-30 Thread Otared Kavian
binedlist[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] >

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

2016-06-30 Thread Otared Kavian
uplist[subsection][width=1.5em, margin=0.6em] >> \setuplist[subject][margin=1.5em] >> \setuppagenumbering >> \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] > None of the above setups are needed for a minimal example, remove them next

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

2016-06-28 Thread Ursula Hermann
serpagenumbering[conversion=romannumerals] You’re looking 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=romannum

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] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
More information on this. Statements: \usemodule[hvdm-dvd] \starttext \xmlprocessbuffer{dvd}{xmlbuffer}{} \stoptext \endinput in the hvdm-dvd module \setuppagenumber[state=stop] is put inside \startxmlsetups setup-name \setuppapersize[A5][A5] \setuppagenumber[state=stop

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Wolfgang Schuster
47 One more observation on the strangeness of \setuppagenumber. Putting \setuppagenumber[number=4] before the call to \xmlprocessbuffer and putting\setuppagenumber[state=stop,number=8] inside the \startxmlsetups does make the pagenumber having the value 8. This proves two things:

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
On 27 Dec 2015, at 21:57, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 27. Dezember 2015 um 21:47 One more observation on the strangeness of \setuppagenumber. Putting \setuppagenumbe

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
One more observation on the strangeness of \setuppagenumber. Putting \setuppagenumber[number=4] before the call to \xmlprocessbuffer and putting \setuppagenumber[state=stop,number=8] inside the \startxmlsetups does make the pagenumber having the value 8. This proves two things: (1

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 27. Dezember 2015 um 21:47 One more observation on the strangeness of \setuppagenumber. Putting \setuppagenumber[number=4] before the call to \xmlprocessbuffer and putting\setuppagenumber[state=stop,number=8] inside the \startxmlsetups doe

[NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
The command "\setuppagenumber[state=stop]" used to stop numbering the pages, now it doesn't. Has this been changed and did I miss that change? Hans van der Meer ___ If your question is of interest

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
] \setupbodyfont[mainface,11pt] \setupdirections[bidi=global,method=two,fences=no] \setupalign[r2l] %% HEADINGS \setuppagenumber[numberconversion=arabicdecimals] %%% NOTES \definenote[footnote][% Used for my comments in English. setups=note:footnote, align=righttoleft

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
] \setupnotations[linenote][numberconversion=myconversion] \setuppagenumber[numberconversion=myconversion] \defineconversion [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, ٣١,٣٢,٣٣,٣٤,٣٥,٣٦,٣٧,٣٨,٣٩,٤٠, ٤١,٤٢,٤٣,٤٤,٤٥,٤٦,٤٧,٤٨,٤٩,٥٠

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-03 Thread tala...@fastmail.fm
ABIC-HINDI NUMERALS\defineconversion[myconversion][١,٢,٣,٤,٥,٦,٧,٨,٩,١٠,١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,]%% HEADINGS\setuppagenumber[numberconversion=myconversion]%%% LINENUMBERING\setuplinenumbering[% style=\tfxx, referencing=on, step=1, location=outer, method=page, align=left, distance=1em, w

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
s[footnote][numberconversion=myconversion]\setupnotations[linenote][numberconversion=myconversion]\setuppagenumber[numberconversion=myconversion]\defineconversion [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, ٣١,٣٢,٣٣,٣٤,٣٥,٣٦,٣

Re: [NTG-context] Arabic/Hindi numerals in layout structures (headers, page numbers, etc.)

2015-08-02 Thread tala...@fastmail.fm
] [۱,۲,۳,۴,۵,۶,۷,۸,۹,۱۰, ۱۱,۱۲,۱۳,۱۴,۱۵,۱۶,۱۷,۱۸,۱۹,۲۰, ۲۱,۲۲,۲۳,۲۴,۲۵,۲۶,۲۷,۲۸,۲۹,۳۰] \setuppagenumber[numberconversion=myconversion] Of course, one can add the same to setups for the other matters as well: \setuphead[chapter,title,section,subject][conversion=myconversion] \setuplinenumbering

Re: [NTG-context] Register customization for backmatter page numbers

2015-08-01 Thread Pablo Rodriguez
Hi Rik, sorry for top-posting, but I’m not sure whether I understand your request. I wonder whether the following sample points in the right direction: \setuppapersize[A6] \setuppagenumber[way=bypart, prefix=yes, prefixset=chapter] \startsectionblockenvironment[bodypart

[NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
On 2015-08-01 13:54, Pablo Rodriguez wrote: Hi Rik, sorry for top-posting, but I’m not sure whether I understand your request. I wonder whether the following sample points in the right direction: \setuppapersize[A6] \setuppagenumber[way=bypart, prefix=yes, prefixset=chapter

Re: [NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
On 2015-08-01 14:42, Rik Kabel wrote: On 2015-08-01 13:54, Pablo Rodriguez wrote: Hi Rik, sorry for top-posting, but I’m not sure whether I understand your request. I wonder whether the following sample points in the right direction: \setuppapersize[A6] \setuppagenumber[way=bypart

Re: [NTG-context] What is a better way to do this macro?

2015-07-16 Thread Wolfgang Schuster
}}} \setuppagenumber[state=stop] \setupwhitespace[big] \starttext (One~* Two~* Three~* Four) is even. (\CHOICE{x}{One}~* \CHOICE{1}{Two}~* \CHOICE{x}{Three}~* \CHOICE{2}{Four}) is even. \stoptext == What is best way to define the \CHOICE macro without low-level TeX commands, only high-level

[NTG-context] What is a better way to do this macro?

2015-07-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following (also attached): =choice-cs.tex \def\CHOICE#1#2{\leavevmode\vbox{\tabskip=0pt\everycr={} \halign{\strut\hfil##\hfil\cr#1\cr#2\cr}}} \setuppagenumber[state=stop] \setupwhitespace[big] \starttext (One~* Two~* Three~* Four) is even

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
scrutinize or question.\crlf {\tf Stephen Jay Gould} \stopbuffer \noheaderandfooterlines \start \title[h:toc]{Contents} \setuppagenumber[number=3] \placelist[chapter,chaptertext] \stop \component c_loosely \stopfrontmatter \startbodymatter \component

Re: [NTG-context] first line indents

2014-10-13 Thread Andrea Valle
[it] \setupcolors[state=start] \definepapersize[ZaffiriBook][width=130mm,height=205mm] \setuppapersize[ZaffiriBook, portrait][ZaffiriBook, portrait] \setuppagenumber[state=stop] \setuppagenumbering[location={footer, margin}] \setupindenting[yes, medium] \setupheads[indentnext=yes] \setuptyping [before

Re: [NTG-context] first line indents

2014-10-13 Thread Wolfgang Schuster
] \setuppapersize[ZaffiriBook, portrait][ZaffiriBook, portrait] \setuppagenumber[state=stop] \setuppagenumbering[location={footer, margin}] \setupindenting[yes, medium] \setupheads[indentnext=yes] \setuptyping [before={\setupbodyfont[6pt]}, after={\setupbodyfont[9pt]}] Use

[NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
did not find out how to get rid of the default pagenumber. \setuppagenumber[state=stop] kills all pagenumbering, the programmed one in the leftbottom corner too. \setuppagenumbering[state=stop] kills all pagenumbers, included the one I want to appear. \setuppagenumbering[location=none] merely

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
apparently). Thus the \noheaderandfooterlines annuls the \setupheader[state=stop] I did not find out how to get rid of the default pagenumber. \setuppagenumber[state=stop] kills all pagenumbering, the programmed one in the leftbottom corner too. \setuppagenumbering[state=stop] kills all

[NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Maggyero
are talking about a reference NUMBER and there is not always a prefix. What about changing it to something like \setupreference or \setupreferencenumber (like \setuppagenumber)? ___ If your question is of interest to others

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
Am 08.05.2014 um 16:46 schrieb Thomas Friedrich friedr...@statistik.tu-dortmund.de: 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

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
=no] \definecombinedlist [content][intro,chapter,section] \setuplist [intro] [headnumber=no] \starttext \startfrontmatter \setuppagenumber[numberconversion=romannumerals,state=start,number=1] %\setupnumber[page][1] \completecontent \intro{No number} \input knuth \input knuth \input knuth

[NTG-context] Additional unnumbered pages behind a title page

2014-02-07 Thread Robert Blackstone
I manage to accomplish this in a way worthy of ConTeXt? Thanks in advance for any advice Best regards, Robert Blackstone (I did find a hack, consisting of introducing between the Title-page and the FrontMatter a .tex-file, beginning with \setuppagenumber[state=stop], of which the second

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] footnotes in appendices

2014-01-19 Thread Wolfgang Schuster
[bodypart:pagenumber][][R] \defineconversionset [appendix:pagenumber][][n] \defineconversionset[frontpart:sectionnumber][R,A,G][n] \defineconversionset [bodypart:sectionnumber][r,a,g][n] \defineconversionset [appendix:sectionnumber][a,g,n][n] \setuppagenumber[numberconversionset=pagenumber] \setuphead

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Pablo Rodriguez
] \defineconversionset [appendix:pagenumber][][n] \defineconversionset[frontpart:sectionnumber][R,A,G][n] \defineconversionset [bodypart:sectionnumber][r,a,g][n] \defineconversionset [appendix:sectionnumber][a,g,n][n] \setuppagenumber[numberconversionset=pagenumber] \setuphead [part,chapter

Re: [NTG-context] reset blocks with dorecurse

2014-01-15 Thread DesdeChaves
$. \endhint \beginanswer $10$ \endanswer \section{Hints to all questions} \useblocks[hint] \section{Answers to all questions} \useblocks[answer] \setuppagenumber[number=1] \stopbuffer \setuprandomize[124] % set a seed \dorecurse{3} {\setups[examn:make]} \stoptext Thanks

[NTG-context] reset blocks with dorecurse

2014-01-14 Thread DesdeChaves
to all questions} \useblocks[hint] \section{Answers to all questions} \useblocks[answer] \setuppagenumber[number=1] \stopbuffer \setuprandomize[124] % set a seed \dorecurse{3} {\setups[examn:make]} \stoptext Thanks a lot Jorge

Re: [NTG-context] Persian numbers for page numbering

2013-12-22 Thread Wolfgang Schuster
for page numbering? \setuppagenumber[numberconversion=persiannumerals] Dear Wolfgang, Hello, First of all let me thank you very much for your reply. With the above command the page number is now typeset in Persian, but it uses Persian letters not Persian digits. My code

Re: [NTG-context] Persian numbers for page numbering

2013-12-04 Thread Mingranina Gingranina
On 11/30/13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 29.11.2013 um 16:49 schrieb Mingranina Gingranina mingran...@gmail.com: Dear All, Hello, How can I force ConTeXt to use Persian numbers for page numbering? \setuppagenumber[numberconversion=persiannumerals] Dear

Re: [NTG-context] Persian numbers for page numbering

2013-11-30 Thread Wolfgang Schuster
Am 29.11.2013 um 16:49 schrieb Mingranina Gingranina mingran...@gmail.com: Dear All, Hello, How can I force ConTeXt to use Persian numbers for page numbering? \setuppagenumber[numberconversion=persiannumerals] Wolfgang

Re: [NTG-context] passvariable(); path problem

2013-10-06 Thread Peter Rolf
Am 06.10.2013 00:37, schrieb Hans Hagen: On 10/5/2013 5:52 PM, Peter Rolf wrote: I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p

Re: [NTG-context] passvariable(); path problem

2013-10-05 Thread Peter Rolf
I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p:= (20,20){up} .. {down}(200,100); passvariable(path,p); draw p ; \stopMPpage \ctxlua{inspect

Re: [NTG-context] passvariable(); path problem

2013-10-05 Thread Hans Hagen
On 10/5/2013 5:52 PM, Peter Rolf wrote: I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p:= (20,20){up} .. {down}(200,100); passvariable(path

Re: [NTG-context] square in Cambria font

2013-05-01 Thread Meer, H. van der
size. Cheers, Sietse \setuppapersize[A7][A7] \setuppagenumber[state=stop] \setupbodyfont[cambria,40pt] \showframe \showgrid \startuseMPgraphic{square} numeric u, strokewd, strokeht, sqwd, sqht; u:= BodyFontSize / 2083; strokewd := 128u; strokeht := 123u

Re: [NTG-context] square in Cambria font

2013-05-01 Thread Sietse Brouwer
some things still didn't look right; didn't manage to fix everything, alas.) It scales with the font size. Cheers, Sietse \setuppapersize[A7][A7] \setuppagenumber[state=stop] \setupbodyfont[cambria,40pt] \showframe \showgrid \startuseMPgraphic{square} numeric u, strokewd, strokeht

[NTG-context] square in Cambria font

2013-04-30 Thread Sietse Brouwer
the glyph dimensions. (And then tweaking them because some things still didn't look right; didn't manage to fix everything, alas.) It scales with the font size. Cheers, Sietse \setuppapersize[A7][A7] \setuppagenumber[state=stop] \setupbodyfont[cambria,40pt] \showframe \showgrid \startuseMPgraphic

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

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

2013-04-22 Thread Jörg Hagmann
Thank you, Huseyin. Yes, that works; but the question remains: Has \setuppagenumber[number=NUMBER] become obsolete? After all, it's all over contextgarden, both in example documents and in the Commands/ list. Cheers, Jörg H. Özoguz writes: Minimal example: \setuppagenumber[number=3

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

2013-04-22 Thread Wolfgang Schuster
Am 22.04.2013 um 09:44 schrieb Jörg Hagmann joerg.hagm...@unibas.ch: Thank you, Huseyin. Yes, that works; but the question remains: Has \setuppagenumber[number=NUMBER] become obsolete? After all, it's all over contextgarden, both in example documents and in the Commands/ list. Yes

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

2013-04-22 Thread Jörg Hagmann
Wolfgang Schuster writes: Yes, the number option for \setuppagenumber is gone and you have to use \setupcounter. Even though this breaks backward compatibility it’s now constant with \setupheadnumber which is used to change the start value for sections. Thank you, Wolfgang. I added

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

2013-04-21 Thread Jörg Hagmann
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] \starttext \input tufte \stoptext I'm using today's context version. Thanks, Jörg -- Prof. Jörg

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

2013-04-21 Thread H. Özoguz
Minimal example: \setuppagenumber[number=3] \starttext \input tufte \stoptext I'm using today's context version. Thanks, Jörg You could use \setcounter[userpage][2] \starttext \input tufte \stoptext Huseyin

[NTG-context] start page numbering in MKIV

2013-04-01 Thread john Culleton
The command \setuppagenumber[number=3,state=start] seems not to work under MKIV. Here is the sequence: \setuppagenumber[number=3,state=start] \completecontent \chapter[Introduction} but Chapter 1 Introduction is shown in the TOC with page 3. It should be page 5 since the TOC starts on physical

Re: [NTG-context] start page numbering in MKIV

2013-04-01 Thread Wolfgang Schuster
Am 01.04.2013 um 22:42 schrieb john Culleton j...@wexfordpress.com: The command \setuppagenumber[number=3,state=start] seems not to work under MKIV. Here is the sequence: \setuppagenumber[number=3,state=start] \completecontent \chapter[Introduction} but Chapter 1 Introduction

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

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
[numberconversion=numbers] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes

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

Re: [NTG-context] Total Number of Pages

2012-10-16 Thread Philipp Gesang
the real pages (the number of sheets you need to print the pdf) and the user pages: · \setuphead[section][page=yes]%% for testing \setuppagenumber[state=stop] \starttext %% synonyms: \lastpage, \lastrealpage, \nofrealpages last real page

Re: [NTG-context] Header-Footer-Layout

2012-10-09 Thread Arne Runge
[backpart][after={\page[yes,header,right]}] \starttext \startfrontmatter \startstandardmakeup \title{title} \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \setuppagenumber[number=1] \chapter{body} \dorecurse{10}{\input knuth} \stopbodymatter \startappendices \chapter{appendix

[NTG-context] Header-Footer-Layout

2012-09-24 Thread Arne Runge
[chapter][header=empty] \setupfootertexts[][pagenumber] \starttext \startstandardmakeup \title{title} \stopstandardmakeup \startfrontmatter \setuppagenumbering[conversion=romannumerals] \completecontent \stopfrontmatter \startbodymatter \setuppagenumber[number=1] \chapter{body} bla \stopbodymatter

[NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
document) Thanx Jaroslav Hajtmar Here is my example: \setupheadnumber[section][2] \setupheadnumber[subsection][3] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section{} % I can't view section here %\subsection{} % I can't view subsection here too

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Wolfgang Schuster
a separate section number from a certain number (inserted into an existing document) Thanx Jaroslav Hajtmar Here is my example: \setupheadnumber[section][2] \setupheadnumber[subsection][3] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
number from a certain number (inserted into an existing document) Thanx Jaroslav Hajtmar Here is my example: \setupheadnumber[section][2] \setupheadnumber[subsection][3] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section{} % I can't view section here

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Sietse Brouwer
example: \setupheadnumber[section][2] \setupheadnumber[subsection][3] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section{} % I can't view section here %\subsection{} % I can't view subsection here too \subsubsection{TEST} I would like get 2.3.5

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
: \setupheadnumber[section][2] \setupheadnumber[subsection][3] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section{} % I can't view section here %\subsection{} % I can't view subsection here too \subsubsection{TEST} I would like get 2.3.5 TEST blablabla \stoptext

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section{} % I can't view section here %\subsection{} % I can't view subsection here too \subsubsection{TEST} I would like get 2.3.5 TEST blablabla \stoptext How about this: \setupheadnumber[section] [1

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Aditya Mahajan
Hajtmar Here is my example: \setupheadnumber[section][2] \setupheadnumber[subsection][3] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section{} % I can't view section here %\subsection{} % I can't view subsection here too \subsubsection{TEST} I would like get

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
[subsection][3] % \setupheadnumber[subsubsection][4] % \setuppagenumber[number=234] \starttext %\section{} % I can't view section here %\subsection{} % I can't view subsection here too \subsubsection{TEST} I would like get 2.3.5 TEST blablabla \stoptext How about this: \setupheadnumber

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

2012-09-14 Thread Aditya Mahajan
in \setuppagenumber the value is kept in \p_start (because there are no groups). When you start now the itemize environment the same code is loaded and the start parameter (which hasn’t been set yet) expands to a very stupid default value which is by another helper function. \def

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

  1   2   3   >