I have tried several times to import a Mathematica document into a Wiki using the "Export As Latex" option. It never works.

Of course I have the option of copying each stretch of text as text and each non-textual expression as Latex but I might as well just use a TeX editor for all the work that is involved.

Latex is supposed to accept a complete document. Is there a way to have Mathematica export a complete document that is acceptable to, say, Wikia or Wordpress?

Here is some sample output from Mathematica embedded in a < math >..< /math > pair or ($latex ... $ doesn't work either).

\text{Let the three edges of a tetrahedron with one vertex at the origin be denoted } e_i, i= 1\text{..}3. \text{ The face vectors defined by Rovelli are then $\quad $} L_1 =\text{ }\frac{1}{2} e_2\times e_3, L_2 =\text{ }\frac{1}{2} e_3\times e_1 \text{, and } L_3 =\text{ }\frac{1}{2} e_1\times e_2 \text{. Note that, for example, } L_1 \text{and} L_2 \text{are both perpendicular to } e_3 \text{ so that } L_1\times L_2 \text{must be parallel to } e_3. \text{ In fact $\quad $} L_1\times L_2 \text{ = } \frac{1}{4} \text{Det}[e] e_3

closed as off-topic by Jens, ciao, m_goldberg, Karsten 7., bbgodfrey Mar 29 '15 at 4:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "The question is out of scope for this site. The answer to this question requires either advice from Wolfram support or the services of a professional consultant." – Jens, ciao, m_goldberg, Karsten 7., bbgodfrey
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ Welcome to Mathematica.SE! I suggest that: 1) You take the introductory Tour now! 2) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! 3) As you receive help, try to give it too, by answering questions in your area of expertise. $\endgroup$ – bbgodfrey Mar 28 '15 at 20:28
  • 1
    $\begingroup$ This is not an issue with Mathematica, but with the other platforms you mention. Apparently they don't accept the $\LaTeX$ code you want. $\endgroup$ – Jens Mar 28 '15 at 22:58

You may consider:

1) Use the menu item 'Save As' and choose and Save as type: Latex Document instead of Export if you need the whole document as mentioned in your question.

2) Make sure you use adequate plug-in for Wordpress or Wiki to render Latex typesetting


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