MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Printing "full version" or "publication version" of same notebook?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118306] Printing "full version" or "publication version" of same notebook?
  • From: AES <siegman at stanford.edu>
  • Date: Thu, 21 Apr 2011 03:10:29 -0400 (EDT)

Looking for a simple -- emphasis on simple -- way to print (or 
alternatively Export to PDF) a "full version" or a "publication version" 
of the same notebook(s), which one could just select at Print time.

Example:  Assume you have a large family of notebooks, all using same 
stylesheet.  At Print time for any one of these, you want to be able to 
select -- using ideally just a single menu selection or mouse click -- 
between printing the full notebook (all cells), or printing a 
"publication version" with certain cells suppressed (and maybe maybe 
other formatting changes, though that's a  secondary factor).  How to do 
this?

I suppose one might put a "print/no print" setting controlled by a "full 
version/pub version" variable and and If[ ] statement into every cell in 
every notebook --but that's a pain!

One might make the print/noprint decision based on cell Style names -- 
certain cells (like maybe Code cells) would be suppressed when you 
printed in pub form.

Or, you could use a single stylesheet containing a "FullCode" style and 
a "PubCode" style.  Cells in either style would execute identically as 
Code cells, but the FullCode cells would be printed or not printed 
depending on how a certain variable was set

Another way would be to define two stylesheets --  ReportFullPrint and 
ReportPubForm -- having the same set of Style names but different 
definitions for how these cells printed.  This would also allow 
different formatting for the two cases -- but messing with stylesheets 
is not an easy skill to learn, and having to apply the ReportPubForm 
stylesheet to  the whole notebook before pub printing (and change it 
back afterwards) would be a pain.

Other ways (simple ways!) to go at this . . . ?


  • Prev by Date: Re: Venn diagrams?
  • Next by Date: Re: Demonstration Project Solution Desired
  • Previous by thread: Re: problems plotting curvature
  • Next by thread: Printing "full version" or "publication version" of same notebook?