[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
l you want. \setuplabeltext [en] [chapter=Chapter , appendix=Appendix , hraban=Hraban ] %\setuplist[chapter][label=hraban,width=3cm] \setuplist[chapter][label=yes,width=3cm] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{First chapter} \chapter{Seco

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
nge at level 3 around 'back1' and they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter     \startchapter [

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
d they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter     \startchapter [title=front1]   \samplefil

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
TEXT >> \startbackmatter >> \startchapter[title=Literature] >> \placelistofpublications >> \stopchapter >> \stopbackmatter >> \stoptext > > Besides enabling numbering for the backpart you can use the appendix block > which has numbering by default. >

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
\startbackmatter \startchapter[title=Literature] \placelistofpublications \stopchapter \stopbackmatter \stoptext Besides enabling numbering for the backpart you can use the appendix block which has numbering by default. %\defineconversionset[appendix:default][n] \starttext \startfrontmatter

[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: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
ntent than a file name. BTW, if its contents cannot be in more than a single page, the approach suggested above might be easier. > \startfrontmatter[] Empty brackets are not required here. > \start > \setuplayout[re > \setupinterlinespace[.8ex] I would say that

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
] \setuppagenumbering[location=] \input{03_portadaEval.tex}%this is my title page \stopsectionblock \startfrontmatter[] \start \setuplayout[reset] \setupinterlinespace[.8ex] \completecontent \stop \stopfrontmatter \startbodymatter[] \input

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

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

[NTG-context] Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
] \setuppagenumbering [location=] \startdocument \setupfooter[state=stop] \startfrontmatter frontpage \stopfrontmatter \setupfooter[state=start] \startbodymatter \dorecurse{10}{\samplefile{lorem}} \stopbodymatter \stopdocument

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

2023-09-04 Thread Wolfgang Schuster
Jeroen schrieb am 04.09.2023 um 14:10: I have a document with the first page in startfrontmatter and all other pages in  startbodymatter. The layout setting is as following [...] What would be the easiest way to change the layout only for the first page since it has no footer. For the first

[NTG-context] Different Layout for First Page

2023-09-04 Thread Jeroen
I have a document with the first page in startfrontmatter and all other pages in startbodymatter. The layout setting is as following \setuplayout [backspace=20mm, width=175mm, topspace=15mm, header=0mm, footer=2mm, height=275mm, bottomheight=1mm, footerdistance=10mm

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Mikael Sundqvist
initions[aps] > > % el text > > \starttext > > \startfrontmatter > \input ng-pre-portada.conTeXt > \input ng-pre-llicencia.conTeXt > \input ng-pre-informacio-document.conTeXt > \completecontent > \stopfrontmatter > > > \startbodymatter > > \startpart[

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
[default][ng-bibliografia.bib] \setupbtx[dataset=default] \usebtxdefinitions[aps] % el text \starttext \startfrontmatter \input ng-pre-portada.conTeXt \input ng-pre-llicencia.conTeXt \input ng-pre-informacio-document.conTeXt \completecontent \stopfrontmatter \startbodymatter \startpart[title

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
] back \stopmakeup \startfrontmatter ... \stopfrontmatter ... \stopdocument inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. Not including the two \startpagefigure lines eliminates the blank page

[NTG-context] Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
Hello, Trying to use: \startdocument \startpagefigure[Coverpages.pdf][page=1]\stoppagefigure \startpagefigure[Coverpages.pdf][page=2]\stoppagefigure % before \startmakeup [titlepage] front \stopmakeup \startmakeup [titlepage] back \stopmakeup \startfrontmatter ... \stopfrontmatter

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Wolfgang Schuster via ntg-context
Thank you for this hint. It works (almost) as expected: Strangely, I had to add, explicitly, \startfrontmatter \component FrontMatterStuff \page[yes,header,footer,right] \stopfrontmatter \startbodymatter ... \stopbodymatter In order to get the frontmatter end with a totally blank page befor

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Alan Braslau via ntg-context
s expected: Strangely, I had to add, explicitly, \startfrontmatter \component FrontMatterStuff \page[yes,header,footer,right] \stopfrontmatter \startbodymatter ... \stopbodymatter In order to get the frontmatter end with a totally blank page before a right Chapter 1 header. Using just the

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
pear. On the other >> > hand, the 12 chapters are present. >> >> \startproduct[terminale-manual] >> >> \startfrontmatter >> \starttitle[title=Table des matières] >> \placelist >> [cha

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. \startproduct[terminale-manual] \startfrontmatter \starttitle[title=Table des matières] \placelist

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. Thanks Fabrice \startproduct[terminale-manual] \project[terminale-environment] \startfrontmatter \setuppagenumbering [location=] \definefont [ChapterTextStyle

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

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
font % \showbodyfontenvironment \useexternaldocument[m001][master001][Whispering of Inscriptions, Vol.~{\sc ii}] \startfrontmatter \component tlpg000 { \setupheadtext[content=Contents of Vol.~i.] \setupheadertexts[Contents of Vol.~i.][pagenumber][pagenumber][Contents of Vol.~i.] \noheaderandfooterl

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

2022-06-17 Thread Pablo Rodriguez via ntg-context
\starttext \completecontent \startfrontmatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopfrontmatter \startbodymatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopbodymatter \startbackmatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopbackmatter \stoptex

Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
On Sun, 12 Jun 2022, Joel via ntg-context wrote: > I need to display a table of contents, but only displaying chapters. > > Here is my minimum working example: You need to add "criterium=all" to both placelist and completecontent. See below: > \starttext &

[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext     \startfrontmatter         \startchapter[title={Contents}]             \placelist[chapter]         \stopchapter         \completecontent     \stopfrontmatter     \startbodymatter

Re: [NTG-context] fatal error in LMTX

2022-04-13 Thread Pablo Rodriguez via ntg-context
closed. > > $ mtxrun --script check filename.tex > is something I learned from this list. Many thanks for your reply, Bruce. I knew this too, but this doesn’t fit my working conditions. I’m afraid that it doesn’t work with sources with \input commands. Contents of 'c.tex': \st

Re: [NTG-context] fatal error in LMTX

2022-04-12 Thread Denis Maier via ntg-context
t; > Best regards: Otared > > > On 12 Apr 2022, at 19:14, Pablo Rodriguez via ntg-context cont...@ntg.nl> wrote: > > > > Hi Hans, > > > > I have a minimal sample that triggers a fatal error in ConTeXt LMTX > > (current latest from 2022.04.1

Re: [NTG-context] fatal error in LMTX

2022-04-12 Thread Otared Kavian via ntg-context
e a minimal sample that triggers a fatal error in ConTeXt LMTX > (current latest from 2022.04.11 19:27): > > \starttext > \startfrontmatter > \input zapf > \stoptext > > This gives the following error message: > > mkiv lua stats > runtime: 0.386 seconds, 1 proces

[NTG-context] fatal error in LMTX

2022-04-12 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have a minimal sample that triggers a fatal error in ConTeXt LMTX (current latest from 2022.04.11 19:27): \starttext \startfrontmatter \input zapf \stoptext This gives the following error message: mkiv lua stats > runtime: 0.386 seconds, 1 processed pages, 1 ship

Re: [NTG-context] Chapter number retrieval

2022-03-23 Thread Willi Egger via ntg-context
text > wrote: > Hello Adam! > > Many thanks for your solution. — It works very well in your example and also > in an extended version with \startfrontmatter..\stopfrontmatter > \startbodymatter…\stopbodymatter. — Unfortunately It does not work to my wish > in the actu

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Adam Reviczky via ntg-context
ello Adam! > > Many thanks for your solution. — It works very well in your example and > also in an extended version with \startfrontmatter..\stopfrontmatter > \startbodymatter…\stopbodymatter. — Unfortunately It does not work to my > wish in the actual setup of my book. — I a

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
Hello Adam! Many thanks for your solution. — It works very well in your example and also in an extended version with \startfrontmatter..\stopfrontmatter \startbodymatter…\stopbodymatter. — Unfortunately It does not work to my wish in the actual setup of my book. — I am using now the solution

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

2022-03-21 Thread Willi Egger via ntg-context
li Egger via ntg-context schrieb am 20.03.2022 um 17:05: >> Hoi Wolfgang, >> >> I tested both variants (bodymatter and bodypart. The compilation runs >> through, however without the thumb-picture in the margin and the metafun >> error is in the log. > > 1. D

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 17:05: Hoi Wolfgang, I tested both variants (bodymatter and bodypart. The compilation runs through, however without the thumb-picture in the margin and the metafun error is in the log. 1. Do you use \startfrontmatter and \startbodymatter

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

2022-03-20 Thread Willi Egger via ntg-context
comments. — Tthe problem is, that this >> thumb-picture should only be placed in the \startboydmatter..\stopbodymatter >> sections. In the case of this book however there are the title pages and >> quite some text including the TOC in the >> \startfrontmatter..\stopfrontmatter. SO I e

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

2022-03-20 Thread Willi Egger via ntg-context
li, > > How about invoking the command \setups{Thumb-pictures} between a \start \stop > pair as in the following: > > \showframe > > \starttext > > \startfrontmatter > \startchapter[title=Test A] > \samplefile{knuth} > \stopchapter > > \stopfr

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

2022-03-20 Thread Wolfgang Schuster via ntg-context
pages and quite some text including the TOC in the \startfrontmatter..\stopfrontmatter. SO I end up with being forced to invoke the setups at the beginning of the bodymatter. Use sectionblockenvironment to set value which are only applied in the frontmatter, bodymatter etc. begin example

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

2022-03-19 Thread Otared Kavian via ntg-context
Hi Willi, How about invoking the command \setups{Thumb-pictures} between a \start \stop pair as in the following: \showframe \starttext \startfrontmatter \startchapter[title=Test A] \samplefile{knuth} \stopchapter \stopfrontmatter %\page[yes] \start \setups{Thumb-pictures

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

2022-03-19 Thread Willi Egger via ntg-context
in the \startfrontmatter..\stopfrontmatter. SO I end up with being forced to invoke the setups at the beginning of the bodymatter. Thanks! Kind regards Willi > On 19 Mar 2022, at 16:52, Otared Kavian via ntg-context > wrote: > > Hi Willi, > > Your test file works fine if I place > \

Re: [NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Wolfgang Schuster via ntg-context
\startfrontmatter. How can I identify what types of preamble information would be causing an entire blank page to render before the document even begins? This minimum working example won't show me the error, but it does show I simply have \starttext followed by my title and nothing is between

[NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Joel via ntg-context
I created a book that strangely renders with an entirely blank page. There are tons and tons of macros, in dozens of files defined before the document starts, but the document itself starts quite simply with a title page set inside \startfrontmatter. How can I identify what types of preamble

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
get repeated (not what I expected). Here is a M(not)WD: ###begin \setupinteraction[state=start] \placebookmarks[chapter, section][chapter, section] \setupinteractionscreen[option=bookmark] \starttext \startfrontmatter \title{Contents} \placelist[chapter] \stopfrontmatter

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread jbf via ntg-context
\startfrontmatter \rubbish \stopfrontmatter \startbodymatter \rubbish \stopbodymatter \startappendices \rubbish \stopappendices \startbackmatter \rubbish \stopbackmatter \stoptext I hope it helps, Pablo

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
nment \def\rubbish% {\dorecurse{2} {\chapter{Chapter} \dorecurse{25}{\input knuth}}} \starttext \startfrontmatter \rubbish \stopfrontmatter \startbodymatter \rubbish \stopbodymatter \startappendices \rubbish \stopappendices \startbackmatter \rubbi

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
] \setupcombinedlist [content] [list={part,parttext,chapter,chaptertext}] \starttext \startfrontmatter \completecontent \SectionPrequote{If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote and Joseph Yoder}} \startchapter[title={One}] \dorecurse{7}{\input tufte \par \input

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
On 10/16/2021 7:34 PM, Fabrice Couvreur via ntg-context wrote: Hi, The latest version of lmtx does not allow me to compile the following file although there was no problem before. Thank you Fabrice \startproduct[expertes-manual]   \startfrontmatter     \setuppagenumbering

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
Hi, The latest version of lmtx does not allow me to compile the following file although there was no problem before. Thank you Fabrice \startproduct[expertes-manual] \startfrontmatter \setuppagenumbering [location=] \definefont [ChapterTextStyle] [SansBold*default

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

[NTG-context] TOC labeltext and no partlabel

2021-08-24 Thread Adam Reviczky via ntg-context
\startfrontmatter \completecontent[label=section] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext But that does not show the labels in the TOC (trying it with LMTX and MKIV). I must be doing something wrong. Any hints

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
Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin product \startproduct[terminale-manual] \project[terminale-environment] \startdocument \startfrontmatter ... \stopfrontmatter \startbodymatter \component

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
because you can use the *component mode to check whether the parent file is a product or a component. begin product \startproduct [*] \environment [...] \startfrontmatter ... \stopfrontmatter \startbodymatter \component [...] \stopbodymatter \stopproduct end product begin

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

2021-08-12 Thread Pablo Rodriguez via ntg-context
ctionblockenvironment[backpart] \setupbodyfont[termes] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupbodyfont[helvetica] \stopsectionblockenvironment \starttext \startfrontmatter \input knuth\par \stopfrontmatter \startbodymatter

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

2021-08-12 Thread Joey McCollum via ntg-context
[pagella, 12pt] \stopmode \startmode[*backpart] \setupbodyfont[termes, 12pt] \stopmode \starttext \startfrontmatter \input knuth\par \stopfrontmatter \startbodymatter \input knuth\par \stopbodymatter \startbackmatter \input knuth\par \stopbackmatter \stoptext ``` Is there something obvious

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-18 Thread Wolfgang Schuster
for your document. begin document.tex \startproduct [*] \environment [document-environment] \startdocument % \startfrontmatter % % load components with table of contents, introduction etc. % % \stopfrontmatter \startbodymatter \component [document-xxx] \stopbodymatter \stopdocument

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
\startstandardmakeup 66 \title{Programmiertechnik 2} 67 \subsubject{Dr. Christoph Hintermüller} 68 >> \stopstandardmakeup 69 \startfrontmatter 70 \completecontent 71 %\placecombinedlist[content] 72 \stopfrontmatter 73 \startbodymatter 74 75

[NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
{#1} \stopxmlsetups \startxmlsetups xml:body \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:frontmatter \startfrontmatter \xmlflush{#1} \stopfrontmatter \stopxmlsetups \startxmlsetups xml:bodymatter \startbodymatter \xmlflush{#1} \stopbodymatter \stopxmlset

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
  [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
] \setupsectionblock   [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter [title=Chapter 1] [author={A. u. thor}] \stopchapter \stopbodymatter \stoptext Wolfgang

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

2020-09-06 Thread Jan Willem Flamma
le={Title},%    subtitleone={Subtitle 1},%    subtitletwo={Subtitle 2},%  revnumber={Revision number}] \setupdocument   [ manual={Course Manual},  title={Title},    subtitleone={Subtitle 1},    subtitletwo={Subtitle 2},  revnumber={Revision number}] \startfrontmatter    \component fm-frontpage

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

2020-09-04 Thread Wolfgang Schuster
}] \setupdocument [ manual={Course Manual}, title={Title}, subtitleone={Subtitle 1}, subtitletwo={Subtitle 2}, revnumber={Revision number}] \startfrontmatter \component fm-frontpage \component fm-titlepage \component fm-tableofcontents \stopfrontmatter \startbodymatter

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

2020-09-04 Thread Jan Willem Flamma
Flamma   The main product file==\environment env-WA \startproduct currentproduct % Document definitions\define\MyManual{Course Manual}\define\MyTitle{Title}\define\MySubtitleOne{Subtitle 1}\define\MySubtitleTwo{Subtitle 2}\define\MyRevnumber{Revision number} % Load frontmatter files\startfront

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

2020-09-03 Thread jbf
\MySubtitleTwo{Subtitle 2} \define\MyRevnumber{Revision number} % Load frontmatter files \startfrontmatter \component fm-frontpage \component fm-titlepage \component fm-tableofcontents \stopfrontmatter % Load bodymatter file \startbodymatter \setupbackgrounds [leftpage] [setups=pagenumber:left

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

2020-09-03 Thread Jan Willem Flamma
\MyManual{Course Manual}\define\MyTitle{Title}\define\MySubtitleOne{Subtitle 1}\define\MySubtitleTwo{Subtitle 2}\define\MyRevnumber{Revision number} % Load frontmatter files\startfrontmatter    \component fm-frontpage    \component fm-titlepage    \component fm-tableofcontents\stopfrontmatter % Load

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

2020-08-20 Thread Mike Cooper
> >> [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

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

2020-08-13 Thread Wolfgang Schuster
][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \chapter{Preface} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \stopbodymatter \stoptext I have

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

2020-08-13 Thread Nicola
n my document I actually have a chapter, and chapters start on the right page, even if I add page=no to \setuppagenumbering: \setuppagenumbering[alternative=doublesided,page=no] \definemakeup[ToC][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \star

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

2020-08-13 Thread Nicola
agenumbering[alternative=doublesided] \definemakeup[ToC][align=middle,pagestate=start] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \input{knuth} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \st

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

2020-08-11 Thread Wolfgang Schuster
}{flushleft}{#1}}} \setuplist [chapter] [distance=0cm, width=0cm, margin=1cm, numbercommand=\ChapterListNumbercommand] \starttext \startfrontmatter \completecontent \chapter{Preface} \stopfrontmatter \startbodymatter \chapter{Introduction} \chapter{Workflow} \chapter{Input

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

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

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

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

2020-08-11 Thread Wolfgang Schuster
ether somehow? Both a different setups for different purposes. In my setup I tell ConTeXt not to force a page break when it encounters \startfrontmatter or \stopfrontmatter because I insert the break with \chapter. With the sectionblockenvironment-environment you can set a list of settings which

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

2020-08-11 Thread Nicola
] \definestructureconversionset[bodypart:pagenumber] [][numbers] \starttext \startfrontmatter \page[even] \startalignment[bottom,flushright] Copyright © 2020 Author \stopalignment \start \setuphead[chapter][after={}] \completecontent \stop \page[odd] \startchapter[title={Preface}]\input{knuth}\stopchapter

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \starttext \startfrontmatter \startmakeup[titlepage] Title \stopmakeup test \stopfrontmatter

Re: [NTG-context] Compile only one new component in a project

2020-05-07 Thread Fabrice Couvreur
> Fabrice > > > > \startproduct Seconde > > > > \environment modules > > \environment specialite-style > > \environment specialite-macros > > > > \startfrontmatter > > \component specialite-titlepage > > \component s

Re: [NTG-context] Compile only one new component in a project

2020-05-07 Thread Aditya Mahajan
\environment specialite-macros \startfrontmatter \component specialite-titlepage \component specialite-contents \stopfrontmatter \startbodymatter \component chapter-1-seconde \component chapter-2-seconde \component chapter-3-seconde \component chapter-4-seconde

[NTG-context] Compile only one new component in a project

2020-05-07 Thread Fabrice Couvreur
\startfrontmatter \component specialite-titlepage \component specialite-contents \stopfrontmatter \startbodymatter \component chapter-1-seconde \component chapter-2-seconde \component chapter-3-seconde \component chapter-4-seconde \stopbodymatter \stopproduct

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
ddsym[t][t][unit={\sunit{second}}, description={Time}, group={latin}] } % Print the List of Symbols with \placelistofsymbols \def\placelistofsymbols{\loadsymbols\ctxlua{userdata.placelistofsymbols()}} \starttext \startfrontmatter \startsubject[title=Content] \placecontent \stopsubject \starts

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

2019-10-06 Thread Wolfgang Schuster
[section] \hfill \llap{\userpagenumber} \stopsetups \startsetups[text left] \rlap{\userpagenumber} \hfill \sc \getmarking[chapter] \hfill \llap{} \stopsetups \startfrontmatter Hello \completecontent \stopfrontmatter \startbodymatter \startchapter[title=yay] \startsection[title=wow] \startsubsection

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
[section] \hfill \llap{\userpagenumber} \stopsetups \startsetups[text left] \rlap{\userpagenumber} \hfill \sc \getmarking[chapter] \hfill \llap{} \stopsetups \startfrontmatter Hello \completecontent \stopfrontmatter \startbodymatter \startchapter[title=yay] \startsection[title=wow] \startsubsection[title

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
pcombinedlist[content][level=1] \setupexternalfigures[directory={images}] \startdocument[ metadata:title={MkIV Context Notes}, metadata:subtitle={}, metadata:subject={MkIV Context}, affiliation=Context] \starttext \startfrontmatter \title{MkIV \CONTEXT\ Notes.} \startcolumns[n=2] \input zapf \st

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Wolfgang Schuster
Jeroen schrieb am 29.09.2019 um 20:36: This is the main file. Neither minimal nor complete and \stopdocument is also missing. \environment mkivcnotesenv \startdocument  [metadata:subject={MkIV Context},    affiliation=Context] \starttext \startfrontmatter \input{frontpage.tex} \stopfrontmatter

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
This is the main file. \environment mkivcnotesenv \startdocument [metadata:subject={MkIV Context}, affiliation=Context] \starttext \startfrontmatter \input{frontpage.tex} \stopfrontmatter \startbodymatter \section{Introduction} \dorecurse{10}{input knuth} \stopbodymatter \startappendices

Re: [NTG-context] Page number woes

2019-09-05 Thread Mari Voipio
that, > > including a table of contents. This has worked fine: > > > > \startproduct prd-pr23 > > > > \startfrontmatter > > \setuppagenumber[stop] > > \component pr23-cover_front_web > > \component blank.tex > > \component c-contents >

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
[preference]}] \setuplist[section][width=10mm, style=,textstyle=\ss,after={\blank[preference]}] \setuplist[subsection][style=,textstyle={\ss}] % \startfrontmatter \title{Contents} \placelist[chapter,title] \stopfrontmatter \startbodymatter \title{First} \page

Re: [NTG-context] chapter number

2018-11-06 Thread Andrea Valle
s." (Jeffrey 'The Dude' Lebowski) > On 7 Nov 2018, at 00:03, Tomas Hala wrote: > > Hi Andrea, > > try this: > > %%%% > \starttext > > \startfrontmatter > \placecontent > \page > \chapter{Foreword} > \stopfrontmatter > > \star

Re: [NTG-context] chapter number

2018-11-06 Thread Tomas Hala
Hi Andrea, try this: \starttext \startfrontmatter \placecontent \page \chapter{Foreword} \stopfrontmatter \startbodymatter \chapter{Introduction} \stopbodymatter \startbackmatter \chapter{Something at the end} \stopbackmatter \stoptext Best wishes, Tomáš

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
] \setuphead[chapter][style=\em] \stopsectionblockenvironment \starttext \startfrontmatter \chapter{Introduction} \stopfrontmatter \startbodymatter \chapter{Chapter} \stopbodymatter \stoptext But wasn’t there a command similar to the following one

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

2018-10-23 Thread Rik
[chapter][style=\em] \stopsectionblockenvironment \starttext \startfrontmatter \chapter{Introduction} \stopfrontmatter \startbodymatter \chapter{Chapter} \stopbodymatter \stoptext But wasn’t there a command similar to the following one for such purposes

[NTG-context] \setuphead for a section block

2018-10-23 Thread Pablo Rodriguez
] \stopsectionblockenvironment \starttext \startfrontmatter \chapter{Introduction} \stopfrontmatter \startbodymatter \chapter{Chapter} \stopbodymatter \stoptext But wasn’t there a command similar to the following one for such purposes? \setuphead[bodypart:chapter][style=\em] I remember

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
}] \setuplist[section][width=10mm, style=,textcommand={\ss }] \showframe \startfrontmatter \completecontent \page[empty] \stopfrontmatter \startbodymatter \dorecurse{9} {\chapter{Ch \recurselevel} \dorecurse{8} {\section{Section \recurselevel}} } \stopbodymatter

[NTG-context] Confusing level change message, why?

2018-06-15 Thread Rik Kabel
\setupsectionblock[backpart] [page=] \setupsectionblock[appendix] [page=] \definepagebreak[firstpagebreak][yes,header,footer,right] \setuphead[chapter][page=firstpagebreak] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \chapter{front} \stopfrontmatter

Re: [NTG-context] Questions about \starttext

2018-04-02 Thread John Culleton
A reasonable approach to a Context file includes preliminary information before the first printed page. My basic master file looks like this : \input variables.tex\relax \input layout.tex\relax \input macros.tex\relax \input fonts.tex\relax \starttext\relax %\showlayout \startfrontmatter

  1   2   3   4   5   6   >