integr-abile / axessibility

LaTeX package that makes mathematical formulae accessible via screen reader and braille display
14 stars 13 forks source link

Fixed expanding of macro commands #11

Closed AlexandrKozlovskiy closed 4 years ago

AlexandrKozlovskiy commented 4 years ago

Before it was issue,when,for example,if we have: \new command{\test}[2][#1+#2=#1-#2] In this case in most environments we will have actualtext,for example,for arguments 1,0 for this command as \test{1}{0} instead of actualtext 1+0=1-0. I tryed to fix this and i hope it works correct in lualatex and pdflatex with tagpdf and accsupp option.