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

Wrong footnotes when publishing books #1

Open
martinspedro opened this issue Jan 12, 2018 · 2 comments
Open

Wrong footnotes when publishing books #1

martinspedro opened this issue Jan 12, 2018 · 2 comments

Comments

@martinspedro
Copy link
Owner

Problem

Individual notes may have footnotes. Those footnotes are numbered in accordance to the file. When the individual topic notes are merged, they keep (as supposed) the footnote number they had.

This causes

  • pandoc outputs a warning on duplicated footnotes
  • the footnotes in the published are incorrect

image

First appear

This issue was discovered when merging Operative Systems notes (which have a few scattered footnotes in different files) either to the topic book or to the two full books

Possible Solution

A Markdown pre-processor that counts and replaces all the footnotes number when merging.

@martinspedro
Copy link
Owner Author

martinspedro commented Jan 12, 2018

Problem with the given solution: Can be necessary more than one link to the same footnote...

@martinspedro martinspedro removed their assignment Jan 13, 2018
@martinspedro martinspedro self-assigned this Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant