[NTG-context] Re: conversion from realpage to pagenumber

2024-01-14 Thread mf
an numerals, followed by the main text starting from page 1 in arabic numerals. So the twelfth page is 'XII', while the twenty-second is '2'. How do I get 'XII' from 12 and '2' from 22? \defineconversionset   [frontpart:pagenumber] [] [romannumerals] \setuppagenumber   [way=byblock] % Alternative met

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
than being reset % % \startsectionblockenvironment[bodypart] %   \resetuserpagenumber % \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{20}{\samplefile{lorem}\page} \stopfrontmatter \startbodymatter \dorecurse{20}{\samplefile{lorem}\page} \stopbodymatter \stoptext

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
>> Either use >> >> \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}] >> >> Or, nicer: >> >> \startsectionblockenvironment[backpart] >> \setuphead[chapter][page=no] >> \stopsectionblockenvironment >> >> >>> Best, >>> Denis &g

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Rik Kabel
that the sectionblock itself is called “backpart”, not “backmatter” Either use \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}] Or, nicer: \startsectionblockenvironment[backpart] \setuphead[chapter][page=no] \stopsectionblockenvironment Best, Denis \setuphead[chapter

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
tself is called “backpart”, not “backmatter” Either use \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}] Or, nicer: \startsectionblockenvironment[backpart] \setuphead[chapter][page=no] \stopsectionblockenvironment > Best, > Denis > \setuphead[chapter][page=ye

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
is that both values are reset on the following page and with \startsectionblockenvironment you can make this layout change in the style file of your document. \startsectionblockenvironment[frontpart] \setupheader[state=high] \setupfooter[state=high] \stopsectionblockenvironment \showframe \starttext

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 17.06.2022 um 16:07: On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote: Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: \startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment This should work

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Pablo Rodriguez via ntg-context
On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote: > Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: > >>\startsectionblockenvironment[bodypart] >> ... >>\stopsectionblockenvironment > > This should work according to documentatio

Re: [NTG-context] \setuplist only for bodypart

2022-06-16 Thread Henning Hraban Ramm via ntg-context
Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: \startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment This should work according to documentation. Hraban ___ If your

[NTG-context] \setuplist only for bodypart

2022-06-16 Thread Pablo Rodriguez via ntg-context
in: \startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment I have also tried: \setuplist [bodypart:chapter] [alternative=d] But nothing changed. Which is the right way to do it? Many thanks for your help, Pablo

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
neoverlay[chapter-thumb][\useMPgraphic{chapter-thumb}] \startsectionblockenvironment[bodypart] \setupbackgrounds[rightpage][background=chapter-thumb] \stopsectionblockenvironment \showframe \starttext \startfrontmatter \startchapter[title=Test A] \samplefile{ward} \stopchapt

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Willi Egger via ntg-context
gger via ntg-context schrieb am 20.03.2022 um 16:53: >> Hoi Wolfgang! >> >> thank you for your suggestion. Your example indeed works. However if I apply >> this to my situation, which is >> >> \startsectionblockenvironment[bodymatter] > > You use the wrong nam

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 20.03.2022 um 16:53: Hoi Wolfgang! thank you for your suggestion. Your example indeed works. However if I apply this to my situation, which is \startsectionblockenvironment[bodymatter] You use the wrong name for the argument

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Willi Egger via ntg-context
Hoi Wolfgang! thank you for your suggestion. Your example indeed works. However if I apply this to my situation, which is \startsectionblockenvironment[bodymatter] \setups{Thumb-pictures} \stopsectionblockenvironment nothing happens. I.e. I get no error, but also no picture, indicating

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
% Global settings for all chapters \setuphead[chapter][style=\ssc] % Local settings for chapter in the bodymatter block \startsectionblockenvironment[bodypart] \setuphead[chapter][color=blue] \stopsectionblockenvironment \starttext \startfrontmatter \title{Table of content} \placecontent

Re: [NTG-context] repeat layer recto pages

2021-11-10 Thread Pablo Rodriguez via ntg-context
On 11/9/21 11:12 PM, jbf via ntg-context wrote: > Muchas gracias Pablo, that was most helpful, and of course it works. > > The particular part that I was missing (there was already > alternative=doublesided in the preamble) of course was the > \startsectionblockenvironment[bodyp

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread jbf via ntg-context
Muchas gracias Pablo, that was most helpful, and of course it works. The particular part that I was missing (there was already alternative=doublesided in the preamble) of course was the \startsectionblockenvironment[bodypart], so thanks for highlighting that. I was also a bit confused about

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
ully; the layer repeats for every page > at the moment. I must have omitted something). Hi Julian, this is what you want: \startsectionblockenvironment[bodypart] \setupbackgrounds [rightpage] [background=butterfly] \stopsectionblockenvironment > \startbodymatter

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
lvain, copied from https://wiki.contextgarden.net/Table_of_Contents#Page_numbering_in_ToC: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startsectionb

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
conversionset [bodypart:chapternumber] [] [bodypartnumber->n] > \defineconversionset [appendix:chapternumber] [] [appendixnumber->A] > > \setuphead >[chapter] >[sectionconversionset=chapternumber] > > \startsectionblockenvironment [frontpart] > >

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
number] \startsectionblockenvironment [frontpart] \defineprocessor [bodypartnumber] [left=Chapter~] \defineprocessor [appendixnumber] [left=Appendix~] \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbody

Re: [NTG-context] Different footers for frontmatter and bodymatter

2021-08-18 Thread Rik Kabel via ntg-context
and reverts after the group is closed. If not, it applies to the remainder of the document unless otherwise overridden. This can be useful for a special page. * You can set it in the preamble within \startsectionblockenvironment[partname]..\stopsectionblockenvironment (where you can also define

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
=ChapterNumberStyle, before=\startChapterFrame, after=\stopChapterFrame, header=high] \stopsetups \startsectionblockenvironment [bodypart] \directsetup{section:chapter} \stopsectionblockenvironment \doifmode{*component}{\directsetup{section:chapter}} ... \endenvironment end environment

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
component \startcomponent [*] \environment [...] ... \stopcomponent end component begin environment \startenvironment [*] \startsetups [section:chapter]     \setuphead     [chapter]     [...] \stopsetups \startsectionblockenvironment [bodypart]     \directsetup{section:chapter

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
y book. >> > How can I prevent this header from appearing on the page with the table >> > of contents ? >> >> Hi Fabrice, >> >> a simple way would be: >> >> \startsectionblockenvironment[bodypart] >> \setuphead >>

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
ail/ntg-context/2021/102870.html > > for the chapters of my book. > > How can I prevent this header from appearing on the page with the table > > of contents ? > > Hi Fabrice, > > a simple way would be: > > \startsectionblockenvironment[bodypart]

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
ents ? Hi Fabrice, a simple way would be: \startsectionblockenvironment[bodypart] \setuphead [chapter] [align=flushright, textcommand=\groupedcommand{\blank[medium]}{}, numbercolor=darkgray, textstyle=ChapterTextStyle, numberstyle=ChapterNumberSty

Re: [NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Pablo Rodriguez via ntg-context
gt; body, and back matter using modes. > [...] Hi Joey, the command is just different: \startsectionblockenvironment[frontpart] \setupbodyfont[modern] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupbodyfont[pagella] \stopsectionblockenvironment \startse

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

2020-09-06 Thread Jan Willem Flamma
 2. Use \setvariables or \setupdocument to set the document title, revision etc. 3. Use \startsectionblockenvironment to move setups from the document content into the environment file. 4. Use pagestate=start to increase the page counter with \startstandardmakeup. 5. Set search path for figur

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

2020-09-04 Thread Wolfgang Schuster
the filename of the component/product to \startcomponent and not some dummy name (or just use *), this allows you to print the filename with \currentcomponent or \currentproduct 2. Use \setvariables or \setupdocument to set the document title, revision etc. 3. Use \startsectionblockenvironment to move

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

2020-09-04 Thread Jan Willem Flamma
it up!):\definestructureconversionset[frontpart:pagenumber][][romannumerals]\definestructureconversionset[bodypart:pagenumber] [][numbers]\startsectionblockenvironment[frontpart]\setupuserpagenumber[numberconversion=romannumerals]\setuplist[chapter][pageconversionset=pagenumber]\setuppagenumber[nu

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

2020-09-03 Thread jbf
where - wiki? elsewhere? Not sure. I didn't make it up!): \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setup

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

2020-09-03 Thread Jan Willem Flamma
[bodypart:pagenumber] [][numbers]\startsectionblockenvironment[frontpart]\setupuserpagenumber[numberconversion=romannumerals]\setuplist[chapter][pageconversionset=pagenumber]\setuppagenumber[number=1]\stopsectionblockenvironment\startsectionblockenvironment[bodypart]\setuppagenumber[number=1

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
for page numbering is as follows (something I found somewhere - wiki? elsewhere? Not sure. I didn't make it up!): \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Fabrice Couvreur
local to bodypart of your document, this works only > when you use section blocks (e.g. \startbodymatter) > > \startsectionblockenvironment[bodypart] > \setuphead[chapter][command=\HeadTitle] > \stopsectionblockenvironment > > > Wolfgang > > > __

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Wolfgang Schuster
section blocks (e.g. \startbodymatter) \startsectionblockenvironment[bodypart]     \setuphead[chapter][command=\HeadTitle] \stopsectionblockenvironment Wolfgang ___ If your question is of interest to others as well,

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-20 Thread Mike Cooper
the case you have to first disable the page setting for > >> these blocks because they interfere with the header/footer setting. To > >> disable the page breaks add > >> > >> \setupsectionblock > >> [frontpart,bodypart]

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

2020-08-12 Thread Nicola
afraid I need your help on this. >>> >>> Sorry, but too tired to type a sample. >>> >>> How about setting distance for \setuplist[chapter] in the sectionblock >>> frontpart with the desired width? >> >> That does not seem to change the layout, un

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

2020-08-11 Thread Wolfgang Schuster
about setting distance for \setuplist[chapter] in the sectionblock frontpart with the desired width? That does not seem to change the layout, unfortunately. I have tried with `margin` and `aligntitle` as well: \setuplist[chapter][distance=1cm,aligntitle=yes] \startsectionblockenvironment[frontpart

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

2020-08-11 Thread Nicola
ith \setuphead, but I am >> afraid I need your help on this. > > Sorry, but too tired to type a sample. > > How about setting distance for \setuplist[chapter] in the sectionblock > frontpart with the desired width? That does not seem to change the layout, unfortunately. I have tr

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

2020-08-11 Thread Wolfgang Schuster
all blank pages. Break pages with \page[yes, blank]. Not the best solution for empty pages before a new chapter. \setuphead [chapter] [page={yes,header,footer,right}] 4. Suppress headers in the front matter. This would be my educated guess: \startsectionblockenvironment

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
p my formerly clean TOC page. :-) So, I've currently got: \startsectionblockenvironment[frontpart] \setupheader[state=none] \setupfooter[state=none] \stopsectionblockenvironment Do I keep this and also include your code above? Or can both things be taken care of tog

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
ontpart,bodypart] > [page=no] > > to your document setups. How does this interact with \startsectionblockenvrironment? I found this on wiki.contextgarden.net/Table_of_Contents for suppressing header/footer on TOC. I did not specify frontmatter before, but moving the header/footer cont

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

2020-08-11 Thread Pablo Rodriguez
with \page[yes, blank]. > 4. Suppress headers in the front matter. This would be my educated guess: \startsectionblockenvironment[frontpart] \setupheader[state=stop] \stopsectionblockenvironment > 5. Style and position page numbers differently in the front and body >matter (e.g.

Re: [NTG-context] fancy chapter setup

2020-01-11 Thread Rik Kabel
rbox{\getbuffer[ChapterEpigraph]} \resetbuffer[ChapterEpigraph]     }     {\donothing}   \page[right]   \setupheadertexts [][{\it\getmarking[section]}]     [{\it\getmarking[chapter]}][] \stopsetups \startsectionblockenvironment[bodypart] \setup

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

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

[NTG-context] Unexpected behavior of subsection labels

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

Re: [NTG-context] 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] \setuphead for a section block

2018-10-23 Thread Rik
] \startsectionblockenvironment[bodypart] \setuphead[chapter][style=\em] \stopsectionblockenvironment \starttext \startfrontmatter \chapter{Introduction} \stopfrontmatter \startbodymatter \chapter{Chapter} \stopbodymatter \stoptext But wasn’t there a command similar

Re: [NTG-context] \setuphead for a section block

2018-10-23 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 23.10.18 um 21:18: Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf] \startsectionblockenvironment[bodypart

Re: [NTG-context] \setuphead for a section block

2018-10-23 Thread Rik
On 10/23/2018 15:18, Pablo Rodriguez wrote: Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf] \startsectionblockenvironment[bodypart] \setuphead

[NTG-context] \setuphead for a section block

2018-10-23 Thread Pablo Rodriguez
Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf] \startsectionblockenvironment[bodypart] \setuphead[chapter][style=\em

Re: [NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
] \setupheads [chapter,section,subsection] [sectionconversionset=sectionnumbers] \startsectionblockenvironment [bodypart] \setuphead [chapter] [style={\rm\bf}, sectionsegments=chapter] \setuphead [section] [style={\ss\bf}, sectionsegments=section] \setuphead [subsection] [style={\sl

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
result. Any ideas would be greatly appreciated. Thanks. Kenny The rest of the message is a minimal example: \startsectionblockenvironment [bodypart] \definestructureconversionset [bodyset] [I,N,KR,a,m] [N] % unusual combination for testing \setuphead [chapter,section,subsection

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
etupinteraction[state=start] > > \define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on] > {\vbox{\headtext{chapter} #1\blank[small]#2}}} > > \setuphead[chapter][command=\MyChapter, > style={\switchtobodyfont[24pt,ss]}, header=empty, page=mychapterpagebrea

Re: [NTG-context] Couple of questions

2017-07-28 Thread Pablo Rodriguez
play with the sample, in order to see what fits you best: \setupinteraction[state=start] \define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on] {\vbox{\headtext{chapter} #1\blank[small]#2}}} \setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss

Re: [NTG-context] Strange problem with Blockquote

2016-08-17 Thread Pablo Rodriguez
\startsetups[interlinear:general] \setupinterlinespace[line=5ex] \stopsetups \setupdelimitedtext [blockquote] [before={\directsetup{interlinear:general}}] \startsectionblockenvironment[frontpart] \setupdelimitedtext [blockquote] [befor

Re: [NTG-context] Strange problem with Blockquote

2016-08-17 Thread Robert Blackstone
On 17 Aug 2016, at 02:19 , Pablo Rodriguez <oi...@gmx.es> wrote > > > Hi Robert, > > from what I get from your message, there is only one blockquote in the > introduction. > > How about adding the following code before \starttext? > >\st

Re: [NTG-context] Strange problem with Blockquote

2016-08-16 Thread Pablo Rodriguez
Hi Robert, from what I get from your message, there is only one blockquote in the introduction. How about adding the following code before \starttext? \startsectionblockenvironment[frontpart] \setupinterlinespace[small] % or whichever value you want \stopsectionblockenvironment

Re: [NTG-context] \setupsectionblock and \setupbackgrounds page-break problem

2016-02-28 Thread Wolfgang Schuster
nblock. \setupexternalfigures[location=default] \definelayer[frontbackground] \setupbackgrounds[page][background=frontbackground] \startsectionblockenvironment[frontpart] \setlayer[frontbackground]{\externalfigure[mill][width=\paperwidth,height=\paperheight]} \stopsectionblockenvir

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] 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
] \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \completecontent \startbodymatter \dorecurse{5

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

2015-08-01 Thread Rik Kabel
, prefix=yes, prefixset=chapter] \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \completecontent

Re: [NTG-context] bug with \writebetweenlist and bookmarks?

2015-05-04 Thread Hans Hagen
On 5/2/2015 10:16 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \placebookmarks[chapter] \startsectionblockenvironment[bodypart] \writebetweenlist[chapter]{{\blank[3*halfline]}} \stopsectionblockenvironment

[NTG-context] bug with \writebetweenlist and bookmarks?

2015-05-02 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \placebookmarks[chapter] \startsectionblockenvironment[bodypart] \writebetweenlist[chapter]{{\blank[3*halfline]}} \stopsectionblockenvironment \startsectionblockenvironment[backpart

Re: [NTG-context] adding extra space before section blocks in the TOC

2015-04-26 Thread Pablo Rodriguez
. \startsectionblockenvironment[bodypart] \writebetweenlist[chapter]{\blank[2*line]} \stopsectionblockenvironment \startsectionblockenvironment[appendix] \writebetweenlist[chapter]{\blank[2*line]} \stopsectionblockenvironment Many thanks for your reply, Wolfgang. Sorry, but I must confess

Re: [NTG-context] adding extra space before section blocks in the TOC

2015-04-26 Thread Wolfgang Schuster
} \chapter{Appendix Two} \stopappendices \stoptext How could I add some extra space in the TOC before each section block? I mean, a visual separation before “First Chapter”, “Conclusions” and “Appendix One” in \completecontent. \startsectionblockenvironment[bodypart

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-06 Thread Mojca Miklavec
(or in the layout) as opposed to changing the settings just before appendices start? I would like to avoid messing up with such settings in the middle of the document. Use \startsectionblockenvironment to set the setups at the begin of the document. Thank you. I tried to play

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-05 Thread Wolfgang Schuster
before appendices start? I would like to avoid messing up with such settings in the middle of the document. Use \startsectionblockenvironment to set the setups at the begin of the document. I tried to play with \defineconversionset and \setupsectionblock [appendix

Re: [NTG-context] Simple tocs

2015-01-26 Thread Pablo Rodriguez
\dorecurse{5}{\chapter{Chapter} \dorecurse{5}{\section{Section}}} \stoptext To avoid page numbering in your tables of contents (and not having to remove page numbering in frontmatter): \definesectionblock[whatcomesfirst][firstmatter] \startsectionblockenvironment[whatcomesfirst

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 Pablo Rodriguez
,romannumerals] [numbers] \startsectionblockenvironment [appendix] \setupheads [sectionconversionset=structure] \stopsectionblockenvironment Many thanks for your reply, Marco. This was exactly what I needed. Pablo -- http://www.ousia.tk

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Wolfgang Schuster
Am 19.01.2014 um 12:29 schrieb Marco Patzer li...@homerow.info: \definestructureconversionset [structure] %% part, chapter,section, subsection, subsubsection [numbers, characters, Romannumerals, numbers,romannumerals] [numbers] \startsectionblockenvironment

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Géry Ogam
conversions manually: *\startsectionblockenvironment[appendix]* *\defineconversionset[romannumeralsconversionset][][R]* *\setuphead[chapter][sectionconversionset=romannumeralsconversionset]* *\stopsectionblockenvironment* *\starttext* *\startappendices* *\chapter{Cool}* *\placefigure{A cow

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Wolfgang Schuster
to Romannumerals, you will get something totally inconsistent if you don’t do many conversions manually: \startsectionblockenvironment[appendix] \defineconversionset[romannumeralsconversionset][][R] \setuphead[chapter][sectionconversionset=romannumeralsconversionset

[NTG-context] Setting `before` option of chapter breaks header text

2013-09-03 Thread Michael Scholtz
\startsectionblockenvironment[frontpart] \setupheadertexts[chapter][pagenumber] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupheadertexts[{Chapter \getmarking[chapternumber]: \getmarking[chapter]}][pagenumber] \stopsectionblockenvironment

[NTG-context] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Tim Li
. \startsectionblockenvironment[frontpart] \definetext[titlestart] [footer][{\hfill\bf\romannumerals\pagenumber\hfill}] \setuphead[title] [footer=titlestart]\stopsectionblockenvironment \startsectionblockenvironment[bodypart] \definetext[chapterstart] [footer][{\hfill\bf

Re: [NTG-context] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Hans Hagen
pagenumber in frontmatter. \startsectionblockenvironment[frontpart] \definetext[titlestart] [footer][{\hfill\bf\romannumerals\pagenumber\hfill}] \setuphead[title] [footer=titlestart]\stopsectionblockenvironment \startsectionblockenvironment[bodypart] \definetext

Re: [NTG-context] single spacing TOC

2013-04-09 Thread Wolfgang Schuster
Am 04.04.2013 um 22:37 schrieb john Culleton j...@wexfordpress.com: I had a line \setupwhitespace[medium] in the preamble to the file. I moved it to occur after \startbodymatter and all was fine. You can use \startsectionblockenvironment to enable the setup with the begin of a certain

Re: [NTG-context] structure: project, product, structureresetset, ...

2013-03-25 Thread Wolfgang Schuster
into a single product having a unique front and back matter and all of the appendices at the end... It should be simple, but sometimes I fail to see the obvious! :) \startsectionblockenvironment[bodypart] \setupheadnumber[chapter][6] \stopsectionblockenvironment \startsectionblockenvironment

Re: [NTG-context] Invisibile page numbers for TOC

2013-01-30 Thread Wolfgang Schuster
. \startsectionblockenvironment[frontpart] \setuppagenumbering[location=] \stopsectionblockenvironment %\startsectionblockenvironment[bodypart] %\setcounter[userpage][1] %\stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \dorecurse{10}{\expanded

[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
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

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

2012-10-09 Thread Arne Runge
][romannumerals][] \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter \startstandardmakeup[align=middle] {\tfd TITLE} \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \chapter{Knuth} \dorecurse{12}{\input

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

2012-10-02 Thread Wolfgang Schuster
[section] \stopsetups \setupheader[text][after=\hrule] \setuphead[chapter][page={header,right},header=empty] \setupfootertexts[][pagenumber] \defineconversionset[frontpart:pagenumber][romannumerals][] \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment

[NTG-context] About Chapter head definition and FunnyFrame

2012-09-02 Thread Jeong Dalyoung
제 #1 장} \blank[big] {\sans #2} }} \startsectionblockenvironment[bodypart] \setupheadertexts[][{\tfx COUNTING}] \setuppagenumber[number=1] \setuppagenumbering[alternative={singlesided,doublesided},location={footer,right}] \setuphead[chapter][command=\Myheader,before={\dontleavehmode\blank[2*big

Re: [NTG-context] Italic page number.

2012-08-07 Thread john Culleton
% of the block before the name of the conversion set separated by a ___:___. % %\defineconversionset[frontpart:pagenumber][][romannumerals] \startsectionblockenvironment[frontpart] \setuppagenumbering[numberconversion=romannumerals] \setcounter[userpage][3] \stopsectionblockenvironment

Re: [NTG-context] Italic page number.

2012-08-07 Thread Wolfgang Schuster
a conversion for a certain sectionblock when you write the name % of the block before the name of the conversion set separated by a ___:___. % %\defineconversionset[frontpart:pagenumber][][romannumerals] \startsectionblockenvironment[frontpart] \setuppagenumbering[numberconversion=romannumerals

Re: [NTG-context] Italic page number.

2012-08-05 Thread Wolfgang Schuster
[frontpart:pagenumber][][romannumerals] \startsectionblockenvironment[frontpart] \setuppagenumbering[numberconversion=romannumerals] \setcounter[userpage][3] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter

Re: [NTG-context] Italic page number.

2012-08-05 Thread Wolfgang Schuster
separated by a “:”. % %\defineconversionset[frontpart:pagenumber][][romannumerals] \startsectionblockenvironment[frontpart] \setuppagenumbering[numberconversion=romannumerals] This has to be (wrong command for the conversion and missing style for the numbers): \setuppagenumbering [style

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
this up long time ago: What time did you update? I fixed a side effect of some counter code renaming efforts. Hans \startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering

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

2012-03-30 Thread Wolfgang Schuster
did set this up long time ago: \startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheader[style={\switchtobodyfont[ss,10pt]}] or use \definefont[HeaderFont][Sans at 10pt] in combination with \setupheader[style=HeaderFont

  1   2   >