Apologies for the double email.
In the code I sent, the space between ‘number’ and ‘conversion’ should be
deleted:
\startchapter[title={\sc Introduction}]
\setuppagenumber
[state=start,
number=1,
numberconversion=Romannumerals,
alternative=doublesided,
location={header, textedge}]
\setupnotation[footnote][numberconversion=romannumerals]
Le mar. 18 nov. 2025 à 13:56, Florent Michel <[email protected]> a
écrit :
> Hi,
>
> If I understand correctly, it seems that replacing
>
> \setuppagenumber [state=start,
> number=1,
> conversion=Romannumerals,
> alternative=doublesided,
> location={header, textedge}]
>
>
> \setupnotation[footnote][numberconversion=romannumerals]
>
>
> \startchapter[title={\sc Introduction}]
>
>
> with
>
> \startchapter[title={\sc Introduction}]
>
> \setuppagenumber [state=start,
> number=1,
> number conversion=Romannumerals,
> alternative=doublesided,
> location={header, textedge}]
>
>
> \setupnotation[footnote][numberconversion=romannumerals]
>
> gives the correct pagination?
>
> Best,
> Florent
>
> Le mar. 18 nov. 2025 à 13:38, Jean-Pierre Delange via ntg-context <
> [email protected]> a écrit :
>
>> Dear List,
>>
>> A Cloudflare server outage is preventing access to the ConTeXt mailing
>> list archives (from France). I have an MWE that aims to build a document
>> that includes front matter, body matter, and back matter. I would like
>> the front matter to be paginated in Roman numerals (as well as any
>> notes); then, I would like the following sections/chapters to be
>> paginated in Arabic numerals. For now, I am unable to achieve this goal...
>>
>> % file: MWE-Cicero_V03.tex
>>
>> \setuplanguage[fr][patterns={fr,agr}]
>> \mainlanguage[fr]
>> \setcharacterspacing[frenchpunctuation]
>>
>> \setuplayout[backspace=30mm]
>>
>> % Pagination : recto/verso, numéros en en-tête au bord extérieur
>> \setuppagenumbering
>> [alternative=doublesided,
>> location={header, textedge}]
>>
>> \setupmargindata[inmargin][location=inner,
>> style={\ssx\setupinterlinespace[line=2.8ex]}]
>> \setupmarginframed[inmargin][align=right]
>>
>> \setupbodyfontenvironment[default][em=italic]
>>
>> % Polices : Pagella + Didot grec
>> \definefallbackfamily[mainface][rm][GFS Didot]
>> [range={greekandcoptic,greekextended}, force=yes, rscale=auto]
>> \definefontfamily[mainface][rm][TeX Gyre Pagella]
>>
>> \setupbodyfont[mainface,11pt]
>>
>> \setupcolors[state=start]
>> \setupindenting[1.5em,yes]
>>
>> % Par défaut : notes en chiffres arabes (on changera pour l'intro)
>> %\setupfootnotes[conversion=numbers, reset=chapter, start=1]
>>
>> \setupwhitespace[medium]
>> \setupinterlinespace[line=3.2ex]
>>
>> \setupitemize[each][margin=yes]
>>
>> \setuphead[title][header=empty]
>>
>> \setupheader[style={\sc}]
>> \setupfooter[style={\itxx}]
>> \setupheadertexts
>> [ Cours sur Cicéron, 1959][]%
>> [][][\getmarking[section]]
>> \setupfootertexts
>> [][][][© — Mise en page MWE]
>>
>> \setupsymbolset[text]
>>
>> % Pas de numéro automatique « 1 Session 1 » etc.
>> \setuphead[chapter][number=no]
>>
>> % ==================================================================
>> % Bibliography (btx) – structure only, don't forget the .bib file !
>> % ==================================================================
>>
>> \usebtxdataset[philosophie ancienne][bibliographie-philosophie.bib]
>> \usebtxdataset[philosophie moderne][bibliographie-philosophie.bib]
>> \usebtxdataset[leo strauss][bibliographie-philosophie.bib]
>> \usebtxdataset[histoire][bibliographie-philosophie.bib]
>>
>> \usebtxdefinitions[apa]
>>
>> \definebtxrendering[philosophie ancienne][apa][dataset=philosophie
>> ancienne]
>> \definebtxrendering[philosophie moderne][apa][dataset=philosophie moderne]
>> \definebtxrendering[Leo Strauss][apa][dataset=leo strauss]
>> \definebtxrendering[Histoire][apa][dataset=histoire]
>>
>> \setupbtxrendering[continue=yes]
>>
>> % ==================================================================
>> % Index
>> % ==================================================================
>>
>> % On utilisera \index{mot} dans le corps du texte, puis \completeindex
>> \setupregister[index][n=1] % index simple
>>
>> % ==================================================================
>> % DÉBUT DU DOCUMENT
>> % ==================================================================
>>
>> \starttext
>>
>> % ----------------------------------------------------------
>> % FRONTMATTER
>> % - Page de titre
>> % - Page blanche
>> % - Table des matières (non paginée)
>> % - Introduction (romains + notes romaines)
>> % ----------------------------------------------------------
>>
>> \startfrontmatter
>>
>> % On coupe la numérotation pour la page de titre, la page blanche et la
>> TdM
>> \setuppagenumber[state=stop]
>>
>> % Page de titre non paginée
>> \startstandardmakeup
>> % Premier tiers de la page
>> \vfill
>> \midaligned{\bfa \sc Cicero}
>> \midaligned{\bfa \sc Cours de Philosophie Politique : De Republica}
>>
>> % Deuxième partie de la page
>> \vfill
>> \blank[big]
>> \vfill
>> \midaligned{Cours du trimestre de printemps}
>> \midaligned{{\em Département des sciences politiques}, University of
>> Bologna}
>> \blank[big]
>> \midaligned{Édité et accompagné d'une introduction par James Nuts,}
>> \midaligned{avec l'aide de Stephen & Robert}
>>
>> % Dernier tiers de la page
>> \vfill
>> \startalignment[right]
>> \hskip 2cm
>> \vbox{
>> \copyright{} 2016 Your Estate\\
>> \copyright{} 2024 Dupond & Dupont {\em pour la traduction et les
>> notes éditoriales annexes}
>> }
>> \stopalignment
>> \stopstandardmakeup
>>
>> % 2) Une page blanche non paginée
>> \page[yes,empty]
>>
>> % 3) Table des matières non paginée
>> \starttitle[title={Table des matières}]
>> \completecontent[criterium=all]
>> \stoptitle
>>
>> % Introduction : on démarre la pagination en chiffres romains
>> % et on met les notes de bas de page en chiffres romains.
>> \setuppagenumber
>> [state=start,
>> number=1,
>> conversion=Romannumerals,
>> alternative=doublesided,
>> location={header, textedge}]
>>
>> \setupnotation[footnote][numberconversion=romannumerals]
>>
>> \startchapter[title={\sc Introduction}]
>>
>> \startsection[title={Contexte du cours}]
>> Ce paragraphe sert de texte d’exemple pour l’introduction.
>> La pagination de cette partie doit être en chiffres romains
>> dans l’en-tête (\quote{I}, \quote{II}, \quote{III}, etc.).
>>
>> Nous pouvons citer une référence pour tester la bibliographie,
>> par exemple Cicéron\footnote{Exemple de note de bas de page en
>> chiffres romains.}%
>> \index{Cicéron} ou Leo Strauss\index{Strauss, Leo}.
>> %
>> Une citation fictive : \cite[alternative=entry][leo
>> strauss::strauss_liberalism1990].
>> \par
>> \stopsection
>>
>> \startsection[title={Organisation du MWE}]
>> Cette introduction comporte des sections, comme dans ton fichier
>> réel.
>> Elle sera suivie par une série de chapitres intitulés
>> \quote{Session~1},
>> \quote{Session~2}, etc., paginés en chiffres arabes.
>> \par
>> \stopsection
>>
>> \stopchapter
>>
>> \stopfrontmatter
>>
>> % ----------------------------------------------------------
>> % BODYMATTER : SESSIONS en chiffres arabes
>> % ----------------------------------------------------------
>>
>> % On repasse les notes en chiffres arabes
>> \setupnotation[footnote][numberconversion=numbers]
>>
>> % On repart à 1, cette fois en chiffres arabes
>> \setuppagenumber
>> [number=1,
>> conversion=numbers,
>> alternative=doublesided,
>> location={header, textedge}]
>>
>> \startbodymatter
>>
>> \startchapter[title={\sc Session 1 : 1\high{er} avril 1959}]
>> \startsection[title={Ouverture du séminaire}]
>> Voici un texte de démonstration pour la première session.
>> La pagination est désormais en chiffres arabes (1, 2, 3, \dots).
>>
>> Nous pouvons ajouter quelques entrées d’index comme
>> \index{droit naturel}droit naturel,
>> \index{régime mixte}régime mixte
>> ou \index{Burke}Burke, afin d’alimenter l’index final.
>> \par
>> \stopsection
>>
>> \startsection[title={Remarques sur Cicéron}]
>> Contenu fictif de la section, pour illustrer la structure générale :
>> sections, index, citations bibliographiques, etc.\footnote{Note en
>> chiffres arabes.}
>> \par
>> \stopsection
>> \stopchapter
>>
>> \startchapter[title={\sc Session 2 : discussion}]
>> \startsection[title={Suite de la lecture}]
>> Deuxième chapitre d’exemple. Tu pourras ici coller la transcription
>> réelle des sessions de cours.
>>
>> Encore quelques entrées d’index :
>> \index{Scipion}\index{Polybe}\index{loi naturelle}.
>> \par
>> \stopsection
>> \stopchapter
>>
>> \stopbodymatter
>>
>> % ----------------------------------------------------------
>> % BACKMATTER : BIBLIOGRAPHIE & INDEX
>> % ----------------------------------------------------------
>>
>> \startbackmatter
>>
>> % Bibliographie comme chapitre distinct
>> \startchapter[title={Bibliographie}]
>> \startsection[title={Philosophie ancienne}]
>> \placelistofpublications[philosophie ancienne][method=local]
>> \stopsection
>>
>> \startsection[title={Philosophie moderne}]
>> \placelistofpublications[philosophie moderne][method=local]
>> \stopsection
>>
>> \startsection[title={Leo Strauss}]
>> \placelistofpublications[Leo Strauss][method=local]
>> \stopsection
>>
>> \startsection[title={Histoire}]
>> \placelistofpublications[Histoire][method=local]
>> \stopsection
>> \stopchapter
>>
>> % Index : on laisse \completeindex gérer son propre titre « Index »
>> % pour éviter le doublon et la page vide entre les deux.
>> \completeindex
>>
>> \stopbackmatter
>>
>> \stoptext
>>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : [email protected] /
>> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>> webpage : https://www.pragma-ade.nl / https://context.aanhet.net
>> (mirror)
>> archive : https://github.com/contextgarden/context
>> wiki : https://wiki.contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________