ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* multi-page floats
@ 2012-05-27 14:06 Henning Hraban Ramm
  2012-05-28 17:27 ` Hans Hagen
  0 siblings, 1 reply; 22+ messages in thread
From: Henning Hraban Ramm @ 2012-05-27 14:06 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi again,
in my current book project there are sets of full-page graphics, where  
there’s first a drawing, to be printed on transparent paper, followed  
by a water colour picture as background, i.e. a series of

right page: foreground graphic
right page: background graphic

The transparent pages are left out in pagination.
Between chapters (i.e. stories), the following macro does what I want:

\def\DoublePic#1{
	\page[right] % foreground picture on transparent paper
	
	\setuppagenumbering[state=stop]\setuppagenumber[state=stop]\par
	\resetlayer[bg]
	\setlayer[bg]{\externalfigure[#1-fore][height=\dimexpr(\paperheight 
+6mm)]}
	\setupbackgrounds[page][background=bg]
	\strut\par % page needs some content
	
	\page[right] % background picture on normal paper
	
	\setuppagenumber[state=start]\par
	\resetlayer[bg]
	\setlayer[bg]{\externalfigure[#1-back][height=\dimexpr(\paperheight 
+6mm)]}
	\setupbackgrounds[page][background=bg]
	\strut\par
	
	\page
	\setuppagenumbering[state=start]
}


Now, the publisher would like to move the picture pages in the middle  
of the stories, i.e. I need them to float "here" without manual page  
breaking.
How can I achieve that?

I’d also appreciate enhancements to my macro above.

(MkIV latest beta on OSX Intel.)

Thank you very much in advance!

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Multi-page floats
@ 2001-09-03  7:52 Giuseppe Bilotta
  2001-09-04  9:14 ` Hans Hagen
  0 siblings, 1 reply; 22+ messages in thread
From: Giuseppe Bilotta @ 2001-09-03  7:52 UTC (permalink / raw)


Hello,

this is a "request" on the same line as the "looks like float,
smells like a float, but is not a float" request.

The previous request was about defining objects that didn't really
float, but which would have a caption that would follow the
caption numbering of the same class of floats. Of course it made
sense only for "splittable" "floats" (like tables).

More in general, this request is about "multi-page" floats: floats
that could take more than one page (for example, a very long
table). It should be automatically split (which would require the
system to know where to split and how to split, which text to
replicate on the top or bottom of the split etc), and it would
have a caption on each page where it is present, a caption
containing a continuation message on each non-first page.

Is it already available?

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2012-06-07 12:51 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-27 14:06 multi-page floats Henning Hraban Ramm
2012-05-28 17:27 ` Hans Hagen
2012-05-28 19:47   ` Henning Hraban Ramm
2012-05-31 18:25     ` Henning Hraban Ramm
2012-05-31 21:48       ` Hans Hagen
2012-06-04 12:03         ` Henning Hraban Ramm
2012-06-05 12:00           ` Henning Hraban Ramm
2012-06-05 12:33             ` luigi scarso
2012-06-05 12:42               ` luigi scarso
2012-06-05 16:01                 ` Henning Hraban Ramm
2012-06-05 16:08                   ` luigi scarso
2012-06-05 16:17                     ` luigi scarso
2012-06-05 18:25                       ` Henning Hraban Ramm
2012-06-06  7:37                         ` luigi scarso
2012-06-06  9:39                           ` luigi scarso
2012-06-06  9:52                             ` luigi scarso
2012-06-07 12:51                               ` Henning Hraban Ramm
2012-06-05 15:59               ` Henning Hraban Ramm
2012-06-05 17:55             ` Wolfgang Schuster
2012-06-05 18:35               ` Henning Hraban Ramm
  -- strict thread matches above, loose matches on Subject: below --
2001-09-03  7:52 Multi-page floats Giuseppe Bilotta
2001-09-04  9:14 ` 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).