Re: [NTG-context] Request: Numbercommand key for \setupcaption

2015-04-11 Thread Hans Hagen
On 4/11/2015 9:07 AM, Wolfgang Schuster wrote: Am 10.04.2015 um 15:22 schrieb Hans Hagen mailto:pra...@wxs.nl>>: On 4/10/2015 12:38 PM, Wolfgang Schuster wrote: Hi Hans, can you add a number command key to \setupcaption because when you use a language which uses left and right labe

Re: [NTG-context] Request: Numbercommand key for \setupcaption

2015-04-11 Thread Wolfgang Schuster
> Am 10.04.2015 um 15:22 schrieb Hans Hagen : > > On 4/10/2015 12:38 PM, Wolfgang Schuster wrote: >> Hi Hans, >> >> can you add a number command key to \setupcaption because when you use a >> language which uses left and right labels for the number >&

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
the >>> word "ábra" is shown correctly but the order is not correct; I get ,. >>> ábra:#.) >> >> Until the labels for hungarian are fixed you can use the \setuplabeltext >> command >> to set the right labels. >> >>> Another quest

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
the >>> word "ábra" is shown correctly but the order is not correct; I get ,. >>> ábra:#.) >> >> Until the labels for hungarian are fixed you can use the \setuplabeltext >> command >> to set the right labels. >> >>> Another quest

Re: [NTG-context] caption setup

2015-04-09 Thread Csikos Bela
a:#.) > >Until the labels for hungarian are fixed you can use the \setuplabeltext >command >to set the right labels. > >> Another question: for caption text I want it to be justified and the last >> line of the caption >> centered. How can I do that? > >\u

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
ext command to set the right labels. > Another question: for caption text I want it to be justified and the last > line of the caption > centered. How can I do that? \useMPlibrary[dum] \mainlanguage[hu] \setupcaption[figure][align=last,numberstopper=.] \setuplabeltext[hu][figure

Re: [NTG-context] caption setup

2015-04-08 Thread Otared Kavian
Hi, Maybe something like the following gives what you want: \setupcaption[figure][numberstopper={ ábra.}] \setuplabeltext[figure={}] However I don’t know how you would like the reference to a figure appear in the text: maybe the above solution doesn’t give what you want, and so

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
ilename{\currentcomponent}}] \def\maybeendnotes {\subsubject{Notes} \placenotes[endnote] \subsubject{Bibliography} \switchtobodyfont[9pt] \placepublications[criterium=all]} \appendtoks \maybeendnotes \to \everystoptext \stopmode % \setupcaption[figure][style=small] \setupinteractio

Re: [NTG-context] \setupcaptions question

2015-03-10 Thread Wolfgang Schuster
ich will only appear in the caption itself. >> \setupexternalfigure[location=default] >> \setupcaption[figure][suffix=:] >> \starttext >> Take a look at \in{picture}[fig:cow] below. >> \startplacefigure[reference=fig:cow,title=A dutch cow] >> \externalfigure[co

Re: [NTG-context] Get rid of caption on an intermezzo.

2015-03-04 Thread Otared Kavian
Hi John, In one of my documents I have this: \definefloat[intermezzo] \setupcaption[intermezzo][location=none] Is it what you need? Best regards: OK > On 04 Mar 2015, at 21:30, John Culleton wrote: > […] > Anyone have a sol

Re: [NTG-context] Numbers in appendix roman, but want arabic

2015-02-13 Thread Mikael P. Sundqvist
On Fri, Feb 13, 2015 at 6:20 PM, Rik Kabel wrote: > \defineconversionset [appendix:floatconversionset] [] [n] > \setupcaption[numberconversionset=floatconversionset] Thank you very much! \defineconversionset [appendix:enumconversionset] [] [n] \setupenumeration[numberconvers

Re: [NTG-context] Numbers in appendix roman, but want arabic

2015-02-13 Thread Rik Kabel
ures have numeric, not Roman, numbers %% %%-%% \defineconversionset [appendix:floatconversionset] [] [n] \setupcaption[numberconversionset=floatconversionset] -- rik ___ If y

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
formal bug report or can the issue be now considered to be on the "to do" list? is to use the “suffix” key to set a stopper for the caption which will only appear in the caption itself. \setupexternalfigure[location=default] \setupcaption[figure][suffix=:] \starttext Take a look at \in{pictur

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
t;>> >>>> should rather read >>>> >>>> "... see Figure 1 for an example. ..." >>>> >>>> i.e. the numberstopper should be omitted (at least optionally) when >>>> referencing. >>>> >>>>

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
On Thu, 12 Feb 2015 22:56:11 +0100, Otared Kavian wrote: Hi Wolfgang, and Joerg, Actually with your code and using numberstopper instead of stopper your example works fine here, too. So the right command is \setupcaption[figure][numberstopper={:}] and not what I wrote before (which

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
Hi Wolfgang, and Joerg, Actually with your code and using numberstopper instead of stopper your example works fine here, too. So the right command is \setupcaption[figure][numberstopper={:}] and not what I wrote before (which works in mkii, though…). Actually the command used by Joerg

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
On Thu, 12 Feb 2015 22:18:51 +0100, Otared Kavian wrote: Hi Joerg, hi otared, I think you are right when refering to a figure, the number stopper should not appear in the text. It seems to me that using something like \setupcaption[figure][stopper={.}] used to work in mkii

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
t; "... see Figure 1 for an example. ..." > > i.e. the numberstopper should be omitted (at least optionally) when > referencing. > > question: how can this be achieved? Can you make a example because I can’t reproduce the problem you describe. \setupexternalfigure[lo

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
Hi Joerg, I think you are right when refering to a figure, the number stopper should not appear in the text. It seems to me that using something like \setupcaption[figure][stopper={.}] used to work in mkii and mkiv, but while it works in mkii, I just tried it with mkiv and found that

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-06 Thread Wolfgang Schuster
> Now a couple of follow-up questions. The tables are now numbered in a > very weird way. It's now "Table 1.VI" instead of "Table E.1" for the > first table in Appendix E. Which keys control numbering of tables? (Or > better yet: what's the reference for

[NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Ben Moon
% 25 rightmargindistance=0mm, header=2\bodyfontsize, headerdistance=\bodyfontsize, footer=2\bodyfontsize, footerdistance=\bodyfontsize, height=fit, width=fit, %grid=yes ] \setuppagenumbering[ way=bytext, partnumber=no, alternative=doublesided, location=right, styl

Re: [NTG-context] \os

2014-08-03 Thread Procházka Lukáš
mmand, e.g. \setupcaption[figure][style={\feature[+][f:lnum]}] enables lining figures for the caption of your figures. The \os command itself should only be used when you have a few numbers which should appear in a different layout from the global setup.

Re: [NTG-context] \os

2014-08-03 Thread Wolfgang Schuster
talking about enabling them. When you *want* your document to use old style figures for the body font you have to enable the onum feature in the default feature set which can be done with \definefontfeature[default][default][onum=yes] before you set the font with the \setupbodyfon

Re: [NTG-context] Placing (numbered) figures side-by-side

2014-07-04 Thread Mojca Miklavec
]} > > - titles are of different length (and have a different number of > lines), so I need to manually add \crlf in one of the titles to > achieve equal height and proper alignment; > > - width=... and distance=... are weird; once I set some width, > distance only shifts the right

Re: [NTG-context] Placing (numbered) figures side-by-side

2014-07-04 Thread Wolfgang Schuster
ound, so I can get the desired > effect, but nonetheless: > > - titles are wider than the figure, so titles from left and right > overlap; what I ended up doing was > > \framed[frame=off,offset=none,width=.2\textwidth]{\externalfigure[cow][width=.4\textwidth]} > > - titles a

Re: [NTG-context] Figure numbering with parts

2014-05-17 Thread Pol Stra
numberpart=yes] > >>> \setupnumber[figure][way=bypart, numberpart=yes, prefixsegments=part] > >>> > >>> But when changing part, the numbering starts again at 1. > >> > >> The counter setup for floats are controlled with the \setupcaption > &

Re: [NTG-context] Figure numbering with parts

2014-05-17 Thread Wolfgang Schuster
umber >>> >>> I didn't find documentation on \setupnumber. >>> >>> I tried: >>> >>> \setupnumber[figure][way=bypart, numberpart=yes] >>> \setupnumber[figure][way=bypart, numberpart=yes, prefixsegments=part] >>> >>>

Re: [NTG-context] Figure numbering with parts

2014-05-17 Thread Pol Stra
ber. > > > > I tried: > > > > \setupnumber[figure][way=bypart, numberpart=yes] > > \setupnumber[figure][way=bypart, numberpart=yes, prefixsegments=part] > > > > But when changing part, the numbering starts again at 1. > > The counter setup for f

Re: [NTG-context] Figure numbering with parts

2014-05-17 Thread Wolfgang Schuster
] > \setupnumber[figure][way=bypart, numberpart=yes, prefixsegments=part] > > But when changing part, the numbering starts again at 1. The counter setup for floats are controlled with the \setupcaption command. When you set “way=bypart” you tell context to reset the cou

[NTG-context] Command for the caption location inside \startplacefigure

2013-12-03 Thread Géry Ogam
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

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Wolfgang Schuster
stopappendices > > \stoptext \defineconversionset [appendix:headconversionset] [n,R] [n] \defineconversionset [appendix:floatconversionset] [][n] \setuphead[sectionconversionset=headconversionset] \setupcaption[numberconversionset=floatconversionset] \starttext \startappendices \ch

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Wolfgang Schuster
mple: > > \setuphead[chapter][conversion=Romannumerals] > \setupcaption[way=bychapter, prefixsegments=chapter] \defineconversionset [section:chapter] [] [R] \defineconversionset [float:figure][] [n] \setuphead [chapter] [sectionconversionset=section:chapter] \setupcaption [wa

Re: [NTG-context] Numberconversion problem in caption prefixes

2013-11-21 Thread Géry Ogam
m 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, prefixs

[NTG-context] Numberconversion problem in caption prefixes

2013-11-11 Thread Géry Ogam
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

Re: [NTG-context] outer floats on doublesided pages UNSOLVED

2013-09-17 Thread Tim Steenvoorden
gt;>>> Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven: >>>>> >>>>>> On 2013–09–10 R. Ermers wrote: >>>>>> >>>>>>> I have problems with the placement of floats. I need them to be >>>>>>> placed in the

Re: [NTG-context] outer floats on doublesided pages UNSOLVED

2013-09-13 Thread R. Ermers
but Context puts them in the >>>>>> middle of the page. The outer, inner, outeredge, inneredge, >>>>>> commands do not work. Right and left do work. >>>>> >>>>> You probably confused edge and margin. By default the edge has zero >>>

[NTG-context] outer floats on doublesided pages UNSOLVED

2013-09-10 Thread R. Ermers
Context puts them in the >>>>> middle of the page. The outer, inner, outeredge, inneredge, >>>>> commands do not work. Right and left do work. >>>> >>>> You probably confused edge and margin. By default the edge has zero >>>> widt

Re: [NTG-context] outer floats on doublesided pages

2013-09-10 Thread R. Ermers
>> Preferably the criterium option should also work >>> >>> \setupexternalfigures >>> [location=default] >>> >>> \setuppagenumbering >>> [alternative=doublesided] >>> >>> \definefloat >>> [marginfigure] >>> [

Re: [NTG-context] outer floats on doublesided pages

2013-09-10 Thread Jörg Hagmann
idth and has to be enabled using \setuplayout. >> >>> Preferably the criterium option should also work >> >> \setupexternalfigures >> [location=default] >> >> \setuppagenumbering >> [alternative=doublesided] >> >> \definefloat >>

Re: [NTG-context] outer floats on doublesided pages

2013-09-10 Thread R. Ermers
. > >> Preferably the criterium option should also work > > \setupexternalfigures > [location=default] > > \setuppagenumbering > [alternative=doublesided] > > \definefloat > [marginfigure] > [marginfigures] > [figure] > > \setupflo

Re: [NTG-context] outer floats on doublesided pages

2013-09-10 Thread Marco Patzer
ures] [figure] \setupfloat [marginfigure] [default=margin, criterium=\marginwidth] \setupcaption [marginfigure] [number=no] \showframe \starttext \dorecurse{9}{%% \input knuth \startplacemarginfigure \externalfigure [cow] [width=\recurselevel cm] \stopplacemarginfi

[NTG-context] outer floats on doublesided pages

2013-09-09 Thread R. Ermers
,low,high}] \setupcaption[edgefigure][number=no] \useexternalfigure[cow][./cow.pdf] \starttext \startsection[title={insight},reference=insight] \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}} When the first volume of Donald Knuth's The Art of Computer Programmin

Re: [NTG-context] captions in float combinations

2013-09-08 Thread Aditya Mahajan
[dum] \definefloat [combinationfloat] [combinationfloats] [figure] \setupcaption [combinationfloat] [number=no] \setupcaptions %% [location=bottom] [location=top] \starttext \startplacefigure [title=Foobar] \startfloatcombination [2*2] \startplacecombinationfloat [title=alpha

Re: [NTG-context] captions in float combinations

2013-09-08 Thread Robert Blackstone
lobal caption setups. > > \useMPlibrary [dum] > > \definefloat > [combinationfloat] > [combinationfloats] > [figure] > > \setupcaption > [combinationfloat] > [number=no] > > \setupcaptions > %% [location=bottom] > [location=top] > > \starttext > \s

Re: [NTG-context] captions in float combinations

2013-09-08 Thread Marco Patzer
cause the captions in combinations are not implemented using the float captions mechanism. What you can do instead, is using a float caption and a float combination, which will respect the global caption setups. \useMPlibrary [dum] \definefloat [combinationfloat] [combinationfloats] [figure] \set

[NTG-context] outer floats on doublesided pages

2013-09-07 Thread R. Ermers
,none,low,high}] \setupcaption[edgefigure][number=no] \useexternalfigure[cow][./cow.pdf] \starttext \startsection[title={insight},reference=insight] \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}} When the first volume of Donald Knuth's The Art of Computer Progra

Re: [NTG-context] outer floats on doublesided pages

2013-09-03 Thread R. Ermers
\setuppapersize[A4][A4] > > \setuppagenumbering[alternative=doublesided,location=footer] > > \definefloat[edgefigure][figure] > > \setupfloat > [edgefigure] > [leftmargindistance=-\outercombitotal, > rightmargindistance=-\outercombitotal, > default={outer,none,low,hi

[NTG-context] outer floats on doublesided pages

2013-08-30 Thread R. Ermers
={outer,none,low,high}] \setupcaption[edgefigure][number=no] \useexternalfigure[cow][./cow.pdf] \starttext \startsection[title={insight},reference=insight] \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}} When the first volume of Donald Knuth's The Art of Com

Re: [NTG-context] [***SPAM***] No line break in figure-captions

2013-04-17 Thread Marco Patzer
On 2013–04–16 "H. Özoguz" wrote: > How to prevent line break in figure captions? \setupcaption [figure] [width=\textwidth, align=middle] Marco signature.asc Description: Digital signature _

Re: [NTG-context] Title of figure not below the figure, but on the right side

2013-04-16 Thread Sietse Brouwer
but doesn't. (MWE below.) Perhaps somebody else knows? Or perhaps this is a bug? \definefloat[rightfigure][rightfigures][figure] \setupcaption[rightfigure][location=right] \setupwhitespace[big] \useMPlibrary[dum] \starttext \input davis \par \input knuth \par \input khatt-en \par % \showboxe

Re: [NTG-context] Title of figure not below the figure, but on the right side

2013-04-15 Thread H. Özoguz
Am 15.04.2013 19:03, schrieb ntg-context-requ...@ntg.nl: Define a float type `rightfigure` that inherits from `figure`; then setup that float's caption with \setupcaption[rightfigure][...=...]. Like so: \definefloat[rightfigure][rightfigure][figure] \setupcaption[rightfigure][location=

Re: [NTG-context] [***SPAM***] Title of figure not below the figure, but on the right side

2013-04-15 Thread Sietse Brouwer
> But now I have a figure, where the (pretty long) > title-text should be on the right side, how to > get this? Define a float type `rightfigure` that inherits from `figure`; then setup that float's caption with \setupcaption[rightfigure][...=...]. Like so: \definefloat[rightfigur

Re: [NTG-context] float combinations

2013-04-14 Thread Alan BRASLAU
On Sun, 14 Apr 2013 13:54:48 +0200 Marco Patzer wrote: > On 2013–04–14 Alan BRASLAU wrote: > > > Two problems, though: > > 1. I tried "label=" in \setupcaption to suppress "Figure ". This > > does not work, and looking at the source I do not se

Re: [NTG-context] float combinations

2013-04-14 Thread Marco Patzer
On 2013–04–14 Alan BRASLAU wrote: > Two problems, though: > 1. I tried "label=" in \setupcaption to suppress "Figure ". This does not > work, >and looking at the source I do not see how to do this... \setuplabeltext [figureitem=] Marco signature.as

Re: [NTG-context] float combinations

2013-04-14 Thread Alan BRASLAU
es it > was never documented (example from source) > > (mayb i'll add \startplacefigurecombination some day) > > Hans > Ah, more undocumented features... :) \definefloat [figureitem] [figureitems] [figure] \setupcaption [figureitem] [numberconversion=character] \startpla

[NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
ly to all floats using %% \setupcaptions. For the prefix value it works. \setupblackrules [width=4cm, height=1cm] %% prefix is applied, way is not \setupcaptions [prefix=no, way=bytext] %% prefix and way are applied %% \setupcaption %% [figure, table] %% [prefix=no, %%way=bytext] \

Re: [NTG-context] Trouble with \placefloat in recent versions of the standalone

2013-03-05 Thread Philipp Gesang
\stopcombination} > > The processing stops at line 47. > The log-file's last words are: " ...number > \foundexternalfigure ; }" > I have no clue as to what to do with that information. > > Just for the sake of completeness:

[NTG-context] Trouble with \placefloat in recent versions of the standalone

2013-03-03 Thread Robert Blackstone
gure ; }" I have no clue as to what to do with that information. Just for the sake of completeness: In the setupfile "example" is defined: \definefloat[example][examples] \setupcaption[example][way=bychapter,prefix=yes,prefixsegments=chapter,location=top,number=yes,inbetween=\blank,bodyf

[NTG-context] caption on layoutgrid

2013-03-02 Thread Eidenbenz Michael
hi all, is there a way to typeset a caption on the layout grid? thanks michael \showgrid \setuplayout [grid=yes] \starttext \setupfloats[figure][location=left] \setupcaption [figure] [location={low,right},width=fit] \input tufte \reservefigure[height=4cm,width

Re: [NTG-context] Title over the image

2013-02-04 Thread Marco Patzer
On 2013–02–04 "H. Özoguz" wrote: \setupcaption [figure] [location=top] \starttext > \startplacefigure [title=blub, reference=fig:demo, number=no] > > \externalfigure[example][width=11.2cm] > > \stopplacefigure \stoptext Marco signature.asc Descr

Re: [NTG-context] Title over the image

2013-02-04 Thread Philipp Gesang
default) ? The title is actually the caption, so its placement is controlled by “\setupcaption” [0]: \setupcaption[figure][location=top] \starttext \startplacefigure [title=blub, reference=fig:demo, number=no] \externalfigure[example][width=11.2cm] \stoppl

Re: [NTG-context] Title over the image

2013-02-04 Thread Wolfgang Schuster
the > image (that is default) ? \setupcaption[figure][location=top] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.nt

Re: [NTG-context] \goto links to figures are inactive

2013-02-03 Thread Alan Bowen
ion={here,nonumber}, >>] >>\externalfigure[cow.pdf][**width=.5\textwidth] >> \stopplacefigure >> >> In \about[fig:cow.pdf], the hyperlink is not working >> In \about[sub:one], the hyperlink is working >> \stoptext >> > > A workaround (usin

Re: [NTG-context] \goto links to figures are inactive

2013-02-02 Thread Aditya Mahajan
\about[fig:cow.pdf], the hyperlink is not working In \about[sub:one], the hyperlink is working \stoptext A workaround (using a horrible hack): \defineconversion[gobble][\gobbleoneargument] \setupcaption[figure][numberconversion=gobble] \setuplabeltext[figure=] \startplacefigure [ ... location

Re: [NTG-context] Placefigure without numbering

2013-02-01 Thread Alan BRASLAU
at the center under the > picture? (Now it is flushright) > Untested: \setupcaption [figure] [align=middle] Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Figure captions in margin

2013-01-20 Thread Devendra Ghate
, Marco Patzer wrote: On 2013--01--20 Devendra Ghate wrote: I am using a layout with wide right margin. For floats that are \textwidth wide, I can place captions in the margin using**\setupcaption[location=rightmargin,high/low]. However, for figures that are (*\textwidth+\marginwidth

Re: [NTG-context] Figure captions in margin

2013-01-20 Thread Marco Patzer
On 2013–01–20 Devendra Ghate wrote: > I am using a layout with wide right margin. For floats that are > \textwidth wide, I can place captions in the margin > using**\setupcaption[location=rightmargin,high/low]. > > However, for figures that are > (*\textwidth+\marginwidth+\mar

[NTG-context] Figure captions in margin

2013-01-20 Thread Devendra Ghate
I am using a layout with wide right margin. For floats that are \textwidth wide, I can place captions in the margin using**\setupcaption[location=rightmargin,high/low]. However, for figures that are (*\textwidth+\marginwidth+\margindistance*) wide, I would like to *place the caption in the

Re: [NTG-context] framed algorithm / float: problems with line break

2012-12-18 Thread Wolfgang Schuster
deas or better ways for achieving this or a similar > behaviour?! > > Thanks in advance. > > Cheers, > Andreas > > ConTeXt ver: 2012.12.10 23:20 MKIV fmt: 2012.12.14 > > %%% MINIMAL EXAMPLE %%% > \usemodule[algorithmic] > > > \definefloat[alg

[NTG-context] framed algorithm / float: problems with line break

2012-12-17 Thread Andreas Mang
fmt: 2012.12.14 %%% MINIMAL EXAMPLE %%% \usemodule[algorithmic] \definefloat[algorithm][algorithms] \setuplabeltext[de][algorithm=Algorithmus ] \setupcaption[algorithm][ headstyle=bold, location=top, width=0.95\textwidth] \starttext \placealgorithm[top][alg:some-

Re: [NTG-context] incrementnumber vs. prefixsegments

2012-11-21 Thread Sietse Brouwer
on't fit together: > > 1. figure numbering and referring using a chapter.fignr scheme. > For this, a setup with > > \setupcaption[figure][prefix=yes,way=bychapter,prefixsegments=chapter] > > works fine, as long as i don't have > > 2. untitled entries below chapter (aka s

Re: [NTG-context] images and text stacked in the margin

2012-11-12 Thread Marco Patzer
argintext] [margintexts] \setupfloat [margintext] [default=margin] \setupcaption [margintext] [location=none] \starttext \input knuth \startplacemarginfigure [title=Foo] \externalfigure [dum] [width=\rightmarginwidth] \stopplacemarginfigure \startplacem

[NTG-context] incrementnumber vs. prefixsegments

2012-11-05 Thread plink
Hi, i'm trying to combine two features that somehow don't fit together: 1. figure numbering and referring using a chapter.fignr scheme. For this, a setup with \setupcaption[figure][prefix=yes,way=bychapter,prefixsegments=chapter] works fine, as long as i don't have 2. untitle

[NTG-context] way setting does not work in \setupcaptions

2012-10-20 Thread Marco Patzer
\setupcaption [figure, table] [prefix=no, way=bytext] \starttext \dorecurse{2}{% \startchapter [title=Chapter] \dorecurse{2}{% \startplacefigure \blackrule \stopplacefigure \startplacetable \blackrule \stopplacetable} \stopchapter} \stoptext

Re: [NTG-context] Table Numbering

2012-10-18 Thread Malte Stien
le 1.3 >> for the third table in Chapter 1, but just 3. That is, the chapter number is >> no longer prepended. Has something changed there? How can I enable the old >> behaviour again? > > Add > > \setupcaption[prefix=yes] > > to your document do enable the

Re: [NTG-context] Table Numbering

2012-10-18 Thread Wolfgang Schuster
number is > no longer prepended. Has something changed there? How can I enable the old > behaviour again? Add \setupcaption[prefix=yes] to your document do enable the chapter prefix for a floats or add \setupcaption[table][prefix=yes] to enable it only for table floats. I’ll take

Re: [NTG-context] Include chapter number in figure numbering

2012-09-04 Thread Robert Blackstone
ortunately not in a current > one. Does it work for you? Hi, This works (for me) in mkiv of 25-08-2012: \setupcaption[figure][number=yes,way=bychapter,prefix=yes,prefixsegments=chapter] Best regards, Robert Blackstone _

Re: [NTG-context] Include chapter number in figure numbering

2012-09-03 Thread Sietse Brouwer
Marco Patzer wrote: > how do I include the chapter number in the figure numbering? Untested: \setupcaptions[prefixsegment=chapter] or \setupcaption[figure][prefixsegment=chapter] should both work. (The former should affect table captions, too.) Slightly more at http://wiki.contextgarden.

Re: [NTG-context] Numbering of figures and tables changed?

2012-08-26 Thread Wolfgang Schuster
ter? Or, >>> if it is a bug in the recent Minimals, can the numbering per chapter be >>> restored somehow? >> >> Setting the way how you want to be numbered resets only the figure counter, >> to show the chapter number you have to enable pref

Re: [NTG-context] Numbering of figures and tables changed?

2012-08-26 Thread Robert Blackstone
be >> restored somehow? > > > Setting the way how you want to be numbered resets only the figure counter, > to show the chapter number you have to enable prefixes. > > \setupcaption[figure][way=bychapter,prefix=yes] > > \starttext > > \completelistoffigures

Re: [NTG-context] Numbering of figures and tables changed?

2012-08-26 Thread Wolfgang Schuster
ersion of mkiv (may) with a > slightly adapted environment file. Unfortunately I do need some recent > features of mkiv. > The setups for the floats are: > > \definefloat[Example][examples] > \setupfloat[Example][spacebefore=medium,spaceafter=medium,sidespacebefore=medium,sidespaceafter=

[NTG-context] Numbering of figures and tables changed?

2012-08-26 Thread Robert Blackstone
of mkiv. The setups for the floats are: \definefloat[Example][examples] \setupfloat[Example][spacebefore=medium,spaceafter=medium,sidespacebefore=medium,sidespaceafter=medium] \setupcaption[Example][location=top,number=yes,inbetween=\blank,bodyfont=10pt] \setuplabeltext[en][Example=Ex

Re: [NTG-context] change caption position temporarily

2012-07-16 Thread Wolfgang Schuster
figure{caption 3}{figure 3} > \stoptext It’s easier to create a real float command which has it’s own caption settings. \definefloat[rightfigure][rightfigure][figure] \setupcaption[rightfigure][location=right] \starttext \placefigure{caption 1}{\framed{figure 1}} \placerightfigure{ca

Re: [NTG-context] Caption next to figure

2012-06-03 Thread Andy Thomas
Thank you both, works great now. Andy Am 03.06.2012 um 20:56 schrieb Wolfgang Schuster : > > Am 03.06.2012 um 20:44 schrieb Andy Thomas: > >> Thank you. Can I have the bottom of the caption in line with the bottom of >> the figure instead of centered? > > \se

Re: [NTG-context] Caption next to figure

2012-06-03 Thread Wolfgang Schuster
Am 03.06.2012 um 20:44 schrieb Andy Thomas: > Thank you. Can I have the bottom of the caption in line with the bottom of > the figure instead of centered? \setupcaption[figure][location={right,low}] Wo

[NTG-context] Figures alignment on grid

2012-03-28 Thread Honza Hejzl
). 2) The second thing is there is no way how to change alignment in captions. \enableregime[utf] \mainlanguage[en] \setuppapersize[A5][A5] \definefloat[figure][figures] \setuplayout[grid=yes] \setupcaption[figure][% align=left, %align=right, style=\ss, distance=2pt,before={\noindent}] \showgrid

[NTG-context] Floating figures – text wrapping and captions alignment

2012-03-23 Thread Honza Hejzl
thing is there is no way how to change alignment in captions. \enableregime[utf] \mainlanguage[en] \setuppapersize[A5][A5] \definefloat[figure][figures] \setuplayout[grid=yes] \setupcaption[figure][% align=left, %align=right, style=\ss, distance=2pt,before={\noindent}] \showgrid \starttext \input

[NTG-context] figures' captions

2012-03-20 Thread Honza Hejzl
Hi, this is continuing of my last question. Please, what is wrong with this? \enableregime[utf] \mainlanguage[en] \setuppapersize[A5][A5] \definefloat[figure][figures] \setupcaption[figure][align=left] \starttext \input tufte \placefigure[left]{sdf}{\externalfigure[none][width=5cm]} \input

Re: [NTG-context] \definestructureconversionset

2012-02-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
gument is just the name which is used as argument for sectionconverionset in \setuphead for prefixconverionset in \setupcaption, \setupenumeration etc. The name of the conversion can be prefixed with the name of a sectionblock, e.g. \definestructureconverionset[bodypart:myconversion][A,I,n,R][numbers]

Re: [NTG-context] \definestructureconversionset

2012-02-16 Thread Wolfgang Schuster
n is set The first argument is just the name which is used as argument for sectionconverionset in \setuphead for prefixconverionset in \setupcaption, \setupenumeration etc. The name of the conversion can be prefixed with the name of a sectionblock, e.g. \definestructureconverionset[bodypa

[NTG-context] Two columns type problem

2012-02-13 Thread Martin Bruchanov
[ numbercommand=\Cislovani, style={\bf\switchtobodyfont[28pt]\ss}, before={\blank[0.5cm]}, after={\blank[0.5cm]}, page=no, ] \def\uv#1{\quotation{#1}} \setupcaption[location=none] %\definecolumnset[two][n=2] \def\bdvoj{ \startcolumns[n=2] %\startcolu

Re: [NTG-context] How to make Figure captions justify if long?

2012-02-09 Thread Wagner Macedo
In your example, the caption is limited to image width. What I want is something as \setupcaption[figure][width=\textwidth, align=middle] does. But long texts should behave as document text (hyphenated, including). Thanks by attention. -- Wagner Macedo On 9 February 2012 04:34, Steffen

Re: [NTG-context] Tikz module causes errors

2012-01-18 Thread luigi scarso
ad a similar issue (Daniel Edwards in a mail sent > on 14 Jan 2012). > > Oh, and suffix={ --} no longer works for setupcaption but I can > survive without that for the moment. > You can try with this temporary patch \unprotect\def\c!suffixstopper{}\protect just in the beginn

Re: [NTG-context] Tikz module causes errors

2012-01-18 Thread Felix Ingram
suffix={ --} no longer works for setupcaption but I can survive without that for the moment. Thanks all for the help, Felix On 18 January 2012 11:54, Philipp A. wrote: > 2012/1/17 Christophe Jorssen >> >> If they aren't yet in the official repo, I would be happy to add th

Re: [NTG-context] Bug with caption

2011-12-09 Thread Hans Hagen
On 4-12-2011 06:46, Aditya Mahajan wrote: Hi, If I use \setupcaption[number=no] and include a float with no caption, then all subsequent floats do not have a caption! fixed in next beta

[NTG-context] Bug with caption

2011-12-03 Thread Aditya Mahajan
Hi, If I use \setupcaption[number=no] and include a float with no caption, then all subsequent floats do not have a caption! Here is an example (using 2011.11.29) \setupcaption[number=no] \startbuffer \startnotmode[bugfix] \startplacefigure[location=here] Figure with no caption

Re: [NTG-context] Splitting natural tables

2011-11-30 Thread Christian
able continues from 1.3 instead of 1.2) Here's the example: \setupcaption[table][location=top] \setuplabeltext[table={Tabelle ,:}] \starttext \startchapter[title=Chapter] \startsection[title=section] \dorecurse{2}{\input knuth } \startplacetable[title={My Table},location=split] \bTABLE[optio

Re: [NTG-context] Splitting natural tables

2011-11-30 Thread Christian
into parts but then you don’t need the split key > > >> for > > \bTABLE. > > >> > > >>> Now in the sample document I get table 1a and table 1b. > > >>> In my "real" document I get table 3.2 and table 3.3. Is there a > >

Re: [NTG-context] Splitting natural tables

2011-11-30 Thread Christian
t;> In my "real" document I get table 3.2 and table 3.3. Is there a way > >>> to influence this? (btw. captions are above the table, if that > >>> matters) > >> > >> The location of the caption doesn’t matter. The number of the suffix > >> for the subtables

Re: [NTG-context] Splitting natural tables

2011-11-30 Thread Wolfgang Schuster
know that it has to break the table into parts >> but then you don’t need the split key for \bTABLE. >> >>> Now in the sample document I get table 1a and table 1b. >>> In my "real" document I get table 3.2 and table 3.3. Is there a way to >>> influ

<    1   2   3   4   >