[NTG-context] Disable continued captions for table parts

2023-08-22 Thread Alexey Kryukov
Dear list, probably a stupid question, but is it possible to have a table splitted across pages without adding labels to all subsequent table parts except the first one? In my book I have captions above tables (\setupcaption[table][location=top]), so they are expected to behave like normal

[NTG-context] Re: upload

2023-08-09 Thread Rik Kabel
are not displayed. \setuppagenumbering [alternative=doublesided,location=] \setupcaption[style=sans,headstyle=sans] \starttext \startchapter[title={Page Numbering Test}] \startplacetable[location={here,spit,force},title={Title?}] \starttabulate[|rp|lp|] \HL \NC tufte \NC \input tufte

[NTG-context] caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
tmargindistance=-\rightmargintotal, default={inner,none,low,high}, ] \setupcaption[marginfigure][ style={\ss\tfx}, align={flushleft}, width=\leftmarginwidth, %location={innermargin,low}, ] \starttext \showframe \startplacemarginfigure[ location={inner,3*hang}, title={My caption shou

[NTG-context] Re: Suppress label in captions without suppressing number

2023-07-20 Thread Hans Hagen
On 7/20/2023 5:30 PM, denis.ma...@unibe.ch wrote: Hi, is there an option to suppress the label in captions without suppressing the number as well? I know, I can use \setuplabeltext[de][figure=,], but this will delete the label text globally... Is there a better way via \setupcaption

[NTG-context] Suppress label in captions without suppressing number

2023-07-20 Thread denis.maier
Hi, is there an option to suppress the label in captions without suppressing the number as well? I know, I can use \setuplabeltext[de][figure=,], but this will delete the label text globally... Is there a better way via \setupcaption? Best, Denis

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

2023-06-19 Thread Gerion Entrup via ntg-context
] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a, prefix=no, headseparator={)}] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure}{\resetcounter[subfigure]} \starttext test sdlkf jlsdjf lksjdf \startplacefigure[title=Test] \startfloatcombination[nx=3

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
get the numbering right? > > You can define the resetting of numbering with > \setupcaption[Afigure][way=bytext|bypart|bychapter]. > > For the list, \placelist[Afigure][criterium=chapter] (or local?) should work. > > HTH, > Hraban >

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Henning Hraban Ramm via ntg-context
. chapternumber.serialnumber. Instead each float get the chapter number only. How to get the numbering right? You can define the resetting of numbering with \setupcaption[Afigure][way=bytext|bypart|bychapter]. For the list, \placelist[Afigure][criterium=chapter] (or local?) should work. HTH

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
ct is a table which does not fit the width of the page. Hence I >> need to rotate it. Rotating the table is ok, but the caption is not rotated. >> My question is how can I instruct ConTeXt to rotate the caption and place it >> on the right side? >> My attempt: >&

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Henning Hraban Ramm via ntg-context
and place it on the right side? My attempt: \setupcaption[table][location=right,orientation=90] \startplacetable [location=middle, reference=tab:papierformaten, title={Standaardformaten}] \rotate[rotation=90]{\externalfigure[Table1][type=buffer

[NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
Description: Adobe PDF document \setupcaption[table][location=right,orientation=90] \startplacetable [location=middle, reference=tab:papierformaten, title={Standaardformaten}] \rotate[rotation=90]{\externalfigure[Table1][type=buffer]} \stopplacetable Thank you

Re: [NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-08 Thread Hans Hagen via ntg-context
: Foo Bar I tried to typeset it with this code (based on https://tex.stackexchange.com/a/502903): \useMPlibrary[dum] \setupcombinations[alternative=text] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure

[NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-07 Thread Gerion Entrup via ntg-context
://tex.stackexchange.com/a/502903): \useMPlibrary[dum] \setupcombinations[alternative=text] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure}{\resetcounter[subfigure]} \starttext \startplacefigure[title=Test

Re: [NTG-context] Changing the caption on a split table

2022-08-13 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 13.08.2022 um 10:35: On 3 Aug 2022, at 00:26, Bruce Horrocks via ntg-context wrote: I have a 5-page table placed using \setupcaption [table] [way=bytext,prefixsegments=none] \placetable[split]{My long table}{...} The caption for the first table page

Re: [NTG-context] Changing the caption on a split table

2022-08-13 Thread Bruce Horrocks via ntg-context
> On 3 Aug 2022, at 00:26, Bruce Horrocks via ntg-context > wrote: > > I have a 5-page table placed using > > \setupcaption [table] [way=bytext,prefixsegments=none] > \placetable[split]{My long table}{...} > > The caption for the first table page

[NTG-context] Changing the caption on a split table

2022-08-02 Thread Bruce Horrocks via ntg-context
I have a 5-page table placed using \setupcaption [table] [way=bytext,prefixsegments=none] \placetable[split]{My long table}{...} The caption for the first table page is "Table 1a My Long table"; for the second table page it is "Table 1b My long table" and so on

Re: [NTG-context] Why are some images rendered very tiny?

2022-06-15 Thread Henning Hraban Ramm via ntg-context
Am 15.06.22 um 18:11 schrieb Joel via ntg-context: I wrote this macro to display images in my book. It should place the image to the left, filling ~50% of \textwidth, then the caption is to the right. \setupcaption[location=right, minwidth=.5\textwidth] \define[4]\figureis{%     \placefigure

[NTG-context] Why are some images rendered very tiny?

2022-06-15 Thread Joel via ntg-context
I wrote this macro to display images in my book. It should place the image to the left, filling ~50% of \textwidth, then the caption is to the right. \setupcaption[location=right, minwidth=.5\textwidth] \define[4]\figureis{%     \placefigure{#2, Courtesy #3, photo no. #1\nocite[#4

Re: [NTG-context] Microtipography

2022-05-25 Thread Denis Maier via ntg-context
\setupalign[hz,hanging] Unfortunately the global alignment settings do not propagate into certain structures. For example itemizations, captions, and bibliographies just reset it and need special treatment: \setupitemize[each][align={hz,hanging}] \setupbtxlist[align={hz,hanging,toleran

Re: [NTG-context] Microtipography

2022-05-25 Thread Tommaso Gordini via ntg-context
al alignment settings do not propagate into > certain structures. For example itemizations, captions, and > bibliographies just reset it and need special treatment: > >\setupitemize[each][align={hz,hanging}] >\setupbtxlist[align={hz,hanging,tolerant}] >\setupcaption[fig

Re: [NTG-context] Microtipography

2022-05-25 Thread Henri Menke via ntg-context
ng}] \setupbtxlist[align={hz,hanging,tolerant}] \setupcaption[figure][align={justified,hz,hanging}] I think captions are not justified by default, so that might or might not matter to you. Bibliographies are usually full or names and academic words that do not hyphenate well, so ad

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Denis Maier via ntg-context
ing: > > \setupcaption[figure][align={verytolerant,stretch}] Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.g. framed texts) don't honour the global tolerance settin

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Marco Patzer via ntg-context
On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment setting: > > \setupcaption[figure][align={verytolerant,stretch}] Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Taco Hoekwater via ntg-context
x this? Captions have their own alignment setting: \setupcaption[figure][align={verytolerant,stretch}] Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] prefixstarter in captions

2021-08-28 Thread Adam Reviczky via ntg-context
ended command to use, but the wiki of setupcation (https://wiki.contextgarden.net/Command/setupcaption) says it inherits from setupcounter which has both numberstarter and prefixstarter defined in the same way. Adam

Re: [NTG-context] (no subject)

2021-07-18 Thread Wolfgang Schuster
hich isn't the case for your last table. To get rid of the counter add "nonumber" to the location argument, e.g. \startplacetable[title=...,location={nonumber,force}] but you can also disable the counter for all table floats with \setupcaption [table] [n

Re: [NTG-context] (no subject)

2021-07-18 Thread Pablo Rodriguez
TABLE > \stopplacetable > \stoptext > [...] > Why does the last table have "Table 1", when there is > a \setupfloat[table][default=nonumber]? Hi Kurt, I think this might be what you intend: \setupcaption[table][number=no] \starttext \startpl

Re: [NTG-context] very long hanging caption

2021-05-07 Thread Hans Hagen
on is how to change the distance between image and the caption, distance parameter has no effect. MkIV, because footnotes in columns are needed (not in lmtx, yet). % macros=mkiv \setupcaption[   number=no,   hang=yes,   align={nothyphenated,flushleft},   dis

Re: [NTG-context] very long hanging caption

2021-05-07 Thread Jano Kula
between image and the > caption, distance parameter has no effect. MkIV, because footnotes in > columns are needed (not in lmtx, yet). > > % macros=mkiv > \setupcaption[ > number=no, > hang=yes, > align={nothyphenated,flushleft}, > distance=4mm, > location=ri

[NTG-context] very long hanging caption

2021-05-02 Thread Jano Kula
of the image and should be wrapped around the image The second question is how to change the distance between image and the caption, distance parameter has no effect. MkIV, because footnotes in columns are needed (not in lmtx, yet). % macros=mkiv \setupcaption[ number=no, hang=yes, align

Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
n perfectly place text with \inmargin > directly, just not with the numbercommand. > > MWE: > > \starttext > \setuplayout[margin=2cm, leftmargin=2cm, rightmargin=2cm] > > \showframe > \showlayout > > \setupcaption[figure][location={rightmargin}] > \startplacefigure[titl

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
\setupcaption[figure][location={rightmargin}] \startplacefigure[title=Cow] \externalfigure[cow] \stopplacefigure \define[1]\MyFormulaNumber{\inleftmargin{#1}} \setupformula[numbercommand=\MyFormulaNumber] \inleftmargin{Left Margin Text} \inrightmargin{Right Margin Text} \startplaceformula

[NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
Hi, One more question on formulas. How can I get the formula number to be put into the left/right margin instead of left/right inside the text? I have tried the following: \starttext \showframe % figure caption into the margin \setupcaption[figure][location={rightmargin}] \startplacefigure

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
:45 PM, Adam Reviczky wrote: > > Hi, > > > > Is there a way to have formula numbers showing all prefix segments? > > When I use prefixsegments, I get the desired numbering in the placelist > > but not in the formula number itself. > > > > For example: > &

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
On 3/20/2021 11:45 PM, Adam Reviczky wrote: Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*] \setupformulas[way=bytext

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*] \setupformulas[way=bytext

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
se..."]:33> (...tail calls...) 58 \definemathcommand[ld][nolop]{\mfunction{ld}} 59 \setupcaption[lefthangingfigure][width=\textwidth,align=figure] 60 \setupheadtext[content=Inhalt] 61 %\traceexternalfilters 62 \enabletrackers[export.*] 63 64 \starttext 65

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
; 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,foregroundstyle=

[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] Split Table, don't repeat caption

2020-10-08 Thread Denis Maier
of times, but I couldn't find an answer. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]     \bTABLEhead

Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Denis Maier
. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]     \bTABLEhead     \bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
>width=1\textwidth, height=1\textheight, >before={\setuppapersize[rotate]}] % there's no before > in setupfloat > \setupcaption[bigfigure][location={opposite}] % there's no opposite location > in setupcaption > > \starttext

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
][bigfigures][figure] \setupfloat[bigfigure][default={page}, width=1\textwidth, height=1\textheight, before={\setuppapersize[rotate]}] % there's no before in setupfloat \setupcaption[bigfigure][location={opposite}] % there's no opposite location in setupcaption

Re: [NTG-context] Fullwidth topfigure with caption in the margin

2020-09-08 Thread Mikael Sundqvist
tance=0.375in, > width=4.125in, > ] > > \showframe > > \definecolor [transparentred] [r=1,t=.5,a=1] > > \definefloat[topfigure][topfigures][figure] > > \setupfloat[topfigure][ > default={margin}, > location=flushleft, > maxwidth=6.5in, > ] > > \setup

[NTG-context] Fullwidth topfigure with caption in the margin

2020-09-07 Thread Mikael Sundqvist
[topfigure][topfigures][figure] \setupfloat[topfigure][ default={margin}, location=flushleft, maxwidth=6.5in, ] \setupcaption[topfigure][ number=no, location=bottom, style={\switchtobodyfont[8bp]}, ] \starttext \dorecurse{4}{\samplefile{knuth}} \startplacetopfigure[title={\samplefile{ward

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

2020-08-25 Thread Duncan Hothersall
t; > % setup definitions > \definecounter[subfigure][way=bytext,prefix=no] > \setupcounter[subfigure][state=start,numberconversion=a] > \setcounter[subfigure][1] > > \def\setsubfigures > {\setcounter[subfigure][1] >\incrementcounter[figure] > > > \setupca

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

2020-08-24 Thread Taco Hoekwater
tate=start,numberconversion=a] \setcounter[subfigure][1] \def\setsubfigures {\setcounter[subfigure][1] \incrementcounter[figure] \setupcaption[figure][state=stop,numberstopper={\convertedcounter[subfigure]}]} \def\unsetsubfigures {\setupcaption[figure][state=start,numberstoppe

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] Float positioning

2020-04-06 Thread Tomas Hala
{{\externalfigure[#2][#3]}} \advance\myht by -\wd0 \myht=.5\myht \myxx=\myht \divide\myxx by \lineheight \mysp=\myxx \advance\mysp by 1 \setupfloat[figpage][toffset=\myht] \setupcaption[figpage][spaceafter=\the\mysp*big] \startplacefigpage[location={here},title=#1] {\externalfigure[#2

Re: [NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Tomas Hala
ar. And for the piece of code, too. Best wishes, Tomáš # # \setupexternalfigures # [location=default] # # \setupcaption # [figure] # [spaceinbetween=none, # width=max, # align=middle] # # \starttext # # \startplacefigure[location=top,title=Cow] # \externalfigure[cow]

Re: [NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Wolfgang Schuster
ounter. 3. Captions use "width=fit" as default setting which produces a horizontal box for your side float which ignores the \crlf command, when you change the setting to "width=max" in combination with "align=middle" the title start on a new line. \setupexternalfig

[NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Tomas Hala
for location=right? (The line break appears only the width of the figure becomes too small.) Tested with TL2019 and with version from Mar 6, 2020. Best wishes, Tomáš %% MWE: \starttext \setupcaption[figure][textcommand=\crlf] \startplacefigure[location=top,title=Cow] \externalfigure[cow.jpg][height

[NTG-context] new beta

2019-12-27 Thread Hans Hagen
#1 x x X\par} \definedfont[Serif*TestC]\dorecurse{3}{#1 x x X\par} \stoptext --- 2 hanging captions --- % a follow up on HM request / WS discussion \setupexternalfigures[location=default] \setupcaption

Re: [NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
t;>> >>> Best regards: Otared >>> PS: here is the example (not so minimal, sorry…) >>> % begin example-caption.tex >>> \setupcaption[figure][ >>> headstyle={\bix}, >>> style={\itx}] >> &g

Re: [NTG-context] Style for captions

2019-12-18 Thread Wolfgang Schuster
that a smaller size applies also to the math formula? Best regards: Otared PS: here is the example (not so minimal, sorry…) % begin example-caption.tex \setupcaption[figure][ headstyle={\bix}, style={\itx}] style={\switchtobodyfont[small]\setupinterlinespace\it} \setupcaption

Re: [NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
formula? >> >> Best regards: Otared >> PS: here is the example (not so minimal, sorry…) >> % begin example-caption.tex >> \setupcaption[figure][ >> headstyle={\bix}, >> style={\itx}] > > style={\switchtobodyfont[small]\setupinterlinespace\it

Re: [NTG-context] Style for captions

2019-12-18 Thread Aditya Mahajan
formula? Best regards: Otared PS: here is the example (not so minimal, sorry…) % begin example-caption.tex \setupcaption[figure][ headstyle={\bix}, style={\itx}] style={\switchtobodyfont[small]\setupinterlinespace

[NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
is the example (not so minimal, sorry…) % begin example-caption.tex \setupcaption[figure][ headstyle={\bix}, style={\itx}] \starttext \startluacode function weierstrass(n,x) local S = 0 for k = 0, n do S = S + 2^(-k)*math.cos

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Wolfgang Schuster
but you can only set it for *all* floats. \definefloat [poem] % \setupfloat %   [sidespacebefore=medium] \setupfloat   [poem]   [background=color,    backgroundcolor=cyan] \setupcaption   [poem]   [number=none] \starttext \dorecurse{2}{\samplefile{knuth}} \startplacefloat [poem] [location=left

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
efloat[poem] \setupfloat[poem][ location=left, % doesn’t work width=0.33\textwidth, background=color,backgroundcolor=cyan, spaceafter=1em, % doesn’t work ] \setupcaption[poem][ location=none, number=no, ] \starttext \dorecurse{2}{\input knuth} \startplacefloat[poem][location=left,]% \f

[NTG-context] white space after a float in a column

2019-08-10 Thread Sytse knyps...@home.nl
is omitted (i.e. location=none in \setupcaption). My example: 

\definepapersize[square21][width=21cm,height=21cm] 
\setuppapersize[square21][square21]
 \definecolumnset[Two][n=2]
 \setupcolumnset[Two]
 \setupcaption[intermezzo][location=none,spaceafter=1cm]
 % no value for spaceafter seems to work

[NTG-context] chapter-number prefixes on figure, etc, numbers, even in unnumbered section appearing in TOC

2019-05-31 Thread Sanjoy Mahajan
, the TOC is not correct, but figure 5 gets its prefix. * And wWhen incrementnumber-yes (recreating \section), the TOC lists that section, but the section gets a number. Is there a modification to what I tried that gets all the aspects right (TOC entry, unnumbered, chapter prefix on figures, etc. w

[NTG-context] Bug or not?

2019-05-16 Thread Hans van der Meer
the last two floats where [background=] changes the game.I wonder, is this intended behaviour? Or should one expect something different?\starttextTesting figure captions with \tex{setupframed[background="">\setupframed[background="">\placefigure[][]{\tex{setupframed[backgroun

[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

Re: [NTG-context] \setupfloatcaption align=

2018-04-11 Thread Hans Hagen
, verytolerant and stretch. None of this appears to work. \setupcaption [figure] [align=verytolerant] is ignored, and \setupcaption [figure] [location={bottom,verytolerant}] gives unexpected and surprising results. I cheat, and use \setupcaption [figure] [style={\setupalign[verytolerant

[NTG-context] \setupfloatcaption align=

2018-04-11 Thread Alan Braslau
to work. \setupcaption [figure] [align=verytolerant] is ignored, and \setupcaption [figure] [location={bottom,verytolerant}] gives unexpected and surprising results. I cheat, and use \setupcaption [figure] [style={\setupalign[verytolerant]}] but this is hardly a proper solution. Question: Why do

[NTG-context] Strange behaviour of \start/stopplacefigure

2018-03-30 Thread Tomas Hala
indentation. What am I doing wrong? Thanks for a help, Tomáš %% TL2017 \starttext \indenting[yes,2em,first] \setupfloat[indentnext=yes] 1none. \input knuth \startplacefigure[location={none,}] \setupcaption[width=0.45\makeupwidth,align={nothyphenated,middle

Re: [NTG-context] Caption location in floatcombination

2017-10-23 Thread Christoph Reller
t; are placed on top while the >> captions "Two" and "Two" are placed on the bottom. Is there a way to setup >> the locations of the captions of floats within a floatcombination? In this >> particular example, the goal is, that the captions "Two" and

Re: [NTG-context] width of floats

2017-07-30 Thread Pablo Rodriguez
upfloat[Beispiel][ width=36mm, %~ maxwidth=.6\textwidth, offset=1em, background=color,backgroundcolor=yellow, inner=\hsize.95\textwidth %not very orthodox, anyway ] \setupcaption[Beispiel][ location=none,number=no ] \starttex

[NTG-context] width of floats

2017-07-28 Thread Henning Hraban Ramm
Ahoi, I wonder how I can limit the width of a custom float, neither "width" nor "maxwidth" seems to have any effect: \definefloat[Beispiel][Beispiele] \setupfloat[Beispiel][ %width=36mm, maxwidth=.6\textwidth, offset=1em, background=color,backgroundcolor=yel

Re: [NTG-context] side caption top aligned on grid -- not implemented?

2017-04-08 Thread Florian Grammel
[dum] \setuplayout [grid=yes] \setupinterlinespace [line=20pt] \setupcaption [figure] [ location={left,high}, %% location={bottom}, %different alignment

[NTG-context] Designing text floats

2017-03-29 Thread Henning Hraban Ramm
[kasten][kaesten] \setupfloat[kasten][ location=outermargin, width=4cm,maxwidth=0.33\textwidth, % doesn’t work frame=off, background=color,backgroundcolor=yellow, offset=0.5em] \setupcaption[kasten][ location=top, spaceafter=-1em, align

Re: [NTG-context] Caption placement in margin

2016-08-31 Thread Wolfgang Schuster
bottom position the caption before or after the float. \setupfloatcaption[figure][location={outermargin,middle}] \starttext \placefigure [top] {The famous dutch cow!} {\externalfigure[cow]} \stoptext Another option might be to use \setupcaption (somebody could perhaps tell the difference b

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] Caption placement in margin

2016-08-31 Thread Mikael P. Sundqvist
, but I think you have to add a top/middle/bottom or so to the outermargin, like \setupfloatcaption[figure][location={outermargin,middle}] \starttext \placefigure [top] {The famous dutch cow!} {\externalfigure[cow]} \stoptext Another option might be to use \setupcaption (somebody

Re: [NTG-context] caption in margin

2016-08-22 Thread Michael Eidenbenz
] \starttext \showframe \setupcaption [figure][] \placefloat[][]{default}{\externalfigure[dummy][]} \setupcaption [figure][location={rightmargin,low}] \placefloat[][]{right}{\externalfigure[dummy][]} > On 19 Aug 2016, at 17:25, eidenbenz <eidenb...@arch.ethz.ch> wrote: > > I want to pl

[NTG-context] caption in margin

2016-08-19 Thread eidenbenz
I want to place the caption of floats in the margin. I thought the locationparameter of setupcaption can be used to do this. But it doesnt work. What am I missing? Thanks Michael \useMPlibrary[dum] \starttext \showframe \setupcaption [figure][] \placefloat[][]{default}{\externalfigure

Re: [NTG-context] Wrap figures and equations

2016-07-13 Thread Otared Kavian
, default=outer] \setupcaption[intermezzo][location=none] \defineframedtext[explication] [width=6cm, bodyfont=small, corner=round, frame=on, framecolor=darkred, rulethickness=1pt, background=color, %screen backgroundcolor=lightgray

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

2016-04-19 Thread Brian Ballsun-Stanton
\setuppapersize [A4][A4] \definepapersize[standing][A4][A4] \definepapersize[lying][A4,landscape][A4] \setuplayout[width=middle, backspace=.75in, cutspace=.75in, height=middle, topspace=.5in, bottomspace=.5in] \setupbodyfont[11pt] \setupwhitespace[none] \setupcaption[table

Re: [NTG-context] If figures are placed left, left-aligned captions are unwantedly centered

2016-01-29 Thread Aditya Mahajan
are all centered. What happens is that a caption < width kicks in. But we already have a way to get around that: width=max \setupfloat[figure][default={left,nonumber}] \setupcaption[figure][align=flushleft, width=max] \starttext \placefigure{my figure caption a really long capt

Re: [NTG-context] If figures are placed left, left-aligned captions are unwantedly centered

2016-01-29 Thread Hans Hagen
left (flushleft). What happens: The captions are all centered. What happens is that a caption < width kicks in. But we already have a way to get around that: width=max \setupfloat[figure][default={left,nonumber}] \setupcaption[figure][align=flushleft, width=max] \starttext \placefigure

Re: [NTG-context] If figures are placed left, left-aligned captions are unwantedly centered

2016-01-29 Thread Hans Hagen
number}] \setupcaption[figure][align=flushleft] %prefix: section-wis 3 \starttext %here is some text... Lorem Ipsum \placefigure{my figure caption}{\externalfigure[images/image1.jpg]} %here is some text Lorem Ipsum \placefigure{my figure caption}{\externalfigure[

[NTG-context] If figures are placed left, left-aligned captions are unwantedly centered

2016-01-29 Thread d_jan
: - \setupfloat[figure][default={left,nonumber}] \setupcaption[figure][align=flushleft] %prefix: section-wis 3 \starttext %here is some text... Lorem Ipsum \placefigure{my figure caption}{\externalfigure[images/image1.jpg]} %here is some text

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

2016-01-17 Thread Mohammad Hossein Bateni
[][] > {Test figure.} > {\centerline{FIGURE BODY}} > > \page > } > > \stoptext > > You can use processors. > > \setupalign[righttoleft] > > \defineprocessor [lefttoright][style=\lefttoright] > \defineconversionset[lefttorightnumber][][lefttoright->n] > >

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

2016-01-17 Thread Mohammad Hossein Bateni
dorecurse{20}{ >> >> \section{Test} >> This is a very simple text. >> And we have a footnote\footnote{Footnote text}. >> >> \placefigure >> [][] >> {Test figure.} >> {\centerline{FIGURE BODY}} >> >> \page >> } >> >> \

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

2016-01-09 Thread Wolfgang Schuster
figure [][] {Test figure.} {\centerline{FIGURE BODY}} \page } \stoptext You can use processors. \setupalign[righttoleft] \defineprocessor [lefttoright][style=\lefttoright] \defineconversionset[lefttorightnumber][][lefttoright->n] \setupcaption[figure][numberconversionset=lefttorightnumber] \

Re: [NTG-context] creating multiline paragraph in \tabulate

2015-05-19 Thread Aditya Mahajan
{\bf Figure 2.3: Specialty Food Store Classifications} \setupframed[framecorner=rectanglular,background=none] \tfx \placetable[force,none]{} \starttabulate[|lw(.25\textwidth)|lpw(.75\textwidth)|] Simply use p(.75\textwidth) \setupcaption[table][location=top] \starttext \startplacetable

[NTG-context] caption alignment with floats in the margin

2015-04-27 Thread Brian R. Landy
? Thanks, Brian \setuppapersize[letter,portrait][letter,portrait] \setupcaption[figure][location=top,align={flushleft}] \showframe \starttext \setuplayout[backspace=2.75in,leftmargin=2.25in,rightmargin=0.5in,cutspace=0.5in,location=middle,width=middle,margindistance=0.00in] \placefigure[inleft

[NTG-context] Caption location with vertical \startplacefigure

2015-04-16 Thread Rik Kabel
[width=\FullWidth] \definefloat [rightFigure][rightFigures] [figure] \setupfloat [rightFigure] [ location=right, % this does nothing! maxwidth=\RPicMaxWidth, ] \setupcaption[rightFigure

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

2015-04-11 Thread Wolfgang Schuster
Am 10.04.2015 um 15:22 schrieb Hans Hagen 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 labels for the number the numberstopper key can’t be used

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 pra...@wxs.nl 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

Re: [NTG-context] caption setup

2015-04-09 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] caption setup

2015-04-09 Thread Wolfgang Schuster
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={, ábra}] \starttext \startplacefigure[title=\input{ward}] \externalfigure[dummy] \stopplacefigure \stoptext

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
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={, ábra}] \starttext

Re: [NTG-context] caption setup

2015-04-09 Thread Csikos Bela
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={, ábra}] \starttext \startplacefigure[title=\input{ward}] \externalfigure[dummy] \stopplacefigure

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
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={, ábra}] \starttext

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

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

Re: [NTG-context] \setupcaptions question

2015-03-10 Thread Wolfgang Schuster
. \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[cow] \stopplacefigure \stoptext This solution is far from perfect because normally the suffix key

  1   2   3   4   >