Hello,
What is the option to specify the CAPTION location in \startplacefigure (I
already now that you can do it from \setupcaption)?
I thought the first argument of 'location' was for the FIGURE location, and
the second one for the CAPTION location, but the second one has no effect:
\startplace
Thanks again Wolfgang, with this setup everything is fine.
But I wanted to bring to the attention of Hans the inconsistency of the
prefix conversions by defaut, so that he can correct them:
I A chapter
[a figure] Figure I.1 % <-- Here the conversion of the prefix to
Romannumerals is done AUTOMA
Thank you Wolfgang, it does what I want.
However, I realised after trying the following code inside environments
(frontmatter, bodymatter, backmatter and appendices) that the default
behaviour is WRONG because the conversions of prefixes are not always
automatic.
For instance, in the appendix env
Could you correct this space problem Hans?
\startitemize
\item Eeny, meeny, miny, moe
\placeformula
\startformula
\text{Numbered formula: the space after is correct.}
\stopformula
\item Eeny, meeny, miny, moe
\placeformula[-]
It should display:
I Cool
[figure] Figure 1.1 A cow % <-- not: Figure I.1 A cow
II Cat
2.1 Mouse
2.2 Dog
[figure] Figure 2.1 A cow
Could you look at this weird prefix conversion behaviour Hans?
Géry Ogam
2013/11/12 Géry Ogam
> Hello,
>
> There is a numberconversion proble
> What’s wrong with the second formula, both have the same space before and
after the content?
Then maybe Hans has corrected it recently. I am using ConTeXt version
2013.04.20, and you?
___
If your question is of inter
> then use
>
> \dimexpr\measure{w2}\relax
It works, thank you.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinf
> \definemeasure[h1][1.2\measured{w1}+26mm]
> \definemeasure[h2][1.2\measured{w2}+26mm]
\measured gives me this error (*Undefined control sequence*):
*\17>>h1 ^^@-1.2\measured*
* {w1}+26mm*
*\measure ...sname \csname \??measure #1\endcsname*
*
Hello,
Here is my problem:
\setuplayout[%
width=0.75\paperwidth,
height=\dimexpr\paperheight-1.2\paperwidth+1.2\textwidth+26mm]
\definelayout[luxury][%
width=0.6667\paperwidth,
height=\dimexpr\paperheight-1.2\paperwidth+1.2\textwidth+26mm]
\starttext
- textwidth: \the\textwi
Hello,
There is a numberconversion problem in caption prefixes. For instance, if
chapter numbers are set to Romannumerals, the conversion of the caption
prefixes depends on the presence of a section
Minimal example:
\setuphead[chapter][conversion=Romannumerals]
\setupcaption[way=bychapter, prefi
Thank you very much Aditya, now it works.
As you said, the trick was to use \doiftextelse{}{}{} function as test of
emptyness function, and \labeltext{chapter} instead of
\currentstructurelabel as variable for the test because the latter was
never found empty, even when it was.
Thus the right cod
> I'm sure there is also a "cleaner" TeX way, but I'm not experienced
enough for that.
I think you misunderstood my issue: your Lua way does the same thing than
my TeX way: it displays:
ONE Cool
2 Cat
3 Mouse
but that is NOT what I want. What I want is:
1 Cool
2 Cat
3 Mouse
So I need to check
What do you think about that Hans?
Géry Ogam
2013/11/1 Géry Ogam
> Hello Hans,
>
> I would like to prevent caption stoppers from appearing in references in
> ConTeXt.
>
> Here is a minimal example:
>
> \starttext
> \setupcaptions[numberstopper=.~---~, distance=0
Any idea for achieving this behaviour?
- When there is a chapter label (\setuplabeltext[chapter=CHAPTER~]), display
:
CHAPTER ONE Cool
CHAPTER 2 Cat
CHAPTER 3 Mouse
etc.
- When there is no chapter label (\setuplabeltext[chapter=]), display:
1 Cool
2 Cat
3 Mouse
etc.
My try achieves the first
> It does not work (with ConTeXt ver: 2012.05.30):
Finally it works with the last stable version of ConTeXt. Thank you very
much Wolfgang.
___
If your question is of interest to others as well, please add an entry to t
> you can try
>
> \doifnothing\currentstructurelabel{Do something}
It does not work in my case (even if the currenstructurelabel is empty it
acts as if it not empty). In fact I asked that to get the following
behaviour:
— When there is a chapter label (\setuplabeltext[chapter=CHAPTER~]) I want
t
> You can use “way=byhead” to reset the counter with each section.
>
> Wolfgang
It does not work (with ConTeXt ver: 2012.05.30):
\defineenumeration[cool][text=Cool, way=byhead]
\starttext
\section{Cat}
\subsection{Cat}
\cool{}
\cool{}
\subsection{Cat}
\cool{}
\cool{}
\section{Cat}
\cool{}
Hello,
How to reset a counter bysection and bysubsection at the same time? The
following example does not work. Hans, could you had the support of lists
for the 'way' argument please?
E.g.:
\defineenumeration[cool][text=Cool, way={bysection, bysubsection}]
\starttext
\section{Cat}
\subsection
Hello,
How to test if the current structure label is empty? The following example
does not work because I don’t know how to expand the variable
\currentstructurelabel.
E.g.:
\define \MyCommand{\doifempty{\currentstructurelabel}{Do something}}
Best regards.
Hello,
I think there is a space problem after formulas inside itemize environments.
E.g.:
\starttext
\startitemize
\item Eeny, meeny, miny, moe
\placeformula
\startformula
\text{Numbered formula: the space after is correct.}
\stopformula
Hello Hans,
I would like to prevent caption stoppers from appearing in references in
ConTeXt.
Here is a minimal example:
\starttext
\setupcaptions[numberstopper=.~---~, distance=0em]
\placefigure[][cow]{A Cow}{\externalfigure[cow]}
\in{Figure}[cow] shows a cow.
\stoptext
Aditya suggested that I
Hi,
> How can I indent text within framedtext environments?
> I'm asking because my definitions/theorems/etc. commands are surrounded by
> startframed/stopframed and I want the text inside to be
> indented.
Géry___
22 matches
Mail list logo