bugeLyXer - Bugs: bug #41150, Single-letter arguments to math...


bug #41150: Single-letter arguments to math macro are parsed wrongly

Submitted by:  None
Submitted on:  Wed 08 Jan 2014 05:09:31 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 08 Jan 2014 05:09:31 PM UTC, original submission:

Adjacent single-letter arguments to a math macro are not parsed correctly in eLyXer 1.2.5 generating HTML output.

This math macro usage, as found in the attached file 'elyxer-bug-single-letter-math-macro-args.lyx':


$\mymacro BC$

$\mymacro A{\mymacro BC}$

produces HTML output that looks like this:

(BC, #2)
(A, \mymacroBC)

whereas the expected output is:

(B, C)
(A, (B, C))

One work-around is to define the macro using optional arguments: then single-letter arguments are enclosed in brackets, avoiding the parsing problem.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30225:  elyxer-bug-single-letter-math-macro-args.lyx added by None (2KiB - application/x-lyx)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2014-01-08 None Attached File- => Added elyxer-bug-single-letter-math-macro-args.lyx, #30225

Back to the top

Powered by Savane 3.3