MathGroup Archive 2006

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

Search the Archive

Re: How to remove extra empty lines generated when exporting to HTML?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65922] Re: How to remove extra empty lines generated when exporting to HTML?
  • From: "Nasser Abbasi" <nma at 12000.org>
  • Date: Sun, 23 Apr 2006 06:17:40 -0400 (EDT)
  • References: <e29ro4$m99$1@smc.vnet.net> <e2cr10$jvd$1@smc.vnet.net>
  • Reply-to: "Nasser Abbasi" <nma at 12000.org>
  • Sender: owner-wri-mathgroup at wolfram.com

"Chris Chiasson" <chris.chiasson at gmail.com> wrote in message 
news:e2cr10$jvd$1 at smc.vnet.net...
> If you know CSS, you could modify the CSS file(s) generated with the
> index.html file. Otherwise, you could look in the help browser under
> HTMLSave. It has many options.

thanks. I tried them but no help.

HTMLSave["t.html",  ConversionOptions -> {"MathOutput" -> "InputForm"}]

squashes all of the code into one long string.

HTMLSave["t.html",  ConversionOptions -> {"MathOutput" -> "InputForm", 
"CSS" -> "None"}]

Not better.

HTMLSave["t.html",  ConversionOptions -> {"MathOutput" -> "DisplayForm", 
"CSS" -> "None"}]

Large vertical space between line back.

HTMLSave["t.html",  ConversionOptions -> {"MathOutput" -> "DisplayForm"]

Not much better.

The GIF option is allready the default so I did not try it.

I do not know the head attributes options part so I did not change try it.

Any way, all these options should be in a menu type setting. I could not 
find a menu to set these up. I looked at the Options menu, but I do not see 
HTML anywhere there.

I think Mathematica needs to do more work to imporve HTML export. May be in 
Version 6.

> I read somewhere that Mathworld is built
> from Mathematica notebooks and HTMLSave (with appropriate custom
> transformation rules).
>

No way.

I know they They used Latex and Latex2HTML.

But I was told they are moving/started to move,  to a direct export from 
notebooks, so may be it is mix now? Mathworld looks really nice. One of the 
nicest websites I've seen.

> Maybe you would find it easier to make your own page(s) and then
> include the pertinent Mathematica output?
>

I know. I do that now anyway. But this was a quick thing I wanted to show 
someone. I  use Latex and import Mathematica code saved as PNG images (by 
VISIO software)  into Latex. see many examples on my howto web site but that 
takes more time to do

http://12000.org/my_notes/mma_matlab_control/index.htm

thanks for your help.

Nasser


  • Prev by Date: Troubles in NonlinearFit-Why always failed?
  • Next by Date: Re: Generating a function from a series
  • Previous by thread: Re: How to remove extra empty lines generated when exporting to HTML?
  • Next by thread: Re: How to remove extra empty lines generated when exporting to HTML?