Changes

Jump to navigation Jump to search
964 bytes removed ,  07:30, 1 December 2022
deleted "hangaround" section (MkII)
This is a [[Right_and_left|FAQ item]].
<span id="setupnotation v setupnote"></span>
== Footnotes: The Difference between {{cmd|setupnotation}} and {{cmd|setupnote}} ==
(For more definite answers concerning the ''notes'' mechanism, use the
source, Luke: {{src|strc-not.mkvi}}.)
 
== Float Insertion Issues ==
\stoptext
</texcode>
 
Another solution can be the less-known ''hangaround environment''
({{cmd|starthangaround}}, cf.
[[Using_Graphics#Flow_text_around_a_picture|Hangaround]]).
It lets the text of a given paragraph (the content of the environment)
flow around a box (the first argument).
In contrast to real floats it does not place a caption.
This poses a problem in MkIV as the new code will not allow placing
captions arbitrarily.
[[http://repo.or.cz/w/context.git/blob/refs/heads/origin:/tex/context/base/strc-flt.mkvi#l257]]
(If you desparately need separate captions please send a feature
request to one of the
[[ConTeXt_Mailing_Lists#Mailing Lists]]).
 
<context source="yes" mode="mkii">
\starttext
\input dawkins
 
\starthangaround{
\framed[align=right,frame=off,width=.3\textwidth]{
\externalfigure [cow] [width=.3\textwidth]\crlf
%% NB the fake caption works *only in mkii*
\placefloatcaption
[figure]
[ref:acow]
{A smiling Dutch cow.
{\italic Bos primigenius taurus}}
}
}
\input dawkins
\stophangaround
 
\input dawkins
\stoptext
</context>
=== The “paragraph in a group” problem ===
pass being omitted.
In [[MetafunMetaFun - MetaPost in ConTeXt]], the default Metapost format in Context, the booleans
<code>mfun_first_run</code> and <code>mfun_trial_run</code> allow
detecting the individual stages:
\stoptext
</texcode>
 
[[Category:Basics]]
[[Category:Tools]]

Navigation menu