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
Am 02.04.2012 um 00:02 schrieb Alan Bowen:
I have a product file
\startproduct prd_Aestimatio_vol-09
%prelims
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\setupfootnotes[conversion=numbers]
\component c_A
\component c_B
\component c_C
...
%text
:
\startsectionblockenvironment[frontpart]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setuppagenumbering [alternative=doublesided, partnumber=no, location=,
style={\ss\bold}]
\setupuserpagenumber[numberconversion=romannumerals
[alternative=doublesided, partnumber=no, location=,
style={\ss\bold}]
\setupuserpagenumber[numberconversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheadertexts [section][pagenumber
[section][pagenumber][pagenumber][chapter]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setuppagenumber[number=1
Hi Wolfgang,
you are of course right. - When testing I switched to a test-file, where I did
not set the romannumerals conversion in \setuphead. - Sorry ;-(
Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals]
depreciated?
Willi
On 15 Mar 2012, at 17:33, Wolfgang
Am 15.03.2012 um 17:45 schrieb Willi Egger:
Hi Wolfgang,
you are of course right. - When testing I switched to a test-file, where I
did not set the romannumerals conversion in \setuphead. - Sorry ;-(
Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals
\endcsname
#1%
\else\ifcsname\??headlevel#2\endcsname
#2%
\else
\v!none
\fi\fi
\endcsname}
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset [bodypart:pagenumber][][numbers]
\definestructureconversionset
Hi Hans,
can add “way=block” to counter which reset the number at the start of each
sectionblock,
for now it works in the same way as “way=text”.
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset [bodypart:pagenumber][][numbers
The following code,
\startcomponent
\setuphead[title][page=yes]
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location=,]
\setupheader[state=high]
\definehead[FMTitle][title]
\setuphead[FMTitle][header=high,alternative=middle
Am 08.03.2012 um 19:06 schrieb Alan Bowen:
The following code,
\startcomponent
\setuphead[title][page=yes]
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location=,]
\setupheader[state=high]
\definehead[FMTitle
08.03.2012 um 19:06 schrieb Alan Bowen:
The following code,
\startcomponent
\setuphead[title][page=yes]
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location=,]
\setupheader[state=high]
\definehead[FMTitle][title
,Romannumerals,numbers,character][numbers]
\setupheads[sectionconversionset=CCS]
\starttext
\chapter{Lorem}
\section{Ipsum}
\placeformula[f1] % The formula is numbered (1.1) instead of (A.1)
\startformula
a^2 + b^2 = c^2
\stopformula
\section{Dolor}
The famous formula \in[f1] % The reference
example
\definestructureconversionset[CCS][numbers,Character,Romannumerals,numbers,character][numbers]
\setupheads[sectionconversionset=CCS]
\starttext
\chapter{Lorem}
\section{Ipsum}
\placeformula[f1] % The formula is numbered (1.1) instead of (A.1)
\startformula
a^2 + b^2 = c^2
Trying to use roman numerals as pagenumbers failed. What am I doing wrong or
has some other thing changed?
A minimal example follows. Changing romannumerals into characters doesn't make
a difference.
This is ConTeXt ver: 2012.01.09 10:08 MKIV
% test pagenumber conversion
\setuppapersize[A6
On Mon, Jan 2, 2012 at 6:42 PM, Chris Lott ch...@chrislott.org wrote:
Why does this document create three pages, with the footnote on the
second and a third that is blank?
\setuppagenumbering[state=stop]
\setupnote[footnote][numberconversion=Romannumerals]
\starttext
This is a sample letter
Am 03.01.2012 um 04:42 schrieb Chris Lott:
Why does this document create three pages, with the footnote on the
second and a third that is blank?
\setuppagenumbering[state=stop]
\setupnote[footnote][numberconversion=Romannumerals]
\starttext
This is a sample letter. \footnote{foo
Why does this document create three pages, with the footnote on the
second and a third that is blank?
\setuppagenumbering[state=stop]
\setupnote[footnote][numberconversion=Romannumerals]
\starttext
This is a sample letter. \footnote{foo}
\stoptext
If I remove the \setupnote line, then everything
] on page \at[cow] is a cow.
\stopappendices
\stoptext
The figure number is converted into roman numerals (Romannumerals). How can I
change it to normal numbers? So that it says figure 2.
It should also be considered to make it the default setting
Dear list,
this
\setuppagenumbering[conversion=romannumerals,left={--~},right={~--}]
%
taken from contextref.pdf does nothing in ConTeXt ver: 2011.09.12 22:49
MKIV, except adding the '–' left and right. The number is still Arabic.
However this
\convertnumber{r}{4}
works
Dear list,
this
\setuppagenumbering[conversion=romannumerals,left={--~},right={~--}] % taken
from contextref.pdf
does nothing in ConTeXt ver: 2011.09.12 22:49 MKIV, except adding the '–' left
and right. The number is still Arabic.
However this
\convertnumber{r}{4}
works as expected
Am 09.11.2011 um 22:35 schrieb Christian:
Dear list,
this
\setuppagenumbering[conversion=romannumerals,left={--~},right={~--}] % taken
from contextref.pdf
does nothing in ConTeXt ver: 2011.09.12 22:49 MKIV, except adding the '–'
left and right. The number is still Arabic.
However
on line 6 in file test4.tex: Undefined control sequence ...
1 \definestructureconversionset[frontpart:pagenumber][][romannumerals]
2 \definestructureconversionset[bodypart:pagenumber] [][numbers]
3
4 \setuplist[chapter][pageconversionset=pagenumber]
5
6 \startstructureblockenvironment[frontpart]
7
Hi,
the example below leads to:
I Foo
A Bar
subsection A
What I need is:
I Foo
A Bar
subsection I.A
How to convince \in… to include the section element?
%
\definestructureconversionset [myset]
[
Romannumerals,
Romannumerals,
Romannumerals,
Character
lines from the file.tex are:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\startstructureblockenvironment[frontpart]
\setupuserpagenumber[numberconversion
and subsections (1.1.1 and not I.1.1).
Here is the base code :
\setuplist [chapter] [label=yes,style={\blank[0cm]}]
\setupsection[section-2][conversion=Romannumerals]
\setuplabeltext[chapter=CHAPITRE~]
\starttext
\placecontent
\chapter{Title of chapter}
\section{Title of section
This code :
\setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em]
\starttext
\placecontent
\chapter{Title of chapter}\section{Title of section}\subsection
Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT:
This code :
\setuplabeltext[chapter=CHAPITRE~]
\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]
\setuphead[chapter][sectionconversionset=mathieu]
\setuplist[chapter][label=yes,width=7em]
\starttext
\placecontent
but
not in section lines
Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT:This code :
\setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em]
\starttext
\placecontent
:
\setuplist [chapter]
[label=yes,style={\blank[0cm]}]\setupsection[section-2][conversion=Romannumerals]\setuplabeltext[chapter=CHAPITRE~]
\starttext
\placecontent
\chapter{Title of chapter}\section{Title of section}\subsection{Title of
subsection}
\stoptext
which results in :
CHAPITRE I Title
\bf}]
\setuphead[section][conversion=Romannumerals,
numbercommand=\SectionNo,style={\tfb\ss\bf}]
\starttext
\part{foo}
\chapter{bar}
\section{baz}
\stoptext
Herbert
___
If your question is of interest
=Characters,
numbercommand=\ChapterNo,
continue=yes,style={\tfb\ss\bf}]
\setuphead[section][conversion=Romannumerals,
numbercommand=\SectionNo,style={\tfb\ss\bf}]
\starttext
\part{foo}
\chapter{bar}
\section{baz}
\stoptext
Herbert
,
numbercommand=\ChapterNo,
continue=yes,style={\tfb\ss\bf}]
\setuphead[section][conversion=Romannumerals,
numbercommand=\SectionNo,style={\tfb\ss\bf}]
\starttext
\part{foo}
\chapter{bar}
\section{baz}
\stoptext
Herbert
[frontpart]
\setuppagenumbering[state=start,location=bottom,conversion=romannumerals]
\setuphead[chapter]
[command=\MyFrontMatterCommand,textstyle=\ss\bfd,
header=empty,footer=chapter,page=mychapterpagebreak,
number=no,after={\blank[0.5in]}]
\stopstructureblockenvironment
front part instead of frontmatter?
There was a thread whose title is Roman Page numbers.
And among the mails on 2009. 2. 4, there was a sample written by Wolfgang .
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber
on 2009. 2. 4, there was a sample written by Wolfgang .
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\startstructureblockenvironment[frontpart
?
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
%pagenumbers in TOC not converted if frontmatter
\definestructureconversionset[bodymatter:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\definehead [intro][chapter]
\setuphead [intro][number
][][romannumerals]
%pagenumbers in TOC not converted if frontmatter
\definestructureconversionset[bodymatter:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\setuplist[intro][pageconversionset=pagenumber]
\startstructureblockenvironment[frontmatter]
%whether frontpart
]
\setuphead [intro][number=no]
\setuppagenumbering
[state=start,
conversion=romannumerals, location=bottom]
\startsectionblockenvironment[frontpart]
\definecombinedlist [content][intro,chapter,section]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart
=no]
\setuppagenumbering
[state=start,
conversion=romannumerals, location=bottom]
\startsectionblockenvironment[frontpart]
\definecombinedlist [content][intro,chapter,section]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\stopsectionblockenvironment
Dear Tom,
Please add following lines in the preamble, then you will get roman numerals.
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
Also I use \startstructureblockenvironment[backpart] instead
for better shapes are welcomed.
Thank you.
Best regards,
Dalyoung
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\setupheadertexts[][{\tfx COUNTING}]
\startstructureblockenvironment[frontpart
\footnote{This is a silly remark\dots}
\stopitemize
\stoptext
%%% end test.tex
and the error message I get:
! Undefined control sequence.
\romannumerals #1-\ctxcommands
{romannumerals(\number #1)}
l.7 }
\doconvertedstructurecounter ...!criterium
\startitemize[r]
\item Testing items and footnotes\footnote{This is a silly remark\dots}
\stopitemize
\stoptext
%%% end test.tex
and the error message I get:
! Undefined control sequence.
\romannumerals #1-\ctxcommands
{romannumerals(\number #1)}
ah, you got me ... should
/counters.pdf
The keys you request are already there:
countby = way (e.g. way=bytext or way=bychapter)
countertype = numberconversion and numberconverionset (e.g.
numberconversion=romannumerals)
counterdiplay = prefixsegments or numbersegments
Wolfgang
On 13-10-2010 1:49, Steffen Wolfrum wrote:
Hi,
as definestructureconversionset is such a convenient command, could we also
have the accompanying structuresectionstarterset and structuresectionstopperset?
\definestructureconversionset [default] [
,Characters,Romannumerals,Numbers,characters
[default] [
,Characters,Romannumerals,Numbers,characters,charcharacters][numbers]
\definestructuresectionstarterset [default] [ , , , , ,{(}][{.}]
\definestructuresectionstopperset [default] [ ,{.},{.},{)},{)},{)}][{.}]
maybe ... you can set a tracker item so that it can
Hi,
as definestructureconversionset is such a convenient command, could we also
have the accompanying structuresectionstarterset and structuresectionstopperset?
\definestructureconversionset [default] [
,Characters,Romannumerals,Numbers,characters,charcharacters][numbers
[enumerate]
\setupenumerate[1][romannumerals]
\setupenumerate[1][width=1cm,stopper=,left=(,right=)]
\starttext
\startenumerate
\item A
\item B
\item C
\stopenumerate
\stoptext
___
If your question is of interest
Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit:
\defineitemgroup[enumerate]
\setupenumerate[1][romannumerals]
\setupenumerate[1][width=1cm,stopper=,left=(,right=)]
\starttext
\startenumerate
\item A
\item B
\item C
\stopenumerate
\stoptext
For the other hand, is width=1cm arbitrary
and LaTeX right-aligns the numbers (markers)
Wolfgang? I know how to code this in plain style, but is there a nicer
way?
\defineitemgroup[enumerate]
\setupitemgroup[enumerate][each][romannumerals][width=1cm,distance=1em,itemalign=flushright,left=(,right=),stopper=]
%\setupitemgroup[enumerate
) bla bla bla
(ii) bla bla bla
(iii) bla bla bla
(iv) bla bla bla
Context aligns text and LaTeX right-aligns the numbers (markers)
Wolfgang? I know how to code this in plain style, but is there a nicer
way?
\defineitemgroup[enumerate]
\setupitemgroup[enumerate][each][romannumerals
?
Best regards: OK
I use mkii
Xan.
___
The version with fit works in mkii here:
\setupitemgroup[enumerate][each][romannumerals,fit][width=1cm,distance=1em,itemalign=flushright,left=(,right=),stopper=]
At least
]
\setupenumerate[1][romannumerals]
\setupenumerate[1][width=1cm,stopper=,left=(,right=)]
\starttext
\startenumerate
\item A
\item B
\item C
\stopenumerate
\stoptext
___
If your question is of interest to others as well, please
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumbering[conversion=]
\setuppagenumber[number=1]
\title {Introduction}
\dorecurse{5}{\input tufte\par}
\chapter{Some Stuff}
\dorecurse{5}{\input tufte\par
Hi Martin,
I tried this
---
\starttext
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\title{Title}
\subject{Abstract}
\subject{Acknowledgements}
\definecombinedlist [content][title,subject,chapter]
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumbering
It all kind of goes like this:
\starttext
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumbering[conversion=]
\setuppagenumber[number=1]
\title {Introduction}
\dorecurse{5}{\input tufte\par}
\chapter{Some Stuff
Hi,
The following minimal example has no effect on page numbering(MkIV):
\setuppagenumbering[conversion=romannumerals] %
\setuppagenumbering[numberconversion=romannumerals] has no effect too.
\starttext
\chapter{Alpha}
\input tufte
\stoptext
$ context --version
MTXrun | current version
Am 12.08.10 03:52, schrieb Hongwen Qiu:
Hi,
The following minimal example has no effect on page numbering(MkIV):
\setuppagenumbering[conversion=romannumerals] %
\setuppagenumbering[numberconversion=romannumerals] has no effect too.
\setupuserpagenumbering[numberconversion=romannumerals
于 2010年08月12日 11:08, Wolfgang Schuster 写道:
Am 12.08.10 03:52, schrieb Hongwen Qiu:
Hi,
The following minimal example has no effect on page numbering(MkIV):
\setuppagenumbering[conversion=romannumerals] %
\setuppagenumbering[numberconversion=romannumerals] has no effect too
Hi,
The following code is expected to produce roman numerals i in the footer. I
always get the number 1 instead. Anybody knows what I'm doing wrong? Thanks
very much!
\starttext
\setuppagenumber[number=1]
\setuppagenumbering[conversion=romannumerals,location=footer]
some text
\stoptext
On 2-8-2010 5:28, Riobard wrote:
Hi,
The following code is expected to produce roman numerals i in the footer. I always get
the number 1 instead. Anybody knows what I'm doing wrong? Thanks very much!
\starttext
\setuppagenumber[number=1]
\setuppagenumbering[conversion=romannumerals,location
,conversion=Romannumerals,placehead=yes]
and
\setuphead [chapter,section,subsection] [sectionsegments=2:100]
\setuppagenumbering [alternative=doublesided,way=bytext,partnumber=no]
(this is what Hans refers to as defaults that are set up differently).
[By the way, the default pagenumbering by part
}]
\setupcolors
[state=start]
\newcount\FrontPageNumbers
\setupsubpagenumber[way=bytext,state=start]
\setuppagenumbering[location=]
\startsectionblockenvironment[frontpart]
\setupfootertexts[pagenumber]
\setuppagenumbering[conversion=romannumerals]
\stopsectionblockenvironment
).
Concerning your example, control over numbers happens this way:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\setupuserpagenumber[way=byblock]
\setupuserpagenumber[numberconversionset=pagenumber]
\starttext
Am 17.05.10 22:12, schrieb Jaroslav Hajtmar:
Is there due
\setupsectionblock
[backpart]
[before={\setupuserpagenumber[numberconversion=Romannumerals]}]
\setupsectionblock
[appendix]
[before={\setupuserpagenumber[numberconversion=numbers]
%Characters
Jaroslav Hajtmar:
Is there due
\setupsectionblock
[backpart]
[before={\setupuserpagenumber[numberconversion=Romannumerals]}]
\setupsectionblock
[appendix]
[before={\setupuserpagenumber[numberconversion=numbers]
%Characters
\setupheadertexts
of numbering:
A. Section 9
B. Section 10
in \startbackmatter - \stopbackmatter is without numbering:
Section 14
Section 15
Is there due
\setupsectionblock
[backpart]
[before={\setupuserpagenumber[numberconversion=Romannumerals]}]
\setupsectionblock
[appendix]
[before
I am using the given command below to change numbering format, but I
get numbers instead of roman numerals. Looks like conversion option
has no effect.
\setuppagenumbering
[location=right,
alternative=doublesided,
conversion=Romannumerals,
style=bold]
On Thu, Apr 22, 2010
Am 23.04.10 08:10, schrieb Marius:
I am using the given command below to change numbering format, but I
get numbers instead of roman numerals. Looks like conversion option
has no effect.
\setuppagenumbering
[location=right,
alternative=doublesided,
conversion=Romannumerals
Hallo Wolfgang!
\starttext
\startfrontmatter
\completecontent[alternative=c]
\setuppagenumbering[state=start,alternative=doublesided,conversion=romannumerals]
...
\setuppagenumbering[state=start,alternative=doublesided,conversion=numbers]
\setuppagenumber[state=start,number
Am 19.04.10 00:53, schrieb Wolfgang Werners-Lucchini:
Follows is an example of a document that illustrates 1, above:
\starttext
\startfrontmatter
\completecontent[alternative=c]
\setuppagenumbering[state=start,alternative=doublesided,conversion=romannumerals]
...
\setuppagenumbering[state
] % do not reset parts and chapters
\setuphead [part] [sectionresetset=default,
placehead=yes,
conversion=Romannumerals]
\setuphead [chapter,section,subsection] [placehead=yes,sectionsegments=2:100]
%
% table of contents
%
\setuplabeltext [chapter=Chapter
\setupsection[...][...][...,...=...,...]
[...] name
[...] name
conversion numbers characters Characters romannumerals Romannumerals
previousnumber yes no
\stoptyping
The second parameter should be a 'name' and bodypartconversion is not
a parameter at all.
Looking at the description, my problem
conversion numbers characters Characters romannumerals Romannumerals
previousnumber yes no
The second parameter should be a 'name' and bodypartconversion is not
a parameter at all.
Looking at the description, my problem should be solved by
\setupsection[section-3][][conversion=Characters
!
From an earlier mail on this list:
\starttext
\definestructureconversionset[default]
[Character,number,Romannumerals,Character][number]
\definestructureseparatorset [default][.,.,--][.]
\setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4]
\section {One}
\subsection[sec:test
is
\setupsection[...][...][...,...=...,...]
[...] name
[...] name
conversionnumbers characters Characters romannumerals Romannumerals
previousnumberyes no
The second parameter should be a 'name' and bodypartconversion is not
a parameter at all.
Looking at the description
This code:
\enableregime[utf]
\starttext
\title{BLAH BLAH\\
BLAH}
\setuppagenumbering[state=stop]
\page
\setuppagenumbering[state=start,location={footer,center},conversion=romannumerals,style={\bf}]
\completecontent
\page
\setuppagenumbering[state=stop]
\chapter[chapter:foo]{Foo Bar
%
\definestructureconversionset[default][Character,number,Romannumerals,Character][number]
% \definestructureseparatorset [default][.,.,--][.]
% \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4]
% \setupreferencing[sectionsegments=3:4]
% \section {One} \subsection
%
\definestructureconversionset[default][Character,number,Romannumerals,Character][number]
% \definestructureseparatorset [default][.,.,--][.]
% \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4]
% \setupreferencing[sectionsegments=3:4]
% \section {One} \subsection[sec:test]{Two
][sups=yes]
\usetypescript[linlibertine]
\setupbodyfont[linlibertine]
% \defineconversion[sups][\red\setff{sups}\arabicnumerals]
\definestructureconversionset[sups][][Romannumerals]
\setupnote
[footnote]
[command=\myfootnotecommand,
% numberconversionset=sups,
% textnumberstyle=\setff{sups
\definefontfeature[sups][sups=yes]
\usetypescript[linlibertine]
\setupbodyfont[linlibertine]
% \defineconversion[sups][\red\setff{sups}\arabicnumerals]
\definestructureconversionset[sups][][Romannumerals]
\setupnote
[footnote]
[command=\myfootnotecommand,
% numberconversionset=sups
] [serif] [linlibertine] [default]
\stoptypescript
\definefontfeature[sups][sups=yes]
\usetypescript[linlibertine]
\setupbodyfont[linlibertine]
% \defineconversion[sups][\red\setff{sups}\arabicnumerals]
\definestructureconversionset[sups][][Romannumerals]
\setupnote
[footnote]
[command
Hi Hans,
there is a nice example in strc-ref.mkiv for the use of sectionsegments in
references
but the feature is still missing, can it be added.
% \starttext
%
\definestructureconversionset[default][Character,number,Romannumerals,Character][number]
% \definestructureseparatorset
:
\starttext
\setuppagenumbering[conversion=romannumerals]
\startfrontmatter
\completecontent
\stopfrontmatter
\setuppagenumber[number=1]
\setuppagenumbering[conversion=numbers]
\startbodymatter
\chapter{Chapter}
\section{Section}
\input tufte
\externalfigure[cow]
\chapter{Chapter 2}
\section{Section
Aditya, Luigi, others-
Thank you for your responses. I appreciate the candid answers, and the
time you took to provide examples.
Regarding Aditya's example, I do not get any errors, running LuaTeX,
MKIV, beta-0.43.0-2009091520.
However, I also do not get romannumerals in the frontpart
functionality and will
therefore let someone more expert reply to
your request with specific examples on how
to tune the style, notably page numbering;
it should be a simple matter.
Alan
% missing setups to:
% 1. frontmatter pagenumbering conversion=romannumerals
% 2. bodymatter pagenumbering chapter-page
% 3
Hallo list,
I just started to work with conTeXt, now that I seted up an project
environment as follows with the following content:
file project_oc.tex:
\startproject project_oc
\environment env_oc
\startfrontmatter
\setuppagenumbering[conversion=romannumerals
: in
function 'prefixpage'
...0910/tex/texmf-context/tex/context/base/strc-lst.lua:399: in
function 'prefixedpage'
main ctx instance:1: in main chunk.
The example is:
\definestructureconversionset[frontpart:pagenumber] [] [romannumerals]
\definestructureconversionset
:399: in
function 'prefixedpage'
main ctx instance:1: in main chunk.
The example is:
\definestructureconversionset[frontpart:pagenumber] [] [romannumerals]
\definestructureconversionset[bodypart:pagenumber] [] [numbers]
\definestructureconversionset[appendix:pagenumber
schrieb Derek CORDEIRO:
I do get romannumerals on each page now, but this is not reflected in
the
TOC as it does in MkII. Below is the minimal example.
The new code is more complicated than i thought, here is solution to the
problem.
As Hans suggested we should collect such setups
Schuster
schuster.wolfg...@googlemail.com wrote:
Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:
I do get romannumerals on each page now, but this is not reflected in the
TOC as it does in MkII. Below is the minimal example.
The new code is more complicated than i thought, here is solution
On Fri, Sep 4, 2009 at 2:07 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 03.09.2009 um 15:30 schrieb Derek CORDEIRO:
The following minimal example is not working under MkIV. However it works
under MkII
\setuppagenumbering[conversion=romannumerals
Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:
I do get romannumerals on each page now, but this is not reflected
in the
TOC as it does in MkII. Below is the minimal example.
The new code is more complicated than i thought, here is solution to
the problem.
As Hans suggested we should
The following minimal example is not working under MkIV. However it works
under MkII
\setuppagenumbering[conversion=romannumerals]
\starttext
\input knuth
\stoptex
What am I doing wrong?
LuaTeX, Version beta-0.43.0-2009081914
Regards,
Derek
Am 03.09.2009 um 15:30 schrieb Derek CORDEIRO:
The following minimal example is not working under MkIV. However it
works under MkII
\setuppagenumbering[conversion=romannumerals]
\setupuserpagenumber[numberconversion=romannumerals]
Wolfgang
tried playing around conversionsets, prefixsets, etc. but could not
figure out how to do this. Is something like this possible with the new
structure code?
this already works:
\starttext
\definestructureconversionset[default][Character,number,Romannumerals,Character][number
A) Two
See I-A.
%
I tried playing around conversionsets, prefixsets, etc. but could not
figure out how to do this. Is something like this possible with the new
structure code?
this already works:
\definestructureconversionset[default][Character,number,Romannumerals
[numberconversion=romannumerals]
\setupfootertexts[left][right]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setuppagenumber[number=1]
\setuppagenumbering [location=footer]
\setupuserpagenumber[numberconversion=characters]
\setupfootertexts[left][right
201 - 300 of 385 matches
Mail list logo