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
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
.
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
}}
\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
}}
\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
] 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
,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
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
=)]
%\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
? (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
? (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
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
=)]
%\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
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
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
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
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
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
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
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
[dostopper][right=.]
\defineprocessor[nostopper][right=]
\defineconversionset[stopperconversionyes][][dostopper-n]
\defineconversionset[stopperconversionnop][][nostopper-n]
\setuphead[chapter][sectionconversionset=stopperconversionyes]
%\setupreferencestructureprefix[chapter][default
:
\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
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
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
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
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
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
On 2011-10-13 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
\setupreferencestructureprefix[default][prefixsegments=2:*]
Thanks.
Wikified. (Although without explanations, just an example)
Marco
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
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
\setupreferencestructureprefix[default][prefixsegments=2:100]
\definestructureseparatorset [default][,,{. (},{) },{. (}][ ]
\setupstructurehead[section]
[sectionstarter=,sectionstopper=.,sectionsegments=3:3]
\setupstructurehead[subsection]
[sectionstarter=(,sectionstopper
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
[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
[sec:test]{Two} See \in[sec:test]
% \stoptext
%
\definestructureconversionset[default][Character,number,Romannumerals,Character][number]
% \definestructureseparatorset [default][.,.,--][.]
% \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4]
% \setupreferencestructureprefix
}}
\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
49 matches
Mail list logo