Re: [NTG-context] placefigure

2013-03-21 Thread Sietse Brouwer
On 21 March 2013 17:26, Hans Hagen wrote: > while fixing some buglets that showed up in the test suite I ran into > \placenamedfloat > maybe worth wikifying (bug will be solved in beta) Wikified: http://wiki.contextgarden.net/Command/placenamedfloat Below is what I wrote; is that correct? Groe

[NTG-context] placefigure

2013-03-21 Thread Hans Hagen
Hi, while fixing some buglets that showed up in the test suite I ran into: \starttext test \placefigure[somewhere:alpha][whatever]{alpha}{} test \placefigure[somewhere:beta] [whatever]{beta}{} test \placefigure[somewhere:gamma][whatever]{gamma}{} test \placefigure[somewhere:delta][whatever

[NTG-context] [***SPAM***] float placement riddle

2013-03-01 Thread Meer, H. van der
space for the text that now follows the picture. The code is roughly: \setupcolumns[n=2] \startcolumns \placefigure[][figuur:zw]{Street.} {\externalfigure[zw][width=0.8\textwidth]} \par \stopcolumns How to get Hans van der Meer [cid:796264A3-FA21-43EB-894F-3C74D1E4D519@fritz.box

[NTG-context] float placement

2013-02-27 Thread Meer, H. van der
I would like to place a figure (float) on a page by itself, at a specific point. Using \placefigure[force] gives me the figures at that point but not on separate page, whereas \placefigure[page] puts it on a page but not at the point where it should appear. Finally \placefigure[force,page] nor

[NTG-context] Alternative width of figures in different documents (problem with modes?)

2013-02-05 Thread Jaroslav Hajtmar
, \alternativewidth{3cm}{5cm}] \starttext \input tufte \placefigure[here,force][cowref]{Caption}{\externalfigure[COW]} \input tufte \stoptext ___ If your question is of interest to others as well, please add an entry to

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

2013-02-03 Thread Otared Kavian
>> >> \goto{Table 1}[tab:Table01] >> >> \goto{Some text}[Text] >> >> \page >> \useexternalfigure[Graphic][cow.pdf][] >> \placefigure[here,page,force,nonumber] >> [fig:cow.pdf] >> {Figure A} >> {\externalfigure[cow.pdf][type=pdf, &g

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

2013-02-03 Thread Hans Hagen
[fig:cow.pdf] \goto{Table 1}[tab:Table01] \goto{Some text}[Text] \page \useexternalfigure[Graphic][cow.pdf][] \placefigure[here,page,force,nonumber] [fig:cow.pdf] {Figure A} {\externalfigure[cow.pdf][type=pdf, width=.5\textwidth]} \page \placetable[here,force,nonumber] [tab:Table01] {Table 1

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

2013-02-03 Thread Alan Bowen
d' was not intended to be > used that way, which makes me wonder whether this will work for you or not. > I hope it does. > > Michael > > > On Feb 2, 2013, at 1:12 PM, Alan Bowen > wrote: > > Hi, Otared— > > I am using MKIV. Many thanks for the news abou

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

2013-02-02 Thread Aditya Mahajan
On Sat, 2 Feb 2013, Alan Bowen wrote: I am using MKIV. Many thanks for the news about the changes to \placefigure and the sample alternative: that is very helpful and much appreciated. The only problem remaining is how to cancel the automatic titling/numbering. In \startplacefigure[reference

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

2013-02-02 Thread Rogers, Michael K
'command' was not intended to be used that way, which makes me wonder whether this will work for you or not. I hope it does. Michael On Feb 2, 2013, at 1:12 PM, Alan Bowen mailto:bowenala...@gmail.com>> wrote: Hi, Otared— I am using MKIV. Many thanks for the news about the changes

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

2013-02-02 Thread Alan Bowen
Hi, Otared— I am using MKIV. Many thanks for the news about the changes to \placefigure and the sample alternative: that is very helpful and much appreciated. The only problem remaining is how to cancel the automatic titling/numbering. In \startplacefigure[reference=fig:cow.pdf,title=Figure A

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

2013-02-02 Thread Otared Kavian
short version of \placefigure or \placetable, but I don't remember the correct syntax… Sorry! Best regards: OK On 2 févr. 2013, at 14:25, Alan Bowen wrote: > Sorry to keep pushing this—it is a problem for a journal that I publish. > > I have re-installed the ConTeXt standalone a

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

2013-02-02 Thread Alan Bowen
] \goto{Some text}[Text] \page \useexternalfigure[Graphic][cow.pdf][] \placefigure [here,page,force,nonumber] [fig:cow.pdf] {Figure A} {\externalfigure[cow.pdf][type=pdf, width=.5\textwidth]} \page \placetable [here,force,nonumber] [tab:Table01] {Table 1} {\starttabulate[| l | l |] \NC 1000 \NC

Re: [NTG-context] Placefigure without numbering

2013-02-01 Thread Alan BRASLAU
On Fri, 1 Feb 2013 22:42:10 +0100 "H. Özoguz" wrote: > Am 01.02.2013 21:58, schrieb ntg-context-requ...@ntg.nl: > > \startplacefigure [title=My description, reference=fig:demo, > > number=no] ? > > \stopplacefigure > Thanks Marco, and how to align the title at the center under the > picture? (No

Re: [NTG-context] Placefigure without numbering

2013-02-01 Thread H. Özoguz
Am 01.02.2013 21:58, schrieb ntg-context-requ...@ntg.nl: \startplacefigure [title=My description, reference=fig:demo, number=no] ? \stopplacefigure Thanks Marco, and how to align the title at the center under the picture? (Now it is flushright) Thanks Huseyin ___

Re: [NTG-context] Placefigure without numbering

2013-02-01 Thread H. Özoguz
Am 01.02.2013 21:58, schrieb ntg-context-requ...@ntg.nl: \startplacefigure [title=My description, reference=fig:demo, number=no] ? \stopplacefigure Thanks Marco, and how to align the title at the center under the picture? (Now it is flushright) Thanks Huseyin ___

Re: [NTG-context] Placefigure without numbering

2013-02-01 Thread Marco Patzer
On 2013–02–01 "H. Özoguz" wrote: > how to deactivate numbering for the following (empty) picture? > > \placefigure[here][fig:demo]{My description under the picture.}{} \startplacefigure [title=My description, reference=fig:demo, number=no] … \stopplacefigure Marco signat

[NTG-context] Placefigure without numbering

2013-02-01 Thread H. Özoguz
Hi there, how to deactivate numbering for the following (empty) picture? \placefigure[here][fig:demo]{My description under the picture.}{} Thanks, Huseyin P.S.: I know that for multi-line code my email-client seems to format the code with many spaces, how to control that, I am using Mozilla

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

2013-01-31 Thread Alan Bowen
Figure: > > \setupinteraction[state=start] > \starttext > \goto{Figure A}[fig:Figure.pdf] > > \goto{Text A}[TextA] > \page > \useexternalfigure[Graphic][Figure.pdf][] > \placefigure > [here,page,force,nonumber] > [fig:Figure.pdf] > {Figure A} > {\externalfig

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

2013-01-30 Thread Alan Bowen
The following compiles in the latest beta standalone but with dead links to the Figure: \setupinteraction[state=start] \starttext \goto{Figure A}[fig:Figure.pdf] \goto{Text A}[TextA] \page \useexternalfigure[Graphic][Figure.pdf][] \placefigure [here,page,force,nonumber] [fig:Figure.pdf

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
I doing wrong? If you specify only one optional argument of \placefloat, then leftmost in the list is assumed, i.e. the location. To get around this, either specify a location or add empty brackets if you're content with the default: \define[2]\dincludefigure{% \placefigure[][f

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Philipp Gesang
f you specify only one optional argument of \placefloat, then leftmost in the list is assumed, i.e. the location. To get around this, either specify a location or add empty brackets if you’re content with the default: \define[2]\dincludefigure{% \placefigure[][fig:#1]{#2}{\externalfigure

[NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
using *\version[temporary]* to see the labels as suggested in the Context manual (chapter on Cross References (page 207) of cont-ini.pdf). But it didn't show many the label of the figure. MWE: \useMPlibrary[dum] \unprotect \define[2]\dincludefigure{% \placefigure[fig:#1]{#2}{\externalf

[NTG-context] Figure captions in margin

2013-01-20 Thread Devendra Ghate
ayout[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 smal

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Mikael P. Sundqvist
gt; >> Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist : >> >> > Dear list, >> > >> > I want to have the effect I get with \placefigure[margin] but I want it >> _always_ in the left margin instead of the right margin where it ends up by >> default. I hav

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Wolfgang Schuster
Am 03.01.2013 um 17:13 schrieb "Mikael P. Sundqvist" : > On Thu, Jan 3, 2013 at 3:58 PM, Wolfgang Schuster > wrote: > > Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist : > > > Dear list, > > > > I want to have the effect I get with \placefigure

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Mikael P. Sundqvist
On Thu, Jan 3, 2013 at 3:58 PM, Wolfgang Schuster < wolfgang.schus...@gmail.com> wrote: > > Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist : > > > Dear list, > > > > I want to have the effect I get with \placefigure[margin] but I want it > _always_ in

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Wolfgang Schuster
Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist : > Dear list, > > I want to have the effect I get with \placefigure[margin] but I want it > _always_ in the left margin instead of the right margin where it ends up by > default. I have tried several other keys but with lef

[NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Mikael P. Sundqvist
Dear list, I want to have the effect I get with \placefigure[margin] but I want it _always_ in the left margin instead of the right margin where it ends up by default. I have tried several other keys but with leftmargin, inleft the figure is not put in the top of the page, "independent o

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Hans Hagen
; P.S. I have feeling that feature like 'hangaround' doesn't fit well > with tex (page layout ...?) model. Hangaround is a very robust command and works in more cases than \placefigure[left] but you have a conflict with the \item command which place the itemize symbol

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Mikael P. Sundqvist
> > Some answers I found myself :) >> > >> > P.S. I have feeling that feature like 'hangaround' doesn't fit well >> > with tex (page layout ...?) model. >> >> Hangaround is a very robust command and works in more cases than >>

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Otared Kavian
yout ...?) model. > > Hangaround is a very robust command and works in more cases than > \placefigure[left] but you have a conflict with the \item command > which place the itemize symbol before the following text which > is indented in your case. > > \unprotect &

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Mikael P. Sundqvist
around' doesn't fit well > > with tex (page layout ...?) model. > > Hangaround is a very robust command and works in more cases than > \placefigure[left] but you have a conflict with the \item command > which place the itemize symbol before the following text which &g

Re: [NTG-context] incrementnumber vs. prefixsegments

2012-11-21 Thread Sietse Brouwer
to be expected: > > \setuphead[chapter][page=no,continue=yes] > > \setupcaption[figure][ > prefix=yes, > way=bychapter, > prefixsegments=chapter] > > \setuphead[subject][incrementnumber=list] > > \definecombinedlist[content][title,chapter,section,subject] > >

[NTG-context] Bug?

2012-11-20 Thread Willi Egger
or \makeupwidth the figure will not be sized correctly. \showframe % \definemixedcolumns[columns] % \setupcolumns % [distance=4mm] \starttext \startsimplecolumns \placefigure [middle] [Cow] {Cow width fixed-width} {\externalfigure[cow][frame=on,width=4cm]} \placefigure [middle

Re: [NTG-context] \startplacefigure equivalent of \placefigure

2012-11-18 Thread Romain Diss
Le dimanche 18 novembre 2012, Wolfgang Schuster a écrit : > Am 18.11.2012 um 21:58 schrieb Romain Diss : > > I did not find the \startplacefigure equivalent of: > > \placefigure > >[high,low] % <- here are the options I need > >{test} > >{\externalf

Re: [NTG-context] \startplacefigure equivalent of \placefigure

2012-11-18 Thread Wolfgang Schuster
Am 18.11.2012 um 21:58 schrieb Romain Diss : > Hi all, > > I did not find the \startplacefigure equivalent of: > \placefigure >[high,low] % <- here are the options I need >{test} >{\externalfigure[pic-test]} > > I checked in the sources but found no

[NTG-context] \startplacefigure equivalent of \placefigure

2012-11-18 Thread Romain Diss
Hi all, I did not find the \startplacefigure equivalent of: \placefigure [high,low] % <- here are the options I need {test} {\externalfigure[pic-test]} I checked in the sources but found nothing about these 'high', 'low' options. Anybody has an idea? Thanks

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

2012-11-12 Thread Andy Thomas
the margin. I am unable to get both (images and text) to work properly. (1) put all in a \margintext \margintext{...} for text \margintext{\placefigure...} for external images This option does not work if the position is close to a page break (cp. http

Re: [NTG-context] How to put a \placefigure with no caption?

2012-11-12 Thread Marco Patzer
2012-11-12 Andy Thomas: > I guess, I do not understand the relation completely. Please > compare the following > > -- startcode -- > > \starttext > % > \chapter{One} > \input tufte > \placefigure[margin,none]{}{Let's put some text of at least two lines.} >

Re: [NTG-context] How to put a \placefigure with no caption?

2012-11-11 Thread Andy Thomas
> > Yes. \placefigure is the old syntax. \start…\stopplacefigure the new > one. The new one uses a the key=value syntax also present in other MkIV > commands. Compare: > >\startplacefigure [title=Lorem, reference=fig:lorem] >… >\stopplacefigure > >

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
On Nov 11, 2012, at 9:23 PM, Marco Patzer wrote: > 2012-11-11 Andy Thomas: > >> That was my first choice as well. But it does not play nice with >> margintext. > > The both use two different mechanisms AFAIK, and there's no or not > much communication between them. Mixing both leads to overprin

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Marco Patzer
2012-11-11 Andy Thomas: > That was my first choice as well. But it does not play nice with > margintext. The both use two different mechanisms AFAIK, and there's no or not much communication between them. Mixing both leads to overprinted content. > Also, the figure is moved all the way up, which

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
That was my first choice as well. But it does not play nice with margintext. Try putting \margintext{bla} directly after the chapter. stack=continue is somehow ignored. Also, the figure is moved all the way up, which is strange. On Nov 11, 2012, at 8:52 PM, Marco Patzer wrote: > 2012-11-11 Andy

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Marco Patzer
2012-11-11 Andy Thomas: > Is there a way to avoid that and have the figure always placed in > the margin? \startplacefigure [title=Foo, location=margin] \stopplacefigure Marco ___ If your question is of interest to

[NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
Dear all. I am having some trouble with figure placement in the margin. If you use the following code, please try to comment out first one and then both '\input knuth'. Somehow, the figure is not placed in the margin, but the center of the page, if a page breaks occurs close by. Is there a way

[NTG-context] incrementnumber vs. prefixsegments

2012-11-05 Thread plink
page=no,continue=yes] \setupcaption[figure][ prefix=yes, way=bychapter, prefixsegments=chapter] \setuphead[subject][incrementnumber=list] \definecombinedlist[content][title,chapter,section,subject] \starttext \placecontent \chapter{Chapter} \section{Section Een} \placefigure[h

Re: [NTG-context] align and location in \setupcombination

2012-10-30 Thread Wolfgang Schuster
Am 28.10.2012 um 15:59 schrieb Marco Patzer : >> So I have to enclose \startcombination … \stopcombination in >> \placefigure[][]{}. >> How to locate the combined figures at the horizontal center? > > \midaligned > {\startcombination[2*1] >{\e

Re: [NTG-context] align and location in \setupcombination

2012-10-28 Thread Wolfgang Schuster
Am 28.10.2012 um 15:59 schrieb Marco Patzer : >> So I have to enclose \startcombination … \stopcombination in >> \placefigure[][]{}. >> How to locate the combined figures at the horizontal center? > > \midaligned > {\startcombination[2*1] >{\e

Re: [NTG-context] align and location in \setupcombination

2012-10-28 Thread Marco Patzer
\setupcombination [location=middle] \startcombination[2*1] {\externalfigure[dummy][height=1cm]}{aa} {\externalfigure[dummy][height=4cm]}{bb} \stopcombination > So I have to enclose \startcombination … \stopcombination in > \placefigure[][]{}. > How to locate the combined fi

[NTG-context] align and location in \setupcombination

2012-10-27 Thread Jeong Dal
ation= " has no effect at all. So I have to enclose \startcombination … \stopcombination in \placefigure[][]{}. How to locate the combined figures at the horizontal center? Thank you for reading. Best regards, \starttext \setupcombination[align=leftflush, location=middle] \startcombi

Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Hans Hagen
On 16-10-2012 10:05, Marcin Borkowski wrote: Well, I meant the bullet and item text on the left and image on the right. Is it possible? maybe if you put \placefigure[right]{}{} before the \item

Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Marcin Borkowski
Dnia 2012-10-16, o godz. 09:41:23 Hans Hagen napisał(a): > On 16-10-2012 00:45, Marcin Borkowski wrote: > > It's me again! > > > > This doesn't quite work as expected (at least by me, that is;)): > > > > \starttext > > > > \startitemize

Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Hans Hagen
On 16-10-2012 00:45, Marcin Borkowski wrote: It's me again! This doesn't quite work as expected (at least by me, that is;)): \starttext \startitemize \startitem \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}} \input knuth \stopitem \stopitemize

[NTG-context] Vertical positioning of floats within itemize

2012-10-15 Thread Marcin Borkowski
It's me again! This doesn't quite work as expected (at least by me, that is;)): \starttext \startitemize \startitem \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}} \input knuth \stopitem \stopitemize \stoptext (Namely, at the beginning of the \ite

[NTG-context] Controlling vertical position of floats

2012-10-15 Thread Marcin Borkowski
Hi again, \placefigure[right,]{caption}{figure} does different things with option being (a) empty, (b) high, (c) low. Could anyone explain to me the exact meaning of these three alternatives? Also, is it possible to manually fine-tune the vertical position, so that the figure seems optically

Re: [NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Marco Patzer
2012-10-15 Marcin Borkowski: > > > \placefigure[here]{none}{} seems to actually typeset "none" > > > as a caption. What do I do if I want no caption (not even the > > > "Figure 1" thing, in fact)? > > > > \startplacefigure [loca

Re: [NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Wolfgang Schuster
Am 15.10.2012 um 23:34 schrieb Marcin Borkowski : > Dnia 2012-10-15, o godz. 23:22:28 > Marco Patzer napisał(a): > >> 2012-10-15 Marcin Borkowski: >> >> Hi Marcin >> >>> \placefigure[here]{none}{} seems to actually typeset "none" >>&g

Re: [NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Marcin Borkowski
Dnia 2012-10-15, o godz. 23:22:28 Marco Patzer napisał(a): > 2012-10-15 Marcin Borkowski: > > Hi Marcin > > > \placefigure[here]{none}{} seems to actually typeset "none" > > as a caption. What do I do if I want no caption (not even the > > "Figu

Re: [NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Marcin Borkowski
Dnia 2012-10-15, o godz. 23:19:06 Wolfgang Schuster napisał(a): > > Am 15.10.2012 um 23:16 schrieb Marcin Borkowski > : > > > Hi there, > > > > \placefigure[here]{none}{} seems to actually typeset "none" > > as a caption. What do I do if I want

Re: [NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Marco Patzer
2012-10-15 Marcin Borkowski: Hi Marcin > \placefigure[here]{none}{} seems to actually typeset "none" as a > caption. What do I do if I want no caption (not even the "Figure 1" > thing, in fact)? \startplacefigure [location=none] \externalfigure [

Re: [NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Wolfgang Schuster
Am 15.10.2012 um 23:16 schrieb Marcin Borkowski : > Hi there, > > \placefigure[here]{none}{} seems to actually typeset "none" as a > caption. What do I do if I want no caption (not even the "Figure 1" > thing, in fact)?

[NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Marcin Borkowski
Hi there, \placefigure[here]{none}{} seems to actually typeset "none" as a caption. What do I do if I want no caption (not even the "Figure 1" thing, in fact)? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam M

Re: [NTG-context] Misplaced figure

2012-10-09 Thread Wolfgang Schuster
this a bug or am I making a mistake? > > \starttext > \startuseMPgraphic{ProofPQR} > numeric u; u:=2.5cm; > draw ((0, 0)--(1,0)--(1, 0.7)) scaled u withpen pencircle; > dotlabel.bot(textext("$P$"),(0,0)*u); > dotlabel.bot(textext("$R$"),(1,0)*u); > dotlabel.rt

[NTG-context] Misplaced figure

2012-10-09 Thread Rogers, Michael K
; draw ((0, 0)--(1,0)--(1, 0.7)) scaled u withpen pencircle; dotlabel.bot(textext("$P$"),(0,0)*u); dotlabel.bot(textext("$R$"),(1,0)*u); dotlabel.rt(textext("$Q$"),(1,0.7)*u); \stopuseMPgraphic % MISPLACED \placefigure[right,none]{}{\useMPgraphic{ProofPQR}} {\it P

Re: [NTG-context] No entry in the list of figures? (now without .pdf)

2012-09-25 Thread Matthew Claus
On Tuesday, September 25, 2012 3:17am, "Procházka Lukáš Ing. - Pontex s. r. o." said: > Hello, > > suppose the following example: > > > \starttext > \startappendices > \placelistoffigures % OK > \placefigure[place]{Caption}{\ex

Re: [NTG-context] Space after caption of a float

2012-09-25 Thread Marco Patzer
2012-09-25 Procházka Lukáš Ing. - Pontex s. r. o. : Hi Lukáš, > is there a built-in parameter for \setupcaptions which would affect the space > after the caption? \setupcaptions [figure] [spaceafter=1cm,align=middle] \starttext \placefigure[place]{Caption1}{\externalfigure[cow]

[NTG-context] Space after caption of a float

2012-09-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
text, whatever). Here are my trials - all bad, none of them increase the space after the caption: \define[1]\MyCmd{#1\blank[2*big]} \starttext \placefigure[place]{Caption1}{\externalfigure[cow][width=.1\textwidth]} \placefigure[place]{Caption2\blank}{\externalfigure[cow][width=.1\text

[NTG-context] No entry in the list of figures? (now without .pdf)

2012-09-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, suppose the following example: \starttext \startappendices \placelistoffigures % OK \placefigure[place]{Caption}{\externalfigure[cow][width=.25\textwidth]} \chapter{Foto} % Try to comment this! \placelistoffigures % No entry \placefigure[place

Re: [NTG-context] Image/float & infinite loop

2012-09-24 Thread Hans Hagen
On 24-9-2012 16:51, Procházka Lukáš Ing. - Pontex s. r. o. wrote: \starttext \placefigure[place]{}{\externalfigure[cow]} \showexternalfigures[alternative=a] \stoptext \showexternalfigures is obsolete in mkiv .. i've removed it (it calls itself after loading a module that doesn&#x

[NTG-context] Image/float & infinite loop

2012-09-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the following code goes into an infinite loop: \starttext \placefigure[place]{}{\externalfigure[cow]} \showexternalfigures[alternative=a] \stoptext I'm getting: mtx-context | run 1: luatex --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cac

Re: [NTG-context] Exploring the Lua innards of ConTeXt: showtable

2012-09-17 Thread Hans Hagen
a.kind : formula T.cached.4.metadata.name : formula (You can't see it in this e-mail, but the colons of entries in the same subtable nicely line up with each other.) Usage: put showtable.lua in your working directory and run the following code: \starttext % \placefigure[][ref:a

[NTG-context] Exploring the Lua innards of ConTeXt: showtable

2012-09-17 Thread Sietse Brouwer
this e-mail, but the colons of entries in the same subtable nicely line up with each other.) Usage: put showtable.lua in your working directory and run the following code: \starttext % \placefigure[][ref:asdf]{caption 1}{picture 1} \startluacode require('showtable') userd

[NTG-context] Change color of EPS file.

2012-09-12 Thread pol stra
with: \placefigure[left,none]{caption}{\externalfigure[demo-b][background=color,backgroundcolor=white]} Best regards ___ If your question is of interest to others as well

Re: [NTG-context] 3D annotations problems

2012-09-09 Thread Wolfgang Schuster
test.prc] [width=0.5\textwidth, > height=0.5\textwidth, display=u3d:myset:display:1, > controls=u3d:myset:controls:1] > \placefigure[here]{3d test}{\externalfigure[test]} > > while after getting rid of \texwidth the following does: > > \useexternalfigure [test] [test.prc] [width

Re: [NTG-context] 3D annotations problems

2012-09-09 Thread Michail Vidiassov
the tex file 3D annotations > appear OK. in the latest minimals (2012.09.06 23:03) the following example from back-u3d.mkiv fails to work \useexternalfigure [test] [test.prc] [width=0.5\textwidth, height=0.5\textwidth, display=u3d:myset:display:1, controls=u3d:myset:controls:1] \placefigure[he

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

2012-09-04 Thread Rogers, Michael K
one. Does it work for you? > > You're right: it doesn't work for me, either. A bug, then, or possibly > an unannounced interface change. > --Sietse I think the key name is plural, and you need to turn on prefixes. Try \setupcaptions[prefix=yes,prefixsegments=chapter] \start

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

2012-09-03 Thread Sietse Brouwer
net/Command/setupcaptions Which is not the first place one would look, admittedly, although it's logical once you realize it. This requires some crosslinks from some pages describing \placefigure-related things, I think. Cheers, Sietse > > The following example used to produce (as of

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

2012-08-26 Thread Wolfgang Schuster
ixes. >> >> \setupcaption[figure][way=bychapter,prefix=yes] >> >> \starttext >> >> \completelistoffigures >> >> \dorecurse{2} >> {\chapter{Chapter #1} >> \dorecurse{5} >>{\dorecurse{4}{\input knuth\par} >> \placefigure{Caption}{\externalfi

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

2012-08-26 Thread Robert Blackstone
> > \dorecurse{2} > {\chapter{Chapter #1} > \dorecurse{5} > {\dorecurse{4}{\input knuth\par} > \placefigure{Caption}{\externalfigure[dummy]} > \dorecurse{4}{\input knuth\par}}} > > \stoptext > > Wolfgang Thank you, Wolfgang. Your advice solves one

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

2012-08-26 Thread Wolfgang Schuster
] \starttext \completelistoffigures \dorecurse{2} {\chapter{Chapter #1} \dorecurse{5} {\dorecurse{4}{\input knuth\par} \placefigure{Caption}{\externalfigure[dummy]} \dorecurse{4}{\input knuth\par}}} \stoptext Wolfgang _

Re: [NTG-context] Struggling with ConTeXt

2012-08-22 Thread Olivier Binda
[strut=no, offset=2cm]{\myStatement{FIRST TEST}} In the first test, I would like the black box to have the dimensions of the red box. \blank[big,big,big,big,big,big,big,big,big,big] \placefigure[left,none]{}{\startmyStatement SECOND TEST\stopmyStatement} In the second test, I'm going to demons

Re: [NTG-context] Struggling with ConTeXt

2012-08-22 Thread Aditya Mahajan
the first test, I would like the black box to have the dimensions of the red box. \blank[big,big,big,big,big,big,big,big,big,big] \placefigure[left,none]{}{\startmyStatement SECOND TEST\stopmyStatement} In the second test, I'm going to demonstrate the issue by flowing text around the framed

Re: [NTG-context] Struggling with ConTeXt

2012-08-22 Thread Olivier Binda
TEST\stopmyStatement} In the first test, I would like the black box to have the dimensions of the red box. \blank[big,big,big,big,big,big,big,big,big,big] \placefigure[left,none]{}{\startmyStatement SECOND TEST\stopmyStatement} In the second test, I'm going to demonstrate the issue by flowing

Re: [NTG-context] Draft version of document

2012-08-07 Thread Hans Hagen
, % or the automatic image list at the end on won't be able to % guess the image names from the figure labels. \placefigure[here][fig:cow] {cap-cow} {\externalfigure[img:fig:cow]} \section{More pictures} \placefigure[here][fig:mill] {cap-mill} {\externalfigure[img:fig:mill]} %

Re: [NTG-context] Draft version of document

2012-08-07 Thread Sietse Brouwer
n won't be able to % guess the image names from the figure labels. \placefigure[here][fig:cow] {cap-cow} {\externalfigure[img:fig:cow]} \section{More pictures} \placefigure[here][fig:mill] {cap-mill} {\externalfigure[img:fig:mill]} Lists start here %%% \enablemode[dr

Re: [NTG-context] Marking a textfragment for later reference

2012-08-07 Thread Sietse Brouwer
mbered objects, and so not obvious candidates for having their own labels. Cheers, Sietse %%% Example: label % \placefigure [here] [fig:myfig] % label: used to refer to the figure {caption}{figure} %%% Example: command like \startNAME % \definedelimitedtext [smallquote]

Re: [NTG-context] Draft version of document

2012-08-06 Thread Sietse Brouwer
graph][pointy-graph.png] \placefigure [here] [fig:pointy graph] {caption of the pointy graph} {\externalfigure[img:fig:pointy graph][width=4cm]} \startmode[draft] \section{Just the figures} \in{Figure}[fig:pointy graph] \externalfigure[img:fig:pointy graph] \stopmode If you

Re: [NTG-context] Using MPgraphics as externalfigures?

2012-08-03 Thread Aditya Mahajan
On Thu, 2 Aug 2012, Mari Voipio wrote: Hi All, I'm being a bit clueless about the MPgraphics again... I've got a pile of instructional graphics that will be used and reused in a project. My first try is/was an unwieldy buffer construction, but I'm sure there's a better wa

[NTG-context] Using MPgraphics as externalfigures?

2012-08-01 Thread Mari Voipio
Hi All, I'm being a bit clueless about the MPgraphics again... I've got a pile of instructional graphics that will be used and reused in a project. My first try is/was an unwieldy buffer construction, but I'm sure there's a better way than \placefigure[here] [fig: 5

Re: [NTG-context] Page floats

2012-07-31 Thread Hans Hagen
On 30-7-2012 00:44, Wolfgang Schuster wrote: Hi Hans, page flots don’t work with the current beta. \starttext \dorecurse{6}{\input knuth\par} %\placefigure{A dutch cow}{\externalfigure[cow]} % works \placefigure[page]{A dutch cow}{\externalfigure[cow]} % doesn’t work \dorecurse{6}{\input

[NTG-context] Page floats

2012-07-29 Thread Wolfgang Schuster
Hi Hans, page flots don’t work with the current beta. \starttext \dorecurse{6}{\input knuth\par} %\placefigure{A dutch cow}{\externalfigure[cow]} % works \placefigure[page]{A dutch cow}{\externalfigure[cow]} % doesn’t work \dorecurse{6}{\input knuth\par} \stoptext Wolfgang

[NTG-context] A strange problem, probably with \startitemize[columns]

2012-07-28 Thread Marcin Borkowski
ment[middle] \tfd Gry (materiały na ćwiczenia w~czwartek) \par\blank[big] \stopalignment \startnotmode[nauczyciel] \placefigure[bottom,none]{}{% \hbox to \textwidth{ \externalfigure[logo-1-t][height=1.5cm]\hfil \externalfigure[logo-2-t][height=1.5cm]\hfil \externalfigure

[NTG-context] figures: side by side and/or one above the other

2012-07-20 Thread d_jan
someimage1). This code produces a working example: \starttext \placefigure [left] {caption} {\externalfigure[someimage1][width=0.5\textwidth]} \placefigure [left][fig:newton] {caption} {\externalfigure[someimage2][width=0.5\textwidth]} \input tufte \stoptext B) side by side I tried to work with co

Re: [NTG-context] change caption position temporarily

2012-07-20 Thread Peter Münster
On Fri, Jul 20 2012, d_jan wrote: >> \setupcaptions[location=bottom] >> \def\PlaceRightFigure#1#2{{\setupcaptions[location=right]% >> \placefigure{#1}{#2}}} >> \starttext >> \placefigure{caption 1}{figure 1} >> \PlaceRightFigure{caption 2}{figure 2}

Re: [NTG-context] change caption position temporarily

2012-07-20 Thread d_jan
right]% \placefigure{#1}{#2}}} \starttext \placefigure{caption 1}{figure 1} \PlaceRightFigure{caption 2}{figure 2} \placefigure{caption 3}{figure 3} \stoptext Sorry that I get back on this so late: thanks a lot, it works very

Re: [NTG-context] A "Lorem ipsum" module?

2012-07-19 Thread Sietse Brouwer
from the sample text \dorecurse{5} {\section{\ipsum[alternative=lines, n=random]} \dorecurse{4} {\dorecurse{3}{\ipsum[alternative=paragraph, n=random]\endgraf} \placefigure {\ipsum[alternative=lines,n=random]} {\fakeimag

Re: [NTG-context] floats in margin

2012-07-17 Thread Marco
On 2012-07-17 "Meer, H. van der" wrote: > Trying a \placefigure[inmargin] and other margins settings gives > an undefined control sequence error: The following works here with 2012.07.17 00:23 \useMPlibrary [dum] \starttext \input zapf \startplacefigure [title=A figure,

[NTG-context] floats in margin

2012-07-17 Thread Meer, H. van der
Trying a \placefigure[inmargin] and other margins settings gives an undefined control sequence error: \strc_floats_caption_set_align ...s_caption_align ]} ...box {\strc_floats_caption_set_align

[NTG-context] write my own text in the header

2012-07-17 Thread dalyoung
round/yellowspring][width=\paperwidth]}] \setupbackgrounds[page][background=yellow-spring] \dontleavehmode \blank[.5cm] \placefigure[none][]{} {\getbuffer[TitleOfSlides]} \blank[1.5cm] \placefigure[none][]{} {\getbuffer[Speaker]} \page \component TestPage ... --Output The background "yellow-spring&

<    3   4   5   6   7   8   9   10   11   12   >