-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Error when counting theorems in LaTeX #6734
Comments
Previously we were just treating it as a string and ignoring accents and formatting. See #6734.
I just fixed the accent issue. Still need to look into the numbering issue. |
Observations:
So it seems that pandoc is doing just what it should for this. If you remove the Conclusion: no bug, other than the one I fixed with the accents. |
@jgm Thank you very much for the research.
This produces: |
Hello! It happens that if in a LaTeX file you enter theorems in the following way,
Pandoc 2.10.1 does the following when try convert to Markdown/Docx/HTML, and I suppose that with the rest of the formats as well:
Being that it should stay this way:
This is incorrect, because there is only one definition, one theorem and one observation, but Pandoc considers the 3 as if they were the same.
The counter is counting all the theorems, without discriminating if they are different, such as definition, theorem, observation, among others. There should be separate counters, one for defi, another for teo, another for obs and so on, instead of one for all.
In addition, in the case of "definici'on" and "observaci'on" the letters with accents are being copied as they are, without replacing the accents correctly as would be expected, "definición", "observación".
Thanks!
The text was updated successfully, but these errors were encountered: