martinspedro / SO-notes

A collection of (not so) short notes for the Operative System course, lectured at Aveiro University
https://martinspedro.github.io/SO-notes/
MIT License
7 stars 0 forks source link

Wrong footnotes when publishing books #1

Open martinspedro opened 6 years ago

martinspedro commented 6 years ago

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

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 commented 6 years ago

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

martinspedro commented 6 years ago

Possible workarounds: