MathGroup Archive 2002

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

Search the Archive

HTMLSave and Heading

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34207] HTMLSave and Heading
  • From: Alexandre Costa <costa at fem.unicamp.br>
  • Date: Thu, 9 May 2002 05:16:19 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Group
I am trying to make some html pages using the HTMLSave function.
For example, I have these set of cells:
Cell 1:
Cell["Title", "Title"]
Cell 2:
Cell["\<\
Basic equations
More text...
.......\
\>", "Section1"]

Cell 3:
Cell[BoxData["\n"], "NumberedEquation"]

Cell 4:
Cell[BoxData["\n"], "NumberedEquation"]

The prototype for "Section1" is given by:

Cell[StyleData["Section1"],
  PageWidth->PaperWidth,
  CellFrame->{{0, 0}, {0.25, 0}},
  ShowGroupOpenCloseIcon->True,
  CellMargins->{{5, 30}, {5, 5}},
  CellGroupingRules->{"SectionGrouping", 40},
  PageBreakBelow->False,
  CellFrameLabels->{{Cell[ 
          TextData[ {
            CounterBox[ "Section1"], ".  "}]], None}, {
      None, None}},
  InputAutoReplacements->{"TeX"->StyleBox[ 
          RowBox[ {"T", 
            AdjustmentBox[ 
            "E", BoxMargins -> {{-0.075, -0.085}, {0, 0}}, 
              BoxBaselineShift -> 0.5], "X"}]], 
      "LaTeX"->StyleBox[ 
          RowBox[ {"L", 
            StyleBox[ 
              AdjustmentBox[ 
              "A", BoxMargins -> {{-0.36, -0.1}, {0, -0}}, 
                BoxBaselineShift -> -0.2], FontSize -> 
              Smaller], "T", 
            AdjustmentBox[ 
            "E", BoxMargins -> {{-0.075, -0.085}, {0, 0}}, 
              BoxBaselineShift -> 0.5], "X"}]], 
      "mma"->"Mathematica", "Mma"->"Mathematica", 
      "MMA"->"Mathematica"},
  CounterIncrements->"Section1",
  CounterAssignments->{{"Section2", 0}, {"Section3", 0}, {
      "Equation", 0}, {"Definition", 0}, {"Theorem", 0}, {
      "Example", 0}},
  FontFamily->"Helvetica",
  FontSize->14,
  FontWeight->"Bold"]

I have 3 simple questions:

First: I want the automatic numbered "1" be in the same line of the 
string "Basic Equations".
I.e. :
       1. Basic Equations
          More text...
          ... 

I have 2 simple questions regarding the HTML conversion:
Second: - I want to convert Cell 2 to HTML in such way that I keep the
same typesetting shown on the mathematica frontend. How can it be done?
Third: - How can I have the correct numbered equations for Cells 3 and 4 
 after convert
them to HTML ?

Any clue about any of these questions, are very welcome.
                                Cheers,
                                     Alexandre Costa


  • Prev by Date: Re: Quick question about Interval[]
  • Next by Date: Re: Sequence and Or
  • Previous by thread: Mathematica help with noncommutative operator manipulations
  • Next by thread: Re: HTMLSave and Heading