[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
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

[NTG-context] textext within ConTeXt

2019-03-03 Thread Mohammad Hossein Bateni
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

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
, incrementnumber=list] \startproduct Danggok \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definestructureconversionset[backpart:pagenumber][][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber

Re: [NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Pablo Rodriguez
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

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
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

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Wolfgang Schuster
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

[NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
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

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
l] \startstandardmakeup \midaligned{\CruxFramed{\ssd OpenStack}} \vfil \stopstandardmakeup \stopBG \startfrontmatter \setuplayout[reset] \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1] \completecontent %\completelistoffigures %\completelistof

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
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: >

Re: [NTG-context] Page printed upside down

2017-10-22 Thread Pablo Rodriguez
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

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
\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

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Fabrice Couvreur
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

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
> Remark 1.2 > Remark 1.3 > > Thanks > Fabrice > > % > \definestructureconversionset > [structure] > [numbers, Romannumerals, numbers, numbers, numbers] > [numbers] > > \setupheads [sectionconversionset=structure

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
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

[NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Fabrice Couvreur
[{\getmarking[section]}][pagenumber] [{\getmarking[chapter]}][pagenumber] \setuppagenumbering[alternative=,location=] \definestructureconversionset [structure] [numbers, Romannumerals, numbers, numbers, numbers] [numbers] \setupheads [sectionconversionset=structure

[NTG-context] Some questions about my document

2017-08-24 Thread Fabrice Couvreur
, 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

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
][][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

Re: [NTG-context] \mainlanguage[pe]

2016-08-01 Thread Mohammad Hossein Bateni
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

Re: [NTG-context] A new problem in old TOC

2016-07-18 Thread Ursula Hermann
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

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
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

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
, 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

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
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?

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
hapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction=all] \setuphead [part] [sectionresetset=, conversion=Romannumerals, placehead=yes, bodypartlabel=chapter] \setuphead [chapter] [sectionre

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
] [aligntitle=yes, alternative=c, interaction=all] \setuphead [part] [sectionresetset=, conversion=Romannumerals, placehead=yes, bodypartlabel=chapter] \setuphead [chapter] [sectionresetset=, conversion=, number

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
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

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Mohammad Hossein Bateni
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>

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
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

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
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

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
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

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
tarttext > \placecontent > \setupuserpagenumber[numberconversion=romannumerals] > \startchapter > \startchapter[title={Bildbeschreibung der Cover-Grafik}] > \setupuserpagenumber[numberconversion=numbers] > \startchapter > [title={Einleitung:"Entwicklung" behindern?}] > \stopte

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Ursula Hermann
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

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Wolfgang Schuster
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-

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
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

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
, 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

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Wolfgang Schuster
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

[NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Ursula Hermann
,subsection,subsubsect ion}] \setupuserpagenumbering[conversion=romannumerals] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction

[NTG-context] issue with bookmark for sections

2016-04-21 Thread Pablo Rodriguez
, 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

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster
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

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Here is my code for the header: \setupheadertexts [{\righttoleft\getmarking[chapter]}][{\romannumerals}] [{\pagenumber}][{\righttoleft\getmarking[chapter]}] \setuppagenumbering[ alternative=doublesided, location

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
r: > > \setupheadertexts > [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] > [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] > > Use > > \setupheadertexts[pagenumber] > > or &

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Otared Kavian
ode for the header: >> >> \setupheadertexts >> [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] >> [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] > Use > > \setupheadertexts[pagenumber] > > or > > \setupheadertexts[\userpagenumber] > >

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
> > > Hello Wolfgang, > > Thanks for helping out again. > > i tried your code : > > > \setupheadertexts[pagenumber] >[{\righttoleft\getmarking[chapter]}][{\romannumerals}] >[{\pagenumber}][{\righttoleft\getmarking[chapter]}] > &

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
ft\getmarking[chapter]}][{\romannumerals}] [{\pagenumber}][{\righttoleft\getmarking[chapter]}] \setuppagenumbering[ alternative=doublesided, location=, ] It did not work, no page numbers appeared(blank) I

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
}, % 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

Re: [NTG-context] getnumber and Roman numerals

2015-12-18 Thread Hans Hagen
. Is it possile to convert \getnumber output to roman numerals? \romannumerals{123} \Romannumerals{123} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
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

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
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

Re: [NTG-context] tex error in curent beta

2015-10-22 Thread Jan Tosovsky
>numberstyle={\kerncharacters[0.125]\bfa}, >numbercommand=\groupedcommand{}{\blank[4mm]}, >sectionstopper={.}, >conversion=Romannumerals, > ] > > \define[1]\ChapterListNumbercommand > {\simplealignedbox{\listparameter{width}}{flushright}{#1}} > >

Re: [NTG-context] tex error in curent beta

2015-10-16 Thread Jan Tosovsky
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

Re: [NTG-context] tex error in curent beta

2015-10-15 Thread Wolfgang Schuster
lines): ... \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \definestructureconversionset[backpart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannu

[NTG-context] tex error in curent beta

2015-10-15 Thread Jan Tosovsky
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

Re: [NTG-context] formatting section and figure numbers

2015-09-25 Thread Pablo Rodriguez
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

[NTG-context] formatting section and figure numbers

2015-09-25 Thread Meer, Hans van der
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

Re: [NTG-context] Sectioning and structure

2015-09-13 Thread Fabrice Couvreur
] \setuphead [part] [sectionresetset=, conversion=Romannumerals, placehead=yes, bodypartlabel=chapter] \setuphead [chapter] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments

Re: [NTG-context] Title of parts

2015-08-30 Thread Alan BRASLAU
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

Re: [NTG-context] Title of parts

2015-08-30 Thread Eric Détrez
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

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-04 Thread Otared Kavian
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

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
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

[NTG-context] Formatting TOC

2015-08-03 Thread robheus
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

[NTG-context] definereferencestructureprefix for floats

2015-06-20 Thread Aditya Mahajan
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

Re: [NTG-context] Roman numerals in running heads in frontmatter.

2015-04-21 Thread John Culleton
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

[NTG-context] Roman numerals in running heads in frontmatter.

2015-04-20 Thread John Culleton
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

Re: [NTG-context] Roman numerals in running heads in frontmatter.

2015-04-20 Thread Pablo Rodriguez
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

[NTG-context] Page numbering, new style and running heads.

2015-02-25 Thread John Culleton
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

Re: [NTG-context] Footnotes and Marginal texts

2015-02-15 Thread Robert Krug
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

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-06 Thread Mojca Miklavec
, 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

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-06 Thread Hans Hagen
, 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

Re: [NTG-context] numberconversion bug?

2014-12-22 Thread Alan Bowen
] %\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

Re: [NTG-context] numberconversion bug?

2014-12-18 Thread Alan Bowen
][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

[NTG-context] numberconversion bug?

2014-12-12 Thread Alan Bowen
=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

Re: [NTG-context] footnote in framedtext (Gerben Wierda)

2014-12-07 Thread Gerben Wierda
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

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-05 Thread Alan BRASLAU
] [ 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

Re: [NTG-context] first line indents

2014-10-13 Thread Andrea Valle
={\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

[NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
this: \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] % some stuff \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers] \setnumber[page]{1} %some stuff \stopbodymatter

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
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

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
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

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
: begin example \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[backpart:pagenumber] [][characters] \starttext \startfrontmatter \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
example \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[backpart:pagenumber] [][characters] \starttext \startfrontmatter \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[number=1] \input

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
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

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
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

[NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Maggyero
=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

Re: [NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Wolfgang Schuster
: \setupreferencestructureprefix[section][default][% prefixconversion=Romannumerals, prefixstyle=\bf] \defineprocessor[sectionstyle][style=italic,color=red] \defineconversionset[sectionconversion][][sectionstyle-Romannumerals] \setupreferencestructureprefix[section][default

[NTG-context] Two coexisting number conversions (in headers and in texts)

2014-05-14 Thread Maggyero
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

[NTG-context] Two coexisting number conversions (in headers and in texts)

2014-05-09 Thread Maggyero
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

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
=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

Re: [NTG-context] Getting the current chapter number in the TOC

2014-04-17 Thread Wolfgang Schuster
\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

Re: [NTG-context] issues with greeknumerals

2014-04-08 Thread Pablo Rodriguez
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

Re: [NTG-context] three long-standing issues

2014-04-07 Thread Hans Hagen
\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

Re: [NTG-context] issues with greeknumerals

2014-04-07 Thread Pablo Rodriguez
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

Re: [NTG-context] issues with greeknumerals

2014-04-07 Thread Wolfgang Schuster
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

Re: [NTG-context] issues with greeknumerals

2014-04-07 Thread Otared Kavian
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

Re: [NTG-context] issues with greeknumerals

2014-04-07 Thread Wolfgang Schuster
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

Re: [NTG-context] issues with greeknumerals

2014-04-07 Thread Otared Kavian
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

Re: [NTG-context] Appendix Page Numbering

2014-02-14 Thread Troy Henderson
\setupuserpagenumber[viewerprefix=titlepage] \startstandardmakeup The first page \stopstandardmakeup \setupuserpagenumber[viewerprefix=p ] I'm clearly missing something. Troy \setupinteraction[state=start] \defineconversionset[frontpart:pagenumber][][romannumerals

Re: [NTG-context] Appendix Page Numbering

2014-02-13 Thread Hans Hagen
are. mkiv: \nopdfcompression \setupinteraction [state=start] \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[appendix:pagenumber] [][Characters] \setupuserpagenumber[numberconverionset=pagenumber,way

Re: [NTG-context] Appendix Page Numbering

2014-02-06 Thread Wolfgang Schuster
, ..., 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

[NTG-context] Appendix Page Numbering

2014-02-05 Thread Troy Henderson
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

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Pablo Rodriguez
] [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

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Wolfgang Schuster
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

  1   2   3   4   >