[NTG-context] float pages again

2017-04-05 Thread Florian Grammel
that LeTeX puts in to collect abundant top- and here-floats. There can -- in contrast to contex’s default=page -- be more than one float on such a page and there is no running text. In a LaTeX-setup correcponding to: %\setupfloats[nlines=15] \setupfloat[figure][default={here,top,bottom,page

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
r (Ctx Beta): http://d.pr/i/1gyi Is this a bug? \definetextbackground [test] [location=paragraph] \setupfloat[figure][freeregion=no] Thank you, Hans, this works absolutely great! Two little questions: I have set it now globally for _all_ floats as \setupfloats[freeregion=no]. At a first

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Tom
> \stoptextbackground >> >> \stoptext >> >> >> With the ConTeXt Current from 2016.05.19 13:43 I don’t see the issue, >> everything’s fine there. >> >> Here are two screenshots: >> >> Desired behavior (Ctx Current): http://d

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
] \setupfloat[figure][freeregion=no] \starttext \placefigure [margin]{}{} \starttextbackground [test] \dorecurse{3}{\readfile{ward}{}{}} \placefigure {}{} \dorecurse{3}{\readfile{ward}{}{}} \stoptextbackground \stoptext

[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

[NTG-context] issue with xtables

2017-02-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupindenting[yes, always, big] \setupfloatcaption[table][location=none] \setupfloat[table][indentnext=no, spacebefore=5em] \starttext \input zapf \placetable{}{ \startembeddedxtable \startxrow \startxcell knuth

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

2016-12-09 Thread Christoph Reller
ces centered combinations by default. The problem is, that within the combination I would like to use floats defined with \setupfloat. This is not supported by \startcombination. I noticed that line 490 of pack-com.mkiv has an added \dontleavehmode in the definition of \pack_combinations_start_float. W

[NTG-context] floats in xtable flush with frame

2016-11-05 Thread Michael Eidenbenz
Hello, I want to place floats in an xtable but cannot get rid of the gap between the float and the frame. I sort of can eliminate the gap on the top with \setupfloat [offset=-2.5pt] but this doesnt seem to be the right way. Is there a parameter to control this? Thanks Michael \showframe

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
MyFrame[Title=Info] > >> \setupalign[hyphenated,morehyphenation,verytolerant] > >> ... > >> > >> Piotr > >> > >> 2016-11-01 0:12 GMT+01:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com > >: > >> > Hello, >

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Piotr Kopszak
;> > Hello, >> > How to make the width of framedtext automatically adapts to its >> > contents. >> > Fabrice >> > >> > \definefloat >> >[recipe] >> >[figure] >> > >> > \setupfloat >> >[rec

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
o make the width of framedtext automatically adapts to its contents. > > Fabrice > > > > \definefloat > >[recipe] > >[figure] > > > > \setupfloat > >[recipe] > >[default={right,none}] > > > > \definecolor[MyColorA

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Piotr Kopszak
gt; > \definefloat >[recipe] > [figure] > > \setupfloat >[recipe] >[default={right,none}] > > \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] > \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00] > > > \defineframedtext > [MyFram

[NTG-context] Framedtext in a float

2016-10-31 Thread Fabrice Couvreur
Hello, How to make the width of framedtext automatically adapts to its contents. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00

[NTG-context] Algorithmic, Floats and line numbers.

2016-10-24 Thread Javier M Mora
ithmic[numbering=yes] \STATE a = 2 \STATE this line is really very large. Very very very very very very very very very very very large \STATE this is the real third state. \stopalgorithmic \definefloat[algorithm][algorithms] \setupfloat[algorithm][ background=color, backgroundcolo

Re: [NTG-context] Indentation after margin float with caption

2016-09-06 Thread Aditya Mahajan
lution, e.g. -\def\page_one_place_float_auto {\page_one_place_float_otherwise} +\def\page_one_place_float_auto {\page_one_place_float_otherwise\rootfloatparameter\c!next} which can be used with \setupfloat[next=\indentation] In the move to MkII to MkIV, there have been many c

Re: [NTG-context] Indentation after margin float with caption

2016-09-06 Thread Wolfgang Schuster
t_auto {\page_one_place_float_otherwise} +\def\page_one_place_float_auto {\page_one_place_float_otherwise\rootfloatparameter\c!next} which can be used with \setupfloat[next=\indentation] Wolfgang ___ If your question is of interest to

Re: [NTG-context] (no subject)

2016-07-18 Thread Fabrice Couvreur
low, by using the keyword « high ». > > > > Best regrads: Otared K. > > % begin fabrice-inmargin.tex > > \setuplayout > > [width=13cm, > >rightmargin=5cm] > > > > \setupbodyfont[pagella,11pt] > > > > \definefloat > >[recipe] &

Re: [NTG-context] (no subject)

2016-07-17 Thread Otared Kavian
t; Best regrads: Otared K. > % begin fabrice-inmargin.tex > \setuplayout > [width=13cm, >rightmargin=5cm] > > \setupbodyfont[pagella,11pt] > > \definefloat >[recipe] >[figure] > > \setupfloat >[recipe] >[default={rightmargin,none,high}]

Re: [NTG-context] (no subject)

2016-07-16 Thread Fabrice Couvreur
the example below, by using the keyword « high ». > > Best regrads: Otared K. > % begin fabrice-inmargin.tex > \setuplayout > [width=13cm, >rightmargin=5cm] > > \setupbodyfont[pagella,11pt] > > \definefloat >[recipe] >[figure] > > \s

Re: [NTG-context] (no subject)

2016-07-16 Thread Otared Kavian
] [figure] \setupfloat [recipe] [default={rightmargin,none,high}] \setupframed [frame=on, width=\rightmarginwidth, align=justify, offset=2pt, location=low, rulethickness=1pt, framecolor=darkred, corner=00] \showgrid \showframe \starttext A\\ B \\ C \placerecipe

Re: [NTG-context] (no subject)

2016-07-15 Thread Fabrice Couvreur
[recipe] [figure] \setupfloat [recipe] [default={rightmargin,none}] \setupframed [frame=on, width=\rightmarginwidth, align=justify, offset=2pt, location=low, rulethickness=1pt, framecolor=darkred, corner=00] \starttext \showframe A\\A\\A \placerecipe{}{\framed{La

Re: [NTG-context] (no subject)

2016-07-15 Thread Otared Kavian
xt in the boxes ? > Fabrice > > > \useMPlibrary [dum] > > \setuplayout > [width=13cm, >rightmargin=5cm] > > \setupbodyfont[pagella,11pt] > > \definefloat >[recipe] >[figure] > > \setupfloat >[recipe]

Re: [NTG-context] (no subject)

2016-07-15 Thread Fabrice Couvreur
, rightmargin=5cm] \setupbodyfont[pagella,11pt] \definefloat [recipe] [figure] \setupfloat [recipe] [default={rightmargin,none}] \setupframed [frame=on, width=\rightmarginwidth, align=flushleft, location=low, rulethickness=1pt, framecolor=blue, corner=00] \starttext

Re: [NTG-context] Wrap figures and equations

2016-07-13 Thread Otared Kavian
showing this. In any case here is an example showing the problem with \placeformula and floats, with its PDF attached. Best regards: OK % begin bug-placeformula-float.tex \definefloat[intermezzo] \setupfloat[intermezzo] [leftmargindistance=-12mm, rightmargindistance=-12mm

[NTG-context] flushleft and startplacefigure

2016-05-22 Thread Meer, Hans van der
\startplacefigure inherits a lot of location settings but among these flushleft and flushright are missing. Thus the \setupfloat in the example cannot be omitted. Wouldn't it be a logical step to make possible also: \startplacefigure[location=flushleft] dito for flushright? \starttext

Re: [NTG-context] text wrapped around \textwidth sized images unwantedly.

2016-02-02 Thread Hans Hagen
it to the affected images, but I wonder if I can get around this. try this: \setupfloat[figure][criterium=10cm,fallback=here] \placefigure[left]{}{\framed[width=5cm]{}} \input tufte \placefigure[left]{}{\framed[width=\textwidth]{}} \input tufte

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
ontent \strc_floats_make_complete_caption}% \else \setbox\b_strc_floats_caption\hpack {\strc_floats_make_complete_caption}% \fi} \protect % then you can do this (maybe Wolfgang can check the logic too): \starttext \setupfloat[figure][default={left,nonumber}] \placefigure{my

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

2016-01-29 Thread d_jan
of default={left,nonumber} in\setupfloat[figure][default=..., the captions are aligned left, just like they should. It does not matter if the text warps around the captioned image, the centered is present for all figure-captions, regardless of their width. Code demonstrating the behaviour

Re: [NTG-context] Problem to place a label in an environment \startMPcode \stopMPcode

2016-01-02 Thread Wolfgang Schuster
listof… command. The correct definition for the new float is: \definefloat[recipe][recipes][figure] \setupfloat[recipe][default={right,none}] Wolfgang ___ If your question is of interest to others as well, plea

Re: [NTG-context] Problem to place a label in an environment \startMPcode \stopMPcode

2015-12-31 Thread Alan BRASLAU
; The code below works perfectly without the placement of the label, > but if I want to place the label, it no longer works. > Thank you > > \definefloat >[recipe] >[figure] > > \setupfloat >[recipe] >[default={right,none}] > > \starttext > &g

[NTG-context] Problem to place a label in an environment \startMPcode \stopMPcode

2015-12-31 Thread Fabrice Couvreur
Hello, The code below works perfectly without the placement of the label, but if I want to place the label, it no longer works. Thank you \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \switchtobodyfont [pagella, 9pt] \placerecipe

[NTG-context] Placing an image on a portion of a frame

2015-11-23 Thread Fabrice Couvreur
Hi, I wish beyond the image on the frame at the edge of the text. Thank you. Fabrice ​ \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \definecolor[FondTableaux][c=0.00, m=0.00, y=0.20, k=0.00] \starttext \placerecipe{}{\rotate[rotation=-15

[NTG-context] New beta

2015-09-02 Thread Fabrice Couvreur
Hi, If you compile the following file with new beta, the placement of the table and the figure is incorrect. Thank you, Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},offset

[NTG-context] New beta

2015-09-02 Thread Fabrice Couvreur
Hi, If you compile the following file with new beta, the placement of the table and the figure is incorrect. Thank you, Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},offset

[NTG-context] Floating dimensions that adapts automaticall

2015-08-03 Thread Fabrice Couvreur
] \setupfloat [MyFloat] [default={right,none}] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=2cm,offset=1ex] \setupTABLE[column][first][width=4cm] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \showframe \starttext

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

2015-07-30 Thread Henning Hraban Ramm
it. Ok, thanks \definefloat[bleedfigure][figure] \setupfloat[bleedfigure][ outermargindistance=-2\measure{Bleed}, %leftmargindistance=-2\measure{Bleed}, %rightmargindistance=-2\measure{Bleed}, maxwidth=\measure{maxWidth} ] There is only a “outermargin” key

[NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Fabrice Couvreur
] [figure] \setupfloat [recipe] [default={right,none}] \starttext \startitemize[n][stopper={.},style=bold] \placerecipe {} {\externalfigure[cow.pdf][width=4cm]} \item \input knuth \placerecipe {} { \starttikzpicture[level 1/.style={level distance=35mm,sibling distance=40mm},level 2/.style

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Hans Hagen
] \pgfplotsset{compat=1.8} \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \startitemize[n][stopper={.},style=bold] \placerecipe {} {\externalfigure[cow.pdf][width=4cm]} \item \input knuth \placerecipe {} { \starttikzpicture[level 1/.style={level

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

2015-05-11 Thread Wolfgang Schuster
+ \measure{Bleed}\relax] You don’t have to use \dimexpr because the measure macros already us it. […] \definefloat[bleedfigure][figure] \setupfloat[bleedfigure][ outermargindistance=-2\measure{Bleed}, %leftmargindistance=-2\measure{Bleed}, %rightmargindistance=-2\measure

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

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

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

2015-05-04 Thread Henning Hraban Ramm
-man-27.htm Thank you, that helped, but not enough. I have now: \def\bleed{3mm} \def\maxWidth{\dimexpr(\paperwidth+\bleed)} \definefloat[bleedfigure][figure] \setupfloat[bleedfigure] [ outermargindistance=-\bleed, % does that exist? leftmargindistance=-\bleed, rightmargindistance=-\bleed, default

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

2015-05-04 Thread Wolfgang Schuster
to redefine the \bleed command. \definefloat[bleedfigure][figure] \setupfloat[bleedfigure] [ outermargindistance=-\bleed, % does that exist? leftmargindistance=-\bleed, rightmargindistance=-\bleed, default={cutspace,none}, maxwidth=\maxWidth ] \def\topfig#1#2{\placebleedfigure[top]{#1}{\offset

[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] Define a new command from the command \periods[n]

2015-01-19 Thread Hans Hagen
\zeropoint\par] \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \defineframed [myframed] [width=6cm, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=on, framecolor=red, background=color, backgroundcolor

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-18 Thread Fabrice
] [figure] \setupfloat [recipe] [default={right,none}] \defineframed [myframed] [width=6cm, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=on, framecolor=red, background=color, backgroundcolor=lightgray] \definecolor[Border][c=0.00, m

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-06 Thread Alan BRASLAU
] \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \defineframed [myframed] [width=6cm, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=on, framecolor=red, background=color, backgroundcolor

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-05 Thread Hans Hagen
] \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \defineframed [myframed] [width=6cm, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=on, framecolor=red, background=color, backgroundcolor=lightgray] \starttext

[NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates it accepts a width= argument: \setupfloat[figure][width=2cm] \starttext \placefigure{}{\externalfigure[picture.png

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Hans Hagen
On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates it accepts a width= argument: \setupfloat[figure][width=2cm] \starttext

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen pra...@wxs.nl wrote: On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Robert Blackstone
width for graphics, so \setupexternalfigures[width=XXXcm] wouldn't work well either. I realize I could define my own macros or something to solve this, but I'm just puzzled that setting width in \setupfloat[figure] doesn't work. Am I reading the manual wrong, or is is just not implemented yet

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Christoph Reller
On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen pra...@wxs.nl wrote: On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
On Sat, Nov 29, 2014 at 8:22 PM, Christoph Reller christoph.rel...@gmail.com wrote: On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen pra...@wxs.nl wrote: On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Aditya Mahajan
On Sat, 29 Nov 2014, Mark Szepieniec wrote: So I guess my problem is resolved, but I'd still like to understand better why my earlier solution of doing \setupfloat[figure][width=2cm] didn't set a default for later instances of \placefigure. I feel like I might be missing some aspect

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
On Sun, Nov 30, 2014 at 12:48 AM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 29 Nov 2014, Mark Szepieniec wrote: So I guess my problem is resolved, but I'd still like to understand better why my earlier solution of doing \setupfloat[figure][width=2cm] didn't set a default for later

[NTG-context] Module algorithmic

2014-10-18 Thread Fabrice Couvreur
Hi Wolfgang, How to reduce the size of the float ? Best regards, Fabrice \usemodule[algorithmic] \definefloat[algorithm][algorithms] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \setupfloat [algorithm] [background=color, frame

Re: [NTG-context] Module algorithmic

2014-10-18 Thread Wolfgang Schuster
[H4][c=0.07, m=0.00, y=0.15, k=0.00] \setupfloat [algorithm] [background=color, frame=on, framecolor=H1prime, backgroundcolor=H4, width=0.5\textwidth] You have to put a framedtext environment around the algorithmic environment, you can do this by replacing \setupfloat

Re: [NTG-context] Multi-page centered natural TABLE

2014-09-04 Thread Christoph Reller
}] \bTABLE \dorecurse{40}{\bTR\bTD Foo \eTD\bTD Text. \eTD\eTR} \eTABLE \stopplacetable \stoptext Wolfgang Thank you Wolfgang for this tip. Could you please explain why the following is not working: \starttext \definefloat[inlinetable][inlinetables][table] \setupfloat[inlinetable][location

Re: [NTG-context] Multi-page centered natural TABLE

2014-09-04 Thread Wolfgang Schuster
the following is not working: \starttext \definefloat[inlinetable][inlinetables][table] \setupfloat[inlinetable][location={none,split}] You have to use the default key here, i.e. \setupfloat[inlinetable][default={none,split}] because context resets the value of the location key at the begin

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

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

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

2014-07-27 Thread Wolfgang Schuster
Am 27.07.2014 um 16:54 schrieb Joshua Krämer joshua.krae...@gmail.com: On 2014-07-25, 16:18, Hans Hagen wrote: \showframe \starttext \startplacefigure \framed[width=.8\textwidth,framecolor=red]{one} \stopplacefigure \definefloat[widefigure][figure][figure] \setupfloat

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

2014-07-27 Thread Joshua Krämer
pages, right margin on right pages). \setupfloat[widefigure][location=inner] Thank you. But this solution has the problem, too, that the alignment is ignored for tikz pictures (see example below). Kind regards, Joshua \setuppagenumbering[alternative=doublesided] \definefloat [widefigure

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

2014-07-27 Thread Aditya Mahajan
into the outer margin (i. e. left margin on left pages, right margin on right pages). \setupfloat[widefigure][location=inner] Thank you. But this solution has the problem, too, that the alignment is ignored for tikz pictures (see example below). This is a known issue. Wrap your tikz pictures inside

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

2014-07-25 Thread Hans Hagen
them manually with \kern. Is there a way to make them automatically extend into the outer margin? I have tried different options for location=... without success. {snip, snip} \starttext \startplacefigure \framed[width=.8\textwidth,framecolor=red]{one} \stopplacefigure \setupfloat[figure

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

2014-07-25 Thread Rik Kabel
On 2014-07-25 07:10, Hans Hagen wrote: Am 24.07.2014 um 10:36 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com: \starttext \startplacefigure \framed[width=.8\textwidth,framecolor=red]{one} \stopplacefigure \setupfloat[figure][location=flushleft

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

2014-07-25 Thread Hans Hagen
\setupfloat[figure][location=flushleft] \startplacefigure \framed[width=1.2\textwidth,framecolor=blue]{two} \stopplacefigure \stoptext You can use the command key for \setupfloat to apply a macro to the finished content of the float. The purpose of this macro is to save the content

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

2014-07-24 Thread Wolfgang Schuster
\framed [width=\Bigtextwidth, framecolor=red] % {Right margin} \stopplacefigure \stoptext You can use the command key for \setupfloat to apply a macro to the finished content of the float. The purpose of this macro is to save the content and compare the width to the width of the text

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

2014-07-24 Thread Keith J. Schultz
? I have tried different options for location=... without success. {snip, snip} You can use the command key for \setupfloat to apply a macro to the finished content of the float. The purpose of this macro is to save the content and compare the width to the width of the text are, when

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Wolfgang Schuster
to the bottom of the first paragraph. Here's a minimal example. The second ugly workaround shows what I'm trying to achieve, but ideally using a cleaner approach. Does there exist a magic keyword for that? You can change the value with \setupfloat[spacebefore=] but it’s a global value for all float

Re: [NTG-context] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Wolfgang Schuster
of the footnote is blank and that, while the image is placed as it should be, the text runs through it. 1. The vertical distance before and after floats can be changed with \setupfloat[spacebefore=…,spaceafter=…]. 2. Some features like floats or columns don’t work or can be used only with limitations

Re: [NTG-context] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Alan Bowen
and that, while the image is placed as it should be, the text runs through it. 1. The vertical distance before and after floats can be changed with \setupfloat[spacebefore=...,spaceafter=...]. 2. Some features like floats or columns don't work or can be used only with limitations in footnotes

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

2013-09-17 Thread Tim Steenvoorden
] \setupfloat [marginfigure] [default=margin, criterium=\marginwidth] \setupcaption [marginfigure] [number=no] \showframe \starttext \dorecurse{9}{%% \input knuth \startplacemarginfigure \externalfigure [cow] [width=\recurselevel cm] \stopplacemarginfigure} \stoptext Marco

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

2013-09-13 Thread R. Ermers
. By default the edge has zero width and has to be enabled using \setuplayout. Preferably the criterium option should also work \setupexternalfigures [location=default] \setuppagenumbering [alternative=doublesided] \definefloat [marginfigure] [marginfigures] [figure] \setupfloat

[NTG-context] outer floats on doublesided pages

2013-09-10 Thread R. Ermers
tmp1.tex Description: Binary data %% \setuppapersize[A4][A4] \setuppagenumbering[alternative=doublesided,location=footer] \definefloat[edgefigure][figure] \setupfloat [edgefigure] [leftmargindistance=-\outercombitotal, rightmargindistance=-\outercombitotal, default={outer,none

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

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

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

2013-09-10 Thread R. Ermers
work \setupexternalfigures [location=default] \setuppagenumbering [alternative=doublesided] \definefloat [marginfigure] [marginfigures] [figure] \setupfloat [marginfigure] [default=margin, criterium=\marginwidth] \setupcaption [marginfigure] [number=no] \showframe

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

2013-09-10 Thread Jörg Hagmann
[marginfigure] [marginfigures] [figure] \setupfloat [marginfigure] [default=margin, criterium=\marginwidth] \setupcaption [marginfigure] [number=no] \showframe \starttext \dorecurse{9}{%% \input knuth \startplacemarginfigure \externalfigure [cow] [width

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

2013-09-10 Thread R. Ermers
] \setuppagenumbering [alternative=doublesided] \definefloat [marginfigure] [marginfigures] [figure] \setupfloat [marginfigure] [default=margin, criterium=\marginwidth] \setupcaption [marginfigure] [number=no] \showframe \starttext \dorecurse{9}{%% \input knuth

[NTG-context] outer floats on doublesided pages UNSOLVED

2013-09-10 Thread R. Ermers
to be enabled using \setuplayout. Preferably the criterium option should also work \setupexternalfigures [location=default] \setuppagenumbering [alternative=doublesided] \definefloat [marginfigure] [marginfigures] [figure] \setupfloat [marginfigure] [default=margin, criterium

Re: [NTG-context] captions in float combinations

2013-09-08 Thread Robert Blackstone
to move almost off the page. So I added: \setupfloat[combinationfloat][location=middle,spacebefore=medium,spaceafter=medium,sidespacebefore=medium,sidespaceafter=medium] and now it works beautifully. There is, however, another complication which makes that unfortunately I cannot use your

Re: [NTG-context] captions in float combinations

2013-09-08 Thread Aditya Mahajan
yor float to move almost off the page. So I added: \setupfloat[combinationfloat][location=middle,spacebefore=medium,spaceafter=medium,sidespacebefore=medium,sidespaceafter=medium] and now it works beautifully. There is, however, another complication which makes that unfortunately I cannot use your

[NTG-context] outer floats on doublesided pages

2013-09-07 Thread R. Ermers
tmp1.tex Description: Binary data %% \setuppapersize[A4][A4] \setuppagenumbering[alternative=doublesided,location=footer] \definefloat[edgefigure][figure] \setupfloat [edgefigure] [leftmargindistance=-\outercombitotal, rightmargindistance=-\outercombitotal, default={outer

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

2013-09-03 Thread R. Ermers
] \definefloat[edgefigure][figure] \setupfloat [edgefigure] [leftmargindistance=-\outercombitotal, rightmargindistance=-\outercombitotal, default={outer,none,low,high}] \setupcaption[edgefigure][number=no] \useexternalfigure[cow][./cow.pdf] \starttext \startsection[title={insight

[NTG-context] outer floats on doublesided pages

2013-08-30 Thread R. Ermers
tmp1.tex Description: Binary data %% \setuppapersize[A4][A4] \setuppagenumbering[alternative=doublesided,location=footer] \definefloat[edgefigure][figure] \setupfloat [edgefigure] [leftmargindistance=-\outercombitotal, rightmargindistance=-\outercombitotal, default

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Hans Hagen
[extrafiguretext] [\setups{extrafiguretext}] \setupfloat [figure] [background={foreground,extrafiguretext}] \dorecurse {20} { \startplacefigure[title=Dummy figure][text={margin dummy text #1}] \externalfigure[dummy][width=.8\textwidth

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Wolfgang Schuster
\llap{\framed[frame=off,width=\rightmarginwidth,height=\scratchdimen]{\floatuserdataparameter{text}}\hskip\leftmargindistance}\midaligned{\flushnextbox}% \fi \egroup} \hbox} \setupfloat[figure][command=\FigureText] \setuppagenumbering[alternative=doublesided] \starttext

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-17 Thread Malte Stien
\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}} \stoplinealignment} \hbox} \setupfloat[figure][command=\FigureText] \starttext \startplacefigure[title=Dummy figure][text=Margin dummy] \externalfigure

Re: [NTG-context] Indentation in floats

2013-06-03 Thread Wolfgang Schuster
beta \stopplacefigure \startplacefigure \noindenting a manual\par\tex{noindenting}\par works \stopplacefigure \input ward \stoptext There is no key for \setupfloat the disable the indentation because floats are only a container for other objects, e.g. figures or tables. For text

Re: [NTG-context] Indentation in floats

2013-06-03 Thread Marco Patzer
On 2013–06–03 Wolfgang Schuster wrote: how to disable indentation inside floats without using \noindenting each time? […] There is no key for \setupfloat the disable the indentation because floats are only a container for other objects, e.g. figures or tables. For text objects like

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Malte Stien
14 in file test.tex: Undefined control sequence ... 4 \copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}} 5 \stoplinealignment} 6 \hbox} 7 8 \setupfloat[figure][command=\FigureText

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Hans Hagen
\hbox} 7 8 \setupfloat[figure][command=\FigureText] 9 10 \starttext 11 12 \startplacefigure[title=Dummy figure][text=Margin dummy] 13 \externalfigure[dummy][width=.8\textwidth] 14 \stopplacefigure 15 16 \stoptext 17 \syst_boxes_with_next_box -\startlinealignment

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Wolfgang Schuster
\stoplinealignment} 6 \hbox} 7 8 \setupfloat[figure][command=\FigureText] 9 10 \starttext 11 12 \startplacefigure[title=Dummy figure][text=Margin dummy] 13 \externalfigure[dummy][width=.8\textwidth] 14 \stopplacefigure 15 16 \stoptext 17

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-04-29 Thread Wolfgang Schuster
}}} \stoplinealignment} \hbox} \setupfloat[figure][command=\FigureText] \starttext \startplacefigure[title=Dummy figure][text=Margin dummy] \externalfigure[dummy][width=.8\textwidth] \stopplacefigure \stoptext Wolfgang ___ If your

[NTG-context] Figure captions in margin

2013-01-20 Thread Devendra Ghate
[width=5cm, height=13cm,rightmargin=5cm] \setupexternalfigures[option=empty] \setupfloat[figure][location=inner] % \setupcaption [figure] [width=5cm, location={rightmargin,low}, spacebefore=big] %\setupcaption %[figure] %[width=5cm] \starttext \showframe \placefigure{A small

Re: [NTG-context] Figure captions in margin

2013-01-20 Thread Marco Patzer
”. I don't recall what the exact issue was. 4) Probably many more that I haven't discovered, yet. Feel free to suggest fixes for the mentioned issues. Marco \useMPlibrary [dum] \unprotect \setupfloat [figure] [default={top,bottom}] \setupfloat [table] [default={bottom,top

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

2012-12-18 Thread Wolfgang Schuster
frame but you don’t need the command because floats do also use the \framed command. You can use this feature and set the background with \setupfloat, only the text color can’t be set with \setupfloat because it’s applied to late in the process and a manual setting is necessary. I can add a “color

Re: [NTG-context] Wrong float numbering with default=top

2012-12-18 Thread Marco Patzer
On 2012–12–08 Marco Patzer wrote: Thanks. It does not break anything in the final document and all numbers are correct. Referring to the figures is messed up: \useMPlibrary [dum] \setupfloat [figure] [default=top] \ctxlua{structures.lists.autoreorder = true} \starttext \input knuth

Re: [NTG-context] Wrong float numbering with default=top

2012-12-18 Thread Hans Hagen
On 12/18/2012 6:13 PM, Marco Patzer wrote: On 2012–12–08 Marco Patzer wrote: Thanks. It does not break anything in the final document and all numbers are correct. Referring to the figures is messed up: \useMPlibrary [dum] \setupfloat [figure] [default=top] \ctxlua

<    1   2   3   4   >