Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm on Windows 8.1 with Mathematica 9.

Export["test.html",EvaluationNotebook[],"MathOutput"\[RightArrow]"GIF","CSS"->None]

Export["test.html",EvaluationNotebook[],"CSS"->None,"MathOutput"\[RightArrow]"GIF"]

Export::argt: Export called with 4 arguments; 2 or 3 arguments are expected. >>

Export::noelem: MathOutput[RightArrow]GIF is not a valid set of export elements for the HTML format. >>

I think picture is clear to show the problem.

enter image description here

"CSS" -> None, "MathOutput" \[RightArrow] "GIF" are options? right? and order sensitive?

"CSS" -> None seems to be an argument? of course it's an option in the help page of HTML,

share|improve this question
2  
Why do you post your code as an image? You should know better than to do that by now. I think it is just laziness. To save yourself the work of converting your code and results to markdown, you put the burden of typing it in on anyone who wishes to help you. That's rude. –  m_goldberg Aug 22 '13 at 15:34
    
@m_goldberg I've added the necessary code in the last line? Is that not enough? The warnings and NotebookObject will not look good in SE! –  HyperGroups Aug 22 '13 at 15:38
    
@m_goldberg Here, I've made such mistakes, so sad. mathematica.stackexchange.com/questions/30900/… –  HyperGroups Aug 22 '13 at 15:39
    
@m_goldberg well, is the question not so clear? I'm confused by the downvotes... –  HyperGroups Aug 22 '13 at 15:46
    
Thanks for adding the code in markdown. I evaluated it on my system using V9.0.1 on OS X. I do not get the error you show. Instead I get Export::noelem: MathOutput\[RightArrow]GIF is not a valid set of export elements for the HTML format. This indicates you can't export a Manipulate as a GIF. –  m_goldberg Aug 22 '13 at 15:48

2 Answers 2

up vote 2 down vote accepted

In version 7 this line appears to work correctly:

Export["test.html", EvaluationNotebook[], "MathOutput" -> "GIF", "CSS" -> "None"]

I think the problem is that \[RightArrow] is not an option and you need \[Rule] or ->.

share|improve this answer
    
Works OK for me, Mac OS X running Mathematica v 9.0.1. –  cormullion Aug 22 '13 at 18:48

I think: if you type \[RightArrow] it converts to hex code 2192; if you type "->" and let Mathematica convert it for you, it converts to hex code f522.

two arrows

Or, as the manual says:

\[RightArrow] - Not the same as \[Rule]

share|improve this answer
    
cormullion, are you on-line right now, and you you have a few minutes? –  Mr.Wizard Sep 7 '13 at 8:57
    
@Mr.Wizard I'm on an iPad at the moment... –  cormullion Sep 7 '13 at 9:00
    
Okay. I needed someone to run some code. Thanks for replying. –  Mr.Wizard Sep 7 '13 at 9:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.