lines):
...
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\definestructureconversionset[backpart:pagenumber] [][numbers]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannu
Dear All,
I've updated context, tried to regenerate my tex source and it doesn't
compile any more. It was Ok in 0.79 (in March).
I am getting tex error after these 3 lines (followed by a blank line and
other lines):
...
\definestructureconversionset[frontpart:pagenumber][][romannumerals
On 09/25/2015 04:15 PM, Meer, Hans van der wrote:
> I do number my chapters with roman numerals with:
> \setuphead[chapter][conversion=Romannumerals]
> I would expect then that sections are numbered roman.arabic for example IX.1
> This is not the case. While the chapter is
I do number my chapters with roman numerals with:
\setuphead[chapter][conversion=Romannumerals]
I would expect then that sections are numbered roman.arabic for example IX.1
This is not the case. While the chapter is numbered IX the sections are
numbered 9.1 instead of IX.1.
The numbering
You might find the following setups useful with parts:
\definestructureresetset [default] [0,0] [1] % do not reset parts and chapters
\setuphead [part]
[sectionresetset=default,
conversion=Romannumerals,
placehead=yes,
bodypartlabel=part]
Also, using parts
Le 30-08-2015 23:31, Alan BRASLAU a écrit :
You might find the following setups useful with parts:
\definestructureresetset [default] [0,0] [1] % do not reset parts and
chapters
\setuphead [part]
[sectionresetset=default,
conversion=Romannumerals,
placehead=yes
Hi Hans,
Thanks for the new beta.
As Idris pointed out, the logic you follow for naming greeknumerals,
romannumerals, persiannumerals, arabicnumerals, and all others in core-con.lua,
makes sense but I didn’t notice this logic before… Which means one may learn
each and evry day :-)
As far
nomenclature
Ah, it just hit me: You're making a literal analogy with romannumerals
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___
If your
blank lines there, but this didn't work)
4. The part number needs to be capital roman numbers, and titles of
chapters are preceded with the capital roman part number.
(The option conversion=Romannumerals in \setuphead[part] doesn't
seem to work)
5. There are 2 parts, part 1 with 5 chapters
Hi,
How does one control the referenceprefix for floats. I want to refer to
the figures as only Fig 1, Fig 2, etc, even when they are numbered 1.1,
1.2, etc.
The example from strc-ref.mkvi does not work (I get 1.I-A.1 and 1.I-A.2)
\defineconversionset[default][Character,number,Romannumerals
On Mon, 20 Apr 2015 21:27:35 +0200
Pablo Rodriguez oi...@gmx.es wrote:
On 04/20/2015 09:03 PM, John Culleton wrote:
When I set up running heads in frontmattter
like this:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\setupheadertexts
[{\getmarking[title
When I set up running heads in frontmattter like
this:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\setupheadertexts
[{\getmarking[title]}]
[{\pagenumber}]
[{\pagenumber}]
[{\Titlea}]
(where \Titlea is a string containing the book
title
On 04/20/2015 09:03 PM, John Culleton wrote:
When I set up running heads in frontmattter like
this:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\setupheadertexts
[{\getmarking[title]}]
[{\pagenumber}]
[{\pagenumber}]
[{\Titlea
The new method of handling page numbering (roman
and arabic) using e.g.,
\setupuserpagenumber[numberconversion=Romannumerals]
\setcounter[userpage][5]
works just fine if you remember
one thing: in running heads the word pagenumber
has to be replaced with userpagenumber. But in
the \chapter
This is definite progress. Thanks. But I don’t see footnotes of type NoteC
when used inside a NoteB. Example:
==
\definenote[NoteA]
\definenote[NoteB]
\definenote[NoteC]
\setupnotation[NoteB][numberconversion=characters]
\setupnotation[NoteC][numberconversion=Romannumerals
, it
becomes Figure 1.5 which is indistinguishable from another figure
1.5 in the first chapter.
weird indeed as it should default to numbers at that that level cf.
\defineconversionset
[appendix:default]
[Romannumerals,Characters]
[numbers]
so for the moment use
, it
becomes Figure 1.5 which is indistinguishable from another figure
1.5 in the first chapter.
weird indeed as it should default to numbers at that that level cf.
\defineconversionset
[appendix:default]
[Romannumerals,Characters]
[numbers]
so for the moment use
\defineconversionset
]
%\setupnotation[footnote][interaction=start,numberconversion=romannumerals]
\startBookTitle[
title={\em Some title\note[trans]}]
\stopBookTitle
%
\footnotetext[trans]{a footnote}
\setupnotation[footnote][numberconversion=numbers]
\resetnumber[footnote]
Loren ipsum\footnote{another footnote
][title]
\setuphead[BookTitle][style=\tfc,
color=darkred]
\starttext
\setupnotation[footnote][interaction=start,numberconversion=set 3]
%\setupnotation[footnote][interaction=start,numberconversion=romannumerals]
\startBookTitle[
title={\em Some title\note[trans]}]
\stopBookTitle
%
\footnotetext[trans
=romannumerals]
\startBookTitle[
title={\em Some title\note[trans]}]
\stopBookTitle
%
\footnotetext[trans]{a footnote}
\setupnotation[footnote][numberconversion=numbers]
\resetnumber[footnote]
Loren ipsum\footnote{another footnote}
\stoptext
Now, whatever set I specify, the output is an arabic numeral
on the main pages, but not in the frame). The rule=on clause does not work.
For a footnote inside the frame, I can do
\startlocalfootnotes[conversion=romannumerals,rule=on]
That solves everything, provided I want the footnote in the frame and without a
rule. What can I do to put the local footnote
]
[
sectionresetset=default,conversion=Romannumerals,
placehead=yes,
bodypartlabel=part, % strange that this must be defined...
]
and in frontmatter the parts do not get numbered,
in bodymatter they get Part I Title ...
in backmatter they do not get numbered.
Bookmarks work fine. Note
={\setupbodyfont[6pt]},
after={\setupbodyfont[9pt]}]
\usetypescript[palatino]
\setupbodyfont[palatino,9pt]
\setupfootnotes[way=bysection, numberconversion=romannumerals]
\defineparagraphs
[mypar][n=3,before={\blank},after={\blank}]
\setupparagraphs
[mypar][1][width=.3\textwidth,style=bold
this:
\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
% some stuff
\stopfrontmatter
\startbodymatter
\setupuserpagenumber[numberconversion=numbers]
\setnumber[page]{1}
%some stuff
\stopbodymatter
Hi,
In fact you should use
\setupuserpagenumber[number=1]
as in the following example:
begin example
\starttext
\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
\input knuth.tex
\stopfrontmatter
\startbodymatter
\setupuserpagenumber[numberconversion=numbers
example
\starttext
\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
\input knuth.tex
\stopfrontmatter
\startbodymatter
\setupuserpagenumber[numberconversion=numbers]
\setupuserpagenumber[number=1]
\input ward.tex
\stopbodymatter
\stoptext
end example
Best regards: OK
:
begin example
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset[backpart:pagenumber] [][characters]
\starttext
\startfrontmatter
\input knuth.tex
\stopfrontmatter
\startbodymatter
\setupuserpagenumber
example
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset[backpart:pagenumber] [][characters]
\starttext
\startfrontmatter
\input knuth.tex
\stopfrontmatter
\startbodymatter
\setupuserpagenumber[number=1]
\input
This is the problem: It works, but I don’t unterstand why. I make just
my first steps with ConTeXt…
Anyway: I found out, that this is the best solution:
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber][][numbers
Actually you are right: one can setup the userpage numbers by just saying
way=byblock (no need to repeat numberconversionset).
Here is a complete example:
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset
=Romannumerals,
prefixstyle=\bf]
\starttext
\input knuth (Cf. \in{section}[mysection].)
\section[mysection]{My section}
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki
:
\setupreferencestructureprefix[section][default][%
prefixconversion=Romannumerals,
prefixstyle=\bf]
\defineprocessor[sectionstyle][style=italic,color=red]
\defineconversionset[sectionconversion][][sectionstyle-Romannumerals]
\setupreferencestructureprefix[section][default
Try this:
\setupheadertexts[{\convertnumber{Romannumerals}{\namedheadnumber{chapter}}\quad\getmarking[chapter]}]
Thanks Wolfgang!
___
If your question is of interest to others as well, please add an entry
in the text (not in the header).
For the moment I can achieve only the chapter numbering for the text but
not for the header:
\define[1]{\myconversion}{\ifcase #1\relax \or First\else
\convertnumber{Romannumerals}{#1}\fi}
\defineconversion[myconversion][\myconversion]
\setuphead[chapter][conversion
=no]
\definecombinedlist [content][intro,chapter,section]
\setuplist [intro] [headnumber=no]
\starttext
\startfrontmatter
\setuppagenumber[numberconversion=romannumerals,state=start,number=1]
%\setupnumber[page][1]
\completecontent
\intro{No number}
\input knuth
\input knuth
\input knuth
\relax
% 0
\or
First% 1
\else
\convertnumber{Romannumerals}{#1}%
\fi}
\defineconversion[Weirdnumber][\Weirdnumber]
\defineconversionset[Weirdchapter][number,Weirdnumber][number]
\setuplist[chapter][width=3em,numberconversionset=Weirdchapter]
\starttext
\completecontent
shows the original issue:
\defineconversionset[cs][0,Romannumerals,Characters,n,g][n]
PDF bookmarks wouldn’t work with initials only:
\defineconversionset[cs][0,I,a,n,g][n]
You are the experts: wouldn’t it be easier that PDF bookmarks would
accept both intials and full names? The required
\startbodymatter
\dorecurse{5}{\chapter{Body matter}
\input zapf\par}
\stopbodymatter
\stoptext
1. PDF bookmarks don’t contain Roman capital numerals (as I think they
should).
be verbose :
\definestructureconversionset[chapternumbers][0,Romannumerals,a,n,g][n]
2. \setupsectionblock
On 04/07/2014 08:59 PM, Wolfgang Schuster wrote:
Am 07.04.2014 um 20:45 schrieb Pablo Rodriguez:
[...]
I cannot get either Greeknumerals or greeknumerals working in PDF
bookmarks.
\defineconversionset[cs][n,G,g][n]
Many thanks for your help, Wolfgang.
Since Romannumerals and romannumerals
thanks for your help, Wolfgang.
Since Romannumerals and romannumerals (or Characters and characters) are
required, I thought it would be consistent to use Greeknumerals and
greeknumerals. But I was obviously wrong.
This could be a bug because there shouldn’t be a difference between the two
On 7 avr. 2014, at 21:25, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:
Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es:
[…]
Since Romannumerals and romannumerals (or Characters and characters) are
required, I thought it would be consistent to use Greeknumerals
Am 07.04.2014 um 23:24 schrieb Otared Kavian ota...@gmail.com:
On 7 avr. 2014, at 21:25, Wolfgang Schuster schuster.wolfg...@gmail.com
wrote:
Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es:
[…]
Since Romannumerals and romannumerals (or Characters and characters
Romannumerals and romannumerals (or Characters and characters) are
required, I thought it would be consistent to use Greeknumerals and
greeknumerals. But I was obviously wrong.
This could be a bug because there shouldn’t be a difference between the two
conversion names.
Maybe not, since
\setupuserpagenumber[viewerprefix=titlepage]
\startstandardmakeup
The first page
\stopstandardmakeup
\setupuserpagenumber[viewerprefix=p ]
I'm clearly missing something.
Troy
\setupinteraction[state=start]
\defineconversionset[frontpart:pagenumber][][romannumerals
are.
mkiv:
\nopdfcompression
\setupinteraction
[state=start]
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset[appendix:pagenumber] [][Characters]
\setupuserpagenumber[numberconverionset=pagenumber,way
, ..., P-25, APP-1, APP-3, ...
How can I get this with ConTeXt?
\defineconversionset[frontpart:pagenumber][][romannumerals]
\definesectionblock[project][projectmatter]
\startsectionblockenvironment[project]
\setcounter[userpage][1]
\setuppagenumber[numberstarter=P
I use
\definestructureconversionset [frontpart:pagenumber][][romannumerals]
to make sure the numbering of my pages in frontmatter use Roman numerals.
Not only are the pages numbered with Roman numerals, but the PDF index
links and PDF page numbers use this as well. I would like to do something
]
[numberconversion=numerals]
I would be also interested to know how to change chapter and
section numbers only for appendices.
\definestructureconversionset
[structure]
%% part, chapter,section, subsection, subsubsection
[numbers, characters, Romannumerals, numbers
Am 19.01.2014 um 12:29 schrieb Marco Patzer li...@homerow.info:
\definestructureconversionset
[structure]
%% part, chapter,section, subsection, subsubsection
[numbers, characters, Romannumerals, numbers,romannumerals]
[numbers]
\startsectionblockenvironment
,
width=1cm]
Thanks for this alternative, but I am getting something different. Desired
output can be produced with this code:
\setuphead[chapter][conversion=Romannumerals]
%\setupheadnumber[chapter][48] % this is ignored when a preface is defined
\setupcombinedlist[content][alternative=c
Thanks again Wolfgang, with this setup everything is fine.
But I wanted to bring to the attention of Hans the inconsistency of the
prefix conversions by defaut, so that he can correct them:
I A chapter
[a figure] Figure I.1 % -- Here the conversion of the prefix to
Romannumerals is done
Am 12.11.2013 um 02:14 schrieb Géry Ogam maggy...@gmail.com:
Hello,
There is a numberconversion problem in caption prefixes. For instance, if
chapter numbers are set to Romannumerals, the conversion of the caption
prefixes depends on the presence of a section
Minimal example
environment, by default chapter numbers are
Characters and every prefix representing a chapter number is also a
Character (section prefixes, caption prefixes and so on). Now if you decide
to switch chapter numbers to Romannumerals, you will get something totally
inconsistent if you don’t do many
in caption prefixes. For instance, if
chapter numbers are set to Romannumerals, the conversion of the caption
prefixes depends on the presence of a section
Minimal example:
\setuphead[chapter][conversion=Romannumerals]
\setupcaption[way=bychapter, prefixsegments=chapter]
\starttext
to Romannumerals, you will get something totally inconsistent
if you don’t do many conversions manually:
\startsectionblockenvironment[appendix]
\defineconversionset[romannumeralsconversionset][][R]
\setuphead[chapter][sectionconversionset=romannumeralsconversionset
list, not the
content list, see example
\setuphead[chapter][conversion=Romannumerals]
\setupheadnumber[chapter][48]
\setupcombinedlist
[content]
[alternative=c]
\setupcombinedlist
[chapter]
[distance=1em,
width=1cm,
numbercommand={\simplealignedbox
as I cannot combine both the casing conversion and e.g. \bfb in
single \groupedcommand.
I prefer setting the upercased version of Romannumerals as I do not want
small roman literals in the TOC or bookmarks. Are there better ways to
accomplish this?
\definefontfamily[palatino][rm][Palatino Linotype
.
I am also considering using just smaller font, but I am facing similar
problems as I cannot combine both the casing conversion and e.g. \bfb in
single \groupedcommand.
I prefer setting the upercased version of Romannumerals as I do not want
small roman literals in the TOC or bookmarks
\setuphead[chapter][conversion=Romannumerals]
\setupheadnumber[chapter][48]
\setupcombinedlist
[content]
[alternative=c]
\setupcombinedlist
[chapter]
[distance=1em,
width=1cm,
numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}
]
\starttext
]},
sectionstopper={.},
inbetween={\blank[4mm]},
conversion=Romannumerals]
I must admit this looks much better! Thanks.
The same approach can be used also for small caps, but the result is not so
appealing. Especially I don't like the size of the 'stopper' (dot).
Btw, that case
Hello,
There is a numberconversion problem in caption prefixes. For instance, if
chapter numbers are set to Romannumerals, the conversion of the caption
prefixes depends on the presence of a section
Minimal example:
\setuphead[chapter][conversion=Romannumerals]
\setupcaption[way=bychapter
equation references to the equation number
generated by context. So for example, if I have an equation:
\placeformula \startformula
\NC F = m a \NC \NR[eq:newtonslaw]
\stopformula
\usemodule[newmath]
\setupformulas[way=bytext,prefix=no]
\setupsubformulas[conversion=romannumerals]
\starttext
. So for example, if I have an equation:
\placeformula \startformula
\NC F = m a \NC \NR[eq:newtonslaw]
\stopformula
\usemodule[newmath]
\setupformulas[way=bytext,prefix=no]
\setupsubformulas[conversion=romannumerals]
\starttext
\placenamedformula[eq:TEST]{Der einfache Test}
\startformula
c
title this line break is handy (in my use case)
\setuphead[chapter][
alternative=middle,
style=\bfc,
conversion=Romannumerals,
numbercommand=\groupedcommand{\cap}{\blank[0.5cm]},
after={\blank[1cm]},
]
% for section it is inappropriate
\setuphead
][chapter=Chapter~]
% while for chapter title this line break is handy (in my use case)
\setuphead[chapter][
alternative=middle,
style=\bfc,
conversion=Romannumerals,
numbercommand=\groupedcommand{\cap}{\blank[0.5cm]},
after={\blank[1cm
title this line break is handy (in my use case)
\setuphead[chapter][
alternative=middle,
style=\bfc,
conversion=Romannumerals,
numbercommand=\groupedcommand{\cap}{\blank[0.5cm]},
after={\blank[1cm]},
]
% for section it is inappropriate
\setuphead
=Romannumerals]
\setupheadnumber[chapter][48]
\setupcombinedlist[content][
alternative=c,
distance=1em,
width=3cm,
]
\starttext
\completecontent
\chapter{Foo}
\chapter{Bar}
\stoptext
Here is the link with several screenshots of desired formatting:
http
My code:
\setuplabeltext[en][chapter=Chapter~]
% while for chapter title this line break is handy (in my use case)
\setuphead[chapter][
alternative=middle,
style=\bfc,
conversion=Romannumerals,
numbercommand=\groupedcommand{\cap}{\blank[0.5cm
On 2013–06–03 honyk wrote:
in fresh MkIV I use the following commands for building ToC, but I have no
idea how to align the label (roman numeral) to the right.
\setuphead[chapter][conversion=Romannumerals]
\setupheadnumber[chapter][48]
\setupcombinedlist
[content]
[alternative=c
This is great!
Thanks
On 2013–06–03 honyk wrote:
in fresh MkIV I use the following commands for building ToC, but I
have no
idea how to align the label (roman numeral) to the right.
\setuphead[chapter][conversion=Romannumerals]
\setupheadnumber[chapter][48]
\setupcombinedlist
)
\setuphead[chapter][
alternative=middle,
style=\bfc,
conversion=Romannumerals,
numbercommand=\groupedcommand{\cap}{\blank[0.5cm]},
after={\blank[1cm]},
]
% for section it is inappropriate
\setuphead[section][
align=middle,
style=\bfa
://wiki.contextgarden.net/Titles
My code:
\setuplabeltext[en][chapter=Chapter~]
% while for chapter title this line break is handy (in my use case)
\setuphead[chapter][
alternative=middle,
style=\bfc,
conversion=Romannumerals,
numbercommand
.
\startsectionblockenvironment[frontpart] \definetext[titlestart]
[footer][{\hfill\bf\romannumerals\pagenumber\hfill}] \setuphead[title]
[footer=titlestart]\stopsectionblockenvironment
\startsectionblockenvironment[bodypart] \definetext[chapterstart]
[footer][{\hfill\bf
pagenumber in frontmatter.
\startsectionblockenvironment[frontpart] \definetext[titlestart]
[footer][{\hfill\bf\romannumerals\pagenumber\hfill}] \setuphead[title]
[footer=titlestart]\stopsectionblockenvironment
\startsectionblockenvironment[bodypart] \definetext
] [sectionresetset=default,conversion=Romannumerals]
But... how do I propagate the numbering from product to product, that is part
to part?
Everything was just fine when all of the parts were collected into a single
product
having a unique front and back matter and all of the appendices at the end
in my *environment*
\definestructureresetset [default] [0,0] [1]
\setuphead [part] [sectionresetset=default,conversion=Romannumerals]
But... how do I propagate the numbering from product to product, that is part
to part?
Everything was just fine when all of the parts were collected
with todays beta does not have any effect one Marcos
original example, and it does not lead to the desired ouput.
Is this broken now?
Steffen
%
\definestructureconversionset [myset]
[
Romannumerals,
Romannumerals,
Romannumerals,
Character,
]
[numbers
][prefixsegments=2:*]
Wolfgang
If I run Marcos example (as seen below), it gives:
I Foo
A Bar
subsection A
But how do we get
I Foo
A Bar
subsection I.A ??
Steffen
---
\definestructureconversionset [myset]
[
Romannumerals,
Romannumerals,
Romannumerals,
Character,
]
[numbers
=no]
\setupsubformulas[conversion=romannumerals]
\starttext
\title{List of formulas}
\placelist[formula][criterium=all,alternative=c]
\framed{not ok}
\chapter{Chapter One}
\chapter{Chapter Two}
\subject{math - formula}
Expected formular number: (1):
\placenamedformula[one]{Der einfache Test
Hi,
The minimal example below works for me (ConTeXt ver: 2012.12.10 23:20 MKIV;
I've added some stuff of your preamble to check).
Cheers Gruss
Andreas
%%% MINIMAL EXAMPLE %%%
\usemodule[newmath]
\setupformulas[way=bytext,prefix=no]
\setupsubformulas[conversion=romannumerals]
\starttext
]
\indenting[always]
\setupnarrower[left=0.5in,
right=0in]
\setupspacing[packed]
\setupalign[right,broad,nothyphenated]
\setuplinenumbering[step=1]
\setuppagenumbering[way=bytext]
\definenote[genetic]
\setupnote[genetic][numberconversion=romannumerals,
way=bychapter
][romannumerals][]
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\startstandardmakeup[align=middle]
{\tfd TITLE}
\stopstandardmakeup
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Knuth}
\dorecurse{12}{\input
[section]
\stopsetups
\setupheader[text][after=\hrule]
\setuphead[chapter][page={header,right},header=empty]
\setupfootertexts[][pagenumber]
\defineconversionset[frontpart:pagenumber][romannumerals][]
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsectionblockenvironment
[chapter][header=empty]
\setupfootertexts[][pagenumber]
\starttext
\startstandardmakeup
\title{title}
\stopstandardmakeup
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumber[number=1]
\chapter{body}
bla
\stopbodymatter
.
---
\startfrontmatter
\setuppagenumbering[alternative=doublesided,conversion=romannumerals]
\setuppagenumber[number=iii]
\setuppagenumber[state=start]
\completecontent
--
I have tried variations such as a single \setupagenumber with two
parameters, using \page[iii
on the
contents page. Instead I get a roman 1.
---
\startfrontmatter
\setuppagenumbering[alternative=doublesided,conversion=romannumerals]
\setuppagenumber[number=iii]
\setuppagenumber[state=start]
\completecontent
--
I have tried variations
Am 05.08.2012 um 02:37 schrieb john Culleton j...@wexfordpress.com:
IMO the following code should result in an italic iii on the
contents page. Instead I get a roman 1.
---
\startfrontmatter
\setuppagenumbering[alternative=doublesided,conversion=romannumerals
Am 05.08.2012 um 09:39 schrieb Wolfgang Schuster wolfgang.schus...@gmail.com:
\setuppagenumbering[alternative=doublesided]
% You can use this instead of
\setuppagenumbering[numberconversion=romannumerals]
% to set the conversion of the pagenumber outside of the sectionblock
environment
IMO the following code should result in an italic iii on the
contents page. Instead I get a roman 1.
---
\startfrontmatter
\setuppagenumbering[alternative=doublesided,conversion=romannumerals]
\setuppagenumber[number=iii]
\setuppagenumber[state=start]
\completecontent
Is there a simple manner to restrict the table of contents to chapter and
section, excluding subsections, subsubsections?
Now I use (and get all)
\startfrontmatter% the table of contents
\setuppagenumber[number=1,numberconversion=romannumerals]
\completecontent
\stopfrontmatter
I tried
=romannumerals]
You can put this setup in a sectionblockenvironment.
\completecontent
\stopfrontmatter
I tried \completecontent[criterium={chapter,section}] bat that doesn't work.
Could not find it on the wiki, but I might have missed the right search term.
The list archive should contain
% the table of contents
21 \setuppagenumber[number=1,numberconversion=romannumerals]
22 \completecontent
23 \stopfrontmatter
24
25 \startbodymatter % the main body of the contents
26 \setuppagenumber[number=1,numberconversion=numbers]\resetpagenumber
27
Hi,
how do I change the page number?
In april and may versions it does not work anymore:
\setuppagenumber[number=5]% no effect
\setuprealpagenumber[number=5]% no effect
\setuppagenumber[number=5]% no effect
%\setupuserpagenumber[numberconversion=Romannumerals]% works OK!
\starttext
Am 29.04.2012 um 14:23 schrieb Vladimir Lomov:
Just to clarify question (before update wiki): is `\setnumber' command
obsolete and `\setupnumber' should be used instead?
Both commands have a different purpose, with \setupnumber you can
change the conversion of the counter (romannumerals
]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals, way=byblock]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setupuserpagenumber[numberconversion=numbers]
\setuppagenumber[number=1]
\stopsectionblockenvironment
\startsectionblockenvironment[backpart
prd_Aestimatio_vol-09
%prelims
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\setupfootnotes[conversion=numbers]
\component c_A
\component c_B
\component c_C
...
%text
\setuppagenumber[numberconversion=numbers]
\setuppagenumber[number=1
or
\convertedcounter for a formatted form of the counter (you can apply a
conversion, e.g. romannumerals or add a prefix, e.g. the current chapter or
section number).
Wolfgang
___
If your question is of interest to others as well
the numeric value of the counter or
\convertedcounter for a formatted form of the counter (you can apply a
conversion, e.g. romannumerals or add a prefix, e.g. the current chapter or
section number).
Wolfgang
Ah, thank you Wolfgang! \rawcounter is sufficient for me in my real-life
case, but I
to print only the numeric value of the
counter or \convertedcounter for a formatted form of the counter (you
can apply a conversion, e.g. romannumerals or add a prefix, e.g. the
current chapter or section number).
Wolfgang
Ah, thank you Wolfgang! \rawcounter is sufficient for me in my real-life
case
but no \getcounter.
@Thomas: You can \rawcounter to print only the numeric value of the counter
or \convertedcounter for a formatted form of the counter (you can apply a
conversion, e.g. romannumerals or add a prefix, e.g. the current chapter or
section number).
Wolfgang
Ah, thank you Wolfgang
101 - 200 of 383 matches
Mail list logo