[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

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

2019-12-04 Thread Wolfgang Schuster
to 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-02 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
}} \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][prefix

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Wolfgang Schuster
}} \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

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-21 Thread Aditya Mahajan
] 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][prefix

[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 Wolfgang Schuster
the separator? \setuphead [sectionstarter=(, sectionstopper=)] %\setupreferencestructureprefix[default][prefixstarter={\symbol[none]},prefixstopper={\symbol[none]}] \starttext \chapter[sec:chapter]{Chapter} \section[sec:section]{Section} \subsection[sec:subsection]{Subsection

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Csikos Bela
=)] %\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] and section \in[sec:section]. \stoptext Thank

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Wolfgang Schuster
? (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. 2. The command you commented, \setupreferencestructureprefix, what does it supposed to do? It did not do anything for me

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Csikos Bela
? (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. 2. The command you commented, \setupreferencestructureprefix, what does it supposed to do? It did not do anything for me

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Csikos Bela
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 not do anything for me, eg: \setupreferencestructureprefix[default][prefixstarter={\symbol[diamond

Re: [NTG-context] setupheads separator and stopper

2015-04-23 Thread Wolfgang Schuster
=)] %\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] and section \in[sec:section]. \stoptext Wolfgang

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 greatest

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

Re: [NTG-context] \setupcaptions question

2015-03-10 Thread Wolfgang Schuster
to numberstopper soon…) The new beta let you change the stopper symbol which is shown in the reference, to disable the stopper you have to use “numberstopper={\symbol[none]}”. \setupexternalfigure[location=default] \setupcaption[figure][numberstopper=:] \setupreferencestructureprefix[figure

[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 success. After checking in ConTeXt source, I

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 maggy...@gmail.com: 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

[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

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

2013-04-18 Thread Wolfgang Schuster
[dostopper][right=.] \defineprocessor[nostopper][right=] \defineconversionset[stopperconversionyes][][dostopper-n] \defineconversionset[stopperconversionnop][][nostopper-n] \setuphead[chapter][sectionconversionset=stopperconversionyes] %\setupreferencestructureprefix[chapter][default

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

2013-03-18 Thread Wolfgang Schuster
: \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. Is this broken now? This happens because the definition of \currentreferencedefault

[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
Am 13.10.2011 um 22:48 schrieb 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

[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 (chapter number.section number) 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

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

2011-10-16 Thread Marco
On 2011-10-15 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: [Description of \setupreferencestructureprefix] wikified Marco ___ If your question is of interest to others as well, please add an entry

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 schuster.wolfg...@googlemail.com wrote: \setupreferencestructureprefix[default][prefixsegments=2:*] Thanks. Wikified. (Although without explanations, just

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

2011-10-14 Thread Marco
On 2011-10-13 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupreferencestructureprefix[default][prefixsegments=2:*] Thanks. Wikified. (Although without explanations, just an example) Marco

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 schuster.wolfg...@googlemail.com 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-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][prefixsegments=2:*] Wolfgang

[NTG-context] bug with reference ?

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

Re: [NTG-context] bug with reference ?

2011-01-06 Thread Steffen Wolfrum
with sectionstarter=( then the entire reference gets ( instead of only the actual section: The example below gives ... (1. (1) 1. (1) ...but the right way would be 1. (1) 1. (1) Did I make a mistake or is there a bug? Steffen --- \starttext \setupreferencestructureprefix

[NTG-context] sectionstopper

2010-01-07 Thread Wolfgang Schuster
[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[default][prefixsegments=2:100

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
}} \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{tab}[xx