[NTG-context] Re: Cannot build with newest context current version: 2024.11.01 19:19

2024-12-22 Thread Wolfgang Schuster
ups  5 \environment env-umbruch  6 \environment env-heading-sans  7 \environment env-layout  8 \environment env-figures  9 \environment env-pandoc 10 \setupcaptions[number=yes] 11 \setupdocument [ A number should have been here; I inserted '0'. (If you can't fig

[NTG-context] Cannot build with newest context current version: 2024.11.01 19:19

2024-12-22 Thread juh+ntg-context--- via ntg-context
ans 7 \environment env-layout 8 \environment env-figures 9 \environment env-pandoc 10 \setupcaptions[number=yes] 11 \setupdocument [ A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error&#x

[NTG-context] Spacing within combinations

2024-06-22 Thread Michael Guravage
[state=] \setupcaptions[number=no] \starttext \startluacode context.setupblank({"10mm"}) context.setupcombinations({distance="10mm", after=context.blank()}) context.startplacefigure({title = ""}) context.startcombination({nx=3, ny=4}) for i=1,

[NTG-context] \item would fit, but was pushed to next page. Work-around or fix?

2024-06-05 Thread Jim
Hi, I had the following structure which ended up at the bottom of a page: --- \setupcaptions[number=no] \placefigure[right] {blah blah blah} {% \vskip -15pt \externalfigure[DSC_2782][width=0.32\textwidth

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Rik Kabel
n’t typeset a book before and various things are a challenge. The most recent is the following. > > I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with: > >    \setupcaptions[number=no] > \starttplacefigure[ &

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Henning Hraban Ramm
Am 29.05.24 um 17:35 schrieb Charles Doherty via ntg-context: I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with: \setupcaptions[number=no] \starttplacefigure[ location={middle,high,low}, reference=fig:logo

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Tomáš Hála
ome of which are logos (for the publisher and two > granting bodies) that I have placed with: > >\setupcaptions[number=no] > \starttplacefigure[ > location={middle,high,low}, > reference=fig:logo, > title=] > {\externalfigure[FCLogo][width=0.045\textwidth]} > \s

[NTG-context] how to prevent item appearing in List of Figures

2024-05-29 Thread Charles Doherty via ntg-context
at Wolfgang was included. I have only ever written to the list many years ago. I haven’t typeset a book before and various things are a challenge. The most recent is the following. I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have plac

[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
en > Betreff: 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
n\LeftMarginSize > \LeftMarginSize=\dimexpr \backspace + \rightmarginwidth + > \rightmargindistance \relax > \newdimen\TextAreaSize > \TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance > \relax > \definefloat[marginfigure][marginfigures][figure] > \

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

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

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

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
nehighlight[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
Tabla~}] \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=

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 to

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

2020-06-01 Thread Otared Kavian
tared > 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 titl

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 the text?

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 b

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

2018-03-06 Thread ????????
tsetups 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

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. The

Re: [NTG-context] Caption location in floatcombination

2017-10-23 Thread Christoph Reller
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, number=no] >&

Re: [NTG-context] Caption location in floatcombination

2017-10-17 Thread Christoph Reller
On Mon, Sep 18, 2017 at 7:19 AM Christoph Reller wrote: > On Sun, Sep 17, 2017 at 6:03 PM Hans Hagen wrote: > >> 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 floatcomb

Re: [NTG-context] Caption location in floatcombination

2017-09-17 Thread Christoph Reller
On Sun, Sep 17, 2017 at 6:03 PM Hans Hagen 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 following MWE: > >

[NTG-context] Caption location in floatcombination

2017-09-12 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
; > >> 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 > >> if it isn’t. > >>

Re: [NTG-context] Couple of questions

2017-07-30 Thread Jan Willem Flamma
e prefixsegments, but not >> if it isn’t. >> >> Another sample that shows the problem: >> >>\mainlanguage[de] >>\setupexternalfigures[location=default] >>\setuphead[subsection][number=no] >>\setupcaptions[prefixsegments=chapter] >

Re: [NTG-context] Couple of questions

2017-07-30 Thread Gerion Entrup
> > 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
\dorecurse{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 no

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 is of

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
ne=2.2ex] #1 >\stoptexdefinition > >\setupcaptions > [ >width=fit, >align=last, >headstyle={\ss\bfx}, >style={\ss\tfx}, >before={\setnostrut}, >textcommand=\getvalue{caption:text}, > ] > >\starttext > >\startsubsection[t

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
es 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 \sto

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

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

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

2016-10-10 Thread Wolfgang Schuster
le 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 \se

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 \setupfloatcapti

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

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 mailto:schuster.wolfg...@gmail.com>> wrote: Am 22.04.2014 um 02:57 schrieb Rik Kabel

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 wrote: >> Dear list, >> >>

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

2016-04-18 Thread Brian Ballsun-Stanton
upcaption[table][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={,}, quotech

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

2016-01-17 Thread Mohammad Hossein Bateni
ethod=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 numbercommand but it has

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

2016-01-17 Thread Mohammad Hossein Bateni
mand, 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. > \setupcap

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

2016-01-09 Thread Wolfgang Schuster
t it has numberconversion. %% 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{Foo

[NTG-context] RTL problem with figure numbers

2016-01-03 Thread Mohammad Hossein Bateni
'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 numbercommand but it has numberconversion. %% As a result figure numbers are shown in reverse. \setupca

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

2015-12-15 Thread Sytse Knypstra
(in 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

[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, se

[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
xwidth=\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 > (http://www.mail-archive.com/ntg-context%40ntg.nl/

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
optext > > > > I attach the generated pdf output: caption-example.pdf > > Unfortunately none of the above code variants gives the correct result. > Despite of the bad

Re: [NTG-context] caption setup

2015-04-09 Thread Csikos Bela
result. Despite of the bad "wording" I don't 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.context

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 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]}] >> >&

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 foll

[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 "subca

Re: [NTG-context] \setupcaptions question

2015-03-10 Thread Wolfgang Schuster
> Am 13.02.2015 um 08:53 schrieb j. van den hoff : > > On Fri, 13 Feb 2015 04:54:58 +0100, Wolfgang Schuster > 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 th

[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

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
On Fri, 13 Feb 2015 04:54:58 +0100, Wolfgang Schuster 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 require some sort of formal

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
> Am 12.02.2015 um 23:14 schrieb j. van den hoff : > >>> On 12 Feb 2015, at 22:31, Wolfgang Schuster >>> wrote: >>> >>> >>>> Am 12.02.2015 um 17:37 schrieb j. van den hoff : >>>> >>>> >>>> I want

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
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 wrote: Am 12.02.2015 um 17:37 schrieb j. van den hoff : I want to use `numberstopper' for f

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 > wrote: > > >> Am 12.02.2015 um 17:37 schrieb j. van den hoff : >> >> >> I want to use `numberstopper' for figure caption cus

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
'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 wrote: I want to use `numberstopper' for figure caption customization like so: \setupcaptions[numberstopper={:}] this works fine

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
> Am 12.02.2015 um 17:37 schrieb 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&q

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
it does not work as expected anymore. So it is a bug introduced recently. Probably Hans should be informed about it. Best regards: OK > On 12 Feb 2015, at 17:37, j. van den hoff wrote: > > > I want to use `numberstopper' for figure caption customization like so: &g

[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

[NTG-context] figure caption question

2015-01-12 Thread j. van den hoff
igure 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, numbe

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

2015-01-05 Thread Hans Hagen
axwidth=...]. I can 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 wit

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

2015-01-05 Thread Mojca Miklavec
> {\hbox to >> .75\textwidth{\hss\framed[width=\textwidth,height=.2\textwidth]{}\hss}} >> >> \input tufte >> >> \stoptext >> >> I've seen an option maxwidth, but only in connection to >> \externalfigure[...][maxwidth=...]. >> >> I c

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

2015-01-04 Thread Hans Hagen
can you test 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\

[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
fault}] \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[

  1   2   3   4   >