[pmwiki-users] AsciiMath syntax conflict

Dominique Faure dominique.faure at gmail.com
Tue Jan 3 13:30:02 CST 2006


2006/1/3, David Spitzley <dspitzle at wash.k12.mi.us>:
> I've been making use of AsciiMath on my dissertation website at http://www.davidaspitzley.org/dissertation, and it's been working great, but I just ran into a definition problem.  When I attempt to display a lowercase delta, e.g.
>
> {$ delta $}
>
> It ends up displaying a del symbol (i.e. the d from a partial derivative), followed by a lowercase "ta".  Is there any way that I can bracket or delimit "delta" so that it is interpreted as a single element?  If not, I'm willing to add another entry to the ASCIIMathPHP.cfg.php file to allow the symbol to be displayed, but I just want to see if there's a workaround, or if perhaps something needs to be adjusted in the parsing code.
>
I'm affraid the parsing code needs to be adjusted since the "delta"
symbol is already defined. For now, I would better patch the current
"del" definition to "del_":

cookbook/asciimath/ACSIIMathPHP.cfg.php, line 111:
'del_'	=> array( 'input'=>'del_','tag'=>'mo', 'output'=>'&#' .
hexdec('2202') . ';'),

Regards,
Dominique




More information about the pmwiki-users mailing list