ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: Yue Wang <yuleopen@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Questions related to margin/dynamic layout
Date: Mon, 29 Aug 2011 18:41:22 +0200	[thread overview]
Message-ID: <D5ED9B40-EBE4-4982-B09F-63BA76BE3697@googlemail.com> (raw)
In-Reply-To: <CA+C1juan0WQHqxLVZk30g8iSCcLiX6kkMGHA-0cyHaruOQBafw@mail.gmail.com>


Am 27.08.2011 um 05:40 schrieb Yue Wang:

> Hi,
> 
> I have two questions related to margin:
> 
> - is it possible to move footnotes to margin?

\setupnote          [footnote][location=none]
\setupnotedefinition[footnote][location=serried,width=broad]

\setuptexttexts
 [margin]
 []
 [{\framed[align=right,frame=off,height=\textheight,width=\rightmarginwidth]{\placenotes[footnote]}}]

\starttext
\dorecurse{20}{\input knuth\reference[foo:#1]{#1}\footnote{Knuth #1}}
\stoptext

> - similar question: I want to have a list in the margin with all the
> indexes in the given page.
> 
> How to make these possible?
> 
> Third question is related to layout.
> 
> I know how to change page layout for a particular page. but how to
> change layout for a page whose number is unknown?
> 
> for example, I am writing a book that has several large pictures
> (imagine a portfolio, or a book introducing photography).
> 
> in order to fit the pictures I plan to set each pictures as page
> background or layers, that spans 3/2 pages, while leaving the
> remaining span (1/2 page) for text.
> 
> however, I don't know which page number the picture should be reside,
> but I know it should be put near some given text content.
> 
> it's not possible to manually give the page number according to the
> content because usually document context/formatting change all the
> time.
> 
> how to do that?

You can fix a float to a certain position with \placeFLOAT[force]{…}{…}.

TO shorten/enlarge a page you can put \adaptlayout in your document
and context change the layout of the page where the command is seen.

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
___________________________________________________________________________________


  parent reply	other threads:[~2011-08-29 16:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-27  3:40 Yue Wang
2011-08-28 14:25 ` Yue Wang
2011-08-29 16:41 ` Wolfgang Schuster [this message]
2011-08-29 17:00   ` Yue Wang
2011-08-29 17:45     ` Wolfgang Schuster
2011-08-30  0:32       ` Yue Wang

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=D5ED9B40-EBE4-4982-B09F-63BA76BE3697@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=yuleopen@gmail.com \
    /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).