Re: [NTG-context] How to put a \placefigure with no caption?
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.} > \placefigure[none,margin]{}{Let's put some text of at least two lines.} > \input tufte > \stoptext > > -- stopcode -- > > The first one works as intended, the second one does not. Also, I > cannot figure out the equivalent new syntax. > \placefigure[margin,none]{}{Let's put some text of at least two lines.} \startplacefigure [location={margin, none}] Let's put some text of at least two lines. \stopplacefigure > \placefigure[none,margin]{}{Let's put some text of at least two lines.} \startplacefigure [location={none, margin}] Let's put some text of at least two lines. \stopplacefigure > I tried 'caption=none' and 'location=none'. location=none works here: \startplacefigure [location=none] Let's put some text of at least two lines. \stopplacefigure > But even if the latter one would work, having a caption (or not) > and placing the figure on the page are two different things? The first argument of `location` determines the location of the figure, the second one the location of the caption. If only one argument is provided, it is used for both. So the following statements have the same effect. \startplacefigure [location={none, none}] Let's put some text of at least two lines. \stopplacefigure \startplacefigure [location=none] Let's put some text of at least two lines. \stopplacefigure That's the reason why the figure in your second example is not placed in the margin. Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to put a \placefigure with no caption?
> > 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 > >\startchapter [title=Lorem, reference=sec:lorem] >… >\stopchapter > > They are both supported, I personally stick to the new variant. I > find the interface much more memorable. 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.} \placefigure[none,margin]{}{Let's put some text of at least two lines.} \input tufte \stoptext -- stopcode -- The first one works as intended, the second one does not. Also, I cannot figure out the equivalent new syntax. I tried 'caption=none' and 'location=none'. But even if the latter one would work, having a caption (or not) and placing the figure on the page are two different things? Andy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to put a \placefigure with no caption?
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 [location=none] > > \externalfigure [cow] > > \stopplacefigure > > Interesting. Is > > \startplacefigure[location=...] > ... > \stopplacefigure > > equivalent to \placefigure[...]{}{...}? 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 \startchapter [title=Lorem, reference=sec:lorem] … \stopchapter They are both supported, I personally stick to the new variant. I find the interface much more memorable. Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to put a \placefigure with no caption?
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" >>> as a caption. What do I do if I want no caption (not even the >>> "Figure 1" thing, in fact)? >> >> \startplacefigure [location=none] >> \externalfigure [cow] >> \stopplacefigure > > Interesting. Is > > \startplacefigure[location=...] > ... > \stopplacefigure > > equivalent to \placefigure[...]{}{…}? Yes. \placefigure[][]{}{ == \startplacefigure[location=,reference=,title=] % marking=…,bookmark=…,list=… \stopplacefigure Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to put a \placefigure with no caption?
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 > > "Figure 1" thing, in fact)? > > \startplacefigure [location=none] > \externalfigure [cow] > \stopplacefigure Interesting. Is \startplacefigure[location=...] ... \stopplacefigure equivalent to \placefigure[...]{}{...}? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to put a \placefigure with no caption?
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 no caption (not even the > > "Figure 1" thing, in fact)? > > \placefigure[none,…]{}{…} > > Wolfgang Thanks a lot! Added a clarification to the wiki. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to put a \placefigure with no caption?
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 [cow] \stopplacefigure Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to put a \placefigure with no caption?
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)? \placefigure[none,…]{}{…} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How to put a \placefigure with no caption?
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 Mickiewicz University ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___