I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Products » LaTeX Equation Editor »

custom "type"

khnum688\′s Photo
1 Oct 10, 6:37AM
(2 replies)
custom "type"
Is there a way to specify a custom type? I need two different phpbb style tags, one for normal formulas and one for inline formulas. (I'm only using the editor, and I use mathjax for rendering)
CodeCogs\′s Photo
2 Oct 10, 4:30AM
You'll notice when exporting to phpBB, that for inline we add \inline, as in
[tex]\inline ... [/tex]
Otherwise is just
[tex] ... [/tex]
This was designed for an existing phpBB maths plugin.

For MathJax, can you use data from the 'pre-tags' option. For inline our editor creates
<code xml:lang="latex"> \frac{12}{34}</code>
and for normal equations
<pre xml:lang="latex"> \frac{12}{34}</pre>

We want to support MathJax, and will bring out a complete editor that uses it shortly. In the mean time I can create a new option that any tags you like. However, this would need to be for generic MathJax, not a phpBB specific variety of MathJax unless you can convince me this replaces the [tex] style above?
khnum688\′s Photo
2 Oct 10, 6:53AM
I actually resolved the problem, using with mathjax the tags ['[tex]','[/tex]'] and ['[tex]\inline','[/tex]']. I knew I could use the pre-tags mode, but i needed to output a BBcode and transform in in html code, because I also needed to use a modified version of the html image rendering for the pre code. Thanks anyway :D
Currently you need to be logged in to leave a message.