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] 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

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Jan Tosovsky
, 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

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-23 Thread Géry Ogam
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

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Wolfgang Schuster
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

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Géry Ogam
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

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Géry Ogam
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

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Wolfgang Schuster
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

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-18 Thread Jan Tosovsky
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

[NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
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

Re: [NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Wolfgang Schuster
. 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

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-17 Thread Jan Tosovsky
\setuphead[chapter][conversion=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist [content] [alternative=c] \setupcombinedlist [chapter] [distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright}} ] \starttext

Re: [NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
]}, 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

[NTG-context] Numberconversion problem in caption prefixes

2013-11-11 Thread Géry Ogam
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

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread luigi scarso
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

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Lance Larsen
. 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

[NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Jan Tosovsky
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

Re: [NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Hans Hagen
][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

[NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
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

[NTG-context] ToC - right-alignment of roman numerals

2013-06-03 Thread honyk
=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

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
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

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-06-03 Thread Marco Patzer
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

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-06-03 Thread honyk
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

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
) \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

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
://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

[NTG-context] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Tim Li
. \startsectionblockenvironment[frontpart] \definetext[titlestart] [footer][{\hfill\bf\romannumerals\pagenumber\hfill}] \setuphead[title] [footer=titlestart]\stopsectionblockenvironment \startsectionblockenvironment[bodypart] \definetext[chapterstart] [footer][{\hfill\bf

Re: [NTG-context] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Hans Hagen
pagenumber in frontmatter. \startsectionblockenvironment[frontpart] \definetext[titlestart] [footer][{\hfill\bf\romannumerals\pagenumber\hfill}] \setuphead[title] [footer=titlestart]\stopsectionblockenvironment \startsectionblockenvironment[bodypart] \definetext

[NTG-context] structure: project, product, structureresetset, ...

2013-03-25 Thread Alan BRASLAU
] [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

Re: [NTG-context] structure: project, product, structureresetset, ...

2013-03-25 Thread Wolfgang Schuster
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

[NTG-context] Including section number in reference broken

2013-03-17 Thread Steffen Wolfrum
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

Re: [NTG-context] Include section number in reference

2013-03-16 Thread Steffen Wolfrum
][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

[NTG-context] Desperate help needed: Formular numbering and List of Formulas

2012-12-16 Thread Zenlima
=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

Re: [NTG-context] Desperate help needed: Formular numbering and List of Formulas

2012-12-16 Thread Andreas Mang
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

[NTG-context] Indented footnotes in ConTeXt

2012-11-20 Thread Adam Khan
] \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

Re: [NTG-context] Header-Footer-Layout

2012-10-09 Thread Arne Runge
][romannumerals][] \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter \startstandardmakeup[align=middle] {\tfd TITLE} \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \chapter{Knuth} \dorecurse{12}{\input

Re: [NTG-context] Header-Footer-Layout

2012-10-02 Thread Wolfgang Schuster
[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

[NTG-context] Header-Footer-Layout

2012-09-24 Thread Arne Runge
[chapter][header=empty] \setupfootertexts[][pagenumber] \starttext \startstandardmakeup \title{title} \stopstandardmakeup \startfrontmatter \setuppagenumbering[conversion=romannumerals] \completecontent \stopfrontmatter \startbodymatter \setuppagenumber[number=1] \chapter{body} bla \stopbodymatter

Re: [NTG-context] Italic page number.

2012-08-07 Thread john Culleton
. --- \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

Re: [NTG-context] Italic page number.

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

Re: [NTG-context] Italic page number.

2012-08-05 Thread Wolfgang Schuster
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

Re: [NTG-context] Italic page number.

2012-08-05 Thread Wolfgang Schuster
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

[NTG-context] Italic page number.

2012-08-04 Thread john Culleton
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

[NTG-context] table of contents

2012-07-09 Thread Meer, H. van der
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

Re: [NTG-context] table of contents

2012-07-09 Thread Wolfgang Schuster
=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

Re: [NTG-context] beta

2012-07-09 Thread Meer, H. van der
% 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

[NTG-context] change the page number

2012-05-06 Thread Steffen Wolfrum
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

Re: [NTG-context] Should command `\setnumber' print number in text?

2012-05-01 Thread Wolfgang Schuster
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

Re: [NTG-context] Page numbering in latest beta

2012-04-02 Thread Steffen Fritzsche
] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals, way=byblock] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupuserpagenumber[numberconversion=numbers] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart

Re: [NTG-context] \setuppagenumber

2012-04-02 Thread Alan Bowen
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

Re: [NTG-context] why is \getnumber an undefined control sequence?

2012-04-02 Thread Wolfgang Schuster
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

Re: [NTG-context] why is \getnumber an undefined control sequence?

2012-04-02 Thread Thomas A. Schmitz
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

Re: [NTG-context] why is \getnumber an undefined control sequence?

2012-04-02 Thread Hans Hagen
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

Re: [NTG-context] why is \getnumber an undefined control sequence?

2012-04-02 Thread Wolfgang Schuster
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

<    1   2   3   4   >