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

xnos-number-by-section=False is broken for (X)HTML #15

Closed
stroobandt opened this issue Jun 2, 2020 · 3 comments
Closed

xnos-number-by-section=False is broken for (X)HTML #15

stroobandt opened this issue Jun 2, 2020 · 3 comments
Labels

Comments

@stroobandt
Copy link

stroobandt commented Jun 2, 2020

The --metadata customisation xnos-number-by-section=False

-M xnos-number-by-section=False

is broken for (X)HTML. Numbering restarts with each section. This has been reported:

  • for fignos-number-by-section here,
  • for tablenos-number-by-section here, and
  • I have personally also experienced this bug for eqnos-number-by-section.

However, there is a pull request and a patch solving this issue waiting to be merged:

  • for tablenos-number-by-section here, and
  • for fignos-number-by-section here.

There is also a very cumbersome workaround that works for all xnos items when converting to (X)HTML.

Automatic numbering is an absolute key feature of the pandoc-xnos suite, but also a "deal-breaker" when not available. An expedient resolution of this bug is highly desirable.

@tomduck
Copy link
Owner

tomduck commented Jul 30, 2020

Thank you for this summary, which was helpful. Sorry for the long wait.

The problems are now fixed in the nextrelease branch of each filter. If problems persist beyond the next release, please feel welcome to re-open this Issue.

Tom

@tomduck tomduck closed this as completed Jul 30, 2020
@tomduck tomduck added the bug label Jul 30, 2020
@stroobandt
Copy link
Author

Many thanks, Tom. This now works flawlessly in pandoc-xnos 2.4.3.

@tomduck
Copy link
Owner

tomduck commented Aug 5, 2020

Wonderful. Thanks for letting me know, Serge. I appreciate the report and help with testing. Cheers, Tom.

This issue was closed.
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