, but it's been the way to the solution.
Thank you again,
Massi
Il 12/01/24 12:02, Wolfgang Schuster ha scritto:
mf schrieb am 12.01.2024 um 10:18:
Hello list,
how do I convert the realpage number to a page number?
Suppose you have a document with a frontmatter of 20 pages in rom
the twenty-second is '2'.
How do I get 'XII' from 12 and '2' from 22?
\defineconversionset
[frontpart:pagenumber] [] [romannumerals]
\setuppagenumber
[way=byblock]
% Alternative method for "way=byblock" when you have an appendix where
% the pagenumber of the bodypart continues rather
%
%%%
\definesectionblock[portada][number=no]
\defineconversionset
[portada:pagenumber][][characters]
\defineconversionset
[frontpart:pagenumber][][romannumerals]
\defineconversionset
[bodypart:pagenumber][][numbers]
\defineconversionset
[appendixpart:pagenumber][][Characters
roman numerals prefixed sections, but starting from
Zero and not One (even if I know that roman numerals don't have a sign
for 0).
Is there a way to achieve this? My code looks like that at the moment:
###
\setuphead[section][conversion=Romannumerals]
\starttext
\setupheadnumber[section] [-1
a sign
for 0).
Is there a way to achieve this? My code looks like that at the moment:
###
\setuphead[section][conversion=Romannumerals]
\starttext
\setupheadnumber[section] [-1]
\startsection[title={Section zero}]\stopsection
\startsection[title={Section one}]\stopsection
\stoptext
###
Thank you
Hello,
I'd like to have roman numerals prefixed sections, but starting from
Zero and not One (even if I know that roman numerals don't have a sign
for 0).
Is there a way to achieve this? My code looks like that at the moment:
###
\setuphead[section][conversion=Romannumerals]
\starttext
,
frame=none,
width=broad,
height=fit,
align=middle]{#1.\\#2}}
\setuphead[section][
conversion=Romannumerals,
style={\bf\kerncharacters[0.075]\WORDS},
align=middle,
command=\MySection,
]
###
Thanks!
Le 15/02/23 à 19:11, Rik Kabel via ntg-context a écrit
=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Rik
=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Rik
,
align=middle
]{{#1.\\#2}}}
\setuphead[section][
strut=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
picture cg;
> cg := outlinetext.d
> ("\ssbfd \headnumber[chapter]")
> (withcolor transparent(1,0.5,blue));
> fill boundingcircle cg withcolor transparent(1, 0.5, lightgray);
> draw cg;
> \stopuseMPgra
)
(withcolor transparent(1,0.5,blue));
fill boundingcircle cg withcolor transparent(1, 0.5, lightgray);
draw cg;
\stopuseMPgraphic
Using \headnumber[..][..] any 'conversion' applied to the chapter number
(romannumerals, wor
contentbox\hss)}}
> % \protected\def\RightNumber{\hbox to
> \localboxesparameter{width}{\strut(\hss\box\localboxcontentbox)}}
>
> % using the provided line number:
>
> % \def\LineNumberL{\the\localboxlinenumber}
> % \def\LineNumberR{\the\localboxlinenumber}
>
> % using a
]
\definecounter[MyLineNumberR]
\setupcounter[MyLineNumberL][numberconversion=characters]
\setupcounter[MyLineNumberR][numberconversion=romannumerals]
\def\LineNumberL{\incrementcounter[MyLineNumberL]\convertedcounter[MyLineNumberL]}
\def\LineNumberR{\incrementcounter[MyLineNumberR]\convertedcounter
\stopalignment\stop}]
\define[1]\SectionPrequote{\startSectionLHSPage #1\stopSectionLHSPage}
%%%
%%% part is managed here
%%%
\defineconversionset [part] [Romannumerals] [numbers]
\setuplabeltext[en][partlabel=Part~]
\setuphead [part]
[sectionsegments=part,
bodypartlabel=partlabel
,2mm) withpen pensquare scaled 1.5mm ;
>draw (0,0)--(TextWidth,0) withpen pensquare scaled 1.0mm ;
>clip currentpicture to unitsquare yscaled 1cm xscaled TextWidth
> \stopMPcode
> \stopsetups
>
> \define[2]\placePartTitle{\midaligned{#2}}
> %% The above line is w
MPcode
\stopsetups
\define[2]\placePartTitle{\midaligned{#2}}
%% The above line is what I use. You want Roman numerals so maybe adapt it to:
%% \define[2]\placePartTitle{\midaligned{\convertnumber[Romannumerals][#1] #2}}
\definehead [Part] [part]
\setuphead[Part]
[ page=right,
placehe
to number with Roman numerals?
See below.
% Change the number conversion for section titles
\defineconversionset [section] [Romannumerals] [numbers]
\setuphead
[sectionconversionset=section]
% Show only the chapter value for chapter
\setuphead
[chapter]
[sectionsegments=chapter]
% Don't
the footer) to roman numbers?
Hi Sylvain,
copied from
https://wiki.contextgarden.net/Table_of_Contents#Page_numbering_in_ToC:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\setuplist[chapter][pagecon
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
footer and the pagenumber
is on the right.
I can switch between roman numerals and numbers with
```
\defineconversionset
[frontpart:pagenumber]
[]
[romannumerals]
\defineconversionset
[bodypart:pagenumber]
[]
[numbers]
```
but I can't figure out how to have two different footer
switch between roman numerals and numbers with
```
\defineconversionset
[frontpart:pagenumber]
[]
[romannumerals]
\defineconversionset
[bodypart:pagenumber]
[]
[numbers]
```
but I can't figure out how to have two different footer setups. Right now I
have
```
\setupfootertexts
[chapter
.MyTable {
action = function(value)
context(value == "X" and 1 or 0)
end,
conversion = "Greek",
pattern = {
".XXX..XX",
"X...XXX.",
"X..X.XXX",
"X.X.X..X&qu
ot;.X.X.XX.",
> ".XX.X...",
> "XXX.X...",
> "X.XX"
> }
> }
> \stopluacode
>
> \startluacode
> document.MyTable {
> action = function(value)
> context(value == &
end,
conversion = "Greek",
pattern = {
".XXX..XX",
"X...XXX.",
"X..X.XXX",
"X.X.X..X",
}
}
\stopluacode
\startluacode
document.MyTable {
action =
\setuplist[subject, section, subsection]
\setupcombinedlist[content][list={subject,section,subsection}, alternative=c]
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][5]
\page
\subject{Vorwort}
\page
\setupuserpagenumber[numberconversion=numbers]
\setcounter
it. However, I want to display it in one instance as a Roman numeral.
\Romannumerals{\in[label]} complains that it is not being fed a number.
How can I display the label number in Roman number format in this one
instance?
--
Rik
Okay, I have something that works. Perhaps not optimally
it in one instance as a Roman numeral.
*\**Romannumerals{\in[label]}* complains that it is not being fed a number.
How can I display the label number in Roman number format in this one
instance?
--
Rik
___
If your
ttp://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>?
\defineconversionset [bodypart:pagenumber] [] [Romannumerals]
\startsetups [footer]
\starttabulate[|l|c|c|]
\NC \bf Command \NC \bf Current page \NC \bf Last page
\NC\NR
\NC \tex{pagenumb
> Btw, do you know whether there is any difference between \lastpagenumber
> > and \lastuserpagenumber mentioned both by Wolfgang and by the excursion
> > book <http://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>?
>
> \defineconversionset [bodypart:pagenumber] [] [Rom
neconversionset [bodypart:pagenumber] [] [Romannumerals]
\startsetups [footer]
\starttabulate[|l|c|c|]
\NC \bf Command \NC \bf Current page \NC \bf Last page
\NC\NR
\NC \tex{pagenumber} \NC \pagenumber \NC \lastpagenumber
\NC\NR
\NC \tex{userpagenumber} \NC \user
end product begin environment\startenvironment env-WA \setuppagenumbering [alternative=doublesided, location=right] \defineconversionset [frontpart:pagenumber] [] [romannumerals] \setupexternalfigures [directory={External PDF}] \startsectionblockenvironment [frontpart] \setu
[alternative=doublesided,
location=right]
\defineconversionset
[frontpart:pagenumber] [] [romannumerals]
\setupexternalfigures
[directory={External PDF}]
\startsectionblockenvironment [frontpart]
\setupbackgrounds
[leftpage]
[setups=pagenumber:left]
\setupbackgrounds
esided, location=right] % Pagenumbering style\definestructureconversionset [frontpart:pagenumber][][romannumerals]\definestructureconversionset [bodypart:pagenumber] [][n
chapter on right (odd) page, pagenumber = bottom right
\setuppagenumbering
[alternative=doublesided,
location=right]
% Pagenumbering style
\definestructureconversionset
[frontpart:pagenumber][][romannumerals]
\definestructureconversionset
[bodypart:pagenumber] [][numbers
] % Pagenumbering style\definestructureconversionset [frontpart:pagenumber][][romannumerals]\definestructureconversionset [bodypart:pagenumber] [][numbers]\definestructureconversionset [appendix:pagenumber] [][numbers]= The fm-frontpage.tex file
not know why this is happening. My
setup 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
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
s
> > 6. Conversion
> > 7. Fundamental theorems on well-formed formulas and on the normal form
> > I tried to the following for the chapters:
> > \defineconversion[church][Chapter \Romannumerals.\quad]
> > \setuphead[chapter][conversion=church]
> > Whic
the normal form
I tried to the following for the chapters:
\defineconversion[church][Chapter \Romannumerals.\quad]
\setuphead[chapter][conversion=church]
Which appeared to generate the prefix correctly but it overlapped the
title.
\setuplabeltext
[en] [chapter=Chapter ]
\defineresetset
on
Chapter II. Lambda Conversion .
5. Primitive symbols and formulas
6. Conversion
7. Fundamental theorems on well-formed formulas and on the normal form
I tried to the following for the chapters:
\defineconversion[church][Chapter \Romannumerals.\quad]
\setuphead[chapter][conversion=chur
,
conversion=Romannumerals,
numbercommand=\groupedcommand{\blank[20mm]}{\blank[10mm]},
after={\blank[3cm]},
]
\setupheadtext[content=]
\setupheadertexts[]
\setupheadertexts[\setups{text a}][][][\setups{text b}]
\startsetups[text a]
\rlap{whatever}
\hfill
\getmarking[chapter]
\hfill
}
\stopsection%
}
\stopsetups
\starttext
\startsection[title=Ward]
\setuppagenumbering[conversion=romannumerals]
\input ward
\stopmysection
\startsection[title=Knuth
ld be passed automatically to a
\filterpages command.
A sample that generates something similar:
\setuppapersize[A8]
\setupinteraction[state=start]
\starttext
\dorecurse{5}{\part{\romannumerals{\recurselevel}}
\dorecurse{15}{\chapter{\recurselevel}
\comment
[title=whatever,
number i instead of ii. It seems to have something to do
> > with the use of makeup. I was using it to create a vertically centered
> > title page. Is there a better way of doing this which will give the
> > correct page numbers?
> >
> > Best,
> >
> > Jack
of doing this which will give the
correct page numbers?
Best,
Jack
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber][][numbers]
\definemakeup[titlepage][align=middle]
\definemakeup[titlepage][align=middle,pagestate=start
numbers?
Best,
Jack
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber][][numbers]
\definemakeup[titlepage][align=middle]
\starttext
\startfrontmatter
\startmakeup[titlepage]
Title
\stopmakeup
test
\stopfrontmatter
[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
[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
al lly = paperheight + topoffset - height
local urx = width - leftoffset
local ury = paperheight - topoffset
-- boxes can be cached
local function extrabox(WhatBox,offset,always)
if offset ~= 0 or always then
addtopageattributes(WhatBox, pdfarray
w statement works perfectly. But the second one throws out
errors and complains as follows:
.test.tex: ! Missing number, treated as zero
\number "
& "12" & "
\romannumerals #1->\clf_romannumerals \numexpr #1
,
incrementnumber=list]
\startproduct Danggok
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber][][numbers]
\definestructureconversionset[backpart:pagenumber][][numbers]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber
t; of the header?
Hi Huseyin,
this should work:
\setuppagenumbering[alternative=doublesided, location=]
\setupheadertexts[center]
%~ \setupheadertexts[\doifoddpageelse{odd}{even}]
\starttext
\dorecurse{10}{\Romannumerals{\recurselevel}\page}
\stoptext
Uncomment the commented line
ext \NUM{Numbered Text} }
\stopTEXpage
===
How can one make a conversion of the numerals output by the \newcount?
That is, how so we replace the default U+0030-U+0039 digits (0 1 2
3..) with some defined conversion (e.g., \romannumerals)?
Is there a ConTeXt way to setup new counts so that they
by the \newcount?
That is, how so we replace the default U+0030-U+0039 digits (0 1 2
3..) with some defined conversion (e.g., \romannumerals)?
Is there a ConTeXt way to setup new counts so that they can
automatically use the conversion mechanism?
\definecounter[idris]%[numberconversio
me defined conversion (e.g., \romannumerals)?
Is there a ConTeXt way to setup new counts so that they can automatically
use the conversion mechanism?
See attached. Thanks in advance for your wisdom!
Best wishes
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State Unive
l]
\startstandardmakeup
\midaligned{\CruxFramed{\ssd OpenStack}}
\vfil
\stopstandardmakeup
\stopBG
\startfrontmatter
\setuplayout[reset]
\setuppagenumbering[conversion=romannumerals]
\setuppagenumber[number=1]
\completecontent
%\completelistoffigures
%\completelistof
wing in the colums
>
> Sorry, but overflowing is normal here, the formula has too many data to
> fit in that column width.
>
> I would discourage the use of columns to create the booklet.
>
> My advice would be to compose the standard text and then impose the pages:
>
here, the formula has too many data to
fit in that column width.
I would discourage the use of columns to create the booklet.
My advice would be to compose the standard text and then impose the pages:
\starttext
\dorecurse{4}{\chapter{Chapter \Romannumerals{\recurselevel}}
\section{\TeX}\input knu
\startbodymatter
\startchapter[title={The First Numerals Chapter}]
\startsection[title={The First Caps-Romannumerals Section}]
\input knuth
\startsubsection[title={The First characters Subsection}]
\input knuth
\stopsubsection
\stopsection
\startsection[title={The Second Caps
Hi Pablo,
" You have to define a new conversion set and use it for the prefix
segments "
It seems to me that's what I did :
\definestructureconversionset
[structure]
[numbers, Romannumerals, numbers, numbers, numbers]
[numbers]
\setupheads [sectionconversionset
> Remark 1.2
> Remark 1.3
>
> Thanks
> Fabrice
>
> %
> \definestructureconversionset
> [structure]
> [numbers, Romannumerals, numbers, numbers, numbers]
> [numbers]
>
> \setupheads [sectionconversionset=structure
Hi,
I have simplified the code, but I get :
Remark I.1.
Remark I.2.
Remark I.3.
instead :
Remark 1.1.
Remark 1.2
Remark 1.3
Thanks
Fabrice
%
\definestructureconversionset
[structure]
[numbers, Romannumerals, numbers, numbers, numbers]
[numbers
[{\getmarking[section]}][pagenumber]
[{\getmarking[chapter]}][pagenumber]
\setuppagenumbering[alternative=,location=]
\definestructureconversionset
[structure]
[numbers, Romannumerals, numbers, numbers, numbers]
[numbers]
\setupheads [sectionconversionset=structure
, Romannumerals, numbers, numbers, numbers]
[numbers]
\setupheads [sectionconversionset=structure]
\setupenumerations
[
before={\blank[big]},
after={\blank[big]},
alternative=serried,
width=broad,
distance=0.5em,
headstyle=bold,
titlestyle=bold,
prefix=chapter,
way=bychapter,
conversion=numbers
][][romannumerals]
to my environment file. I didn't take this into accout, as I initially
didn't plan on using roman numbers. But right now this seems the only
proper solution to the wrong numbering in my case. I attached an
explanation document to show you what I mean.
If you still wish for the source
gives the 'missing number' error.
>
> % \mainlanguage[en]
> \romannumerals{\currentdate[day]}
>
> 1. The \currentdate command isn’t expandable and is therefore not expanded
> when you use it as argument for another command.
>
> 2. The \romannumerals commands expects a number
in old TOC
<mailto:ursula.herm...@univie.ac.at> Ursula Hermann
15. Juli 2016 um 19:33
Hello Wolfgang!
Yes, I want it both title in header and in the TOC!
Ursula Hermann
Danksagung
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userp
Ursula Hermann <mailto:ursula.herm...@univie.ac.at>
15. Juli 2016 um 19:33
Hello Wolfgang!
Yes, I want it both title in header and in the TOC!
Ursula Hermann
Danksagung
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][2]
The two se
,
alternative=c,
interaction=all]
\setuphead [chapter]
[sectionresetset=,
conversion=,
number=no,
placehead=yes,
bodypartlabel=part,
sectionsegments=chater:chapter]
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][2]
\startchapter
[title
ersion=romannumerals]
\setcounter[userpage][2]
\startchapter
[title={Ursula Hermann
\indenting[yes, next]
Danksagung}]
\stopchapter
\startchapter
[title={Bildbeschreibung der Cover-Grafik}]
\stopchapter
\startchapter
[title={Einleitung:"Entwicklung" behindern?
]
[sectionresetset=,
conversion=,
number=no,
placehead=yes,
bodypartlabel=part,
sectionsegments=chater:chapter]
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][2]
\startchapter
[title
hapter]
[after={\blank[line]}]
\setupcombinedlist
[content]
[aligntitle=yes,
alternative=c,
interaction=all]
\setuphead [part]
[sectionresetset=,
conversion=Romannumerals,
placehead=yes,
bodypartlabel=chapter]
\setuphead [chapter]
[sectionre
]
[aligntitle=yes,
alternative=c,
interaction=all]
\setuphead [part]
[sectionresetset=,
conversion=Romannumerals,
placehead=yes,
bodypartlabel=chapter]
\setuphead [chapter]
[sectionresetset=,
conversion=,
number
Mohammad Hossein Bateni <mailto:bat...@gmail.com>
7. Juli 2016 um 16:31
Thanks, Wolfgang!
BTW why doesn't the following work? it gives the 'missing number' error.
% \mainlanguage[en]
\romannumerals{\currentdate[day]}
1. The \currentdate command isn’t expandable and is therefore not
ex
Thanks, Wolfgang!
BTW why doesn't the following work? it gives the 'missing number' error.
% \mainlanguage[en]
\romannumerals{\currentdate[day]}
On Thu, Jul 7, 2016 at 10:02 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:
> Mohammad Hossein Bateni <bat...@gmail.com>
Hello Otared!
At least the example is this. Now it works perfekt:
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][2]
\startchapter
[title={Danksagung}]
\stopchapter
\startchapter
[title={Bildbeschreibung der Cover-Grafik
Hello Otared!
I have it. I found an mail on the mailinglist . This works. It is:
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][5]
\startpart
[title={Danksagung}]
\stoppart
\startchapter
[title={Bildbeschreibung der Cover
ula Hermann <ursula.herm...@univie.ac.at> wrote:
>
> Hello Wolfgang!
>
> I have now written as you told me.
> \starttext
> \placecontent
> \setupuserpagenumber[numberconversion=romannumerals]
> \startchapter
> \startchapter[title={Bildbeschreibung der C
tarttext
> \placecontent
> \setupuserpagenumber[numberconversion=romannumerals]
> \startchapter
> \startchapter[title={Bildbeschreibung der Cover-Grafik}]
> \setupuserpagenumber[numberconversion=numbers]
> \startchapter
> [title={Einleitung:"Entwicklung" behindern?}]
> \stopte
Hello Wolfgang!
I woud like to change the counter because there is a wrong pagenumber at the
numbers, not at the romannumerals . I have compiled but I always have 2 instead
of 6.This ist the pagenumber I need.
Thanks
Uschi
Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im
Ursula Hermann <mailto:ursula.herm...@univie.ac.at>
28. Juni 2016 um 14:15
Hello Wolfgang!
I have now written as you told me.
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\startchapter
\startchapter[title={Bildbeschreibung der Cover-
Hello Wolfgang!
I have now written as you told me.
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\startchapter
\startchapter[title={Bildbeschreibung der Cover-Grafik}]
\setupuserpagenumber[numberconversion=numbers]
\startchapter
[title={Einleitung
, romannumerals and
numbers
<mailto:ursula.herm...@univie.ac.at> Ursula Hermann
24. Juni 2016 um 15:53
Hello evrybody!
I need in a Toc pagenumberings with romannumrals and numbers.
I have written this one:
\mainlanguage[de]
\setupinteraction[state=start] % don't
bering
\setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}]
None of the above setups are needed for a minimal example, remove them
next time.
\setupuserpagenumbering[conversion=romannumerals]
You’re looking for the \setupuserpagenumber command (but
\setuppagenumber
,subsection,subsubsect
ion}]
\setupuserpagenumbering[conversion=romannumerals]
\setupinteraction
[state=start,
style=,
color=,
contrastcolor=]
\setuplist
[chapter]
[after={\blank[line]}]
\setupcombinedlist
[content]
[aligntitle=yes,
alternative=c,
interaction
, pagenumber=no, style=\itxx]
\par
\stop
\stopsetups
\setuplist
[chapter]
[after=\directsetup{placelist:section}]
\starttext
\completecontent
\dorecurse{5}{\chapter{Chapter \Romannumerals{\recurselevel}}
\dorecurse{10}{\section{Section}\input zapf\par
Ibn Saeed <mailto:ibnsa...@gmail.com>
19. Januar 2016 um 10:55
Here is my code for the header:
\setupheadertexts
[{\righttoleft\getmarking[chapter]}] [{\romannumerals}]
[{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
Use
\setupheadertexts[pagenumber]
or
\setupheade
Here is my code for the header:
\setupheadertexts
[{\righttoleft\getmarking[chapter]}][{\romannumerals}]
[{\pagenumber}][{\righttoleft\getmarking[chapter]}]
\setuppagenumbering[
alternative=doublesided,
location
r:
>
> \setupheadertexts
> [{\righttoleft\getmarking[chapter]}] [{\romannumerals}]
> [{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
>
> Use
>
> \setupheadertexts[pagenumber]
>
> or
&
ode for the header:
>>
>> \setupheadertexts
>> [{\righttoleft\getmarking[chapter]}] [{\romannumerals}]
>> [{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
> Use
>
> \setupheadertexts[pagenumber]
>
> or
>
> \setupheadertexts[\userpagenumber]
>
>
>
>
> Hello Wolfgang,
>
> Thanks for helping out again.
>
> i tried your code :
>
>
> \setupheadertexts[pagenumber]
>[{\righttoleft\getmarking[chapter]}][{\romannumerals}]
>[{\pagenumber}][{\righttoleft\getmarking[chapter]}]
>
&
ft\getmarking[chapter]}][{\romannumerals}]
[{\pagenumber}][{\righttoleft\getmarking[chapter]}]
\setuppagenumbering[
alternative=doublesided,
location=,
]
It did not work, no page numbers appeared(blank)
I
},
% conversion=romannumerals, left={--~}, right={~--},
]
\setupbodyfont[Arabic,18pt]
\setupinterlinespace[line=42pt]
\setupheads[number=no]
\setuphead[chapter]
[style=\bfd,before=,after=\blank,alternative=middle,grid=both]
\setuphead[section][style=\bfc,before=\blank,after=,grid=both
. Is it possile to convert \getnumber
output to roman numerals?
\romannumerals{123}
\Romannumerals{123}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
age[cs]
\setuppapersize[B5]
\setuplayout[header=0cm, footer=1cm]
\setuppagenumbering[alternative=doublesided, location={footer, right},
style=italic]
% page numbering
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][n
e MWE:
> >
> > \setuphead[chapter][
> >alternative=middle,
> >before={\blank[force,10mm]},
> >after={\blank[1*line]},
> >style=\bfc,
> >numberstyle={\kerncharacters[0.125]\bfa},
> >numbercommand=\groupedcommand{}{\blank[4mm]},
&g
>numberstyle={\kerncharacters[0.125]\bfa},
>numbercommand=\groupedcommand{}{\blank[4mm]},
>sectionstopper={.},
>conversion=Romannumerals,
> ]
>
> \define[1]\ChapterListNumbercommand
> {\simplealignedbox{\listparameter{width}}{flushright}{#1}}
>
>
te MWE:
\setuphead[chapter][
alternative=middle,
before={\blank[force,10mm]},
after={\blank[1*line]},
style=\bfc,
numberstyle={\kerncharacters[0.125]\bfa},
numbercommand=\groupedcommand{}{\blank[4mm]},
sectionstopper={.},
conversion=Romannumerals,
]
\define[1]\ChapterListNumber
lines):
...
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\definestructureconversionset[backpart:pagenumber] [][numbers]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannu
1 - 100 of 382 matches
Mail list logo