MathGroup Archive 2006

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

Search the Archive

Re: problems with typesetting in packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63722] Re: problems with typesetting in packages
  • From: Enrico Arrigoni <arrigoni at itp.tu-graz.ac.at>
  • Date: Thu, 12 Jan 2006 03:22:31 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I think that Mathematica has a bug in saving as a mathematica package. This comes about, as Hannes says, because this procedure produces a lot of typesetting information.

I have a very simple notebook example in which this occurs



(************** Content-type: application/mathematica **************
                     CreatedBy='Mathematica 5.2'

                    Mathematica-Compatible Notebook

This notebook can be used with any Mathematica-compatible
application, such as Mathematica, MathReader or Publicon. The data
for the notebook starts with the line containing stars above.

To get the notebook into a Mathematica-compatible application, do
one of the following:

* Save the data starting with the line of stars above into a file
  with a name ending in .nb, then open the file inside the
  application;

* Copy the data starting with the line of stars above to the
  clipboard, then use the Paste menu command inside the application.

Data for notebooks contains only printable 7-bit ASCII and can be
sent directly in email or through ftp in text mode.  Newlines can be
CR, LF or CRLF (Unix, Macintosh or MS-DOS style).

NOTE: If you modify the data for this notebook not in a Mathematica-
compatible application, you must delete the line below containing
the word CacheID, otherwise Mathematica-compatible applications may
try to use invalid cache data.

For more information on notebooks and Mathematica-compatible 
applications, contact Wolfram Research:
  web: http://www.wolfram.com
  email: info at wolfram.com
  phone: +1-217-398-0700 (U.S.)

Notebook reader applications are available free of charge from 
Wolfram Research.
*******************************************************************)

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[      1991,         63]*)
(*NotebookOutlinePosition[      2654,         86]*)
(*  CellTagsIndexPosition[      2610,         82]*)
(*WindowFrame->Normal*)



Notebook[{

Cell[CellGroupData[{
Cell[BoxData[
    \(\(\(\ \)\(\(a = 
        2;\)\[IndentingNewLine] (*\ \(a\_0 = 1;\)\ *) \[IndentingNewLine]
    a\)\)\)], "Input",
  InitializationCell->True],

Cell[BoxData[
    \(2\)], "Output"]
}, Open  ]]
},
FrontEndVersion->"5.2 for X",
ScreenRectangle->{{0, 1600}, {0, 1200}},
AutoGeneratedPackage->Automatic,
WindowSize->{850, 800},
WindowMargins->{{60, Automatic}, {Automatic, 60}}
]

(*******************************************************************
Cached data follows.  If you edit this Notebook file directly, not
using Mathematica, you must remove the line containing CacheID at
the top of  the file.  The cache data will then be recreated when
you save this file from within Mathematica.
*******************************************************************)

(*CellTagsOutline
CellTagsIndex->{}
*)

(*CellTagsIndex
CellTagsIndex->{}
*)

(*NotebookFileOutline
Notebook[{

Cell[CellGroupData[{
Cell[1776, 53, 161, 4, 59, "Input",
  InitializationCell->True],
Cell[1940, 59, 35, 1, 27, "Output"]
}, Open  ]]
}
]
*)



(*******************************************************************
End of Mathematica Notebook file.
*******************************************************************)


  • Prev by Date: A question about pattern-matching
  • Next by Date: Re: A question about pattern-matching
  • Previous by thread: Re: A question about pattern-matching
  • Next by thread: Plot PDF of a Discrete Random Variable