[NTG-context] Re: Why does \setvalue not work inside \startbodymatter?

2025-05-19 Thread Wolfgang Schuster
Am 18.05.2025 um 17:57 schrieb Joel via ntg-context: I have a document setup with: \starttext \startfrontmatter (contains all front matter content) \stopfrontmatter \startbodymatter \stopbodymatter \startbackmatter \stopbackmatter \stoptext I was noticing very strange behavior where

[NTG-context] Re: Why does \setvalue not work inside \startbodymatter?

2025-05-18 Thread Hans Hagen via ntg-context
On 5/18/2025 5:57 PM, Joel via ntg-context wrote: I have a document setup with: \starttext \startfrontmatter (contains all front matter content) \stopfrontmatter \startbodymatter \stopbodymatter \startbackmatter \stopbackmatter \stoptext I was noticing very strange behavior where \setvalue

[NTG-context] Why does \setvalue not work inside \startbodymatter?

2025-05-18 Thread Joel via ntg-context
I have a document setup with: \starttext\startfrontmatter(contains all front matter content)\stopfrontmatter \startbodymatter \stopbodymatter \startbackmatter \stopbackmatter\stoptext I was noticing very strange behavior where \setvalue was not showing up as \getvalue. I put it in lots of pllaces

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
stopstandardmakeup % \startfrontmatter Here is working %\input{.\\TEX\\Chapter_0.tex} \stopfrontmatter \completecontent % - \startbodymatter Here is working %\input{.\\TEX\\Chapter_1.tex} %\input{.\\TEX\\Chapter_2.tex} %\input{.\\TEX\\Chapter_3.tex} %\input

[NTG-context] help with \writetolist alignment

2025-03-05 Thread jbf
I need a little help to get alignment of a \writebetweenlist correct. I currently have the following in the frontmatter (after the \placecombinedlist etc.) \startfrontmatter ... \starttitle[title={Introduction}] Blah blah blah \stoptitle \writebetweenlist[title]{Essays

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Wolfgang Schuster
umber \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \dorecurse{4} {\chapter{Chapter #1} \dorecurse{\numexpr#1*2\relax}{\samplefile{lorem}}} \stopfrontmatter \startbodymatter \dorecurse{4} {\chapter{Chapter #1} \dorecurse{\numexpr#1*2\relax}{\samplefile{

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

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
7;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 [title=front1]

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

2024-02-13 Thread Oliver Marugg
t;> \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
ges in roman 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] \

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

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

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
al content 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

[NTG-context] Re: unwanted blank page

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

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

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

2023-08-15 Thread Xavier B.
btxdataset[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 \start

[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
nk 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
e 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-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] \plac

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

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

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
wbodyfont % \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.] \noheaderandfo

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

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
inimal 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 actual

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. Do y

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
he 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
\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
ttext \startfrontmatter \rubbish \stopfrontmatter \startbodymatter \rubbish \stopbodymatter \startappendices \rubbish \stopappendices \startbackmatter \rubbish \stopbackmatter \stoptext I hope it helps,

Re: [NTG-context] repeat layer recto pages

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

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

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 \comp

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

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

2021-07-18 Thread Wolfgang Schuster
title page 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 \st

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

2021-02-24 Thread Christoph Hintermüller
\setupcaption[lefthangingfigure][width=\textwidth,align=figure] 60 \setupheadtext[content=Inhalt] 61 %\traceexternalfilters 62 \enabletrackers[export.*] 63 64 \starttext 65 \startstandardmakeup 66 \title{Programmiertechnik 2} 67 \subsubject{Dr. Chri

[NTG-context] LMTX problem with XML

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

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

2020-09-09 Thread jbf
nversion=empty] \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 \stopfrontmatt

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

2020-09-09 Thread jbf
rd]   [frontpartlabel=forword,    conversion=empty] \setupsectionblock   [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [a

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

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

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
lamma   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\start

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

2020-09-03 Thread jbf
efine\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

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
>> [frontpart,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 > di

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
ocument 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
ealignedbox{1cm}{flushleft}{#1}}} \setuplist [chapter] [distance=0cm, width=0cm, margin=1cm, numbercommand=\ChapterListNumbercommand] \starttext \startfrontmatter \completecontent \chapter{Preface} \stopfrontmatter \startbodymatter \chapter{Introduction} \chapter{Workflow}

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={A

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

2020-08-11 Thread Wolfgang Schuster
Or can both things be taken care of together 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-environme

[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
page numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \starttext \startfrontmatter \startmakeup[titlepage] Title \stopmakeup test \stopfrontm

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
rking[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] \startsubse

[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
uff before 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-cont

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 \setuppagen

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 >

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 to the

  1   2   3   4   5   6   >