RE: Inserting/Removing Forced Page Breaks?
- To: mathgroup at smc.vnet.net
- Subject: [mg14484] RE: [mg14461] Inserting/Removing Forced Page Breaks?
- From: "jmthomas" <jmthomas at cybercable.tm.fr>
- Date: Fri, 23 Oct 1998 20:59:04 -0400
- Sender: owner-wri-mathgroup at wolfram.com
As suggested inthe Mathematica Journal last issue (and some posts in this group), you can insert in your $TopDirectory/SystemFiles/FrontEnd/TextResources/$MachineType/MenuSetup.tr the following code: Menu["PageBreaking", Item["Page Break Above Cell", PageBreakAbove->True, Scope->SelectionCell], Item["Page Break Below Cell", PageBreakBelow->True, Scope->SelectionCell], Item["No Break Above Cell", PageBreakAbove->False, Scope->SelectionCell], Item["No Break Below Cell", PageBreakBelow->False, Scope->SelectionCell] }], Make a backup copy before any modification! Insertion point can be where you want, as a special menu item, or in the format menu. Mind the fact that there is an incoherence in the Mathematica file management: if your machine is a PC, $MachineType returns "PC", but the files are stored in a "Windows" directory! Hope this helps, **************************************** Jean-Marie THOMAS jmthomas at agat.net Conseil et Audit en Ingnierie de Calcul Strasbourg, France http://www.agat.net **************************************** -----Original Message----- From: AES [mailto:siegman at ee.stanford.edu] To: mathgroup at smc.vnet.net Subject: [mg14484] [mg14461] Inserting/Removing Forced Page Breaks? I'd like a fast, simple way to insert or remove forced page breaks in Mathematica notebooks (such as used to be available as a menu command in v 2.0), without opening the Option Investigator or digging into cell options. I'm thinking I could do this by redefining one of the cell styles to be a "Page Break" style with no content, vanishing height and PageBreakBelow->True, so I could just insert or delete a "page break cell" in this style anywhere I wanted to force a break.. Other better ways to do this? Thanks -- siegman at ee.stanford.edu