ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: outer floats on doublesided pages
Date: Tue, 10 Sep 2013 15:18:01 +0200	[thread overview]
Message-ID: <m2sixcn7cm.fsf@unibas.ch> (raw)
In-Reply-To: <37821549-7CDF-4C42-B988-CCA60933DBD6@hccnet.nl>

Maybe what I did helps: see "Figures III" on
http://wiki.contextgarden.net/Biochemistry_textbook.  Although I used
mkII at the time.

Cheers, Jörg

R. Ermers writes:

> Hi Marco,
>
> Thank you very much indeed for your reply. This topic apparently does not interest many people.
>
> In your suggestion the figures are put in the outer margin in a vertical row below one another close to the top of the page, and not near the position in the text.
>
> I want them positioned close to the place in the text which should flow around them. I have seen examples of this made by Context. This can be obtained by specifying default=left, or default=right, only I need the figures to protrude into the (outer) margin. This for some reason does not work under mkiv.
>
> I still have some time, but my deadline is approaching.
>
> Thanks again!
>
> Kind regards,
>
> Robert
>
>
> Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:
>
>> On 2013–09–10 R. Ermers wrote:
>> 
>>> I have problems with the placement of floats. I need them to be
>>> placed in the outer edge of the text, but Context puts them in the
>>> middle of the page. The outer, inner, outeredge, inneredge,
>>> commands do not work. Right and left do work.
>> 
>> You probably confused edge and margin. By default the edge has zero
>> width and has to be enabled using \setuplayout.
>> 
>>> Preferably the criterium option should also work
>> 
>> \setupexternalfigures
>>  [location=default]
>> 
>> \setuppagenumbering
>>  [alternative=doublesided]
>> 
>> \definefloat
>>  [marginfigure]
>>  [marginfigures]
>>  [figure]
>> 
>> \setupfloat
>>  [marginfigure]
>>  [default=margin,
>>   criterium=\marginwidth]
>> 
>> \setupcaption
>>  [marginfigure]
>>  [number=no]
>> 
>> \showframe
>> \starttext
>>  \dorecurse{9}{%%
>>    \input knuth
>>    \startplacemarginfigure
>>      \externalfigure [cow] [width=\recurselevel cm]
>>    \stopplacemarginfigure}
>> \stoptext
>> 
>> 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
___________________________________________________________________________________

  parent reply	other threads:[~2013-09-10 13:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10  6:23 R. Ermers
2013-09-10  7:59 ` Marco Patzer
2013-09-10 12:13   ` R. Ermers
2013-09-10 13:04     ` Marco Patzer
2013-09-10 13:18     ` Jörg Hagmann [this message]
2013-09-10 13:30       ` R. Ermers
2013-09-10 20:05         ` outer floats on doublesided pages UNSOLVED R. Ermers
2013-09-14  5:25           ` R. Ermers
2013-09-17 10:17             ` Tim Steenvoorden
2013-09-17 15:28             ` Hans Hagen
2013-09-17 15:52               ` outer floats on doublesided pages R. Ermers
2013-09-18  8:51               ` outer floats on doublesided pages UNSOLVED Tim Steenvoorden
2013-10-01  9:46                 ` Tim Steenvoorden
2013-09-30 20:26               ` john Culleton
  -- strict thread matches above, loose matches on Subject: below --
2013-09-07 10:29 outer floats on doublesided pages R. Ermers
2013-08-30 17:08 R. Ermers
2013-09-03  7:54 ` R. Ermers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2sixcn7cm.fsf@unibas.ch \
    --to=joerg.hagmann@unibas.ch \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).