Jump to content


Photo
- - - - -

Export Templates: Math?


  • Please log in to reply
3 replies to this topic

#1 JohnBear

JohnBear

    Skilled Normal

  • HERO Member
  • 65 posts

Posted 07 July 2017 - 09:12 PM

Hi Dan,

 

Is there a bug in how the math container works?

<!--MATH-->3*<!--STR--><!--VAL--><!--STR--><!--MATH-->

I can't get this to work to save my life. And I copied it directly from the manual ::me shakes head::


JohnBear

 

 

"If we look at the way the universe behaves, quantum mechanics gives us fundamental, unavoidable indeterminacy, so that alternative histories of the universe can be assigned probability."
- - - Murray Gell-Mann

 


#2 Simon

Simon

    Administrator

  • Administrators
  • 12,495 posts

Posted 08 July 2017 - 07:24 AM

VAL may contain both primary and secondary values (where applicable), throwing off the calculation.  You'd be better off using STR_PRIMARY (or STR_SECONDARY).


I am but mad north by northwest.  When the wind is southerly, I know a hawk from a handsaw.


#3 Lyinggod

Lyinggod

    New Member

  • HERO Member
  • PipPip
  • 17 posts

Posted 08 July 2017 - 07:25 AM

MATH and STR require an end tag. 

 

Yours

<!--MATH-->3*<!--STR--><!--VAL--><!--STR--><!--MATH--><br>
 
Correct
<!--MATH-->3*<!--STR--><!--VAL--><!--/STR--><!--/MATH--><br>
 
Notice that the final STR and MATH tags have a "/" prior to the word STR and MATH.
 
Hope this helps
 

The Lyinggod

"Would you trust someone called the Lyinggod?"


#4 JohnBear

JohnBear

    Skilled Normal

  • HERO Member
  • 65 posts

Posted 08 July 2017 - 01:14 PM

Thank you gentlemen.

 

Starting a new thread for a new question


JohnBear

 

 

"If we look at the way the universe behaves, quantum mechanics gives us fundamental, unavoidable indeterminacy, so that alternative histories of the universe can be assigned probability."
- - - Murray Gell-Mann