* switching layouts for a float
@ 2009-03-16 23:53 Corin Royal Drummond
2009-03-17 0:10 ` Wolfgang Schuster
2009-03-18 20:22 ` Hans Hagen
0 siblings, 2 replies; 3+ messages in thread
From: Corin Royal Drummond @ 2009-03-16 23:53 UTC (permalink / raw)
To: ntg-context
Hi Friends,
Still working on having a travelogue with a text column on one side, and
then a plate of color photos on the opposite page. Floats are working
well for this with \startcombination[2*2]. My problem is that the text
pages, have a wide margin to accommodate marginal graphics, and I don't
know how to switch to a wide layout with tiny backspace and margin just
for the combination floats. I'm trying:
...
\definepapersize[wide][width=9in, height=7in]
\setuppapersize[wide][wide]
\setuplayout [location=middle, marking=on, topspace=.5cm, height=6.5in,
width=4.5in, margin=3.5in, backspace= 2cm, footer=.9cm, header=.9cm]
\definelayout [photopage][width=7.5in, margin=.5cm, backspace=1.5cm, ]
...
\starttext
...lots of text in chapters...
\setuplayout[photopage]
\placefigure{none}
{\startcombination[2*2]
{\externalfigure[yucatan1][width=.5\textwidth]}{A old church on the way
from Merida to Celestun}
{\externalfigure[yucatan2][width=.5\textwidth]}{A gorgeous decaying
hacienda}
{\externalfigure[yucatan3][width=.5\textwidth]}{Typical Yucatecan
thatched adobe dwelling}
{\externalfigure[yucatan4][width=.5\textwidth]}{Thached house detail}
\stopcombination}
\setuplayout[reset]
...more text in chapters...
\stoptext
I suspect that this doesn't work because of the nature of floats, but
then how to slap the float into a new layout setup with appropriate margins?
Thanks,
Corin Royal Drummond
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: switching layouts for a float
2009-03-16 23:53 switching layouts for a float Corin Royal Drummond
@ 2009-03-17 0:10 ` Wolfgang Schuster
2009-03-18 20:22 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2009-03-17 0:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.03.2009 um 00:53 schrieb Corin Royal Drummond:
> Hi Friends,
>
> Still working on having a travelogue with a text column on one side,
> and then a plate of color photos on the opposite page. Floats are
> working well for this with \startcombination[2*2]. My problem is
> that the text pages, have a wide margin to accommodate marginal
> graphics, and I don't know how to switch to a wide layout with tiny
> backspace and margin just for the combination floats. I'm trying: ...
> \definepapersize[wide][width=9in, height=7in]
> \setuppapersize[wide][wide]
>
> \setuplayout [location=middle, marking=on, topspace=.5cm,
> height=6.5in, width=4.5in, margin=3.5in, backspace= 2cm, footer=.
> 9cm, header=.9cm]
> \definelayout [photopage][width=7.5in, margin=.5cm, backspace=1.5cm, ]
> ...
>
> \starttext
> ...lots of text in chapters...
> \setuplayout[photopage]
> \placefigure{none}
> {\startcombination[2*2]
> {\externalfigure[yucatan1][width=.5\textwidth]}{A old church on the
> way from Merida to Celestun}
> {\externalfigure[yucatan2][width=.5\textwidth]}{A gorgeous decaying
> hacienda}
> {\externalfigure[yucatan3][width=.5\textwidth]}{Typical Yucatecan
> thatched adobe dwelling}
> {\externalfigure[yucatan4][width=.5\textwidth]}{Thached house detail}
> \stopcombination}
\page[yes]
> \setuplayout[reset]
> ...more text in chapters...
> \stoptext
>
> I suspect that this doesn't work because of the nature of floats,
> but then how to slap the float into a new layout setup with
> appropriate margins?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: switching layouts for a float
2009-03-16 23:53 switching layouts for a float Corin Royal Drummond
2009-03-17 0:10 ` Wolfgang Schuster
@ 2009-03-18 20:22 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2009-03-18 20:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Corin Royal Drummond wrote:
> I suspect that this doesn't work because of the nature of floats, but
> then how to slap the float into a new layout setup with appropriate
> margins?
details.pdf shows some floats trickery
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-18 20:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-16 23:53 switching layouts for a float Corin Royal Drummond
2009-03-17 0:10 ` Wolfgang Schuster
2009-03-18 20:22 ` Hans Hagen
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).