Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaTeX writer: fix text style in math mode and strikethrough #9644

Closed
engeir opened this issue Apr 8, 2024 · 2 comments
Closed

LaTeX writer: fix text style in math mode and strikethrough #9644

engeir opened this issue Apr 8, 2024 · 2 comments
Labels

Comments

@engeir
Copy link

engeir commented Apr 8, 2024

I believe this wasn't fully fixed with the linked commit b28dc15 in issue #9597. Some further examples that both result in the same soul error as described in the issue: (on pandoc 3.1.13)

[$T$]{.underline}
[$T$]{.mark}

Further,

~~SO~2~~~

results in (that said, ~~$\mathrm{SO_2}$~~ works, so this is maybe not an issue?)

Error producing PDF.
! Argument of \textsubscript  has an extra }.
<inserted text>
                \par
l.64 \st{SO\textsubscript{2}}
@engeir engeir added the bug label Apr 8, 2024
@jgm
Copy link
Owner

jgm commented Apr 8, 2024

OK, I think I have a more general fix.
(I don't know what to do about the last example, but I'm not going to worry about it because you can use math mode.)

@jgm
Copy link
Owner

jgm commented Apr 8, 2024

Closed by 91e7585

@jgm jgm closed this as completed Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants