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
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
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
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
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
.
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
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
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
=0.7em,
sectionstopper=.,
criterium=local]
\definestructureconversionset[OLIE][n,R,n,n,n,n][n]
\setupreferencestructureprefix [section] [default]
[prefixstopper=\zerowidthspace,
numberconversionse
ce=0em,
textdistance=0.7em,
sectionstopper=.,
criterium=local]
\setupnotation[footnote][way=bychapter]
\setupreferencestructureprefix [section] [default]
[prefixstopper=\zerowidthspace]
\setupwhitespace[big]
\sta
n,n][n]
\setupreferencestructureprefix [section] [default]
[prefixstopper=\zerowidthspace,
numberconversionset=OLIE]
% \setupreferencestructureprefix [chapter] [default]
% [prefixstopper=\zerowidt
=0.7em,
sectionstopper=.,
criterium=local]
\setupnotation[footnote][way=bychapter]
\setupreferencestructureprefix [section] [default]
[prefixstopper=\zerowidthspace]
\setupwhitespace[big]
\starttext
\startchapter[title=
,conversion=R]
\setuphead[subsection][alternative=text]
\setuphead[subsection][distance=0em,
textdistance=0.7em,
sectionstopper=.,
criterium=local]
\setupnotation[footnote][way=bychapter]
\setupreferencestructureprefix [section
,
textdistance=0.7em,
sectionstopper=.,
criterium=local]
\setupnotation[footnote][way=bychapter]
\setupreferencestructureprefix [section] [default]
[prefixstopper=\zerowidthspace]
\setupwhitespace[big
,
textdistance=0.7em,
sectionstopper=.,
criterium=local]
\definestructureconversionset[OLIE][n,R,n,n,n,n][n]
\setupreferencestructureprefix [section] [default]
[prefixstopper=\zerowidthspace
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
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
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][
{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: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][
,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
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
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
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
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=)]
>>
;> curiousity,
>> how can I change the separator?
>
>\setuphead
> [sectionstarter=(,
> sectionstopper=)]
>
>%\setupreferencestructureprefix[default][prefixstarter={\symbol[none]},prefixstopper={\symbol[none]}]
>
>\starttext
>
>\chapter[sec:chapter]{Chapter}
\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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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 :
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
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
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
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
mistake or is there a bug?
>
> Steffen
> ---
>
> \starttext
>
> \setupreferencestructureprefix[default][prefixsegments=2:100]
> \definestructureseparatorset [default][,,{. (},{) },{. (}][ ]
>
> \setupstructurehead[section]
> [sectionstarter=,sectionstopper
---
\starttext
\setupreferencestructureprefix[default][prefixsegments=2:100]
\definestructureseparatorset [default][,,{. (},{) },{. (}][ ]
\setupstructurehead[section]
[sectionstarter=,sectionstopper=.,sectionsegments=3:3]
\setupstructurehead[subsection]
[sectionstar
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
[sec:test]{Two} See \in[sec:test]
% \stoptext
%
\definestructureconversionset[default][Character,number,Romannumerals,Character][number]
% \definestructureseparatorset [default][.,.,--][.]
% \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4]
% \setupreferencestructureprefix
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
50 matches
Mail list logo