={:}]
%% Footnotes are fine and accept conversion.
%% Page numbers are also okay.
\starttext
\dorecurse{20}{
\section{Test}
This is a very simple text.
And we have a footnote\footnote{Footnote text}.
\placefigure
[][]
{Test figure.}
{\centerline{FIGURE BODY}}
\page
}
\stoptext
I use TeXLive 2015
, subsection]
\setuphead[subsubsection]
[number=no]
\starttext
\startchapter[title=Chapter title]
\input ward
\startsection[title=Section title1]
\input ward
\placefigure[here][]{Caption}
{\externalfigure[dummy]}
\startsubsubsection[title=Subsubsection
I guess the code I am looking for is the below to hatch the cut-out
section. How can I load the MetaPost hatching package in Context minimals
so it understands the hatchfill command?
Thanks
Jeroen
\startMPinclusions
input hatching;
\stopMPinclusions
\starttext
\placefigure[here,force
I am trying to graph a cylinder. Is there a way to draw a more elliptic
top/bottom. This one seems some flattened at the top and bottom. I would
like to hatch the mid elliptic that is collored grey now. Is there a way to
do this.
Thanks
Jeroen
\placefigure
[here,force]
[fig:tubing]
{Tubular
e seems some flattened at the top and
> bottom. I would like to hatch the mid elliptic that is collored grey
> now. Is there a way to do this.
>
> Thanks
> Jeroen
>
>
>
> \placefigure
>
> [here,force]
>
> [fig:tubing]
>
> {Tubular Linear Volumetric Capaci
typeset in the text and [3] as the
> reference in for example a \placefigure.
>
> What is {2} supposed to do? \goto{}Something}[] does not places Something to
> find.
>
> I tried to effect the jump to a document on my system with
> \goto{local-doc}[/Volumes/Users/myhome/Documents/my
, but starting out of the
textframe,
at the header top, as if the textframe had the same topleft corner of the
header.
Which is the best way to obtain it? Do I need a custom page makeup, a layer or
simply configuring \placefigure?
Thank you,
Massi
figure size.
Sample follows:
\definecolumnset[TwoColumns][n=2]
\usemodule[lettrine]
\starttext
\startcolumnset [TwoColumns]
\placefigure[left,none]{}{\externalfigure[D1.pdf]} % how to have left side
figure with text wrapping around it ?
This is a first paragraph.
\input tufte
and 3 is marked
REFERENCE. I could find parameter {1} typeset in the text and [3] as the
reference in for example a \placefigure.
What is {2} supposed to do? \goto{}Something}[] does not places Something to
find.
I tried to effect the jump to a document on my system with
\goto{local-doc}[/Volumes
ane]
[number=no]
\startsetups btx:duane:cite:image
{\externalfigure[\btxfield{url_image}][width=10cm]}
\stopsetups
\def\bild[#1]#2%
{\placefigure[here][#1]{#2}{\cite[image][duane::#1]}}%
\def\bildref[#1]%
{\in{\bf Fig.}[#1]}
\startsetups btx:duane:list:image
\btxfield{title}
\stopsetups
\s
\placefigure[here][img:cow]{This is a cow}{\externalfigure[cow.jpg]}\par
\placefigure[here][img::mill]{This is a mill}{\externalfigure[mill.png]}\par
The picture in \in{Figure}[img:cow] is a cow\par
The picture in \in{Figure}[img::mill] is a mill (cross reference is not
working)\par
\stoptext
help and best regards
:: and ::: have special meaning (:; for another document and ::: for
components and such)
Michael
-
\starttext
\placefigure[here][img:cow]{This is a cow}{\externalfigure[cow.jpg]}\par
\placefigure[here][img::mill]{This is a mill}{\externalfigure[mill.png]}\par
with beta, but then \btxfield in :cite:image (not in
:list:image) is broken
\setupbtxlist
[duane]
[number=no]
\startsetups btx:duane:cite:image
\placefigure[left]{\btxfield{description}}{\externalfigure[\btxfield{url_image}][width=10cm]}
\stopsetups
\startsetups btx:duane:lis
b Henning Hraban Ramm <te...@fiee.net>:
>>>>>>
>>>>>> Hi wizards,
>>>>>>
>>>>>> in my current book projects I need a list of figure references, ordered
>>>>>> by author and page number.
>>>&g
d page number.
>>>> Like this:
>>>>
>>>> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm
>>>> (p.3ff.)
>>>>
>>>> How can I do that? I.e.
>>>> - How can I assign an author name/reference to a f
>>>>> Like this:
>>>>>
>>>>> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm
>>>>> (p.3ff.)
>>>>>
>>>>> How can I do that? I.e.
>>>>> - How can I assign an author name/reference t
re references, ordered by
>> author and page number.
>> Like this:
>>
>> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm
>> (p.3ff.)
>>
>> How can I do that? I.e.
>> - How can I assign an author name/reference to a figur
numbered IX the sections are
> numbered 9.1 instead of IX.1.
> The numbering of floats with \placefigure luckily does the caption
> numbering right, i.e. there I see IX.1 as its number.
>
> Using
> \setuphead[section][conversion=Romannumerals]
> fails because then IX.I is prod
of floats with \placefigure luckily does the caption numbering
right, i.e. there I see IX.1 as its number.
Using
\setuphead[section][conversion=Romannumerals]
fails because then IX.I is produced, clearly not what is desired although the
caption numbering is not influenced.
Using
\setuphead[section
–20), Hraban Ramm
> (p.3ff.)
>
> How can I do that? I.e.
> - How can I assign an author name/reference to a figure?
> – How can I output that list?
>
> About like this?:
>
> \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban
> Ramm}
>
>
I output that list?
About like this?:
\placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban
Ramm}
\ref[t][someref] (\at{p.}[someref]) % put this in some command that is called
by \listoffigures ?
Extension: I need to integrate some unnumbered pages into the list, like
t,none}
(or \placefigure[left,none])
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-a
I seem to remember that it was possible to place a figure over the whole width
of the page inside columns as for example
\startsimplecolumns[n=2]
text in 2 columns
placefigure-over-fullwidth
further text in 2 columns
\stopsimplecolumns
However, I cannot find with what command
On 2015-08-25 03:41, Andreas Becker wrote:
ConTeXt version: 2015.08.21 19:57
In the PDF output of the following code, the first text line on the second page
only
spans half the textwidth. However, below the figure, the text should span the
whole width.
\starttext
\placefigure[right][]{caption
ConTeXt version: 2015.08.21 19:57
In the PDF output of the following code, the first text line on the second page
only
spans half the textwidth. However, below the figure, the text should span the
whole width.
\starttext
\placefigure[right][]{caption}
{
\externalfigure[nop][width=0.5\textwidth
ConTeXt version: 2015.08.21 19:57
When the «page» position key is used, the figure numbers do not match their
order in
the document. In the following example, Figure 2 precedes Figure 1.
\starttext
\placefigure[page][]{}
{
\externalfigure[nop][width=0.5\textwidth]
}
\placefigure
Hi Rik,
I actually read that Wolfgang had written, but there is some confusion for
me. Indeed, my environment uses a frame and Wolfgang said to be used \
starthanging ... \stophanging rather than \placefigure. But my text contains
a blank line which is to create a new paragraph and so I should use
(http://www.mail-archive.com/ntg-context%40ntg.nl/msg79347.html):
The \starthangaround environment reserves space for the image etc.
onlyfor the first paragraph
while \placefigure includes more paragraphs if necessary.
--
Rik
\startchapter
[title={Activités d'approche}]
\startsection
[title={Sans carreaux}]
\placefigure[right,none]{}
{
\hbox{
\starttikzpicture[=stealth,scale=0.8]
\draw [-,color=blue,ultra thick] (0,0)--(5,2);
\draw [-,color=green,ultra thick] (6,1.5)--(5,0);
\draw [-,color=red,ultra thick] (4,-0.8
to obtain the same result (by
the way, you have to say also \stopframedtext in your source file):
\startframedtext[width=\textwidth]{
\placefigure[right,none]{}{%
\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input knuth.tex }
\stopframedtext
Best regards: OK
On 08 Aug
?
The \starthangaround environment reserves space for the image etc. only
for the first paragraph
while \placefigure includes more paragraphs if necessary.
Wolfgang
___
If your question is of interest to others as well, please
)
;
b := boundingbox p leftenlarged .5EmWidth rightenlarged .5EmWidth ;
fill OverlayBox withcolor \MPcolor{MyColorA} ;
fill b withcolor \MPcolor{MyColorB} ;
draw p ;
\stopuseMPgraphic
\starttext
\startMyText
\placefigure[right,none]{}{%
\startMPcode
draw unitsquare scaled 2cm
Hi,
You should use the same width if you want to obtain the same result (by the
way, you have to say also \stopframedtext in your source file):
\startframedtext[width=\textwidth]{
\placefigure[right,none]{}{%
\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input knuth.tex
On 7/11/2015 9:17 AM, Andreas Becker wrote:
Example #2:
\starttext
\startcolumnset
\chapter{chap}
\input lorem \input lorem
\input lorem
\placefigure[][]{}{\externalfigure[bla][height=2cm]}
\placefigure[][]{}{\externalfigure[bla][height=9cm]}
\input lorem
\stopcolumnset
\stoptext
fixed
we remove the last «\input
lorem»
line.
By the way, the path in \externalfigure does not point to an existing file.
Regards, Andreas
Example #1:
\starttext
\startcolumnset
\chapter{chap}
\input lorem \input lorem
\input lorem
\placefigure[][]{}{\externalfigure[bla][height=7cm]}
\input lorem
creating the object in the structure tree. I.e. it would be
nice to have something like:
\placefigure[top][Image Reference]{Caption}{
\externalfigure[cow.pdf][width=10cm][alternate text = This images shows
a beautiful cow.]
}
The same holds for formulas: Whereas the mathml-like tagging of Context
. It would be really helpful,
if these could be defined in the source tex file, and then automatically
added when creating the object in the structure tree. I.e. it would be
nice to have something like:
\placefigure[top][Image Reference]{Caption}{
\externalfigure[cow.pdf][width=10cm][alternate
in the source tex file, and then
automatically added when creating the object in the structure tree.
I.e. it would be nice to have something like:
\placefigure[top][Image Reference]{Caption}{
\externalfigure[cow.pdf][width=10cm][alternate text = This images
shows a beautiful cow.]
}
Maybe
On Mon, 22 Jun 2015, Wolfgang Schuster wrote:
Aditya Mahajan mailto:adit...@umich.edu
22. Juni 2015 05:35
On Sun, 21 Jun 2015, Aditya Mahajan wrote:
Even the second example in strc-ref.mkvi does not work correctly.
\starttext
\chapter{test}
\placefigure[here][xx:1]{}{\framed{one
Aditya Mahajan mailto:adit...@umich.edu
22. Juni 2015 05:35
On Sun, 21 Jun 2015, Aditya Mahajan wrote:
Even the second example in strc-ref.mkvi does not work correctly.
\starttext
\chapter{test}
\placefigure[here][xx:1]{}{\framed{one}}
\placefigure[here][xx:2]{}{\framed{three
the second example in strc-ref.mkvi does not work correctly.
\starttext
\chapter{test}
\placefigure[here][xx:1]{}{\framed{one}}
\placefigure[here][xx:2]{}{\framed{three}}
\placetable [here][xx:3]{}{\framed{two}} \placetable
[here][xx:4]{}{\framed{four}}
\start
\in{fig}[xx:1
}
\subsection[sec:test]{Two}
See \in[sec:test] and \in[fig:xx] and \in[fig:yy]
\placefigure[here][fig:xx]{}{}
\placefigure[here][fig:yy]{}{}
\stoptext
Thanks,
Aditya
___
If your question is of interest to others as well, please
Hello,
Is it possible to place a figure to the right in two column mode? I
always get it centered for some reason.
\setupexternalfigures[location={local,global,default}]
\starttext
\startcolumns[two]
% doesn't work
\startplacefigure[location={nonumber,right,high}]
in combination with “location=middle” or use a float command like
\placefigure.
\startxmlsetups xmlcommon
\xmlsetsetup{\xmldocument}{table|tr|td}{xmlcommon:*}
\stopxmlsetups
\xmlregistersetup{xmlcommon}
\startxmlsetups xmlcommon:table
% \removeunwantedspaces
\startembeddedxtable
when you replace \midaligned with
a framedtext
environment in combination with “location=middle” or use a float command
like \placefigure.
I think I can reduce the number of places where spaces have to be suppressed.
With just 2 \removeunwantedspaces and 1 \ignorespaces I get rid of most
=middle” or use a float command like
\placefigure.
I think I can reduce the number of places where spaces have to be suppressed.
With just 2 \removeunwantedspaces and 1 \ignorespaces I get rid of most of
them. The \framed[offset=0pt] shows where spurious space is still inserted.
Only 1 space
{\starttikzpicture
...
% content
...
\stoptikzpicture}
(With \placefigure or \placerecipe or whatever used as usual before
the \hbox{}.)
We might want to coordinate a patch with the TikZ team.
Yes, it is a two line change in t-tikz that would not affect the latex or plain
tex behavior.
it all depends
...
\stoptikzpicture}
(With \placefigure or \placerecipe or whatever used as usual before
the \hbox{}.)
We might want to coordinate a patch with the TikZ team.
Yes, it is a two line change in t-tikz that would not affect the latex or plain
tex behavior.
Aditya
. If I
remember correctly the behaviour is different in LaTeX.
An easy workaround (that I always use) is to enclose the graphic into
an \hbox{}, like this:
\hbox{\starttikzpicture
...
% content
...
\stoptikzpicture}
(With \placefigure or \placerecipe or whatever used as usual before
the \hbox{}.)
We
to work)
and you have to use a combination of \removeunwantedspaces and \ignorespaces to
remove them.
To center your table this isn’t necessary when you replace \midaligned with a
framedtext
environment in combination with “location=middle” or use a float command like
\placefigure.
\startxmlsetups
(as one ends with way too many numbers otherwise). The figure
numbering is screwed up, I get:
- Figure 1.1
- Figure 2
- Figure 1.3
\setuphead
[subsubsection]
[number=no]
\starttext
\chapter{Chapter A}
\section{Section B}
\subsection{Subsection C}
\placefigure[force]{correct
\chapter{Chapter A}
\section{Section B}
\subsection{Subsection C}
\placefigure[force]{correct prefix}{test}
\subsubsection{Subsubsection D}
\placefigure[force]{no prefix number}{test}
\subsection{Subsection E}
\placefigure[force]{correct prefix}{test}
\stoptext
How to fix that?
Thank you,
Mojca
}
\placefigure[force]{correct prefix}{test}
\subsubsection{Subsubsection D}
\placefigure[force]{no prefix number}{test}
\subsection{Subsection E}
\placefigure[force]{correct prefix}{test}
\stoptext
How to fix that?
Thank you,
Mojca
ends with way too many numbers otherwise). The figure
numbering is screwed up, I get:
- Figure 1.1
- Figure 2
- Figure 1.3
\setuphead
[subsubsection]
[number=no]
\starttext
\chapter{Chapter A}
\section{Section B}
\subsection{Subsection C}
\placefigure[force]{correct prefix}{test
the space before the images
changes
\showframe
\starttext
\chapter{Test}
\placefigure[top]{Dummy}{\externalfigure[dummy]}
\input tufte
\stoptext
Wolfgang
___
If your question is of interest to others as well
Peter Münster írta:
On Sat, May 09 2015, Csikos Bela wrote:
\placefigure, \externalfigure and combinations. The images should be scaled
to the
same size, eg to .25\textwith and .3\textheight so that the aspect ratios
of the images
are kept and the appropriate value is used for width
On 5/9/2015 10:26 PM, Csikos Bela wrote:
Hello list members:
I would like to make a photo montage (4x3 images on one page) using
\placefigure, \externalfigure and combinations. The images should be scaled to
the
same size, eg to .25\textwith and .3\textheight so that the aspect ratios
Hello list members:
I would like to make a photo montage (4x3 images on one page) using
\placefigure, \externalfigure and combinations. The images should be scaled to
the
same size, eg to .25\textwith and .3\textheight so that the aspect ratios of
the images
are kept and the appropriate value
On Sat, May 09 2015, Csikos Bela wrote:
\placefigure, \externalfigure and combinations. The images should be scaled
to the
same size, eg to .25\textwith and .3\textheight so that the aspect ratios of
the images
are kept and the appropriate value is used for width or height.
What
A}
\section{Section B}
\subsection{Subsection C}
\placefigure[force]{correct prefix}{test}
\subsubsection{Subsubsection D}
\placefigure[force]{no prefix number}{test}
\subsection{Subsection E}
\placefigure[force]{correct prefix}{test}
\stoptext
How to fix that? (I know that I can used something else than
?
Thanks,
Brian
\setuppapersize[letter,portrait][letter,portrait]
\setupcaption[figure][location=top,align={flushleft}]
\showframe
\starttext
\setuplayout[backspace=2.75in,leftmargin=2.25in,rightmargin=0.5in,cutspace=0.5in,location=middle,width=middle,margindistance=0.00in]
\placefigure[inleft
On 2015-04-26 14:01, Hans Hagen wrote:
On 4/26/2015 3:32 AM, Rik Kabel wrote:
I have two problems with figures placed into the left or right margin.
When the figure is in a group, extra whitespace is inserted between the
paragraphs that precede and follow the placefigure command. This happens
On 4/26/2015 3:32 AM, Rik Kabel wrote:
I have two problems with figures placed into the left or right margin.
When the figure is in a group, extra whitespace is inserted between the
paragraphs that precede and follow the placefigure command. This happens
for figures placed by startplacefigure
I have two problems with figures placed into the left or right margin.
When the figure is in a group, extra whitespace is inserted between the
paragraphs that precede and follow the placefigure command. This happens
for figures placed by startplacefigure/stopplacefigure and tradiitonal
that the font used in each cell of \text
changes randomly (there are four instances of \text, and each time a different
font is used…):
begin random-text-size.tex
\usemodule[steps]
\starttext
\input knuth.tex
\placefigure[none][-]{}{
\startSTEPtable
\cell {$(f\circ u)(x_{*} + o(1
\placefigure[none][-]{}{
\startSTEPtable
\cell {$(f\circ u)(x_{*} + o(1)) = $} \text{definition of
$f\circ u$} \cell {$f\left(u\left(x_{*} + o(1)\right)\right) = $}
\text {$u$ is continuous} \cell {$f\left(u(x_{*}) + o(1)\right) = $}
\text {$f$ is continuous} \cell {$f\left(u(x_{*})\right) + o
Hi,
how can I set a label for a figure without
\placefigure[][fig:...]{}
for some figures I use strange macros -- and at those places I get errors
when calling \placefigure
BUT I'd like to check the page numbers of those places using
\doifreferencefoundelse{fig:bild\the\bildnr
On Thu, 16 Apr 2015 17:27:17 +0200
Harald Koenig koe...@tat.physik.uni-tuebingen.de wrote:
how can I set a label for a figure without
\placefigure[][fig:...]{}
for some figures I use strange macros -- and at those places I get
errors when calling \placefigure BUT I'd like to check
.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par
\verbatim{\setuplabeltext[figure={}]}
Result:
Reference to figure 1 (\in{figure}[figure-1])
\placefigure[][figure-1]{This is the caption}{\framed{Some figure}}
\hairline
\setupcaption[figure
{\setuplabeltext[figure={}]}
Result:
Reference to figure 1 (\in{figure}[figure-1])
\placefigure[][figure-1]{This is the caption}{\framed{Some figure}}
\hairline
\setupcaption[figure][suffix={. ábra},numberstopper={.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][suffix={. ábra
.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par
\verbatim{\setuplabeltext[figure={}]}
Result:
Reference to figure 1 (\in{figure}[figure-1])
\placefigure[][figure-1]{This is the caption}{\framed{Some figure}}
\hairline
\setupcaption[figure
appear in the middle.
This is what I have this far:
\setupwhitespace[medium]
\starttext
\inmargin{\externalfigure[warning]}
\input tufte
\inmargin{\externalfigure[warning]}
Really short paragraph.
\inleft{
\placefigure[none][]{}
{\externalfigure[warning]}
}
\input
) \stopMPcode}
\starttext
The word \Shogun\ shall be decorated with the crown shown in
fig~\in[fig:crown]:
\placefigure[here][fig:crown]{The crown that shall decorate the \quote{g}
in \quotation{Shogun}}{
\startMPcode
fill
(-20,-17.5)--(20,-17.5)--(30,12.5)--(10,-2.5)--(0,17.5)--(-10,-2.5
the size of
captions inside combinations, as in the following case for example
(otherwise the subcaptions are too big in comparison):
\setupcaptions[style={\switchtobodyfont[8pt]}]
\setupexternalfigures[location={default}]
\starttext
\placefigure{Cows in \ConTeXt}
{\startcombination
this doesn't seem to work well -- at least not within \placefigure
I've tried this replacement in my \bild macro which should be equivalent (or
better?)
% \ifodd\bildpage \def\eo{o}\else \def\eo{e}\fi
% \ifodd\bildpage \def\lr{r}\else \def\lr{l}\fi
\dontleavehmode\signalrightpage
this doesn't seem to work well -- at least not within \placefigure
I've tried this replacement in my \bild macro which should be equivalent (or
better?)
% \ifodd\bildpage \def\eo{o}\else \def\eo{e}\fi
% \ifodd\bildpage \def\lr{r}\else \def\lr{l}\fi
\dontleavehmode\signalrightpage
big in comparison):
\setupcaptions[style={\switchtobodyfont[8pt]}]
\setupexternalfigures[location={default}]
\starttext
\placefigure{Cows in \ConTeXt}
{\startcombination[2*1]
{\mirror{\externalfigure[cow][width=4cm]}}{First cow}
{\externalfigure[cow][width=4cm]}{Second cow
for example
(otherwise the subcaptions are too big in comparison):
\setupcaptions[style={\switchtobodyfont[8pt]}]
\setupexternalfigures[location={default}]
\starttext
\placefigure{Cows in \ConTeXt}
{\startcombination[2*1]
{\mirror{\externalfigure[cow][width=4cm]}}{First cow
q;
draw vertical;
label(textext( \MPstring{labelcima} ), center cima);
label(textext( \MPstring{labelesquerda} ), center esquerda);
label(textext( \MPstring{labeldireita} ), center direita);
\stopuniqueMPgraphic
\starttext
\placefigure[center, nonumber]{}{
\Bolha[size=6cm]{$C_m$ (g/dm\high
On Fri, Feb 20, 2015 at 2:57 PM, Alan BRASLAU alan.bras...@cea.fr wrote:
Why do you use a float at all?
You can place your graphic in the layer without using \placefigure.
Ah, this was the important thing. I've been placing graphics in floats
for so long that I've forgotten there's another way
at all?
You can place your graphic in the layer without using \placefigure.
Alan
___
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
of a graphic.
Mari,
Why do you use a float at all?
You can place your graphic in the layer without using \placefigure.
then that is the problem ... doing something vertical pageflow related
inside a box ... indeed no float has to be used there
Hans
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote:
remeve the placefigure in that line, so :
\midaligned
{\externalfigure
[Makeup/Images/Cartesian_Theatre.svg]
[width=0.25\textwidth]}
a midaligned is a hbox while a placefigure operates in the mvl
Thanks
with the following error:
tex errorerror on line 32 in file
Handbook/Handbook.tex: ! You can't use `\prevdepth' in
restricted horizontal mode
Any help appreciated.
remeve the placefigure in that line, so :
\midaligned
{\externalfigure
[Makeup/Images
On 1/26/2015 7:26 PM, Kip Warner wrote:
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote:
remeve the placefigure in that line, so :
\midaligned
{\externalfigure
[Makeup/Images/Cartesian_Theatre.svg]
[width=0.25\textwidth]}
a midaligned is a hbox while
;
draw p withcolor \MPcolor{Border} dashed evenly withpen pencircle scaled
1.2pt ;
\stopuniqueMPgraphic
\defineoverlay[borderline][\uniqueMPgraphic{borderline}]
\placefigure[right,none]{}{
\start
\switchtobodyfont[7pt]
\startMPcode
numeric u;
u=0.7cm;
z0=(0,0) ;
z1=(2.5u,0) ;
z2=(2.5u,2.5u) ;
z3
lines stop at the edge of the frame?
\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint]
\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]
\starttext
\startitemize[n][stopper={.},style=bold]
\placefigure[right,none
=on][force]
{\input tufte}
\input tufte
Desired behaviour:
\placefigure[force]{\input tufte}
{\hbox to
.75\textwidth{\hss\framed[width=\textwidth,height=.2\textwidth]{}\hss}}
\input tufte
\stoptext
I've seen an option maxwidth, but only in connection to
\externalfigure[...][maxwidth=...].
I can
Desired behaviour:
\placefigure[force]{\input tufte}
{\hbox to
.75\textwidth{\hss\framed[width=\textwidth,height=.2\textwidth]{}\hss}}
\input tufte
\stoptext
I've seen an option maxwidth, but only in connection to
\externalfigure[...][maxwidth=...].
I can cheat as on the third figure
][stopper={.},style=bold]
\placefigure[right,none]{}{
\startframedtext[
width=6cm,
frame=on,
framecolor=H1prime,
location=middle,
background=color,
backgroundcolor=H4]
\switchtobodyfont[10pt]
Ingrédients (pour 4 personnes)
\startitemize[1]
\item \unit{1 kg} de pommes de terre
]
\placefigure[right,none]{}{
\startframedtext[
width=6cm,
frame=on,
framecolor=H1prime,
location=middle,
background=color,
backgroundcolor=H4]
\switchtobodyfont[10pt]
Ingrédients (pour 4 personnes)
\startitemize[1]
\item \unit{1 kg} de pommes de terre
\item \unit{60 g} de fromage râpé
,frame=on][force]
{Some very small figure with not too much text: OK}
\input tufte
This can hardly be distinguished from the main text:
\reservefigure
[width=\textwidth,height=.2\textwidth,frame=on][force]
{\input tufte}
\input tufte
Desired behaviour:
\placefigure[force]{\input tufte}
{\hbox
with not too much text: OK}
\input tufte
This can hardly be distinguished from the main text:
\reservefigure
[width=\textwidth,height=.2\textwidth,frame=on][force]
{\input tufte}
\input tufte
Desired behaviour:
\placefigure[force]{\input tufte}
{\hbox to
.75\textwidth{\hss\framed[width=\textwidth
}[match(chapter:ending)]
\in{section}[match(section:ending)]
\in{figure}[match(float:mess)]
\in{figure}[match(figure:mess)]
\in{figure (not found)}[match(section:mess)]
\in{figure (not found)}[match(section:)]
\in{figure}[match(mess)]
\placefigure{What a mess}{}
\chapter{About complex
\textwidth]
\setupTABLE[row][first][background=color,backgroundcolor=mycolor]
\bTR
\bTD
${\cal P}_1$ et ${\cal P}_2$ sont {\bf sécants}.
\eTD
\bTD[nc=2]
${\cal P_1}$ et ${\cal P_2}$ sont {\bf parallèles}.
\eTD
\eTR
\bTR
\bTD
\dontleavehmode\placefigure[] {${\cal P}_1$ et ${\cal P}_2$ sont {\bf
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
\placefigure{}{\externalfigure[picture.png]}
\stoptext
just
\placefigure{}{\externalfigure[picture.png][width=2cm]}
picture.png just gets inserted at its native size, rather than scaled to
have the specified width. What am I doing wrong? (setting minwidth
and/or maxwidth doesn't seem to work
it accepts a width= argument:
\setupfloat[figure][width=2cm]
\starttext
\placefigure{}{\externalfigure[picture.png]}
\stoptext
just
\placefigure{}{\externalfigure[picture.png][width=2cm]}
picture.png just gets inserted at its native size, rather than scaled to
have the specified width
On 29 Nov 2014, at 11:49 , Mark Szepieniec mszep...@gmail.com wrote
Sorry, I should have mentioned I was able to work around it by doing
exactly that, but I'd rather not have to edit all the \placefigure
instances if I decide to change the width.
Also I'd like to use a different default
it accepts a width= argument:
\setupfloat[figure][width=2cm]
\starttext
\placefigure{}{\externalfigure[picture.png]}
\stoptext
just
\placefigure{}{\externalfigure[picture.png][width=2cm]}
picture.png just gets inserted at its native size, rather than scaled
401 - 500 of 2041 matches
Mail list logo