[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
s in inner margins though). Here is an example: \setuppapersize[A4] \setuplayout[backspace=40mm, width=100mm, leftmargindistance=5mm, leftmargin=30mm, rightmargindistance=5mm, rightmargin=50mm, topspace=10mm] \setuppagenumbering[alternative=doublesided] \setupcaptions[location={outermargin, l

[NTG-context] Re: floatcombinations seem to not work correctly after lmtx update

2023-08-01 Thread Hans Hagen
). I finally found the cause. I had these lines in my header: ``` \setupcaptions[minwidth=0.95\textwidth, way=bychapter, prefixsegments=chapter] ``` In the new context, this seem to apply to all captions, while in the old context, it seems to apply only to those

[NTG-context] Re: floatcombinations seem to not work correctly after lmtx update

2023-08-01 Thread Gerion Entrup
se. I had these lines in my header: ``` \setupcaptions[minwidth=0.95\textwidth, way=bychapter, prefixsegments=chapter] ``` In the new context, this seem to apply to all captions, while in the old context, it seems to apply only to those captions that are not specified

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Denis Maier via ntg-context
etreff: Re: [NTG-context] local footnotes and captions > > On 6/16/2022 12:43 PM, Denis Maier via ntg-context wrote: > > Hi, > > > > another experiment with footnotes in captions, this time local footnotes : > > > >

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Hans Hagen via ntg-context
On 6/16/2022 12:43 PM, Denis Maier via ntg-context wrote: Hi, another experiment with footnotes in captions, this time local footnotes : %%% \setupcaptions[location=top] \starttext     \startlocalfootnotes     \placetable

[NTG-context] local footnotes and captions

2022-06-16 Thread Denis Maier via ntg-context
Hi, another experiment with footnotes in captions, this time local footnotes : %%% \setupcaptions[location=top] \starttext \startlocalfootnotes \placetable % The caption {A breakfast table.\footnote{asdf}} % the table

Re: [NTG-context] Centering figures that extend into the margin

2022-04-20 Thread Willi Egger via ntg-context
ginSize=\dimexpr \backspace + \rightmarginwidth + > \rightmargindistance \relax > \newdimen\TextAreaSize > \TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance > \relax > \definefloat[marginfigure][marginfigures][figure] > \setupfloat[marginfigure][locat

[NTG-context] Centering figures that extend into the margin

2022-04-20 Thread yann--- via ntg-context
\TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance \relax \definefloat[marginfigure][marginfigures][figure] \setupfloat[marginfigure][location=inner,default=top,width=\TextAreaSize] \setupcaptions[marginfigure][ leftmargin=\dimexpr \LeftMarginSize / 2 \relax, location

Re: [NTG-context] Table disappears in floatcombination

2021-03-28 Thread Christoph Reller
t; wrote: >> > >> > On 12/25/2020 9:47 PM, Christoph Reller wrote: >> > > Hi, >> > > >> > > Consider the following MWE: >> > > >> > > \definefloat[combination][figure] >> >

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Christoph Reller
On Sat, Dec 26, 2020 at 10:54 AM Hans Hagen wrote: > On 12/25/2020 9:47 PM, Christoph Reller wrote: > > Hi, > > > > Consider the following MWE: > > > > \definefloat[combination][figure] > > \setupcaptions[ > >number=no, %<- comment and table

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Hans Hagen
On 12/25/2020 9:47 PM, Christoph Reller wrote: Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[   number=no, %<- comment and table appears   align=flushright] \starttext \startplacecombination[title=Combination]   \startfloatcombination     \startplaceta

[NTG-context] Table disappears in floatcombination

2020-12-25 Thread Christoph Reller
Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[ number=no, %<- comment and table appears align=flushright] \starttext \startplacecombination[title=Combination] \startfloatcombination \startplacetable%[title=Table] %<- uncomment and table a

[NTG-context] Subfigures, referencing and resetting counter

2020-11-18 Thread Marco Patzer
Hi! I struggle with referencing subfigures. Combinations can't be referenced to my knowledge, that's why I went with another float for the inner subfigure. Example: \useMPlibrary[dum] \definefloat [subfigure] [subfigures] [figure] \setupcaptions [subfigure

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
hlight[emph][style={\em}] > \definehighlight[strong][style={\bf}] > > \setupfloat[table][default={here}] > > \definereferenceformat[figura][text={Figura~}] > \definereferenceformat[tabla][text={Tabla~}] > > \setupcaptions[style={\sans\small}, > width=max, >

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
~}] \setupcaptions[style={\sans\small}, width=max, prefix=no, align={flushleft,nothyphenated}, way=bytext] \setupcaption[table][location=top] \setupthinrules[width=15em] % width of horizontal rules \setupxtable[frame=off,option=stretch,bodyfont=small

Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-11 Thread Henning Hraban Ramm
ateinserts % nop in LMTX \showframe \setupcaptions[ headstyle={\ss\bfx}, align={flushleft,high}, prefixsegments=none, location={bottom,low}, hang=yes, ] \setupfootnotes[ width=\textwidth, ] \starttext \startplacefigure[location=page,title={\fakewords{5}{7}\footnote{\fakewords{20}{30}}}]%

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
n current LMTX and MkIV. Hraban \usemodule[visual] \definecolor[fakerulecolor][c=.2,m=.1,k=.2] \useMPlibrary[dum] \automigrateinserts % nop in LMTX \showframe \setupcaptions[ headstyle={\ss\bfx}, align={flushleft,high}, hang=yes, ] \starttext \fakewords{10}{30} % Footnotes, but no co

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Otared Kavian
] \stopplacefigure \stopsection \startsection[title=Two] \startplacefigure[title=Test] \externalfigure[dummy] \stopplacefigure \stopsection \setcounter[figure][5] % next figure is no.6 \startsection[ownnumber=10,title={A section}] \start \setupcaptions[numberstopper={a}] \startplacefigure[title=Test

Re: [NTG-context] Same counter for figures as theorems

2020-08-18 Thread Tim Steenvoorden
365 22 91 | t...@cs.ru.nl On 14 Aug 2020, 23:12 +0200, Taco Hoekwater , wrote: > Hi Tim, > > I misunderstood your goal, sorry. Proposed setup below. > > > But first, what I think is a bug in ConTeXt: > > Neither > \setupcaptions > [counter=object] > nor > \setup

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Taco Hoekwater
Hi Tim, I misunderstood your goal, sorry. Proposed setup below. But first, what I think is a bug in ConTeXt: Neither \setupcaptions [counter=object] nor \setupcaption [figure] [counter=object] work. the caption always falls back to the ‘current float counter’; figure or table

Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Tim Steenvoorden
…) to be numbered consecutively prefixed by the chapter and section number, > so 1.1.1, 1.1.2, 1.2.1, ... > > I’ve managed to change figure/table captions to do this by: > > \setupcaptions[ >   way=bysection, >   prefixsegments=chapter:section, > ] > > And I’ve

[NTG-context] Same counter for figures as theorems

2020-08-11 Thread Tim Steenvoorden
figure/table captions to do this by: \setupcaptions[   way=bysection,   prefixsegments=chapter:section, ] And I’ve setup my enumerations by: \setupenumerations[   way=bysection,   prefix=yes,   prefixsegments=chapter:section, ] But how do I use the same counter for figures, tables, and all

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Wolfgang Schuster
-3 \stopcombination}{} \stopplacefigure I tried to define a new float, say myfigure, which has captions below and then I tried \setupcaptions[location=top] and \setupcombinations[location=top] but this does not work… The label position in combinations is fixed and the easiest way

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
> On 1 Jun 2020, at 14:51, Tomas Hala wrote: > > Hi Otared, > > maybe there is a better, more system solution, but the following works: > > \setupcaptions[figure][location=bottom] > \startplacefigure[title={A combination of three figures}] % this title &g

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Tomas Hala
Hi Otared, maybe there is a better, more system solution, but the following works: \setupcaptions[figure][location=bottom] \startplacefigure[title={A combination of three figures}] % this title appears below the figure \startcombination[3*1] {\framed[width=4cm]{a}}{\externalfigure[image-1

[NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
I tried to define a new float, say myfigure, which has captions below and then I tried \setupcaptions[location=top] and \setupcombinations[location=top] but this does not work… Thanks for any help: Otared

Re: [NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Geert Dobbels
t[location=middle, width=27.5cm, height=18cm, backspace=1cm,header=4cm] \setupcaptions[location=none] \setupbackgrounds[header][text][background={Logos}, state=repeat] \defineoverlay [Logos][{ \framed[width=\textwidth, height=3cm, align=right, strut=no, offset=none]{ \framed[width=0.280\textwidth,

[NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Geert Dobbels
tuppapersize[A4, landscape] \setuplayout[location=middle, width=27.5cm, height=18cm, backspace=1cm,header=4cm] \setuppagenumbering[state=stop] \setupcaptions[location=none] \setupbackgrounds[header][text][background={Logos}, state=repeat] \setupnumbering [location=] \setupframed[offset=none] \

Re: [NTG-context] *** Spam *** Figure captions: "Fig." instead "Figure"

2018-07-13 Thread Procházka Lukáš Ing .
:22 MESZ schrieb "Procházka Lukáš Ing." : Hello, what is the way to change caption text for figures to be "Fig." instead of "Figure"? \setupcaptions[numberstopper={.},] changes "Figure 1" to "Figure 1.", but is there a similar key for t

Re: [NTG-context] *** Spam *** Figure captions: "Fig." instead "Figure"

2018-07-13 Thread Lutz Haseloff
Hi Lukas, I use \setuplabeltext[de][figure=Bild ] You should use \setuplabeltext[en][figure=Fig. ] Greetings Lutz Am 13. Juli 2018 10:30:22 MESZ schrieb "Procházka Lukáš Ing." : >Hello, > >what is the way to change caption text for figures to be "Fig." instead &g

[NTG-context] Figure captions: "Fig." instead "Figure"

2018-07-13 Thread Procházka Lukáš Ing .
Hello, what is the way to change caption text for figures to be "Fig." instead of "Figure"? \setupcaptions[numberstopper={.},] changes "Figure 1" to "Figure 1.", but is there a similar key for the text? (\setupcations[prefix=] allows only "

[NTG-context] numberstopper in \setupcaptions

2018-04-19 Thread Alan Braslau
Hello list members, I am not sure how to achieve the following functionality: Using \startplacefigure, I would like to place a number stopper *only* when the caption text is non-empty, i.e. Figure 1 Figure 2: A cow This would be achieved through \setupcaption [figure] using numberstopper= I

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
ps BG \defineoverlay[bg][\useMPgraphic{crux}] \setupbackgrounds[page][background=bg] \stopsetups \definestartstop[BG][commands=\setups{BG}] % misc \setupheadtext[en][pubs=] \setupheadtext[en][content=] \setupheadtext[en][index=] \setuplabeltext[en][figure=??\;] \setuplabeltext[en][tab

Re: [NTG-context] Bug? numberstopper in references

2018-01-16 Thread Otared Kavian
Oh I sent my previous message too quickly… I was just using the \at command for referring to captions, while you want to use the \in command: maybe this is the problem. > On 16 Jan 2018, at 22:25, bbvo...@home.nl wrote: > > Dear list, > > When I use the numberstopper option i

Re: [NTG-context] Bug? numberstopper in references

2018-01-16 Thread Otared Kavian
version 2018.01.14 15:55. Best regards: OK begin caption-numberstopper-0.tex \setupexternalfigure[location=default] \setupcaptions[numberstopper={:}] \starttext Take a look at \at{picture}[fig:cow] below. \startplacefigure[reference=fig:cow,title=A dutch cow] \externalfigure[cow

[NTG-context] Bug? numberstopper in references

2018-01-16 Thread bbvogel
Dear list, When I use the numberstopper option in setupcaptions it appears unexpectedly in the references. The wiki states otherwise. Wiki and a working example are listed below. Kind regards, Bernard wiki: http://wiki.contextgarden.net/Command/setupcaptions: numberstopper MKIV only

Re: [NTG-context] Caption location in floatcombination

2017-10-23 Thread Christoph Reller
;>> On 9/13/2017 8:30 AM, Christoph Reller wrote: >>> > It seems to me that the location given to \setupcaptions is not honored >>> > correctly in floatcombinations anymore. Consider the following MWE: >>> > >>> > \setupcaptions[location=top, nu

Re: [NTG-context] Caption location in floatcombination

2017-10-17 Thread Christoph Reller
On Mon, Sep 18, 2017 at 7:19 AM Christoph Reller <christoph.rel...@gmail.com> wrote: > On Sun, Sep 17, 2017 at 6:03 PM Hans Hagen <pra...@wxs.nl> wrote: > >> On 9/13/2017 8:30 AM, Christoph Reller wrote: >> > It seems to me that the location given to \setupcapti

Re: [NTG-context] Caption location in floatcombination

2017-09-17 Thread Christoph Reller
On Sun, Sep 17, 2017 at 6:03 PM Hans Hagen <pra...@wxs.nl> wrote: > On 9/13/2017 8:30 AM, Christoph Reller wrote: > > Hi, > > > > It seems to me that the location given to \setupcaptions is not honored > > correctly in floatcombinations anymore. Consider the foll

[NTG-context] Caption location in floatcombination

2017-09-13 Thread Christoph Reller
Hi, It seems to me that the location given to \setupcaptions is not honored correctly in floatcombinations anymore. Consider the following MWE: \setupcaptions[location=top, number=no] \starttext \placetable[][]{One}{ \bTABLE \bTR \bTD First \eTD \eTR \eTABLE} \placefloat

Re: [NTG-context] Couple of questions

2017-07-31 Thread Gerion Entrup
> > Gerion > > > > > >> I don’t know how it is implemented, but prefixsegments (or prefixes) for > >> captions only work when number is enabled. > >> > >> This makes sense if the section is part of the prefixsegments, but not > >&g

Re: [NTG-context] Couple of questions

2017-07-31 Thread Jan Willem Flamma
is makes sense if the section is part of the prefixsegments, but not >> if it isn’t. >> >> Another sample that shows the problem: >> >>\mainlanguage[de] >>\setupexternalfigures[location=default] >>\setuphead[subsection][number=no] >>

Re: [NTG-context] Couple of questions

2017-07-30 Thread Gerion Entrup
d. > > This makes sense if the section is part of the prefixsegments, but not > if it isn’t. > > Another sample that shows the problem: > > \mainlanguage[de] > \setupexternalfigures[location=default] > \setuphead[subsection][number=no] > \setupcaptio

Re: [NTG-context] Couple of questions

2017-07-29 Thread Pablo Rodriguez
for captions only work when number is enabled. This makes sense if the section is part of the prefixsegments, but not if it isn’t. Another sample that shows the problem: \mainlanguage[de] \setupexternalfigures[location=default] \setuphead[subsection][number=no] \setupcaptions[pr

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
curse{5}{\placefigure{Eine andere Kuh} > {\externalfigure[cow.pdf]}} > \dorecurse{5}{\chapter{Kapitel} > \placefigure{Noch eine andere Kuh}{\externalfigure[cow.pdf]}} > \stoptext > > In general, please provide minimal samples of code that show your problem. Was not that sim

Re: [NTG-context] figure numbering S3, S4, S6, ...

2017-07-13 Thread Henri Menke
m] \stopplacefigure \startplacefigure[title={Another Cow}]   \externalfigure[cow][width=2cm] \stopplacefigure \stoptext > > Minimal example: > > \setuppapersize[A6] > \setupexternalfigures[location=default] > > \setupcaptions[way=bytext] > > \placefigure >

[NTG-context] figure numbering S3, S4, S6, ...

2017-07-13 Thread Thomas Möbius
] \setupexternalfigures[location=default] \setupcaptions[way=bytext] \placefigure {Cow} {\externalfigure[cow][width=2cm]} \placefigure {Another Cow} {\externalfigure[cow][width=2cm]} ___ If your question

Re: [NTG-context] Alter text to "Figure"

2017-02-28 Thread Henri Menke
", > > IOW, how to add "." after the figure "auto-text"? \setupcaptions [figure] [ numberstopper={.}, ] \starttext \startplacefigure [ title={Caption}, ] \externalfigure[cow] \stopplacefigure \stoptext > > Best regards, > > Lukas

Re: [NTG-context] floatcombination alignment has changed?

2017-01-04 Thread Christoph Reller
Hi, I have come up with a simpler MWE which shows the problem more explicitly: \setupcaptions[number=no] \starttext \startplacefigure[location=right] \startfloatcombination \placefigure{A Cow}{\externalfigure[cow.pdf]} \placefigure{Another Cow}{\externalfigure[cow.pdf

Re: [NTG-context] grid snapping problem

2016-12-07 Thread Csikos Bela
2ex] #1 >\stoptexdefinition > >\setupcaptions > [ >width=fit, >align=last, >headstyle={\ss\bfx}, >style={\ss\tfx}, >before={\setnostrut}, >textcommand=\getvalue{caption:text}, > ] > >\starttext > >\startsubsection[title=

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Henri Menke
\stoptexdefinition \setupcaptions [ width=fit, align=last, headstyle={\ss\bfx}, style={\ss\tfx}, before={\setnostrut}, textcommand=\getvalue{caption:text}, ] \starttext \startsubsection[title={Subsection title}] \input dawkins \input dawkins \setnostrut

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Csikos Bela
>I would like to use grid snapping in my document: main text lines >should be aligned to grid lines but figure caption text should not. > >I have this code: > >\setuplayout[grid=yes] >\showgrid > >\setupcaptions[width=fit,align=last,headstyle={\ss\bfx},style={\ss\tfx}]

[NTG-context] grid snapping problem

2016-12-02 Thread Csikos Bela
Dear context users: I would like to use grid snapping in my document: main text lines should be aligned to grid lines but figure caption text should not. I have this code: \setuplayout[grid=yes] \showgrid \setupcaptions[width=fit,align=last,headstyle={\ss\bfx},style={\ss\tfx}] \starttext

[NTG-context] gridline question

2016-11-24 Thread Csikos Bela
or figure legends? Here is an example: \setuplayout[grid=yes] %\showgrid \setupcaptions[location=bottom,width=fit,align=last,headstyle={\tfxx},style={\tfxx}] \starttext \input ward \input tufte \placefigure{An example figure. \input ward }{\framed[width=0.5\textwidth]{A figure}} \input zapf \stoptext

Re: [NTG-context] MKIV caption separator, revisited

2016-10-10 Thread Meer, Hans van der
xample for the use of the prefixconnector key. \starttext \section{This is a section} \setupcaptions[prefixsegments=section,prefixconnector=-] \startplacefigure[title=\tex{setupcaptions[prefixconnector=-]}] \externalfigure[dummy][width=.5\textwidth] \stopplacefigure \

Re: [NTG-context] MKIV caption separator, revisited

2016-10-10 Thread Wolfgang Schuster
xample for the use of the prefixconnector key. \starttext \section{This is a section} \setupcaptions[prefixsegments=section,prefixconnector=-] \startplacefigure[title=\tex{setupcaptions[prefixconnector=-]}] \externalfigure[dummy][width=.5\textwidth] \stopplacefigure \stoptext Wo

Re: [NTG-context] MKIV caption separator, revisited

2016-10-10 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 10. Oktober 2016 um 09:41 Here is the example. \setupcaptions has no effect, however \setupfloatcaption does (assuming of course I didn't make a silly mistake ;-). Thus it is no problem to get the effect desired, but possibly \setupca

Re: [NTG-context] MKIV caption separator, revisited

2016-10-10 Thread Meer, Hans van der
Here is the example. \setupcaptions has no effect, however \setupfloatcaption does (assuming of course I didn't make a silly mistake ;-). Thus it is no problem to get the effect desired, but possibly \setupcaptions should be deprecated, or perhaps reimplemented to calling \setupfloatcaption. I

Re: [NTG-context] MKIV caption separator, revisited

2016-10-09 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 9. Oktober 2016 um 14:36 Is this still valid? Using \setupcaptions[prefixconnector=-] doesn't seem to make a difference for \startplacefigure. Do you have a example? Wo

Re: [NTG-context] MKIV caption separator, revisited

2016-10-09 Thread Meer, Hans van der
Is this still valid? Using \setupcaptions[prefixconnector=-] doesn't seem to make a difference for \startplacefigure. Hans van der Meer On 22 Apr 2014, at 08:25, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Am 22.04.2014 um 02:57

Re: [NTG-context] Caption placement in margin

2016-08-31 Thread Henri Menke
/mkiv/strc-flt.mkvi you can find the following definitions: \let\setupcaption \setupfloatcaption \let\setupcaptions\setupfloatcaption Cheers, Henri On 08/31/2016 09:59 AM, Mikael P. Sundqvist wrote: > On Tue, Aug 30, 2016 at 9:25 PM, Henri Menke <henrime...@gmail.com> wrote: >> Dea

Re: [NTG-context] ntg-context Digest, Vol 142, Issue 52

2016-04-19 Thread Brian Ballsun-Stanton
][location=top] \setupcaptions[style={\tfx}, width=.9\textwidth,align=middle] \unprotect \appendtoks \setupbackgrounds[\v!page][\c!background=\makeupparameter\c!background] \to \t_page_makeup_every_setup \protect \defineseparatedlist[CSV] [separator={,}, quotechar={"},

Re: [NTG-context] RTL problem with figure numbers

2016-01-17 Thread Mohammad Hossein Bateni
the numbercommand, we'll see reverse numbering > starting from 10. > \setuphead[chapter,title,section,subject][numbercommand=\righttoleft] > %% The following does not accept any numbercommand but it has > numberconversion. > %% As a result figure numbers are shown in reverse. > \setupcaptions

Re: [NTG-context] RTL problem with figure numbers

2016-01-17 Thread Mohammad Hossein Bateni
etupdirections[bidi=global,method=two] >> \setupalign[r2l] >> >> %% If we don't provide the numbercommand, we'll see reverse numbering >> starting from 10. >> \setuphead[chapter,title,section,subject][numbercommand=\righttoleft] >> %% The following does not accept any

Re: [NTG-context] RTL problem with figure numbers

2016-01-09 Thread Wolfgang Schuster
ersion. %% As a result figure numbers are shown in reverse. \setupcaptions[numberstopper={:}] %% Footnotes are fine and accept conversion. %% Page numbers are also okay. \starttext \dorecurse{20}{ \section{Test} This is a very simple text. And we have a footnote\footnote{Footnote text}. \place

[NTG-context] RTL problem with figure numbers

2016-01-03 Thread Mohammad Hossein Bateni
the numbercommand, we'll see reverse numbering starting from 10. \setuphead[chapter,title,section,subject][numbercommand=\righttoleft] %% The following does not accept any numbercommand but it has numberconversion. %% As a result figure numbers are shown in reverse. \setupcaptions[numberstopper

[NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Jan Willem Flamma
, Figure 1.4, etc Chapter 2: Figure 2.1, Figure 2.2 etc I've tried several \setupcaptions options but was unable to solve so far. Everything works as expected when using a numbered subsubsection so the problem is somehow related to the number=no option Minimal example: \setuphead[chapter, section

Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Sytse Knypstra
stead of the expected Figure 1.2) I would like all figures (and floats) to be numbered in sequence according the chapter numbering: Chapter 1: Figure 1.1, Figure 1.2, Table 1.3, Figure 1.4, etc Chapter 2: Figure 2.1, Figure 2.2 etc I've tried several \setupcaptions options but was unable to solve

[NTG-context] footnotes in floating tables

2015-07-19 Thread Henry House
I am using the following to style floating tables and am having some difficulties with footnotes in the tables. \enableregime[utf] \setupbodyfont[modern] \setupbodyfont[11pt] \setupfloats[location=middle,spacebefore=0ex,spaceafter=8ex] \setupcaptions[location=top,inbetween

Re: [NTG-context] Bleeding pictures as floats?

2015-05-05 Thread Henning Hraban Ramm
=\measure{maxWidth}, maxheight=\measure{maxHeight} ] \setupcaptions[style=\ss\tfx,align=flushleft,number=no,width=\textwidth] \definefloat[bleedfigure][figure] \setupfloat[bleedfigure][ outermargindistance=-2\measure{Bleed}, %leftmargindistance=-2\measure{Bleed

Re: [NTG-context] A couple of setupcaptions questions revisited

2015-04-11 Thread Rik Kabel
Bumping another old unsolved mystery. On 2014-04-22 22:40, Rik Kabel wrote: On 2011-08-05, Wolfgang wrote with regard to section numbering not appearing in float captions when numbering is off for the section but called for by the chapter

Re: [NTG-context] caption setup

2015-04-09 Thread Csikos Bela
understand why numberstopper (.) doesn't appear after suffix (. ábra) in figure 2. Any way to fix these? The alignment=last option works. (This option is not mentioned among the options at the contextgarden wiki site, http://wiki.contextgarden.net/Command/setupcaptions.) Thanks, bcsikos

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
a numbercommand key which can be used to set \setupcaption[numbercommand=\groupedcommand{}{…}] The alignment=last option works. (This option is not mentioned among the options at the contextgarden wiki site, http://wiki.contextgarden.net/Command/setupcaptions.) Take a look at the \setupalign

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-16 Thread Mojca Miklavec
On Sat, Mar 14, 2015 at 1:10 PM, Hans Hagen pra...@wxs.nl wrote: On 3/14/2015 10:50 AM, Mojca Miklavec wrote: Hello, I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}] Now I'm looking for the magic keywoard to also decrease

[NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-14 Thread Mojca Miklavec
Hello, I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}] Now I'm looking for the magic keywoard to also decrease the size of captions inside combinations, as in the following case for example (otherwise the subcaptions are too

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-14 Thread Hans Hagen
On 3/14/2015 10:50 AM, Mojca Miklavec wrote: Hello, I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}] Now I'm looking for the magic keywoard to also decrease the size of captions inside combinations, as in the following case

Re: [NTG-context] \setupcaptions question

2015-03-10 Thread Wolfgang Schuster
Am 13.02.2015 um 08:53 schrieb j. van den hoff veedeeh...@googlemail.com: On Fri, 13 Feb 2015 04:54:58 +0100, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: No, you’re right. I used the wrong command (\at is used to show the page where to float was placed) understood. and

[NTG-context] \setupcaptions question

2015-02-13 Thread joerg van den hoff
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

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
, that is \setupcaptions[numberstopper={:}] works also. Best regards: OK On 12 Feb 2015, at 22:31, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 12.02.2015 um 17:37 schrieb j. van den hoff veedeeh...@googlemail.com: I want to use `numberstopper' for figure caption

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
: \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

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
Am 12.02.2015 um 17:37 schrieb j. van den hoff veedeeh...@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

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
it. the canonical 'communication channel' being which? this list? bug tracker? best regards, joerg Best regards: OK On 12 Feb 2015, at 17:37, j. van den hoff veedeeh...@googlemail.com wrote: I want to use `numberstopper' for figure caption customization like so: \setupcaptions[numberstopper

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
wrote before (which works in mkii, though…). Actually the command used by Joerg, that is \setupcaptions[numberstopper={:}] works also. Best regards: OK On 12 Feb 2015, at 22:31, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 12.02.2015 um 17:37 schrieb j. van den hoff veedeeh

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
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

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
On Fri, 13 Feb 2015 04:54:58 +0100, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: No, you’re right. I used the wrong command (\at is used to show the page where to float was placed) understood. and so far there is only a workaround for this problem. What you can do OK, does this

[NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
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

[NTG-context] figure caption question

2015-01-12 Thread j. van den hoff
without the `:' occuring as part of the reference (i.e. it should read Figure 1: caption_goes_here and the cross-reference then should read see Figure 1 rather than see Figure 1:. Using something like \setupcaptions[width=0.9\textwidth, numberstopper={:}] sort of works except that cross

Re: [NTG-context] Maximum width of a caption

2015-01-05 Thread Hans Hagen
cheat as on the third figure above, but that seems like an ugly approach to me. can you test this a bit: \unprotect \setupcaptions [\c!maxwidth=.75\hsize] Thank you very much. The patch that you sent me for strc-flt.mkvi seems to work as expected on a long document with many figures. The only

Re: [NTG-context] Maximum width of a caption

2015-01-05 Thread Mojca Miklavec
above, but that seems like an ugly approach to me. can you test this a bit: \unprotect \setupcaptions [\c!maxwidth=.75\hsize] Thank you very much. The patch that you sent me for strc-flt.mkvi seems to work as expected on a long document with many figures. The only exception are one

Re: [NTG-context] Maximum width of a caption

2015-01-04 Thread Hans Hagen
this a bit: \unprotect \setupcaptions [\c!maxwidth=.75\hsize] \def\strc_floats_prepare_stack_caption_auto {\ifx\p_strc_floats_caption_align\empty \else \doifnotinset\v!middle\p_strc_floats_caption_align{\let\captionovershoot\!!zeropoint}% \fi \edef\captionhsize{\the\wd\b_strc_floats_content

[NTG-context] Table and framedtext

2014-12-05 Thread Fabrice Couvreur
Hi, In the following code, I would like columns that contain the figures have a white background. Best regards, Fabrice \definecolor[mycolor][c=0.1, m=0.00, y=0.00, k=0.00] \setupcaptions[number=no] \starttext \startframedtext[ width=\textwidth, frame=on, location=middle

Re: [NTG-context] Alignment, indenting and font inside floats

2014-07-28 Thread Rik Kabel
}] \setupindenting[yes, \the\baselineskip] %\definefontfamily [figurefamily] [serif] [Latin Modern Sans] %\setupfloats [align=middle, style={\switchtobodyfont[figurefamily]}, indenting=no] \setupcaptions [style=ss] \setupframed[style=it] \starttext \input knuth \startplacefigure[title

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-27 Thread Joshua Krämer
On 2014-07-25, 16:18, Hans Hagen wrote: \showframe \starttext \startplacefigure \framed[width=.8\textwidth,framecolor=red]{one} \stopplacefigure \definefloat[widefigure][figure][figure] \setupfloat [widefigure][location=flushleft] \setupcaptions[widefigure][width=\textwidth

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-27 Thread Wolfgang Schuster
[widefigure][location=flushleft] \setupcaptions[widefigure][width=\textwidth,align=middle] \startplacewidefigure \framed[width=1.2\textwidth,framecolor=blue]{two} \stopplacewidefigure \stoptext Thanks, but this doesn't seem to be a solution to my problem, because the figures extend

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-25 Thread Hans Hagen
\startplacefigure \framed[width=.8\textwidth,framecolor=red]{one} \stopplacefigure \definefloat[widefigure][figure][figure] \setupfloat [widefigure][location=flushleft] \setupcaptions[widefigure][width=\textwidth,align=middle] \startplacewidefigure \framed[width=1.2\textwidth,framecolor=blue]{two

[NTG-context] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
Hi, how to set the color of head in setupcaptions? Something like: \setupcaptions[headstyle={\ss},headstylecolor=red] thanks Xan PS: Please CCme ___ If your question is of interest to others as well, please add

Re: [NTG-context] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
I found myself: headcolor=red On Sat, 12 Jul 2014 18:31:55 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, how to set the color of head in setupcaptions? Something like: \setupcaptions[headstyle={\ss},headstylecolor=red] thanks Xan PS: Please CCme

Re: [NTG-context] MKIV caption separator, revisited

2014-04-22 Thread Wolfgang Schuster
remains the default period. With MKII, it generates a figure with a hyphen and not a period. \setupcaptions[separator=-] \setupcaptions[prefixconnector=-] Wolfgang___ If your question is of interest to others as well

Re: [NTG-context] MKIV caption separator, revisited

2014-04-22 Thread Rik Kabel
with stopper have been resolved. In MKIV it is numberstopper.) Here is an MWE demonstrating the problem. It compiles cleanly, but the separator remains the default period. With MKII, it generates a figure with a hyphen and not a period. \setupcaptions[separator=-] \setupcaptions[prefixconnector

[NTG-context] A couple of setupcaptions questions revisited

2014-04-22 Thread Rik Kabel
On 2011-08-05, Wolfgang wrote with regard to section numbering not appearing in float captions when numbering is off for the section but called for by the chapter (http://www.mail-archive.com/ntg-context%40ntg.nl/msg57811.html): For the moment replace number=no with incrementnumber=no.

  1   2   3   4   >