[NTG-context] margins while two columns texts

2012-01-11 Thread Pavel Dohnal
Hello,
I want to have text in two columns and use inmargin. But in margin allways
put objects to left margin. I want in left column place objects to left
margin and in right column to place objects to right margin. It is possible
in ConTEXT somehow?
___
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
___

Re: [NTG-context] margins

2008-03-26 Thread Wolfgang Schuster
On Tue, Mar 25, 2008 at 10:55 PM, Peter I. Hansen [EMAIL PROTECTED] wrote:

 On Tue, Mar 25, 2008 at 9:06 PM, Henning Hraban Ramm [EMAIL PROTECTED] 
 wrote:
  Am 2008-03-25 um 01:51 schrieb Joel C. Salomon:
 
   In other words, you want large inner margins and small outer margins.
 However, the standard behaviour seems to be the opposite.
For very good reason.  When a two-page spread is laid flat, it usually
looks best if the outer margins are both approximately equal in width
to the combined inner margins.  The default layout takes that into
account.
   
While the binding of a book does eat some of the inner margin, it's
probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on
the
binding method), and often the print shop can correct for that.  (If
you need to be exact, measure against a book bound where your book
will be and in the same method.)
 
   It depends on the binding method.
 
   The traditional margin sizes are only good for thread-stitching.
   If your book's bound threadless (perfect binding, Wire-O etc.) your
   inner margins need to be bigger (not always bigger as the outer, but
   at least bigger than the traditional measures).
 
   It's not only that the bookbinder mills away a few millimeters of the
   page - you can't open a adhesive bound book as much as a thread-
   stitched, so you need a wider gutter to be able to read the book
   without destroying the binding. (Or in case of spiral binding the
   holes for the wire need enough space.)
 
   And if you need to send your PDF print-ready to your printshop (maybe
   books-on-demand maker), there's nobody else who will correct for that.
 
   Insofar the OP's question is well justified.
   Even if he could have found the answer easily himself:
 
   Of course you can define your page layout at will,
   see http://wiki.contextgarden.net/Layout

 Well, the information here does not solv my problem completely.
 The thing is, that while I do want the inner margins to be larger than
 the outer, my description also implies that the odd numbered pages are
 right pages, which is sometimes a requirement for printed books.
 I have tried to define the margins following the Layout section of the
 manual, but I can't figure out how to change that the odd pages are
 assumed to be left pages.

\setuppagenumbering[alternative=doublesided]

\setuplayout
  [backspace=4cm,
   cutspace=2cm,
   width=fit]

%\setuplayout
%  [backspace=4cm,
%   width=15cm]

\starttext
\dorecurse{100}{\input knuth\par}
\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] margins

2008-03-26 Thread Peter I. Hansen
On Wed, Mar 26, 2008 at 8:12 AM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:

 On Tue, Mar 25, 2008 at 10:55 PM, Peter I. Hansen [EMAIL PROTECTED] wrote:
  
   On Tue, Mar 25, 2008 at 9:06 PM, Henning Hraban Ramm [EMAIL PROTECTED] 
 wrote:
Am 2008-03-25 um 01:51 schrieb Joel C. Salomon:
   
 In other words, you want large inner margins and small outer margins.
   However, the standard behaviour seems to be the opposite.
  For very good reason.  When a two-page spread is laid flat, it usually
  looks best if the outer margins are both approximately equal in width
  to the combined inner margins.  The default layout takes that into
  account.
 
  While the binding of a book does eat some of the inner margin, it's
  probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on
  the
  binding method), and often the print shop can correct for that.  (If
  you need to be exact, measure against a book bound where your book
  will be and in the same method.)
   
 It depends on the binding method.
   
 The traditional margin sizes are only good for thread-stitching.
 If your book's bound threadless (perfect binding, Wire-O etc.) your
 inner margins need to be bigger (not always bigger as the outer, but
 at least bigger than the traditional measures).
   
 It's not only that the bookbinder mills away a few millimeters of the
 page - you can't open a adhesive bound book as much as a thread-
 stitched, so you need a wider gutter to be able to read the book
 without destroying the binding. (Or in case of spiral binding the
 holes for the wire need enough space.)
   
 And if you need to send your PDF print-ready to your printshop (maybe
 books-on-demand maker), there's nobody else who will correct for that.
   
 Insofar the OP's question is well justified.
 Even if he could have found the answer easily himself:
   
 Of course you can define your page layout at will,
 see http://wiki.contextgarden.net/Layout
  
   Well, the information here does not solv my problem completely.
   The thing is, that while I do want the inner margins to be larger than
   the outer, my description also implies that the odd numbered pages are
   right pages, which is sometimes a requirement for printed books.
   I have tried to define the margins following the Layout section of the
   manual, but I can't figure out how to change that the odd pages are
   assumed to be left pages.

  \setuppagenumbering[alternative=doublesided]

  \setuplayout
   [backspace=4cm,
cutspace=2cm,
width=fit]

  %\setuplayout
  %  [backspace=4cm,
  %   width=15cm]

  \starttext
  \dorecurse{100}{\input knuth\par}
  \stoptext

Thanks Wolfgang, this works.

-Peter
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] margins

2008-03-25 Thread Henning Hraban Ramm
Am 2008-03-25 um 01:51 schrieb Joel C. Salomon:
 In other words, you want large inner margins and small outer margins.
  However, the standard behaviour seems to be the opposite.
 For very good reason.  When a two-page spread is laid flat, it usually
 looks best if the outer margins are both approximately equal in width
 to the combined inner margins.  The default layout takes that into
 account.

 While the binding of a book does eat some of the inner margin, it's
 probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on  
 the
 binding method), and often the print shop can correct for that.  (If
 you need to be exact, measure against a book bound where your book
 will be and in the same method.)

It depends on the binding method.

The traditional margin sizes are only good for thread-stitching.
If your book's bound threadless (perfect binding, Wire-O etc.) your  
inner margins need to be bigger (not always bigger as the outer, but  
at least bigger than the traditional measures).

It's not only that the bookbinder mills away a few millimeters of the  
page - you can't open a adhesive bound book as much as a thread- 
stitched, so you need a wider gutter to be able to read the book  
without destroying the binding. (Or in case of spiral binding the  
holes for the wire need enough space.)

And if you need to send your PDF print-ready to your printshop (maybe  
books-on-demand maker), there's nobody else who will correct for that.

Insofar the OP's question is well justified.
Even if he could have found the answer easily himself:

Of course you can define your page layout at will,
see http://wiki.contextgarden.net/Layout


Greetlings from Lake Constance!
Hraban (typesetter  printing engineer)
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] margins

2008-03-25 Thread Peter I. Hansen
On Tue, Mar 25, 2008 at 9:06 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote:
 Am 2008-03-25 um 01:51 schrieb Joel C. Salomon:

  In other words, you want large inner margins and small outer margins.
However, the standard behaviour seems to be the opposite.
   For very good reason.  When a two-page spread is laid flat, it usually
   looks best if the outer margins are both approximately equal in width
   to the combined inner margins.  The default layout takes that into
   account.
  
   While the binding of a book does eat some of the inner margin, it's
   probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on
   the
   binding method), and often the print shop can correct for that.  (If
   you need to be exact, measure against a book bound where your book
   will be and in the same method.)

  It depends on the binding method.

  The traditional margin sizes are only good for thread-stitching.
  If your book's bound threadless (perfect binding, Wire-O etc.) your
  inner margins need to be bigger (not always bigger as the outer, but
  at least bigger than the traditional measures).

  It's not only that the bookbinder mills away a few millimeters of the
  page - you can't open a adhesive bound book as much as a thread-
  stitched, so you need a wider gutter to be able to read the book
  without destroying the binding. (Or in case of spiral binding the
  holes for the wire need enough space.)

  And if you need to send your PDF print-ready to your printshop (maybe
  books-on-demand maker), there's nobody else who will correct for that.

  Insofar the OP's question is well justified.
  Even if he could have found the answer easily himself:

  Of course you can define your page layout at will,
  see http://wiki.contextgarden.net/Layout

Well, the information here does not solv my problem completely.
The thing is, that while I do want the inner margins to be larger than
the outer, my description also implies that the odd numbered pages are
right pages, which is sometimes a requirement for printed books.
I have tried to define the margins following the Layout section of the
manual, but I can't figure out how to change that the odd pages are
assumed to be left pages.

-Peter
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] margins

2008-03-24 Thread Peter I. Hansen
Hi

I'm typesetting a document to be printed in book format. For this
purpose I need the left margin of an odd numbered page to be larger
than the right margin, and the right margin of an even numbered page
to be larger than the left margin.
However, the standard behaviour seems to be the opposite.

Can any of you give me an example of how to reverse this?

Thanks, Peter
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] margins

2008-03-24 Thread Joel C. Salomon
On Mon, Mar 24, 2008 at 6:27 PM, Peter I. Hansen [EMAIL PROTECTED] wrote:
  I'm typesetting a document to be printed in book format. For this
  purpose I need the left margin of an odd numbered page to be larger
  than the right margin, and the right margin of an even numbered page
  to be larger than the left margin.

In other words, you want large inner margins and small outer margins.

  However, the standard behaviour seems to be the opposite.

For very good reason.  When a two-page spread is laid flat, it usually
looks best if the outer margins are both approximately equal in width
to the combined inner margins.  The default layout takes that into
account.

While the binding of a book does eat some of the inner margin, it's
probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on the
binding method), and often the print shop can correct for that.  (If
you need to be exact, measure against a book bound where your book
will be and in the same method.)

--Joel
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-08 Thread Mojca Miklavec
On 9/7/07, Kumar Appaiah wrote:
 On Fri, Sep 07, 2007 at 09:18:30AM +0200, Oliver Buerschaper wrote:
  Perhaps
 
  setbounds currentpicture to boundingbox currentpicture enlarged 5mm;
 
  at the end of your MetaPost drawing might do what you want?

 That's probably in the right direction, but the MetaPost newbie I am,
 I am unable to figure out the error:

 mpost seminar.mp
 This is MetaPost, Version 0.993 (Web2C 7.5.6)
 (seminar.mp (/usr/share/texmf-texlive/metapost/base/TEX.mp)
 (/usr/share/texmf-texlive/metapost/base/boxes.mp)
  boundingbox.currentpicture.enlarged1cm
 ! Improper `clip'.
 to be read again
;
 l.26 ...o boundingbox currentpicture enlarged 1cm;

 ?

 What error could this be? The line I added is:
  setbounds currentpicture to boundingbox currentpicture enlarged 1cm;

Since plain metapost doesn't know about ConTeXt (metafun) extentions,
you need to:
- either add a line input metafun ; at the top of your metapost files
- or run mptopdf seminar.mp which will run metapost+create PDF
instead of running mpost/mp seminar.mp first and convert to PDF
later

When including a picture in ConTeXt, one options could also be to use:
\framed[frame=off,offset=1cm,strut=no,background=color,backgroundcolor=white]%
{\externalfigure[...]}
But that's slightly long and tedious, unless you write your own macro
wrapper around it.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-08 Thread Kumar Appaiah
Dear Mojka,

On Sat, Sep 08, 2007 at 11:14:30AM +0200, Mojca Miklavec wrote:
 Since plain metapost doesn't know about ConTeXt (metafun) extentions,
 you need to:
 - either add a line input metafun ; at the top of your metapost files

This works just as I expect! Many thanks!

 - or run mptopdf seminar.mp which will run metapost+create PDF
 instead of running mpost/mp seminar.mp first and convert to PDF
 later

This gives me some font issues, but I am not really bothered, since
the excitement of seeing the first solution work has stopped me from
probing further here.

 When including a picture in ConTeXt, one options could also be to use:
 \framed[frame=off,offset=1cm,strut=no,background=color,backgroundcolor=white]%
 {\externalfigure[...]}
 But that's slightly long and tedious, unless you write your own macro
 wrapper around it.

I understand, but it will be useful elsewhere.

Again, many thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-07 Thread Wolfgang Schuster
2007/9/7, Oliver Buerschaper [EMAIL PROTECTED]:
  mpost seminar.mp
  This is MetaPost, Version 0.993 (Web2C 7.5.6)
  (seminar.mp (/usr/share/texmf-texlive/metapost/base/TEX.mp)
  (/usr/share/texmf-texlive/metapost/base/boxes.mp)
  boundingbox.currentpicture.enlarged1cm
  ! Improper `clip'.
  to be read again
 ;
  l.26 ...o boundingbox currentpicture enlarged 1cm;
 
  ?

 Oh, seems like I forgot that you wanted to run MetaPost externally.
 The command enlarged isn't contained in standard MetaPost but only
 in the extension MetaFun (i.e. MetaPost plus quite a number of
 predefined MetaPost macros) that comes with ConTeXt. Therefore the
 error is thrown ...

 Why not try this (in ConTeXt):

 ---

 \starttext

 \startuseMPgraphic{yourPicture}
 % put your MetaPost code here (without beginfig(); and endfig;)
 setbounds currentpicture to boundingbox currentpicture enlarged 1cm;
 \stopuseMPgraphic

 \useMPgraphic{yourPicture}

 \stoptext

He can set the offset in ConTeXt and not in MetaPost, e.g.

\offset[leftoffset=...]{\externalfigure[fugurename]}

The \offset command is described in the details manual, he can also
look at the definition in core-box.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-07 Thread Oliver Buerschaper
 I am making a presentation with ConTeXt, with numerous MetaPost
 figures. Now, the only problem is that my white MetaPost figures don't
 blend well with the dark background of the screen. This isn't too good
 since the text labels in my figure's edges appear too close to the
 edge. What I'd like to know is, whether there's a way to specify some
 extra margin space around the figure, which would provide some more
 white area around the MetaPost figure. Alternately, is there an
 elegant MetaPost way of specifying figure margins?


Perhaps

setbounds currentpicture to boundingbox currentpicture enlarged 5mm;

at the end of your MetaPost drawing might do what you want?

Oliver
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-07 Thread Oliver Buerschaper
 mpost seminar.mp
 This is MetaPost, Version 0.993 (Web2C 7.5.6)
 (seminar.mp (/usr/share/texmf-texlive/metapost/base/TEX.mp)
 (/usr/share/texmf-texlive/metapost/base/boxes.mp)
 boundingbox.currentpicture.enlarged1cm
 ! Improper `clip'.
 to be read again
;
 l.26 ...o boundingbox currentpicture enlarged 1cm;

 ?

Oh, seems like I forgot that you wanted to run MetaPost externally.  
The command enlarged isn't contained in standard MetaPost but only  
in the extension MetaFun (i.e. MetaPost plus quite a number of  
predefined MetaPost macros) that comes with ConTeXt. Therefore the  
error is thrown ...

Why not try this (in ConTeXt):

---

\starttext

\startuseMPgraphic{yourPicture}
% put your MetaPost code here (without beginfig(); and endfig;)
setbounds currentpicture to boundingbox currentpicture enlarged 1cm;
\stopuseMPgraphic

\useMPgraphic{yourPicture}

\stoptext

---

Best,
Oliver
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-07 Thread Kumar Appaiah
On Fri, Sep 07, 2007 at 11:16:50PM +0530, Kumar Appaiah wrote:
 But, is there still an elegant way to have more margin in MetaPost
 images?

OK, a cheap and dirty workaround: define a blank label at a location
outside the bounds of your actual picture, and MetaPost does the
needful. Inelegant, but works for now.

My next free-time-assignment is to learn MetaFun, since I've read
enough to know that by not knowing it, I'm missing something
significant.

Thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-07 Thread Kumar Appaiah
On Fri, Sep 07, 2007 at 09:18:30AM +0200, Oliver Buerschaper wrote:
 Perhaps
 
 setbounds currentpicture to boundingbox currentpicture enlarged 5mm;
 
 at the end of your MetaPost drawing might do what you want?

That's probably in the right direction, but the MetaPost newbie I am,
I am unable to figure out the error:

mpost seminar.mp
This is MetaPost, Version 0.993 (Web2C 7.5.6)
(seminar.mp (/usr/share/texmf-texlive/metapost/base/TEX.mp)
(/usr/share/texmf-texlive/metapost/base/boxes.mp)
 boundingbox.currentpicture.enlarged1cm
! Improper `clip'.
to be read again 
   ;
l.26 ...o boundingbox currentpicture enlarged 1cm;
  
?

What error could this be? The line I added is:
 setbounds currentpicture to boundingbox currentpicture enlarged 1cm;

Thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Margins around figures

2007-09-07 Thread Kumar Appaiah
On Fri, Sep 07, 2007 at 12:31:26PM +0200, Wolfgang Schuster wrote:
 He can set the offset in ConTeXt and not in MetaPost, e.g.
 
 \offset[leftoffset=...]{\externalfigure[fugurename]}
 
 The \offset command is described in the details manual, he can also
 look at the definition in core-box.

Well, that seems to be a nice option, but it fills the offset region
in the background colour instead of white. I'll try to figure out if
there's some workaround for that. Also, I'll try Oliver's solution,
though it seems to generate full pages and not individual images.

But, is there still an elegant way to have more margin in MetaPost
images?

Thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Margins around figures

2007-09-06 Thread Kumar Appaiah
Deat ConTeXt users,

I am making a presentation with ConTeXt, with numerous MetaPost
figures. Now, the only problem is that my white MetaPost figures don't
blend well with the dark background of the screen. This isn't too good
since the text labels in my figure's edges appear too close to the
edge. What I'd like to know is, whether there's a way to specify some
extra margin space around the figure, which would provide some more
white area around the MetaPost figure. Alternately, is there an
elegant MetaPost way of specifying figure margins?

Oh, and my MetaPost files are in separate .mp files; I include them
after converting.

Thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] margins at a cover page

2007-05-22 Thread Gerhard Kugler
Hi,

I think it is not appropriate to have a smaller left than right margin
at a cover page. But my tries to achieve this are not successful.

My relevant expressions:


\setuplayout[header=0mm,location=middle]

\definelayer[bild][x=0mm, y=0mm, width=\paperwidth,
height=\paperheight]

\setlayer[bild][]{\externalfigure[cover4a1.pdf][]}

\defineoverlay[cover][{\placelayer[bild]}]

\setupcolors[state=start]

\starttext
\setuppagenumbering[alternative=singlesided]
\setupnumbering[place=]

\setupbackgrounds[page][background=cover]

\startstandardmakeup[doublesided=no]


Gerhard

-- 
Gerhard Kugler
Psychotherapeut
Bensheim (Germany)
http://www.psychotherapie-kugler.de
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] margins at a cover page

2007-05-22 Thread Wolfgang Schuster
2007/5/22, Gerhard Kugler [EMAIL PROTECTED]:
 Hi,

 I think it is not appropriate to have a smaller left than right margin
 at a cover page. But my tries to achieve this are not successful.

 My relevant expressions:


 \setuplayout[header=0mm,location=middle]

 \definelayer[bild][x=0mm, y=0mm, width=\paperwidth,
 height=\paperheight]

 \setlayer[bild][]{\externalfigure[cover4a1.pdf][]}

 \defineoverlay[cover][{\placelayer[bild]}]

 \setupcolors[state=start]

 \starttext
 \setuppagenumbering[alternative=singlesided]
 \setupnumbering[place=]

 \setupbackgrounds[page][background=cover]

 \startstandardmakeup[doublesided=no]


 Gerhard

 --
 Gerhard Kugler

Hi Gerhard,

you can use \definelayout to define individuell Layouts.

Find your solution in one of the following examples.


1. We define a Layout for the first page and switch back to the global
Layout after the first page:

\definelayout[1][backspace=4cm,width=middle]
\showframe
\starttext
\input knuth
\page\setuplayout
\input knuth
\stoptext


2. The same way in combination with \startstandardmakeup:

\definelayout[1][backspace=4cm,width=middle]
\showframe
\starttext
\startstandardmakeup[after=\setuplayout]
\input knuth
\stopstandardmakeup
\input knuth
\stoptext


3. We define a Layout for the first page and another one for the second
   one following pages:

\definelayout[1][backspace=4cm,width=middle]
\definelayout[2][backspace=3cm,width=14cm]
\showframe
\starttext
\input knuth
\page
\input knuth
\stoptext


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] margins at a cover page

2007-05-22 Thread Willi Egger
Hi Gerhard,

I do not know whtherr I understand your problem correctly. However,  
if you want total control of the typesetting area on your paper one  
should use more options in the settuplayout command. Think about  
topspace, backspace, margins, margindistance, which all do have a  
predefined value.


Willi
[EMAIL PROTECTED]



On May 22, 2007, at 8:28 AM, Gerhard Kugler wrote:

 Hi,

 I think it is not appropriate to have a smaller left than right margin
 at a cover page. But my tries to achieve this are not successful.

 My relevant expressions:


 \setuplayout[header=0mm,location=middle]

 \definelayer[bild][x=0mm, y=0mm, width=\paperwidth,
 height=\paperheight]

 \setlayer[bild][]{\externalfigure[cover4a1.pdf][]}

 \defineoverlay[cover][{\placelayer[bild]}]

 \setupcolors[state=start]

 \starttext
 \setuppagenumbering[alternative=singlesided]
 \setupnumbering[place=]

 \setupbackgrounds[page][background=cover]

 \startstandardmakeup[doublesided=no]


 Gerhard

 -- 
 Gerhard Kugler
 Psychotherapeut
 Bensheim (Germany)
 http://www.psychotherapie-kugler.de
 __ 
 _
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 __ 
 _

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___