Re: [NTG-context] General Float Placement Question

2006-04-25 Thread Hans Hagen
Randall Skelton wrote:
> Many thanks for the reply Hans.  I'm a little puzzled by what happens 
> when I use \setuppagenumbering[alternative=doublesided].  For example:
you can also try this:

\startpostponing
\placefigure
  [Fig:a]
  {Figure a caption goes here}
  {\externalfigure[a][width=0.8\makeupwidth]}
\page
\placefigure
  [Fig:b]
  {Figure b caption goes here}
  {\externalfigure[b][width=0.8\makeupwidth]}
\page
\stoppostponing


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] General Float Placement Question

2006-04-25 Thread Hans Hagen
Randall Skelton wrote:
> Many thanks for the reply Hans.  I'm a little puzzled by what happens 
> when I use \setuppagenumbering[alternative=doublesided].  For example:
it's actually trivial to provide: 

\starttext

\dorecurse{10}{\input tufte \par}

\placefigure
  [leftpage]
  [Fig:a]
  {Figure a caption goes here}
  {\externalfigure[a][width=0.8\makeupwidth]}

\placefigure
  [rightpage]
  [Fig:b]
  {Figure b caption goes here}
  {\externalfigure[b][width=0.8\makeupwidth]}

\dorecurse{10}{\input tufte \par}

\stoptext

i'll send you a patch 

Hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] General Float Placement Question

2006-04-24 Thread Randall Skelton
Many thanks for the reply Hans.  I'm a little puzzled by what happens when I use \setuppagenumbering[alternative=doublesided].  For example:\showframe\setuppapersize[letter][letter]\setuppagenumbering[alternative=doublesided]
\setuplayout[    grid=no,  % grids make a mess of complex float placement    topspace=0.50in,  % the space at the very top of the page    backspace=1.75in, % the space for binding gutter
    header=0.40in,    % the space for headers    footer=0.40in,    % the space for footers    leftmargin=0.75in,    % the space for margin notes    rightmargin=1.00in,   % the space for margin notes
    height=fit,    width=5.25in]\starttexttest\startspread\placefigure [page] [Fig:a]  {Figure a caption goes here} {\externalfigure[a][width=0.8\makeupwidth]}
\placefigure [page] [Fig:b]  {Figure b caption goes here} {\externalfigure[b][width=0.8\makeupwidth]}\stopspread\stoptextCheers,Randall--- TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004   tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5
)   context : ver: 2006.02.03 21:03   cont-en : ver: 2006.02.03 21:03  fmt: 2006.2.10  mes: english   cont-nl : ver: 2006.02.03 21:03  fmt: 2006.2.10  mes: dutch    total run time : 7 seconds

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] General Float Placement Question

2006-04-20 Thread Hans Hagen
Randall Skelton wrote:
> Hi all,
>
> Is it possible to combine placement attributes when specifying a 
> floating figure or table?
>
> \placefloat[.1.][ref,..]{.2.}{.3.}
> .1. left right here top bottom inleft inright inmargin margin page 
> opposite always force tall
> .2. text
> .3. text
>
> In my case, I'd like to ensure that figures in a double-sided document 
> appear together, with the first on the left page and the second on the 
> right.  What I have reads:
>
> \placefigure
>   [90,opposite]
>   [Fig:a]
>   {Figure a caption goes here}
>   \externalfigure[a][width=0.8\makeupheight]}
>
> \placefigure
>   [90]
>   [Fig:b]
>   {Figure b caption goes here}
>   \externalfigure[b][width=0.8\makeupheight]}
>
> For the first figure, will a location of [90,opposite] ensure a 
> rotated left-page figure?  Likewise, is it possible to ensure that the 
> second figure is forced to the next right page?
\starttext

test

\startspread

\placefigure
  [90]
  [Fig:a]
  {Figure a caption goes here}
  {\externalfigure[a][width=0.8\makeupheight]}

\placefigure
  [90]
  [Fig:b]
  {Figure b caption goes here}
  {\externalfigure[b][width=0.8\makeupheight]}

\stopspread

\stoptext



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] General Float Placement Question

2006-04-20 Thread Randall Skelton
Hi all,Is it possible to combine placement attributes when specifying a floating figure or table?\placefloat[.1.][ref,..]{.2.}{.3.} 


.1. left right here top bottom inleft inright inmargin margin page opposite always force tall 


.2. text .3. text In my case, I'd like to ensure that figures in a double-sided document appear together, with the first on the left page and the second on the right.  What I have reads:
\placefigure  [90,opposite]

  [Fig:a]  {Figure a caption goes here}

  \externalfigure[a][width=0.8\makeupheight]}

\placefigure
  [90]
  [Fig:b]
  {Figure b caption goes here}
  \externalfigure[b][width=0.8\makeupheight]}For the first figure, will a location of [90,opposite] ensure a rotated left-page figure?  Likewise, is it possible to ensure that the second figure is forced to the next right page?
Cheers,Randall

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context