[NTG-context] placefigure vs grid problem

2012-03-20 Thread Honza Hejzl
práce a před dokončením jsou i dvě práce doktorské.\footnote{Jedná se o~diplomové práce K. Kukanové a M. Wagnera (na katedře právních dějin) a doktorské dizertace J. Pleskota a T. Jablonického (na katedeře právních dějin a na Ústavu právních dějin Právnické fakulty UK).} \placefigure[left

[NTG-context] figures' captions

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

[NTG-context] placefloat in long parapgraph

2012-03-15 Thread Steffen Wolfrum
triggering a paragraph break? Steffen --- \starttext \switchtobodyfont[rm,48pt] \dorecurse{1}{\input tufte}{\placefigure[here]{something meaningful}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}}\input tufte\par \input ward \stoptext

Re: [NTG-context] Nested floats

2012-03-11 Thread Wolfgang Schuster
]% {\doglobal\increment\noflocalfloats \savebox{localfloats}{\noflocalfloats}{\box\floatbox}} \setuppapersize[A5][A4,landscape] \starttext \showframe \startfloatcombination [2*2] \placefigure{alpha}{\externalfigure[cow.pdf][width=1cm]} \placefigure{beta} {\externalfigure[cow.pdf][width=2cm

Re: [NTG-context] \placefigure padding

2012-03-11 Thread Wolfgang Schuster
Am 11.03.2012 um 04:12 schrieb Kip Warner: Hey list, The following minimal typesets a dummy figure. Note how there is about two lines of empty space below the figure. How do I control the amount of padding that surrounds the figure, such as the bottom? With \setupfloats [spacebefore=…,

Re: [NTG-context] \placefigure padding

2012-03-11 Thread Kip Warner
On Sun, 2012-03-11 at 10:01 +0100, Wolfgang Schuster wrote: \setupfloats [spacebefore=, spaceafter=] you can control the space before and after the float, accepted are all values for \blank (dimensions and keywords). That's probably the command I need, but I can't find any useful

Re: [NTG-context] Nested floats

2012-03-10 Thread Marco
tex error on line 3 in file floatcombi.tex: Use of ... 1 \starttext 2 \startfloatcombination [2*2] 3 \placefigure{alpha}{\externalfigure[cow.pdf][width=1cm]} Example: \starttext \startfloatcombination [2*2] \placefigure{alpha}{\externalfigure[cow.pdf][width=1cm

[NTG-context] \placefigure padding

2012-03-10 Thread Kip Warner
] \starttext \placefigure [right, 2*hang] [figure:SomeFigure] {Caption} {\externalfigure[SomeFigure.pdf][][width=.2\textwidth]} This is a bunch of text. This is a bunch of text. This is a bunch of text. This is a bunch of text. This is a bunch of text. This is a bunch of text

[NTG-context] Bug in ConTeXt? Conflict in titles, sections and bibliography (was bibliography problems)

2012-03-03 Thread Jaroslav Hajtmar
of bibliography Citations are \cite[hh2010b] and \cite[hh2010a]. \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991] with citation} % get mixing problem {\externalfigure[fig1]} % \placefigure[force, none][fig1]{} % Figure without caption - no problem with bibliography (both

[NTG-context] Paragraph beginning with { doesn't flow around a float

2012-03-03 Thread Jean-Philippe Rey
Hello everybody, I found a problem with text flowing around a float. As far as I understand the problem, if a paragraph begins with a {, it doesn't flow around a float. Here is a minimal example : \starttext \placefigure[left]{}{\framed[width=50mm,height=20mm]{}} {\bf Lorem} ipsum dolor sit

Re: [NTG-context] Is it bibliography really problem for MKIV?

2012-03-01 Thread Thomas A. Schmitz
a caption. This looks like a real bug to me; I hope Hans has the time to look into it. The minimal example is: \setupbibtex[database=sample] \setuppublications[alternative=ams, sorttype=cite] \starttext citations are \cite[hh2010b] and \cite[hh2010a]. \placefigure[force][fig1]{Caption

Re: [NTG-context] Is it bibliography really problem for MKIV?

2012-03-01 Thread Jaroslav Hajtmar
[hh2010a]. \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991]} {\externalfigure[fig1]} \placepublications[criterium=cite] \stoptext All best Thomas ___ If your question is of interest to others

Re: [NTG-context] Is it bibliography really problem for MKIV?

2012-03-01 Thread Jaroslav Hajtmar
] \setuppublications[alternative=ams, sorttype=cite] \starttext citations are \cite[hh2010b] and \cite[hh2010a]. % \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991] with citation} % with problem % {\externalfigure[fig1]} % \placefigure[force, none][fig1]{} %Figure without caption

[NTG-context] Footnotes in Captions

2012-02-29 Thread Arthur G.P. Schuster
example: \starttext This\footnote{1} is a test\footnote[two]{2}. \placefigure{Another\footnote[three]{3} test\footnote{4}.}{\externalfigure[blabla]} \placefigure{And another\note[three] one\footnote{5}.}{\externalfigure[blabla]} This\note[three] is a test\note[two]. \stoptext

Re: [NTG-context] Strange mixing of lists (figures, tables etc.) and lists of bibliography

2012-02-27 Thread Jaroslav Hajtmar
}, % author = {Victor Eijkhout}, % address = {London}, % keywords = {general}, % } \startbuffer[fig1] \useexternalfigure[fig1][fig1.jpg][type=jpg,metod=jpg,width=5cm] \placefigure[force][fig1] {\select{caption} {Caption of list of capfions} {Caption of figure

[NTG-context] Strange mixing of lists (figures, tables etc.) and lists of bibliography

2012-02-25 Thread Jaroslav Hajtmar
= {general}, % } \startbuffer[fig1] \useexternalfigure[fig1][fig1.jpg][type=jpg,metod=jpg,width=5cm] \placefigure[force][fig1] {\select{caption} {Caption of list of capfions} {Caption of figure with link to bibliography \cite[hh2010a

[NTG-context] beta

2012-02-16 Thread Hans Hagen
} \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after \placefigure[left]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after

Re: [NTG-context] epub

2012-02-16 Thread luigi scarso
|p|] %\NC left \NC right \NC \input ward \NC \NR %\NC l\NC r \NC \input ward \NC \NR %\stoptabulate and be sure to have all the images in the same folder, to have 7z and inkscape --- otherwise comment %\placefigure % {} % {\externalfigure[cow.pdf]} I've just made the epub, if you want

Re: [NTG-context] epub

2012-02-16 Thread Jörg Hagmann
--- otherwise comment %\placefigure % {} % {\externalfigure[cow.pdf]} I've just made the epub, if you want I can send you. -- luigi ___ If your question is of interest to others as well, please add

Re: [NTG-context] beta

2012-02-16 Thread Otared Kavian
} \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after \placefigure[left]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input

Re: [NTG-context] beta

2012-02-16 Thread Otared Kavian
backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward } \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
\starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward } \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after \placefigure[left]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Hans Hagen
text backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward } \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
is a new one in framed so anything that can be framed can also have fancy text backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward } \placefigure

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

2012-02-09 Thread Wagner Macedo
Wolfrum cont...@st.estfiles.de wrote: How about this: \starttext \placefigure[here]{This is just an example for this is just an example for this is just an example for this is just an example for this is just an example for this is just an example for this}{\externalfigure[any][width=0.5

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

2012-02-09 Thread Peter Münster
[FullWidth][offset=overlay, width=\textwidth, frame=off, align=middle] \starttext \placefigure[here]{\input tufte\relax} {\FullWidth{\externalfigure[any][width=3cm]}} \placefigure[here]{Short} {\FullWidth{\externalfigure[any][width=3cm]}} \stoptext --8---cut here

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

2012-02-09 Thread Marco
On 2012-02-09 Peter Münster pmli...@free.fr wrote: \defineframed[FullWidth][offset=overlay, width=\textwidth, frame=off, align=middle] \starttext \placefigure[here]{\input tufte\relax} {\FullWidth{\externalfigure[any][width=3cm]}} \placefigure[here]{Short

[NTG-context] [beta] background behaviour

2012-02-09 Thread Philipp Gesang
: · \definetextbackground[verbatim] [ background=color, backgroundcolor=green, location=paragraph, ] \starttext \placefigure[2*hang,left]{}{test} %%% comment me \input knuth \starttextbackground[verbatim] foo bar \stoptextbackground \placefigure[here]{}{test} %%% comment me \stoptext

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

2012-02-08 Thread Steffen Wolfrum
Am 09.02.2012 um 02:13 schrieb Wagner Macedo: Thanks by the answer, but I had already thought in this. I would like something more definitive. How about this: \starttext \placefigure[here]{This is just an example for this is just an example for this is just an example for this is just

[NTG-context] Graphics positioning problems in current/recent betas

2012-02-04 Thread Peter Park Nelson
] \input tufte\par \placefigure[inner,none]{caption}{\framed[height=3cm]{graphic}} \input tufte\par \stoptext %% stop ---%% 2. Figure position in the second example below (Details p.65) is similar, but an empty box is placed instead of the figure

Re: [NTG-context] What’s your favorite command?

2012-01-30 Thread Aditya Mahajan
] \externalfigure [\ctxlua{context(http://placekitten.com/g/\%0.0f/\%0.0f;, \withoutpt{\the\dimexpr\kittenwidth}, \withoutpt{\the\dimexpr\kittenheight})}] [#1, method=jpg]} \starttext \placefigure[left,none]{} {\externalkitten[width=0.5

[NTG-context] floating framed inside another frame

2012-01-19 Thread Pavel Dohnal
,height=26.5mm]}% \framed[frame=off,width=96mm,align=flushleft]{% \placefigure[right,none,fit]{none}% {% \framed[frame=off,background=letteroverlay,height=1cm]{ A}% }% {\bfb Bla bla bla}% Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc lobortis accumsan sem vitae molestie. Mauris tincidunt

[NTG-context] Pagebreak in a list of figures

2012-01-16 Thread Tomas Hala
Hello, I tried (unsuccessfully) to insert a page break on the concrete position in a list of figures. Minimal example: \starttext \dorecurse{30}{\placefigure{Nic}{\externalfigure[any-figure.jpg]}} \completelistoffigures[pageboundaries={5,10,13}] \completelistoffigures[5,10,13] \stoptext I did

Re: [NTG-context] Pagebreak in a list of figures -- version

2012-01-16 Thread Tomas Hala
: # \starttext # \dorecurse{30}{\placefigure{Nic}{\externalfigure[any-figure.jpg]}} # \completelistoffigures[pageboundaries={5,10,13}] # \completelistoffigures[5,10,13] # \stoptext # # I did not find any other solution (google, garden), only these two ideas, # the second one only in relation

[NTG-context] about \startcombination

2012-01-11 Thread dalyoung
Hi, Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} I got an error message

Re: [NTG-context] about \startcombination

2012-01-11 Thread Marco
On 2012-01-11 dalyoung hak...@me.com wrote: Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth

Re: [NTG-context] about \startcombination

2012-01-11 Thread Hans Hagen
On 11-1-2012 14:35, dalyoung wrote: Hi, Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth

Re: [NTG-context] about \startcombination

2012-01-11 Thread dalyoung
Dear Hans, I am sorry for the false alarm. I should be more careful. Thank you. Best regards, Dalyoung 2012. 1. 11., 오후 10:45, Hans Hagen 작성: On 11-1-2012 14:35, dalyoung wrote: Hi, Today, I found a strange behavior of \startcombination. case 1. \placefigure

Re: [NTG-context] Surprising changes in vers. 2012.01.11

2012-01-11 Thread Steffen Wolfrum
}}% \fi\vss} \getnoflines{\dimexpr\htdp\scratchbox-10\scaledpoint\relax}% get rid of inaccuracy \expanded{\doifinset{\v!overlay}{\floatcaptionparameter\c!location}}\bothangfloat {\vbox to \noflines\lineheight{\unvbox\scratchbox}}} %% end. \starttext \placefigure[here]{blabla

[NTG-context] placefigure shifting up?

2012-01-11 Thread Meer, H. van der
In my document I have a number of \placefigures, some pdf's, some jpg's etc. Mostly the figure are placed correct with respect to, the caption but sometimes for no apparent reason I can spot, the picture is shifted up. In the first illustration taken from the document this is clearly seen,

Re: [NTG-context] placefigure shifting up?

2012-01-11 Thread Hans Hagen
On 11-1-2012 20:01, Meer, H. van der wrote: In my document I have a number of \placefigures, some pdf's, some jpg's etc.. Mostly the figure are placed correct with respect to, the caption but sometimes for no apparent reason I can spot, the picture is shifted up. In the first illustration

Re: [NTG-context] placefigure shifting up?

2012-01-11 Thread Hans van der Meer
I might add to this report the following observation: In a document with \setuppapersize [S8][S8] the shifts appear now and then, whereas these are typeset normally when the document is place on \setuppapersize [A4][A4]. It seems that the papersize and placefigure sometimes have a problem

Re: [NTG-context] Surprising changes in vers. 2012.01.11

2012-01-11 Thread Wolfgang Schuster
Am 11.01.2012 um 17:46 schrieb Steffen Wolfrum: ... and what's wrong with this (only reproducible in project structure, see attached)? chap_x.tex only has these 3 minimal lines: \setupalign[line,block,hanging] \setupexternalfigures[directory={./Figuren,../Figuren}] \placefigure

Re: [NTG-context] placefigure shifting up?

2012-01-11 Thread Meer, H. van der
I think I can nail the responsible one. As far as I can see the problem is tightly coupled with the following structure: \placefigure[][]{caption}{\startcombination[]{contents}{}{contents}{}\stopcombination} The other figures I have seem to placed well enough, the above structures behaving

Re: [NTG-context] Surprising changes in vers. 2012.01.11

2012-01-11 Thread Hans Hagen
={./Figuren,../Figuren}] \placefigure[force]{test}{\externalfigure[abb5][frame=off]} Unrelated to project structure. \setupalign[line]%\setfalse\raggedonelinerstate \starttext \externalfigure[cow] \stoptext indeed, that reset had to be added to the 'none' case (but I had no time to make a new

Re: [NTG-context] Page Size to Figure Size

2011-12-31 Thread Kip Warner
, parameters are node name, caption, and path... \def\FullPageDiagram#1#2#3% { \startTEXpage[offset=0mm] \startframedtext[width=0.95 \textwidth,align=center,corner=rectangular] \placefigure [force][figure:#1] {#2} {\externalfigure[#3][width=0.95\textwidth

[NTG-context] Page Size to Figure Size

2011-12-29 Thread Kip Warner
#3% { \page \setuppapersize[diagram] \setuplayout[fullpage] \startframedtext[width=.95\textwidth,bottom=\vss,top= \vss,align=right,corner=rectangular] \placefigure [force][figure:#1] {#2} {\externalfigure[#3][width=.95 \textwidth,background=color

[NTG-context] captions for figures - none - no longer working

2011-12-06 Thread Ian Lawrence
Morning all, It seems the parameter {none} is no longer effective in \placefigure: From the wiki: You get no caption with none. On at least: ConTeXt ver: 2011.11.29 23:11 MKIV fmt: 2011.12.1, this appears **not** to be the case... Anyone else - or is there some change not yet documented

Re: [NTG-context] captions for figures - none - no longer working

2011-12-06 Thread Hans Hagen
On 6-12-2011 11:43, Ian Lawrence wrote: Morning all, It seems the parameter {none} is no longer effective in \placefigure: From the wiki: You get no caption with none. On at least: ConTeXt ver: 2011.11.29 23:11 MKIV fmt: 2011.12.1, this appears **not** to be the case... Anyone else

Re: [NTG-context] terrible png placement

2011-12-03 Thread Otared Kavian
for those who want to check. % Test png addition. \starttext Place png figure.\par \placefigure{Test figure}{\externalfigure[test.png]} \stoptext Without the png-picture it makes an 8KB pdf. But with the png-picture the pdf swells to 1.8MB. And that for a png-picture of only 48KB

Re: [NTG-context] Columnsets: bug in current beta?

2011-11-29 Thread Hans Hagen
On 27-11-2011 19:58, Jaroslav Hajtmar wrote: Hello Peter. I have a similar experience. If image width is greater than the width of one column and at the same time is a picture with the caption then text does not wrap around the image. If the picture is without caption (for example \placefigure

Re: [NTG-context] Columnsets: bug in current beta?

2011-11-27 Thread Jaroslav Hajtmar
Hello Peter. I have a similar experience. If image width is greater than the width of one column and at the same time is a picture with the caption then text does not wrap around the image. If the picture is without caption (for example \placefigure[btrl,none]{}{...}) then everything works

[NTG-context] Sequentially number figures (even over chapters)

2011-11-27 Thread Mikael P. Sundqvist
. \placefigure[here][none]{A caption.}{\externalfigure[cow][width=4cm]} \chapter{This is another short chapter} It contains the same figure. \placefigure[here][none]{A caption.}{\externalfigure[cow][width=4cm]} \stoptext %%% End example both figures are called Figure 1. I would expect the second one

Re: [NTG-context] Change the gap between image and caption

2011-11-26 Thread Jaroslav Hajtmar
-context] Change the gap between image and caption Hello ConTeXt folks. Is it possible to adjust the size of the gap between the lower edge of the picture and its caption in simple externalfigure command? By experimenting I found that this gap can be set in a floating environment (placefigure) using

[NTG-context] captions trouble

2011-11-26 Thread Meer, H. van der
this be a bug? \setuppapersize[A6][A6] \starttext \placefigure[][fig:1]{label with space}{\externalfigure[arrows.pdf]} \setupcaptions[number=no] \placefigure{}{\externalfigure[arrows.pdf]} \setupcaptions[number=yes] \placefigure[][fig:3]{label without space}{\externalfigure[arrows.pdf]} \stoptext Hans van der

Re: [NTG-context] captions trouble

2011-11-26 Thread Jaroslav Hajtmar
Hello Hans, My tip is use \setupcaptions[number=yes, suffix=\hskip5mm] I do not know whether it is a clean solution, but visually it looks OK. Probably will need to determine the exact size of \hskip parameter. Jaroslav \setuppapersize[A6][A6] \starttext \placefigure[][fig:1]{label

Re: [NTG-context] captions trouble

2011-11-26 Thread Meer, H. van der
\setupcaptions[number=yes, suffix=\hskip5mm] I do not know whether it is a clean solution, but visually it looks OK. Probably will need to determine the exact size of \hskip parameter. Jaroslav \setuppapersize[A6][A6] \starttext \placefigure[][fig:1]{label with space}{\externalfigure[arrows.pdf

Re: [NTG-context] captions trouble

2011-11-26 Thread Wolfgang Schuster
a minimal example that shows the effect. Could this be a bug? \setuppapersize[A6][A6] \starttext \placefigure[][fig:1]{label with space}{\externalfigure[arrows.pdf]} \setupcaptions[number=no] \placefigure{}{\externalfigure[arrows.pdf]} \setupcaptions[number=yes] \placefigure[][fig:3

Re: [NTG-context] captions trouble

2011-11-26 Thread Wolfgang Schuster
the space between the label and the caption. I enclose a minimal example that shows the effect. Could this be a bug? \setuppapersize[A6][A6] \starttext \placefigure[][fig:1]{label with space}{\externalfigure[arrows.pdf]} \setupcaptions[number=no] \placefigure{}{\externalfigure[arrows.pdf

[NTG-context] Columnsets: bug in current beta?

2011-11-26 Thread Peter Park Nelson
] \dorecurse{5}{\input tufte\par} \startbuffer \placefigure[btlr]{A placeholder figure.}{\externalfigure[widefigure][width=\Two]} \stopbuffer \dorecurse{5}{\input tufte\par} \getbuffer \stopcolumnset \stoptext Using the current beta, the figure only cleanly spans one column -- vertical space

[NTG-context] interaction?

2011-11-25 Thread Hans van der Meer
to the various part of the3 document. Please can some enlighten me? Why are links through \placefigure, \placetable alive and those with \reference-\goto are not? Hans van der Meer ___ If your question

Re: [NTG-context] interaction?

2011-11-25 Thread Wolfgang Schuster
be used. The link works when the code above is placed BEFORE \completecontent. But becomes incative when put BEHIND it. The index however has links transferring to the various part of the3 document. Please can some enlighten me? Why are links through \placefigure, \placetable alive and those

Re: [NTG-context] interaction?

2011-11-25 Thread Meer, H. van der
of the3 document. Please can some enlighten me? Why are links through \placefigure, \placetable alive and those with \reference-\goto are not? Do you have a example? I quickly tried to put some things together but did not yet find the behaviour. But the real document is part of a project

[NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
Hello ConTeXt folks. Is it possible to adjust the size of the gap between the lower edge of the picture and its caption in simple externalfigure command? By experimenting I found that this gap can be set in a floating environment (placefigure) using inbetween parameter. Is there possibilities

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
I found that this gap can be set in a floating environment (placefigure) using inbetween parameter. Is there possibilities do gap somehow larger or smaller in externalfigure environment? See minimal example. Thanx Jaroslav \starttext \setupcaptions[number=no,style=\ssxx,inbetween

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
can be set in a floating environment (placefigure) using inbetween parameter. Is there possibilities do gap somehow larger or smaller in externalfigure environment? See minimal example. Thanx Jaroslav \starttext \setupcaptions[number=no,style=\ssxx,inbetween={\blank[1cm]}] \setupfloats

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
in simple externalfigure command? By experimenting I found that this gap can be set in a floating environment (placefigure) using inbetween parameter. Is there possibilities do gap somehow larger or smaller in externalfigure environment? See minimal example. Thanx Jaroslav \starttext

[NTG-context] caption none

2011-11-24 Thread Thomas A. Schmitz
Has something changed here? With the latest beta, \placefigure[none] places a caption; and didn't use to: \starttext \placefigure[here]{none}{\externalfigure[cow][width=5cm]} \stoptext Or has this behavior been replaced with something else? Thomas

Re: [NTG-context] caption none

2011-11-24 Thread Wolfgang Schuster
Am 24.11.2011 um 21:02 schrieb Thomas A. Schmitz: Has something changed here? With the latest beta, \placefigure[none] places a caption; and didn't use to: \starttext \placefigure[here]{none}{\externalfigure[cow][width=5cm]} \stoptext Or has this behavior been replaced

Re: [NTG-context] caption none

2011-11-24 Thread Thomas A. Schmitz
On 11/24/2011 09:12 PM, Wolfgang Schuster wrote: This was always possible: \placefigure[here,none]{}{…} Wolfgang OK, I see, now it's only the combination of these two keywords that gets rid of the caption. Conscious decision or side effect? Thomas

Re: [NTG-context] caption none

2011-11-24 Thread Hans Hagen
On 24-11-2011 22:03, Thomas A. Schmitz wrote: On 11/24/2011 09:12 PM, Wolfgang Schuster wrote: This was always possible: \placefigure[here,none]{}{…} Wolfgang OK, I see, now it's only the combination of these two keywords that gets rid of the caption. Conscious decision or side effect

Re: [NTG-context] inactive hyperlink?

2011-11-23 Thread Hans Hagen
On 21-11-2011 20:36, Hans van der Meer wrote: There is something with creating hyperlinks I do not understand. Did \setupinteraction[state=start] Situation-1: \placefigure[][reftofigure].. gives me with \in.. a clickable link. Situation-2: \pagereference[reftoplace] (or \textreference

Re: [NTG-context] Floating picture in margin with no interference with text/sections

2011-11-23 Thread Mikael P. Sundqvist
\setuplayout[ rightmargin=5cm, width=fit, ] %\setuphead[section][ %aligntitle=float, %] \starttext \showframe \section{This is a short section} It contains one figure. \placefigure[inright,top][none]{A caption.}{\externalfigure[cow][width=4cm]} \section{This is another short section

Re: [NTG-context] Floating picture in margin with no interference with text/sections

2011-11-23 Thread Hans Hagen
On 23-11-2011 17:20, Mikael P. Sundqvist wrote: Anyone knows if 1) is possible? \placefigure[margin][none]{A caption.}{\externalfigure[cow][width=4cm,height=6cm]} but it has to be improved (pretty old mechanism) Hans

[NTG-context] inactive hyperlink?

2011-11-21 Thread Hans van der Meer
There is something with creating hyperlinks I do not understand. Did \setupinteraction[state=start] Situation-1: \placefigure[][reftofigure].. gives me with \in.. a clickable link. Situation-2: \pagereference[reftoplace] (or \textreference, \reference} do give me a link-colored text with \in{txt

[NTG-context] Document with only figures

2011-11-16 Thread Charles
Hi, I would like to have a document with only figures, something like that: \starttext \placefigure[page]{\externalfigure[figure1]} \placefigure[page]{\externalfigure[figure1]} \placefloats \stoptext The problem is if I don't add some text, no PDF is created. (and this text will have its own

Re: [NTG-context] Document with only figures

2011-11-16 Thread Wolfgang Schuster
Am 16.11.2011 um 12:20 schrieb Charles: Hi, I would like to have a document with only figures, something like that: \starttext \placefigure[page]{\externalfigure[figure1]} \placefigure[page]{\externalfigure[figure1]} \placefloats \stoptext The problem is if I don't add some text

Re: [NTG-context] Document with only figures

2011-11-16 Thread Willi Egger
Hi Charles, If I use your example I get an error. The \placefigure command needs the structure \placefigure[page][]{}{\externalfigure[cow]}, where the second pair of brackets is optional (here you would place the reference). Default is centered Here the command \placefloats is not necessary

Re: [NTG-context] Document with only figures

2011-11-16 Thread Charles
Hi Willi, Sorry for the mistakes. But the default in centered horizontally but not vertically on the page, and I would like to have this. Charles Le 16/11/2011 12:40, Willi Egger a écrit : Hi Charles, If I use your example I get an error. The \placefigure command needs the structure

Re: [NTG-context] Document with only figures

2011-11-16 Thread Charles
Hi Wolfgang, Thanks for your reply. But I would like to have a figure (with placefigure) and the centerednextbox doesn't center vertically. Charles Le 16/11/2011 12:26, Wolfgang Schuster a écrit : Am 16.11.2011 um 12:20 schrieb Charles: Hi, I would like to have a document with only

Re: [NTG-context] Document with only figures

2011-11-16 Thread Wolfgang Schuster
Am 16.11.2011 um 13:26 schrieb Charles: Hi Wolfgang, Thanks for your reply. But I would like to have a figure (with placefigure) and the centerednextbox doesn't center vertically. Sorry but I used the wrong command, this works: \starttext \centerbox{\externalfigure[cow]} \centerbox

Re: [NTG-context] Document with only figures

2011-11-16 Thread Charles
I put the \placefigure (w/o the page option) of the first figure inside a \centerbox and it's working. Thank you very much for your help. Charles Le 16/11/2011 13:37, Wolfgang Schuster a écrit : Am 16.11.2011 um 13:26 schrieb Charles: Hi Wolfgang, Thanks for your reply. But I would like

[NTG-context] Floating picture in margin with no interference with text/sections

2011-11-16 Thread Mikael P. Sundqvist
, %] \starttext \showframe \section{This is a short section} It contains one figure. \placefigure[inright,top][none]{A caption.}{\externalfigure[cow][width=4cm]} \section{This is another short section} It contains the same figure. \placefigure[inright,top][none]{A caption.}{\externalfigure[cow

Re: [NTG-context] Document with only figures

2011-11-16 Thread Wolfgang Schuster
Am 16.11.2011 um 13:42 schrieb Charles: I put the \placefigure (w/o the page option) of the first figure inside a \centerbox and it's working. There are simpler ways to place a caption below the figure: \setuppairedbox[legend][align=middle] \starttext \centerbox{\placelegend

[NTG-context] images and linenumbering

2011-11-15 Thread Martin Fechner
[location=outer,method=page] \starttext \placefigure[left,4*hang,none]{} {\externalfigure[cow][width=0.2\textwidth]} \startlinenumbering \input tufte \stoplinenumbering \placefigure[right,2*hang,none]{} {\externalfigure[cow][width=0.2\textwidth]} \startlinenumbering

Re: [NTG-context] scaling the mp figure in ConTeXt

2011-11-14 Thread Hans Hagen
On 14-11-2011 08:23, Jeong Dalyoung wrote: \startbuffer[test] draw fullcircle scaled 3cm; \stopbuffer \starttext \placefigure[][]{} \processMPbuffer[test] \stoptext currentpicture := currentpicture xsized(TextWidth) ; or \placefigure[][]{}{\scale[width=\textwidth]{\processMPbuffer[test

[NTG-context] scaling the mp figure in ConTeXt

2011-11-13 Thread Jeong Dalyoung
Dear all, I use MetaFun to create a figure and embed it using \processMPbuffer[]. for example, \startbuffer[test] draw fullcircle scaled 3cm; \stopbuffer \starttext \placefigure[][]{} \processMPbuffer[test] \stoptext But sometimes, I need to rescaling the mp figure to fit the page

Re: [NTG-context] terrible png placement

2011-11-11 Thread Meer, H. van der
: Something terrible must be done to png pictures, either in ConTeXt or in luatex. I have the following minimal sample code and picture. I include the png for those who want to check. % Test png addition. \starttext Place png figure.\par \placefigure{Test figure}{\externalfigure[test.png

Re: [NTG-context] Omit part of a caption in a list

2011-11-11 Thread Christian
. Example usage: \defineselector[caption][max=2,n=2] \starttext \setupselector[caption][n=1] \completelistoffigures \setupselector[caption][n=2] \placefigure[][] {\select{caption} {A short caption} {A rather longer caption which will appear below the figure itself

Re: [NTG-context] Omit part of a caption in a list

2011-11-10 Thread Pontus Lurcock
/20060501.171706.24b88466.en.html . Example usage: \defineselector[caption][max=2,n=2] \starttext \setupselector[caption][n=1] \completelistoffigures \setupselector[caption][n=2] \placefigure[][] {\select{caption} {A short caption} {A rather longer caption which will appear below the figure itself

Re: [NTG-context] Omit part of a caption in a list

2011-11-10 Thread Christian
. Example usage: \defineselector[caption][max=2,n=2] \starttext \setupselector[caption][n=1] \completelistoffigures \setupselector[caption][n=2] \placefigure[][] {\select{caption} {A short caption} {A rather longer caption which will appear below the figure itself

Re: [NTG-context] Omit part of a caption in a list

2011-11-10 Thread Wolfgang Schuster
://archive.contextgarden.net/message/20060501.171706.24b88466.en.html . Example usage: \defineselector[caption][max=2,n=2] \starttext \setupselector[caption][n=1] \completelistoffigures \setupselector[caption][n=2] \placefigure[][] {\select{caption} {A short caption} {A rather longer

Re: [NTG-context] terrible png placement

2011-11-10 Thread Pontus Lurcock
\placefigure{Test figure}{\externalfigure[test.png]} \stoptext Without the png-picture it makes an 8KB pdf. But with the png-picture the pdf swells to 1.8MB. And that for a png-picture of only 48KB. Moreover making a zip of all this stuff brought the size back to 110KB. In the log: ConTeXt

Re: [NTG-context] xtreme tables repeating header

2011-11-07 Thread Patrick Gundlach
Hello Hans, quick hack: \placefigure[split,fixed,none]{}{...} currently only the the float related splitter will check the available space, so in your case you have a regular flush with skips between the rows and a header/footer only Works fine, thanks! Patrick

[NTG-context] defineselector

2011-11-07 Thread Alan Braslau
Hi, One can select between short and long figure captions (for an index of figures and the figure display itself, respectively) using a selector. The syntax is: \defineselector [caption] [max=2,n=2] % alternate {short}{long} captions \starttext \placefigure [here] [fig:reference

Re: [NTG-context] defineselector

2011-11-07 Thread Hans Hagen
\placefigure [here] [fig:reference] {\select{caption} {short caption} {long caption: bla, bla, bla.} } {\externalfigure [myfigure]} \startchapter [title={Figure index}] \setupselector [caption] [n=1] \placelistoffigures [criterium=all

[NTG-context] Background using Image Overlay

2011-11-07 Thread Syed N Haider
][width=\overlaywidth,height=\overlayheight]}] \starttext \noheaderandfooterlines \setupbackgrounds[page][background=backg] %\placefigure %{none} %{\externalfigure[hexagon.0][width=12cm]} \stoptext Thanks in advance Syed

Re: [NTG-context] Background using Image Overlay

2011-11-07 Thread Wolfgang Schuster
): = \defineoverlay [backg] [{\externalfigure[hexagon.0][width=\overlaywidth,height=\overlayheight]}] \starttext \noheaderandfooterlines \setupbackgrounds[page][background=backg] %\placefigure %{none} %{\externalfigure[hexagon.0][width=12cm]} \stoptext With ConTeXt

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Hans Hagen
\vrule height 7cm \stopxcell \startxcell x \stopxcell \stopxrow \startxrow \startxcell \vrule height 7cm \stopxcell \startxcell x \stopxcell \stopxrow \stopxtablebody \stopxtable \stoptext quick hack: \placefigure[split,fixed,none]{}{...} currently only the the float related splitter

[NTG-context] Wrong reference number

2011-10-26 Thread Andreas Harder
Hi all, I'm not sure if this was introduced with the latest beta, but I just realized that the referencing numbers not right. \starttext \chapter{First} \in{Figure}[fig:a] % should be 1.1 \placefigure[here][fig:a]{}{} \in{Figure}[fig:b] % should be 1.2 \placefigure[here][fig:b

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