How to capture a typeset page into a box instead of shipping it out
Hi all, I am looking for ideas of how to capture a typeset page (as it would appear in the resulting pdf output) into a box instead of actually shipping it out directly, if it is possible. I would like to take advantage of ConTeXt's layout features including layers, otherwise I would just create the box with \setbox. My intent is to draw slides using all of ConTeXt's many layout features, but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text "train the trainer" document. Thanks, Kevin Robbins
On Sat, Jan 31, 2009 at 12:34 AM, Kevin D. Robbins < krobbins@alumni.princeton.edu> wrote:
Hi all,
I am looking for ideas of how to capture a typeset page (as it would appear in the resulting pdf output) into a box instead of actually shipping it out directly, if it is possible. I would like to take advantage of ConTeXt's layout features including layers, otherwise I would just create the box with \setbox.
It's not an answer, but I think that it's an OTR (output routine) + mutlipass problem. if you search for 'OTR' in base/* you will find what you need. Also lua offers a table serializazion which can be useful instead of \showbox .
My intent is to draw slides using all of ConTeXt's many layout features, but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text "train the trainer" document.
Why the final pdf is not OK ? You can convert an arbitrary page to a bitmap with ghostscript . -- luigi
Am 31.01.2009 um 00:34 schrieb Kevin D. Robbins:
I am looking for ideas of how to capture a typeset page (as it would appear in the resulting pdf output) into a box instead of actually shipping it out directly, if it is possible. I would like to take advantage of ConTeXt's layout features including layers, otherwise I would just create the box with \setbox.
That's AFAIK not possible. Layer are not limited to the complete page, you could use them also with \framed and with streams you get many features of the page builder.
My intent is to draw slides using all of ConTeXt's many layout features, but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text "train the trainer" document.
Why don't you include the pages from the finished pdf, with ConTeXt's modes it is possible to wrote both parts in one document and create two files. Wolfgang
Thanks for the suggestions Wolfgang and Luigi. I've now got several good options to research. Kevin On Sat, Jan 31, 2009 at 2:18 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 31.01.2009 um 00:34 schrieb Kevin D. Robbins:
I am looking for ideas of how to capture a typeset page (as it would
appear in the resulting pdf output) into a box instead of actually shipping it out directly, if it is possible. I would like to take advantage of ConTeXt's layout features including layers, otherwise I would just create the box with \setbox.
That's AFAIK not possible. Layer are not limited to the complete page, you could use them also with \framed and with streams you get many features of the page builder.
My intent is to draw slides using all of ConTeXt's many layout features,
but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text "train the trainer" document.
Why don't you include the pages from the finished pdf, with ConTeXt's modes it is possible to wrote both parts in one document and create two files.
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
___________________________________________________________________________________
Hello,
"Kevin D. Robbins"
Thanks for the suggestions Wolfgang and Luigi. I've now got several good options to research. Kevin
I use 3 modes for teaching: manuscript -- notes that go on-line for students to download presentation -- pictures for use in class speakernotes -- miniatures of the pictures, each on a separate page, that I scrawl on for use in class (so I know what I'm supposed to say). I got a lot of help from this list in putting these together. Context experts might find them laughable, but I'm attaching the modes in a tarball just in case they are useful. They are still evolving, by the way -- I wrote speakernotes last week, inspired by something of the same name on the wiki (sorry, I can't remember who the author is). Cheers, Roger
participants (4)
-
Kevin D. Robbins
-
luigi scarso
-
Roger Mason
-
Wolfgang Schuster