Fwd: Re: HTMLSave and Heading
- To: mathgroup at smc.vnet.net
- Subject: [mg34374] Fwd: Re: [mg34207] HTMLSave and Heading
- From: Dale Horton <daleh at wolfram.com>
- Date: Fri, 17 May 2002 06:30:59 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Sorry for the typo. That should be
section1counter = 1;
numeqcounter = 0;
Export["file.html", nb, "HTML",
ConversionOptions -> {"MarkupRules" -> {
"Section1" :> {"<h2>"<>ToString[section1counter++]<>".", "</h2>"},
"NumberedEquation" :> {setnumeq[numeqcounter++]; "<p>", "</p>"}
}}];
SetOptions[$FrontEnd, CounterAssignments -> {}]
>In[3]:=
>section1counter=1;
>numeqcounter=0;
>Export["file.html",nb,
> ConversionOptions->{"MarkupRules"->{
> "Section1":>{"<h2>"<>ToString[section1counter++]<>"."</h2>"},
> "NumberedEquation":>{setnumeq[numeqcounter++];"<p>", "</p>"}
>}}];
>SetOptions[$FrontEnd, CounterAssignments->{}]
-Dale