On 5/10/2015 9:40 PM, Pablo Rodriguez wrote:
Hans,
many thanks for the explanation with \xmlsetup.
I have one more question for today concerning lpaths.
I have the following commands:
\xmlsetsetup{\xmldocument}
{span[@label]}
{xml:logo}
\xmlsetsetup{\xmldocument
(n|x|)$, then $\weaklim_{n\to\infty}\phi_{n} = 0$.
\stoptext
% end weaklim.tex
it helps to define the label
\setupmathlabeltext[en][weaklim=wlim]
-
Hans Hagen | PRAGMA ADE
% end weaklim.tex
it helps to define the label
\setupmathlabeltext[en][weaklim=wlim]
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel
{\xmldocument}
{span[@label or contains(@class,'tex\letterpercent-logo')]}
{xml:logo}
Many thanks for your reply, Hans.
This is what I intended and everything is clear now.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
Hans,
many thanks for the explanation with \xmlsetup.
I have one more question for today concerning lpaths.
I have the following commands:
\xmlsetsetup{\xmldocument}
{span[@label]}
{xml:logo}
\xmlsetsetup{\xmldocument}
{span[contains(@class,'tex\letterpercent
[database={bibfile}]
\setuppublications[alternative=apa,refcommand=num,sorttype=cite,numbering=yes,autohang=no,numbercommand=\numcom]
\starttext
\completepublications[criterium=all]
\stoptext
% end code
But this has no effect on label alignment.
I also tried, based on this post,
http://www.ntg.nl
On Apr 16, Alan BRASLAU wrote:
I much prefer the syntax
\startplacefigure [reference=fig:,location={here,force},title={}]
\externalfigure[]...
\stopplacefigure
Depending on the strange macros that you want to use,
this should generally work. I find that this gives one many more
Hi,
how can I set a label for a figure without
\placefigure[][fig:...]{}
for some figures I use strange macros -- and at those places I get errors
when calling \placefigure
BUT I'd like to check the page numbers of those places using
\doifreferencefoundelse{fig:bild\the\bildnr
On Thu, 16 Apr 2015 17:27:17 +0200
Harald Koenig koe...@tat.physik.uni-tuebingen.de wrote:
how can I set a label for a figure without
\placefigure[][fig:...]{}
for some figures I use strange macros -- and at those places I get
errors when calling \placefigure BUT I'd like to check
anymore to put a symbol after the float
counter without misusing the label texts.
For example the following example should print
LEFT 1 RIGHT: Dummy figure
as figure caption but it shows only
LEFT 1 RIGHT Dummy figure
without the color after “RIGHT”.
begin example
labels for the number
the numberstopper key can’t be used anymore to put a symbol after the
float counter without misusing the label texts.
For example the following example should print
LEFT 1 RIGHT: Dummy figure
as figure caption but it shows only
LEFT 1 RIGHT Dummy figure
without
correct.
When I use Wolfgang's example, I get the following: attachment file
caption-example-2.pdf.
I also tried different settings for caption label, here is the code:
\starttext
\setupcaption[figure][numberstopper={. ábra
.
I also tried different settings for caption label, here is the code:
\starttext
\setupcaption[figure][numberstopper={. ábra.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par
\verbatim
correct.
When I use Wolfgang's example, I get the following: attachment file
caption-example-2.pdf.
I also tried different settings for caption label, here is the code:
\starttext
\setupcaption[figure][numberstopper={. ábra
Am 27.03.2015 um 14:22 schrieb robin.kirk...@csiro.au:
Folks,
Is there a way to customise the ?? that is substituted in the output when a
reference does not work out (nonexistent reference label, etc)? I’d like to
make it more obvious for proofreading (like making it red, putting
Am 27.03.2015 um 14:22 schrieb robin.kirk...@csiro.au:
Is there a way to customise the ?? that is substituted in the output when a
reference does not work out (nonexistent reference label, etc)? I’d like to
make it more obvious for proofreading (like making it red, putting a marker
either a width with some stretch so the list layout will adapt, or somehow be
able to specify a different width for the appendix entries.
Any help appreciated,
Robin
\setuplist[chapter][
width=12mm, % but want 30mm for appendices
label=yes,
alternative=c]
\define[1
layout will adapt, or
somehow be able to specify a different width for the appendix entries.
Any help appreciated,
Robin
\setuplist[chapter][
width=12mm, % but want 30mm for appendices
label=yes,
alternative=c]
\define[1]\ChapterlistNumber
{\dowithnextbox
{\ifdim
.
Any help appreciated,
Robin
\setuplist[chapter][
width=12mm, % but want 30mm for appendices
label=yes,
alternative=c]
\setuplabeltext[appendix=Appendix\space]
\starttext
\completecontent
\chapter{One}
\chapter{Two}
\startappendices
\chapter{First}
\chapter{Second
On 03/22/2015 12:46 PM, Wolfgang Schuster wrote:
Am 22.03.2015 um 11:53 schrieb Pablo Rodriguez:
[...]
\startbuffer[demo]
doc
h1span label=contextConTeXt/a/h1
span label=contextConTeXt/a
span label=texTeX/a
span label=latexLaTeX/a
/doc
\stopbuffer
was this:
\startbuffer[demo]
doc
h1span label=contextConTeXt/a/h1
span label=contextConTeXt/a
span label=texTeX/a
span label=latexLaTeX/a
/doc
\stopbuffer
You’re mixing tags, each span ends with /a.
\setupinteraction[state=start]
\startxmlsetups
} % \getvalue{\ascii}}
\chapter{\WORD{ConTeXt}}
so, \ascii is made undefined at some time
Many thanks for your reply, Hans.
I’m afraid that my ignorance prevents me for understanding your reply.
What I was trying to solve was this:
\startbuffer[demo]
doc
h1span label=contextConTeXt/a/h1
{
display : inline
}
delimitedblock {
display : block
}
subsentence:before, subsentence:after {
content : \2014 ;
}
subsentence {
display : inline
}
/* label : mixed */
/* number : mixed */
/* float: display */
/* floatcaption : mixed */
/* floatlabel : inline
is used
for the internal counter
of split floats, e.g. when a numbered table is split over several tables and
you get numbers label
„Table 3.a” 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
q;
draw vertical;
label(textext( \MPstring{labelcima} ), center cima);
label(textext( \MPstring{labelesquerda} ), center esquerda);
label(textext( \MPstring{labeldireita} ), center direita);
\stopuniqueMPgraphic
\starttext
\placefigure[center, nonumber]{}{
\Bolha[size=6cm]{$C_m$ (g/dm\high
\tikzdatavisualizationset{\tikz@dv@axis/label/.expanded=$\noexpand\mathit{\pgfkeysvalueof{\tikz@dv@axis/attribute}}$}%
675 \else
676 \tikzdatavisualizationset{\tikz@dv@axis/label={#1}}%
677 \fi
678 },
679 label/.default=\tikz@lib@dv@auto@attribute,
680 %
681
/tikzlibrarydatavisualization.code.tex:
! Missing number, treated as zero
to be read again
^
l.682 {\catcode`\^^
M=\active%
672 \def\pgf@temp{#1}%
673 \ifx\pgf@temp\tikz@lib@dv@auto@attribute%
674
\tikzdatavisualizationset{\tikz@dv@axis/label/.expanded=$\noexpand\mathit
) ;
draw thetextext.lft (M, z) ;
\stopMPpage
Hello Fabrice,
labeloffset does not work with Hans’ code above using ‘draw thetextext’ for
labels. It works with the label macro:
\startMPpage[offset=2mm]
path p, q, r ; pair z ;
p := unitsquare scaled 4cm ;
z := point 3.6 of p ;
q := z--urcorner p ;
r
I want to use `numberstopper' for figure caption customization like so:
\setupcaptions[numberstopper={:}]
this works fine for the caption itself (i.e. I get, e.g. Figure 1:
caption text) _but_
references to the figure via a defined label such as [fig:example]
in the body text do include
customization like so:
\setupcaptions[numberstopper={:}]
this works fine for the caption itself (i.e. I get, e.g. Figure 1:
caption text) _but_
references to the figure via a defined label such as [fig:example]
in the body text do include the numberstopper, too, which is highly
undesirable
:
\setupcaptions[numberstopper={:}]
this works fine for the caption itself (i.e. I get, e.g. Figure 1:
caption text) _but_
references to the figure via a defined label such as [fig:example]
in the body text do include the numberstopper, too, which is highly
undesirable in my view, since, e.g
to the figure via a defined label such as [fig:example]
in the body text do include the numberstopper, too, which is highly
undesirable in my view, since, e.g.,
... see Figure 1: for an example. ...
should rather read
... see Figure 1 for an example. ...
i.e. the numberstopper should
={:}]
this works fine for the caption itself (i.e. I get, e.g. Figure 1:
caption text) _but_
references to the figure via a defined label such as [fig:example]
in the body text do include the numberstopper, too, which is highly
undesirable in my view, since, e.g.,
... see Figure 1: for an example
...@googlemail.com:
I want to use `numberstopper' for figure caption customization like so:
\setupcaptions[numberstopper={:}]
this works fine for the caption itself (i.e. I get, e.g. Figure 1:
caption text) _but_
references to the figure via a defined label such as [fig:example]
in the body text
customization like so:
\setupcaptions[numberstopper={:}]
this works fine for the caption itself (i.e. I get, e.g. Figure 1:
caption text) _but_
references to the figure via a defined label such as [fig:example]
in the body text do include the numberstopper, too, which is highly
undesirable
several tables
and you get numbers label
„Table 3.a” 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...)
regards,
joerg
Wolfgang
--
Using Opera's revolutionary email
I want to use `numberstopper' for figure caption customization like so:
\setupcaptions[numberstopper={:}]
this works fine for the caption itself (i.e. I get, e.g. Figure 1:
caption text) _but_
references to the figure via a defined label such as [fig:example]
in the body text do include
of it.
2.) How can I define a different width for appendices in TOC (to
reserve enough space for the word Appendix)?
I use
\setuplist
[section]
[width=10mm,numberstyle=\os\bf,pagestyle=\os,label=yes]
but I would like to use width=27mm for sections inside
\startappendices
to indent the title entries but unnumbered chapter
are still wrong aligned.
2.) How can I define a different width for appendices in TOC (to
reserve enough space for the word Appendix)?
I use
\setuplist
[section]
[width=10mm,numberstyle=\os\bf,pagestyle=\os,label=yes]
but I would
\setuplist
[section]
[width=10mm,numberstyle=\os\bf,pagestyle=\os,label=yes]
but I would like to use width=27mm for sections inside
\startappendices ... \stopappendices than for regular sections. Is
there any workaround?
3.) For appendices I want to set
\setuphead
[chapter]
[number
' for
doctoral degrees [See the Merriam-Webster Style Manual or even google 'phd
thesis or dissertation' for lots of confirmation of this]. As development
of a new mkiv module continues, I would suggest changing this to the
standard usage. In the meantime: How can I change the label in the current
changing this to the
standard usage. In the meantime: How can I change the label in the
current
bibliography system? I tried the following (also attached):
\starttext
\setuppublications[alternative=apa]
\setupbtxlabeltext
[en]
[apa:phdthesis={Doctoral dissertation}]
\startsetups
On Wed, 28 Jan 2015, Keith Schultz wrote:
label(\sometxt{Cn},origin) withcolor white;
Note that in MkIV, this can be shortened to
label(Cn, origin) withcolor white;
No need to wrap the strings around \sometxt{...} or btex ... etex.
Aditya
On Wed, Jan 28, 2015 at 5:49 AM, Van Dung Tang nguyen...@gmail.com wrote:
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
After run context and recieve 1 picture
I edit 1 file metafun follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
Ngu-Hanh.pdf
Description: Adobe PDF document
On 1/28/2015 5:49 AM, Van Dung Tang wrote:
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
Hi,
From the looks of it you are using legacy code!
For one ConTeXt uses UTF you no need texansi encoding.
In Mkiv all you need is
\startext
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
\stoptext
If you want
for your help,
Hans uses for the documentation of the Lua code logo label=context/ to
print the ConTeXt logo, to do so the following setup is used (copied from
x-ldx.mkiv):
\startxmlsetups ldx:logo
\uppercasestring\xmlatt{#1}{label}\xmlatt{#1}{name}\to\ascii
\ifx\ascii\empty\else
Am 26.01.2015 um 16:19 schrieb Pablo Rodriguez oi...@gmx.es:
On 01/26/2015 02:40 PM, Wolfgang Schuster wrote:
[...]
Hans uses for the documentation of the Lua code logo label=context/
to print the ConTeXt logo, to do so the following setup is used (copied
from x-ldx.mkiv
On 01/26/2015 02:40 PM, Wolfgang Schuster wrote:
[...]
Hans uses for the documentation of the Lua code logo label=context/
to print the ConTeXt logo, to do so the following setup is used (copied
from x-ldx.mkiv):
\startxmlsetups ldx:logo
\uppercasestring\xmlatt{#1}{label}\xmlatt{#1
\starttext
\startMPcode
u:=1cm ;
path p, q ;
p=fullsquare scaled u ;
q=fullsquare scaled u shifted (4u,-2u) ;
draw p ;
draw q ;
drawarrow center p--center q ;
label(btex $5$ etex,center p) ;
label(btex $-2 $ etex,center q) ;
\stopMPcode
\stoptext
How about something like below
like in
the code below.
\starttext
\startMPcode
u:=1cm ;
path p, q ;
p=fullsquare scaled u ;
q=fullsquare scaled u shifted (4u,-2u) ;
draw p ;
draw q ;
drawarrow center p--center q ;
label(btex $5$ etex,center p) ;
label(btex $-2 $ etex,center q) ;
\stopMPcode
\stoptext
Best regards,
Fabrice
references than include the
numberstopper `:' in the reference (see Figure 1:) which is really
awkward. so how
can this be solved (adjust the numberstopper in the caption without
affecting how the figure label/number appears in cross-references)?
regarding the caption width it seems
the label `(2)' of the second equation is not aligning properly with the
right margin of the body text
(and the previous equation label). what am I doing wrong here?
joerg
--
Using Opera's revolutionary email client: http://www.opera.com/mail
Replying to myself the problem seems related to the use of the ex label.
this works
\define[1]\Ex{\externalfigure[code/#1]
\useattachment[#1][code/#1.scd]
\attachment[#1]
}
(so this does not work anymore
http://wiki.contextgarden.net/Verbatim_text#Embedding_the_source_code
http
\subsubject, etc. What I like to do is number one paragraph in middle
of the text, with the possibility of making a reference to it, with no spaces
before or after. Something like this:
[1] Text of the first paragraph. [2] Text of the second paragraph ...
Should I use the \label or another
a reference to it, with no spaces
before or after. Something like this:
[1] Text of the first paragraph. [2] Text of the second paragraph ...
Should I use the \label or another command?
Thanks.
___
If your question
to do is number one paragraph in
middle of the text, with the possibility of making a reference to it, with no
spaces before or after. Something like this:
[1] Text of the first paragraph. [2] Text of the second paragraph ...
Should I use the \label or another command?
\starttext
On 12/7/2014 8:25 PM, DesdeChaves wrote:
I would like to pass the lua table keys and values to metapost. In the
keys i have information about the paths names and in the values i have
information about the label that should be draw in the center of each
path (unitsquare).
In my code (see attach
GMT+00:00 Hans Hagen pra...@wxs.nl:
On 12/7/2014 8:25 PM, DesdeChaves wrote:
I would like to pass the lua table keys and values to metapost. In the
keys i have information about the paths names and in the values i have
information about the label that should be draw in the center of each
(mp.print(\#document.variables.labels)) :
b[i] = unitsquare xscaled dx yscaled dy shifted (0, (i-1)*dy);
draw b[i];
label(lua(mp.quoted(document.variables.labels[ decimal i
])), center b[i]);
endfor
\stopMPpage
\stoptext
is there a doc where to study MP/Lua
;
dx = 4.4cm;
dy = 0.53cm;
path b[];
for i=1 upto lua(mp.print(\#document.variables.labels)) :
b[i] = unitsquare xscaled dx yscaled dy shifted (0, (i-1)*dy);
draw b[i];
label(lua(mp.quoted(document.variables.labels[ decimal i
])), center b[i]);
endfor
I would like to pass the lua table keys and values to metapost. In the keys
i have information about the paths names and in the values i have
information about the label that should be draw in the center of each path
(unitsquare).
In my code (see attach) the table in question
test code
\usemodule[tikz]
\usetikzlibrary[calendar]
\language[pt]
\starttext
\tikz \calendar [dates=2014-09-01 to 2015-04-31,
month list,month label left,month yshift=1.25em]
if (Sunday) [black!50]
% GROUP 1
if (between=2012-08-09 and 2012-08-12)[orange]
if (between=2012-06-01 and 2012-06
);
pickup pencircle scaled \visualcounterparameter\c!rulethickness ;
fill randomcircle withcolor green; % Can be made configurable
draw randomcircle withcolor blue; % Can be made configurable
label (countertext, origin);
fi;
endgroup;
\stopuseMPgraphic
\protect
\definevisualcounter
, label={[name=-label]below:#2}] (-front) {#1};
\node [cube face] (-top) at (-front.north west) [anchor=south west,
xslant=1, yscale=1/3] {};
\node [cube face] (-side) at (-front.south east) [anchor=south west,
yslant=1, xscale=1/3] {};
}}
}
\starttext
\startsetups[table:initialize
}},
pics/cube/.style args={#1 with #2}{
code={
\node [cube face, label={[name=-label]below:#2}] (-front) {#1};
\node [cube face] (-top) at (-front.north west) [anchor=south west,
xslant=1, yscale=1/3] {};
\node [cube face] (-side) at (-front.south east) [anchor=south west,
yslant=1, xscale
=white,
},
face color/.style={cube face/.append style={ball color=#1}},
pics/cube/.style args={#1 with #2}{
code={
\node [cube face, label={[name=-label]below:#2}] (-front) {#1};
\node [cube face] (-top) at (-front.north west) [anchor=south west,
xslant=1, yscale=1/3] {};
\node [cube
}{
code={
\node [cube face, label={[name=-label]below:#2}] (-front) {#1};
\node [cube face] (-top) at (-front.north west) [anchor=south west,
xslant=1, yscale=1/3] {};
\node [cube face] (-side) at (-front.south east) [anchor=south west,
yslant=1, xscale=1/3] {};
}}
}
\starttext
size=1cm, outer sep=0pt,
draw=white, thick, line join=round,
shading=ball,
text=white,
},
face color/.style={cube face/.append style={ball color=#1}},
pics/cube/.style args={#1 with #2}{
code={
\node [cube face, label={[name=-label]below:#2}] (-front) {#1};
\node
/.style={cube face/.append style={ball color=#1}},
pics/cube/.style args={#1 with #2}{
code={
\node [cube face, label={[name=-label]below:#2}] (-front) {#1};
\node [cube face] (-top) at (-front.north west) [anchor=south west,
xslant=1, yscale=1/3] {};
\node [cube face] (-side
the problem, or I am just too stupid to implement your solution.
Note also that in the modified example the context output coincides with the
mptopdf output if one draws the label before calling test the second time. (I
marked the position in the metapost file.)
Sorry for probably getting on your nerves
={
\node [cube face, label={[name=-label]below:#2}] (-front) {#1};
\node [cube face] (-top) at (-front.north west) [anchor=south west,
xslant=1, yscale=1/3] {};
\node [cube face] (-side) at (-front.south east) [anchor=south west,
yslant=1, xscale=1/3] {};
}}
}
\starttikzpicture
\pic
the problem indeed. But using only the modified clip either
does
not solve the problem, or I am just too stupid to implement your solution.
Note also that in the modified example the context output coincides with the
mptopdf output if one draws the label before calling test the second time.
(I
to implement your solution.
Note also that in the modified example the context output coincides with the
mptopdf output if one draws the label before calling test the second time. (I
marked the position in the metapost file.)
Sorry for probably getting on your nerves
}
\ManualSubsection{\recurselevel-2}
\stopsection
\stopchapter}
\stoptext
% stop minimal example
Longer Story
Predefined \startchapter|section inserts titledata in TUC file:
[titledata]={
[label]=chapter,
[title]=Chapter,
},
...
[titledata]={
[label]=section,
[title
...@gmail.com
mailto:mszep...@gmail.com wrote:
I'm trying to fix a problem in pandoc (see
https://github.com/jgm/pandoc/pull/1589) where it doesn't properly
sanitize the reference labels in ConTeXt output, causing errors
during compilation when a label contains '#' for example. Note
...@gmail.com wrote:
I'm trying to fix a problem in pandoc (see
https://github.com/jgm/pandoc/pull/1589) where it doesn't properly
sanitize the reference labels in ConTeXt output, causing errors during
compilation when a label contains '#' for example. Note that this
sanitizing is needed in addition
when a label contains '#' for example. Note that
this sanitizing is needed in addition to the regular backslash
escaping used for control characters: '\#' is still illegal in a
label for example.
In the sanitizer function I'm writing, I'd like to properly escape
all illegal
, causing errors
during compilation when a label contains '#' for example. Note that
this sanitizing is needed in addition to the regular backslash
escaping used for control characters: '\#' is still illegal in a
label for example.
(LaTeX label) = (ConTeXt reference). What Mark
I'm trying to fix a problem in pandoc (see
https://github.com/jgm/pandoc/pull/1589) where it doesn't properly sanitize
the reference labels in ConTeXt output, causing errors during compilation
when a label contains '#' for example. Note that this sanitizing is needed
in addition to the regular
Hello again,
Temporary I am using a combination of framed and align, see code under. Not
a good solution, but solves my current need.
Is there an easy way to make an inline baseline shift? I want to make a
label for each line, shifted down half a line.
-Trond
\startlinecorrection
\def\borderdt
On 2014-08-29, 20:22, Fabrice Couvreur wrote:
In the code below, I do not understand why the label Arbre 2 does
not have the color you want, that is to say the same as the label
Arbre 1. Thank you.
I do not know why it does not work, but this is how it works:
\draw [text=H1prime, font=\bf
In the code below, I do not understand why the label Arbre 2 does not
have the color you want, that is to say the same as the label Arbre 1.
Thank you.
\usemodule[tikz]
\usetikzlibrary[calc]
\definecolor[A2][c=0.60, m=0.00, y=0.00, k=0.10]
\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00
documented feature ... in beta:
% tests/mkiv/pagestate-001.tex
\useMPlibrary[dum]
\setuppagenumbering
[alternative=doublesided]
% new: \setupreferencing[doublesided=no]
% old: \somewhere{backward}{foreward}[label]
% new: \someplace{preceding}{backward}{current}{foreward}{following
[doublesided=no]
% old: \somewhere{backward}{foreward}[label]
% new: \someplace{preceding}{backward}{current}{foreward}{following}[label]
% old: \atpage[#label]
% new:
\doifcheckedpagestate{label}{preceding}{backward}{current}{foreward}{following}{otherwise}
\starttext
\dorecurse {20} {
\placefigure
but they still can have different
rendering (currently the rendering is aliased). Maybe we should just
alias \reference to \textreference by now as I don't see that part
change (the distinction was kept when mkiv was still new). So in fact we
have just two commands now.
(\setreference[label
/pagestate-001.tex
\useMPlibrary[dum]
\setuppagenumbering
[alternative=doublesided]
% new: \setupreferencing[doublesided=no]
% old: \somewhere{backward}{foreward}[label]
% new: \someplace{preceding}{backward}{current}{foreward}{following}[label]
% old: \atpage[#label]
% new
documented feature ... in beta:
% tests/mkiv/pagestate-001.tex
\useMPlibrary[dum]
\setuppagenumbering
[alternative=doublesided]
% new: \setupreferencing[doublesided=no]
% old: \somewhere{backward}{foreward}[label]
% new: \someplace{preceding}{backward}{current}{foreward}{following
feature ... in beta:
% tests/mkiv/pagestate-001.tex
\useMPlibrary[dum]
\setuppagenumbering
[alternative=doublesided]
% new: \setupreferencing[doublesided=no]
% old: \somewhere{backward}{foreward}[label]
% new:
\someplace{preceding}{backward}{current}{foreward}{following}[label]
% old
.
yet another sparsely documented feature ... in beta:
% tests/mkiv/pagestate-001.tex
\useMPlibrary[dum]
\setuppagenumbering
[alternative=doublesided]
% new: \setupreferencing[doublesided=no]
% old: \somewhere{backward}{foreward}[label]
% new:
\someplace{preceding}{backward}{current
[Introduction] Tufte or Knuth?
\outline[Snack] Chocolate Cake
\outline[Discussion] Knuth or Tufte?
\outline[Open End] Bear and wine
\stoptext
However, instead of the above I would like to
— have the result “packed”, i.e. without lines between the descriptions
— have a stopper (“:”) after the label
— have
— have a stopper (“:”) after the label
— have the text of the description begin after the stopper and not at a fixed
indentation (distance=…)
How do I do that?
Thanks,
Matthias
The following works, but I suspect that there may be a better way to get
the packing.
\define[1]\outlinehead{#1
End] Bear and wine
\stoptext
However, instead of the above I would like to
— have the result “packed”, i.e. without lines between the descriptions
— have a stopper (“:”) after the label
— have the text of the description begin after the stopper and not at a
fixed indentation (distance
/msg71889.html for more on
smartref.
(The primary limitation in my use is that it assumes that a following
argument, as in \smartref{preceding}{following}[label], should follow the at
page number text, thus disabling the use of the following text to provide a
subfigure label. Thus, one ends up
quite well. See the list message at
http://www.mail-archive.com/ntg-context%40ntg.nl/msg71889.html for more
on smartref.
(The primary limitation in my use is that it assumes that a following
argument, as in \smartref{preceding}{following}[label], should follow
the /at page number/ text, thus
with collaboration/feedback, core people should do it.
It is important that reviewing and check marking the new edits be done by
some authoritative group, so that the community knows what to trust, what
should work as documented so that we can report real issues.
It is important to label the information
issues.
It is important to label the information as reviwed and up to date, and
to which version it applies, mkii/mkiv
If this structure is put on top of the context garden, some labeling is
needed to distinguish the extra pages from the structural docs pages.
the problem there is that it needs some
are predefined.
\setuphead [subject] [before=Kapitel~]
\starttext
\startsubject [title=foo] \input knuth \stopsubject
\stoptext
If you wish for the styles of the label and the title to match,
you’ll have to assign them manually:
\definealternativestyle [subjectstyle] [\italic \tfd
501 - 600 of 1968 matches
Mail list logo