[NTG-context] (again) diferent prefixsegments for different references

2022-01-16 Thread Pablo Rodriguez via ntg-context
Dear list, I asked this some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2021/102394.html). Using the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b

[NTG-context] different preffixsegments for different reference formats

2021-08-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b]{Section} \itsc[b] and \in[b] \stoptext How can I get that \itsc gets "prefixsegments=se

[NTG-context] different prefixsegments for \in

2021-06-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \section{One Section} \subsection[sec0]{Subsection} As told in \in[sec0] and \in[sec1]… \section{Another Section} \subsection[sec1]{Subsection} … \stoptext

[NTG-context] issue with references

2021-02-19 Thread Pablo Rodriguez
Hans, I have the following sample: \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \startTEXpage[offset=1em] \chapter{Chapter} \section[sec]{Section} As

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Wolfgang Schuster
implement everything except for the references. To clarify what I want to achieve I have written a smaller example that gives the correct output (manually). I use \setupreferencestructureprefix[default][prefixsegments=x:y]\in[foo]. everywhere to get the proper levels x:y. \setupreferenceformat

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Daniel Haid
. To clarify what I want to achieve I have written a smaller example that gives the correct output (manually). I use \setupreferencestructureprefix[default][prefixsegments=x:y]\in[foo]. everywhere to get the proper levels x:y. 1) Is there a quicker way to get this instead of writing

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
gments settings for the note entries and the references. \defineconversionset [OLIE] [n,R,n,n,n,n] [n] \setuphead [sectionconversionset=OLIE] \setupnotation [footnote] [prefix=yes, prefixset=none] \setupreferencestructureprefix [footnote] [default] [prefixsegments=c

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Wolfgang Schuster
rences. \defineconversionset [OLIE] [n,R,n,n,n,n] [n] \setuphead [sectionconversionset=OLIE] \setupnotation [footnote] [prefix=yes, prefixset=none] \setupreferencestructureprefix [footnote] [default] [prefixsegments=chapter, prefixset=all] \starttext \chapter{Chapter} Hey\fo

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
=0.7em, sectionstopper=., criterium=local] \definestructureconversionset[OLIE][n,R,n,n,n,n][n] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace, numberconversionse

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
ce=0em, textdistance=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \sta

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Wolfgang Schuster
n,n][n] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace, numberconversionset=OLIE] % \setupreferencestructureprefix [chapter] [default] % [prefixstopper=\zerowidt

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-01 Thread Wolfgang Schuster
=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \starttext \startchapter[title=

Re: [NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
,conversion=R] \setuphead[subsection][alternative=text] \setuphead[subsection][distance=0em, textdistance=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section

[NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
, textdistance=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big

[NTG-context] \setupreferencestructureprefix and numberconversionset

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
, textdistance=0.7em, sectionstopper=., criterium=local] \definestructureconversionset[OLIE][n,R,n,n,n,n][n] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 30 Jun 2018 04:20:57 -0600, Wolfgang Schuster wrote: You can use the \setupreferencestructureprefix command set a different value for the stopper but you have to ensure the key takes a value because a empty argument is ignored. Instead of the argument I used in my example (\symbol

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Wolfgang Schuster
You can use the \setupreferencestructureprefix command set a different value for the stopper but you have to ensure the key takes a value because a empty argument is ignored. Instead of the argument I used in my example (\symbol[none]) you can also use a unicode character without width, e.g

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Aditya Mahajan
ed{one}} \placefigure[here][xx:2]{}{\framed{three}} \placetable [here][xx:3]{}{\framed{two}} \placetable [here][xx:4]{}{\framed{four}} \start \in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4] \stop \blank \start \setupreferencestructureprefix[default][

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Wolfgang Schuster
{three}} \placetable [here][xx:3]{}{\framed{two}} \placetable [here][xx:4]{}{\framed{four}} \start \in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4] \stop \blank \start \setupreferencestructureprefix[default][prefix=no] \in{fig}[xx:1] and \in{fig

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-21 Thread Aditya Mahajan
}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4] \stop \blank \start \setupreferencestructureprefix[default][prefix=no] \in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4] \stop \blank \start \setupreferencestructureprefix[float][default][

[NTG-context] definereferencestructureprefix for floats

2015-06-20 Thread Aditya Mahajan
,Character][number] \defineseparatorset [default][.,.,--][.] \setuphead[subsection][sectionstopper=),sectionsegments=4:4] \setupreferencestructureprefix[default][prefixsegments=2:4] \setupreferencestructureprefix[figure][default][prefixsegments=3:4] \starttext \chapter {One} \section {One

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Csikos Bela
rm for any heading type and does not correspond to the heading >>>> type. >>>> Is this correct? (That is, there are no chapterstarter=, >>>> subsectionstarter= etc. options). >>> >>> No, it’s part of the key name and you have to use „sectionstoppe

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Wolfgang Schuster
g >>> type. >>> Is this correct? (That is, there are no chapterstarter=, subsectionstarter= >>> etc. options). >> >> No, it’s part of the key name and you have to use „sectionstopper” also for >> \part, \chapter etc. > > I see. > >>&g

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Csikos Bela
er=, subsectionstarter= >> etc. options). > >No, it’s part of the key name and you have to use „sectionstopper” also for >\part, \chapter etc. I see. >> 2. The command you commented, \setupreferencestructureprefix, what does it >> supposed to do? It did no

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Wolfgang Schuster
ld like my chapter, section etc >>> numbers to >>> have a dot after them, eg 1. 1.1. etc. How could I achieve this? Just in >>> curiousity, >>> how can I change the separator? >> >> \setuphead >> [sectionstarter=(, >> sectionstopper=)] >>

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Csikos Bela
;> curiousity, >> how can I change the separator? > >\setuphead > [sectionstarter=(, > sectionstopper=)] > >%\setupreferencestructureprefix[default][prefixstarter={\symbol[none]},prefixstopper={\symbol[none]}] > >\starttext > >\chapter[sec:chapter]{Chapter}

Re: [NTG-context] setupheads separator and stopper

2015-04-23 Thread Wolfgang Schuster
\setuphead [sectionstarter=(, sectionstopper=)] %\setupreferencestructureprefix[default][prefixstarter={\symbol[none]},prefixstopper={\symbol[none]}] \starttext \chapter[sec:chapter]{Chapter} \section[sec:section]{Section} \subsection[sec:subsection]{Subsection} Reference to chapter \in[sec:chapter] a

Re: [NTG-context] bug in \setupreferencestructureprefix?

2015-04-14 Thread Pablo Rodriguez
On 04/15/2015 01:33 AM, Hans Hagen wrote: > On 4/14/2015 10:22 PM, Pablo Rodriguez wrote: >> [...] >> Reference should be 1.1 and not only 1. It works fine with beta from >> 2015.03.25 22:13. >> >> I’m afraid it may be a bug. > > indeed, introduced when updating some interface part to the latest

Re: [NTG-context] bug in \setupreferencestructureprefix?

2015-04-14 Thread Hans Hagen
On 4/14/2015 10:22 PM, Pablo Rodriguez wrote: Dear list, I have just discovered another issue with latest beta from 2015.04.14 19:03: \setupreferencestructureprefix[default][prefixsegments=2:4] \setuphead[section][sectionsegments=section] \starttext \in[mysection

[NTG-context] bug in \setupreferencestructureprefix?

2015-04-14 Thread Pablo Rodriguez
Dear list, I have just discovered another issue with latest beta from 2015.04.14 19:03: \setupreferencestructureprefix[default][prefixsegments=2:4] \setuphead[section][sectionsegments=section] \starttext \in[mysection] \chapter[mychapter]{My Chapter} \section[mysection

Re: [NTG-context] \setupcaptions question

2015-03-10 Thread Wolfgang Schuster
etc. > > I see. I think workaround will suffice for the present document, thank you. I > will > do that (and hope for a timely fix so that I can revert to numberstopper > soon…) The new beta let you change the stopper symbol which is shown in the reference, to disable the stopp

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

2014-05-22 Thread Wolfgang Schuster
Am 23.05.2014 um 01:09 schrieb Maggyero : > Thank you Wolfgang, your hack is perfect. Hans, what do you think about > adding a style and color key in \setupreferencestructureprefix to avoid > having to use this defineprocessor hack? The processor command is meant for this purpose to

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

2014-05-22 Thread Maggyero
Thank you Wolfgang, your hack is perfect. Hans, what do you think about adding a style and color key in \setupreferencestructureprefix to avoid having to use this defineprocessor hack? And by the way, the name \setupreferencestructureprefix does not sound really natural to me because we are

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

2014-05-22 Thread Wolfgang Schuster
Am 22.05.2014 um 18:51 schrieb Maggyero : > I have found how to get the conversion of numbers in references (the > 'prefixconversion' key in '\setupreferencestructureprefix' command), but I > still do not know how to change their style. I have tried the 'style

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

2014-05-22 Thread Maggyero
I have found how to get the conversion of numbers in references (the 'prefixconversion' key in '\setupreferencestructureprefix' command), but I still do not know how to change their style. I have tried the 'style' key and 'prefixstyle' key but without succe

Re: [NTG-context] stoppers in section heading without having stoppers in references?

2013-04-18 Thread Wolfgang Schuster
rst heading} > > \input knuth > > \inchapter[one] we learn. > > \stoptext \defineprocessor[dostopper][right=.] \defineprocessor[nostopper][right=] \defineconversionset[stopperconversionyes][][dostopper->n] \defineconversionset[stopperconversionnop][][nostopper->n] \setuphead[c

Re: [NTG-context] Including section number in reference broken

2013-03-18 Thread Wolfgang Schuster
on A > > > Then Wolfgang added this line: > > \setupreferencestructureprefix[default][prefixsegments=2:*] > > > But running this advice with todays beta does not have any effect one Marcos > original example, and it does not lead to the desired ouput

[NTG-context] Including section number in reference broken

2013-03-17 Thread Steffen Wolfrum
Hi, in October 2011 Marco asked how to get an output like this: I Foo A Bar subsection I.A The example he posted (see below) came to this result: I Foo A Bar subsection A Then Wolfgang added this line: \setupreferencestructureprefix[default][prefixsegments=2:*] But running this advice

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

2013-03-16 Thread Steffen Wolfrum
, there's a neat solution for >> that. > > \setupreferencestructureprefix[default][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 [m

[NTG-context] Managing prefixes in section references

2012-11-14 Thread Jean-Philippe Rey
Hi all, I am trying to convince \in to build up a full reference (.) but can not work it out. Here is my minimal example : % ConTeXt 2012.11.08 MKIV \setuphead[section][sectionsegments=section] \setupreferencestructureprefix[section][number][prefixsegments=2:*] \starttext \chapter{Chapter one

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

2011-10-16 Thread Marco
On 2011-10-15 Wolfgang Schuster wrote: > [Description of \setupreferencestructureprefix] wikified Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

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

2011-10-15 Thread Wolfgang Schuster
Am 14.10.2011 um 13:28 schrieb Wolfgang Schuster: > > Am 14.10.2011 um 13:18 schrieb Marco: > >> On 2011-10-13 Wolfgang Schuster wrote: >> >>> \setupreferencestructureprefix[default][prefixsegments=2:*] >> >> Thanks. >> >> Wik

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

2011-10-14 Thread Wolfgang Schuster
Am 14.10.2011 um 13:18 schrieb Marco: > On 2011-10-13 Wolfgang Schuster wrote: > >> \setupreferencestructureprefix[default][prefixsegments=2:*] > > Thanks. > > Wikified. (Although without explanations, just an example) I can also provide the entry from my command

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

2011-10-14 Thread Marco
On 2011-10-13 Wolfgang Schuster wrote: > \setupreferencestructureprefix[default][prefixsegments=2:*] Thanks. Wikified. (Although without explanations, just an example) Marco ___ If your question is of inter

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

2011-10-13 Thread Wolfgang Schuster
Am 13.10.2011 um 22:36 schrieb Marco: > Does anyone have an idea? > > What I do at the moment is that I manually reference my > sections. But I'm convinced, there's a neat solution for > that. \setupreferencestructureprefix[default][pref

Re: [NTG-context] bug with reference ?

2011-01-06 Thread Steffen Wolfrum
mistake or is there a bug? > > Steffen > --- > > \starttext > > \setupreferencestructureprefix[default][prefixsegments=2:100] > \definestructureseparatorset [default][,,{. (},{) },{. (}][ ] > > \setupstructurehead[section] > [sectionstarter=,sectionstopper

[NTG-context] bug with reference ?

2011-01-06 Thread Steffen Wolfrum
--- \starttext \setupreferencestructureprefix[default][prefixsegments=2:100] \definestructureseparatorset [default][,,{. (},{) },{. (}][ ] \setupstructurehead[section] [sectionstarter=,sectionstopper=.,sectionsegments=3:3] \setupstructurehead[subsection] [sectionstar

[NTG-context] sectionstopper

2010-01-07 Thread Wolfgang Schuster
ang \setuphead[chapter][sectionsegments=2:2,sectionstopper=)] \setuphead[section][sectionsegments=3:3,sectionstopper=),numbercommand=(] % How can I print the section number as '1) (1)' in the toc? %\setuplist[section][sectionsegments=2:3,numbercommand=(] \setupreferencestructureprefix

Re: [NTG-context] sectionsegments for reference

2009-12-07 Thread Hans Hagen
[sec:test]{Two} See \in[sec:test] % \stoptext % \definestructureconversionset[default][Character,number,Romannumerals,Character][number] % \definestructureseparatorset [default][.,.,--][.] % \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4] % \setupreferencestructureprefix

[NTG-context] for prefix lovers

2009-10-29 Thread Hans Hagen
three}} \placetable [here][xx:3]{}{\framed{two}} \placetable [here][xx:4]{}{\framed{four}} \start \in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4] \stop \blank \start \setupreferencestructureprefix[default][prefix=no] \in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{ta