In my current book project, I need to set images on fixed pages (because only a few pages get printed in color), and full-page, i.e. bleeding 3mm. What’s the best way to achieve each? The only way for full-page images that I know of, is via layer/ background, but I find it difficult to activate and deactivate that at the right pages. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Hi Henning, On 2012-05-16 22:30, Henning Hraban Ramm wrote:
In my current book project, I need to set images on fixed pages (because only a few pages get printed in color),
I assume with “fixed pages” you mean “always on the page with a certain number”. This, at least, might be solved with the postponing mechanism: ········································································ \starttext \startpostponing [3] \startstandardmakeup \externalfigure [cow] [width=\hsize] \stopstandardmakeup \stoppostponing \dorecurse{42}{\input knuth \par} \stoptext ········································································ Not sure about your full page problem, though. Philipp
and full-page, i.e. bleeding 3mm.
What’s the best way to achieve each?
The only way for full-page images that I know of, is via layer/ background, but I find it difficult to activate and deactivate that at the right pages.
Greetlings, Hraban --- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Am 2012-05-17 um 13:49 schrieb Philipp Gesang:
In my current book project, I need to set images on fixed pages (because only a few pages get printed in color),
I assume with “fixed pages” you mean “always on the page with a certain number”. This, at least, might be solved with the postponing mechanism:
········································································ \starttext
\startpostponing [3] \startstandardmakeup \externalfigure [cow] [width=\hsize] \stopstandardmakeup \stoppostponing
\dorecurse{42}{\input knuth \par}
\stoptext ········································································
Thank you, that works, but the publisher decided to use glue binding to be able to put colored pages everywhere... Can you explain, what standardmakeup really does? I know it’s used in "free layout" pages.
Not sure about your full page problem, though.
I'll open another thread on that. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Hi Hraban, Humble but is it that the page will be entirely covered with a float? In that case you might better use the background mechanism so that you can place the float on the paper instead of the page? Willi On May 19, 2012, at 8:38 PM, Henning Hraban Ramm wrote:
Am 2012-05-17 um 13:49 schrieb Philipp Gesang:
In my current book project, I need to set images on fixed pages (because only a few pages get printed in color),
I assume with “fixed pages” you mean “always on the page with a certain number”. This, at least, might be solved with the postponing mechanism:
········································································ \starttext
\startpostponing [3] \startstandardmakeup \externalfigure [cow] [width=\hsize] \stopstandardmakeup \stoppostponing
\dorecurse{42}{\input knuth \par}
\stoptext ········································································
Thank you, that works, but the publisher decided to use glue binding to be able to put colored pages everywhere...
Can you explain, what standardmakeup really does? I know it’s used in "free layout" pages.
Not sure about your full page problem, though.
I'll open another thread on that.
Greetlings, Hraban --- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 2012-05-19 20:38, Henning Hraban Ramm wrote:
Am 2012-05-17 um 13:49 schrieb Philipp Gesang:
In my current book project, I need to set images on fixed pages (because only a few pages get printed in color),
I assume with “fixed pages” you mean “always on the page with a certain number”. This, at least, might be solved with the postponing mechanism:
········································································ \starttext
\startpostponing [3] \startstandardmakeup \externalfigure [cow] [width=\hsize] \stopstandardmakeup \stoppostponing
\dorecurse{42}{\input knuth \par}
\stoptext ········································································
Thank you, that works, but the publisher decided to use glue binding to be able to put colored pages everywhere...
Sounds like they are meaning it ...
Can you explain, what standardmakeup really does? I know it’s used in "free layout" pages.
In its natural state (like \startmakeup without arguments), the makeup 1. nil’s headers and footers, 2. zeroes whitespace settings (\forgetall), (2.a. disables overfull box warnings,) and 3. sets the text area to the current dimensions \textheight by \textwidth. The output looks like most layout elements. However, the personalized makeup environments as defined by \definemakeup are much more complex. They basically allow to insert parameterized layout and pagestyle exceptions without affecting the layout of the surrounding pages. Implicitly, with the makeup definition, a page layout is created as well, so the options of \setuplayout work as well. This may be the key to the solution to your full page issue. The *standardmakeup* environment belongs to this second group, it is initialized as (page-mak.mkvi): \definemakeup [\v!standard] [\c!width=\innermakeupwidth, \c!height=\textheight, \c!page=\v!right, \c!doublesided=\v!empty] If you want to go hack on makeups, you might want to use the “setups” key to add your code. Of course, for the complete story you’ll need to look up the definition of \page_makeup_start_yes. (There’s some very basic info in “Layouts in Context”, pp. 49f, too.) Best regards Philipp
Not sure about your full page problem, though.
I'll open another thread on that.
Greetlings, Hraban --- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (3)
-
Henning Hraban Ramm
-
Philipp Gesang
-
Willi Egger