Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Mathematica 6 *book stylesheets* appear to be broken

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78048] Mathematica 6 *book stylesheets* appear to be broken
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Thu, 21 Jun 2007 06:47:37 -0400 (EDT)

Steps to reproduce:
1. Create a new document with the textbook or compilation stylesheet.

2. Add some cells to the notebook and change them to the EquationNumbered type.

3. Insert cells of other types between the numbered equation cells in
an attempt to increase the *chapter number* of the equations to
something greater than zero.

Result:
All equations show up as being from chapter zero because no cells that
increase the chapter number are available from the menu.

Expected result:
Equations should be able to be numbered according to chapter and
equation number within the chapter. Other numbered elements, such as
figures and tables, should behave similarly.

Possible solution:
Provide the palettes needed to work with these stylesheets. Why? See
the next section.

More detailed diagnosis (includes speculation):
Both the book stylesheets depend on a stylesheet called
PublicationDefaults.nb. PublicationDefaults.nb appears to be a V6
cascading stylesheets rework of a stylesheet from Publicon called
PubliconDefaults.nb. Unfortunately, it appears that WRI forgot to
include the necessary palettes that Publicon has - or just decided the
palettes were not necessary. The palettes provide the user interface
for several features of the stylesheets including:

*citations, references:
http://documents.wolfram.com/publicon/UserGuide/GettingStarted/InsertingCitationsAndBibliographies.en.html

*cross references:
http://documents.wolfram.com/publicon/UserGuide/GettingStarted/InsertingCross-References.en.html

*end notes:
http://documents.wolfram.com/publicon/UserGuide/GettingStarted/InsertingEndnotes.en.html

*creating basically every cell allowed by a particular stylesheet
(though the screenshots here are for a non-book stylesheet):
http://documents.wolfram.com/publicon/UserGuide/GettingStarted/UsingDocumentPalettes/UsingDocumentPalettes.en.html

Here are the styles allowed in book-type stylesheets (including chapter):
http://documents.wolfram.com/publicon/Reference/StyleList/BookElements/index.html

By reading the compilation stylesheet code, I learned that I could
increment the chapter number with the cell type called
BookChapterLabel. However, the stylesheet doesn't explain what I am
supposed to do with BookChapterTitle and BookChapterNumber. Perhaps
BookChapterLabel and BookChapterNumber cells are supposed to be used
inside BookChapterTitle cells. I don't know. In general, it is hard to
know how to use such a complicated stylesheet without the accompanying
palettes.

In the textbook stylesheet, it is BookChapterNumber that increments
the chapter number (unlike compilation).

In[1]:= {Internal`$CreationID,$Version}
Out[1]= {853857,6.0 for Microsoft Windows (32-bit) (April 27, 2007)}

-- 
http://chris.chiasson.name/


  • Prev by Date: Re: 6.0 Get Graphics Coordinates...
  • Next by Date: Re: OpenSSH mathlink remote kernel connection problem.
  • Previous by thread: Re: Re: My problem when solving a system of equations
  • Next by thread: Re: Mathematica 6 *book stylesheets* appear to be broken