Open coastgnu opened 8 years ago
From: https://www.dokuwiki.org/plugin:latex#dollar_signs
Instead of a space add an "*" to the ''EntryPattern'' and the "ExitPattern" in "dollar.php".
*
EntryPattern
ExitPattern
dollar.php
<code>$this->Lexer->addEntryPattern('\$\*(?=.*\$)',$mode,'plugin_latex_dollar'); </code>
and also add an ''*'' to the ExitPattern:
<code>function postConnect() { $this->Lexer->addExitPattern('\*\$','plugin_latex_dollar'); }</code>
The syntax will change to
$* a + b = c *$
which is close to the comment-plugin Syntax (/* a comment */). And $2000, 2.000,00$ and a $ alone will work as before.
regards, thomas
From: https://www.dokuwiki.org/plugin:latex#dollar_signs
Instead of a space add an "
*
" to the ''EntryPattern
'' and the "ExitPattern
" in "dollar.php
".dollar.php
" to:and also add an ''*'' to the ExitPattern:
The syntax will change to
which is close to the comment-plugin Syntax (/* a comment */). And $2000, 2.000,00$ and a $ alone will work as before.
regards, thomas