{"action":"closed","issue":{"url":"https://api.github.com/repos/melmothx/text-amuse/issues/24","repository_url":"https://api.github.com/repos/melmothx/text-amuse","labels_url":"https://api.github.com/repos/melmothx/text-amuse/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/melmothx/text-amuse/issues/24/comments","events_url":"https://api.github.com/repos/melmothx/text-amuse/issues/24/events","html_url":"https://github.com/melmothx/text-amuse/issues/24","id":274041800,"number":24,"title":"[proposal] Endnotes","user":{"login":"labdsf","id":18373967,"avatar_url":"https://avatars1.githubusercontent.com/u/18373967?v=4","gravatar_id":"","url":"https://api.github.com/users/labdsf","html_url":"https://github.com/labdsf","followers_url":"https://api.github.com/users/labdsf/followers","following_url":"https://api.github.com/users/labdsf/following{/other_user}","gists_url":"https://api.github.com/users/labdsf/gists{/gist_id}","starred_url":"https://api.github.com/users/labdsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labdsf/subscriptions","organizations_url":"https://api.github.com/users/labdsf/orgs","repos_url":"https://api.github.com/users/labdsf/repos","events_url":"https://api.github.com/users/labdsf/events{/privacy}","received_events_url":"https://api.github.com/users/labdsf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-11-15T05:45:50Z","updated_at":"2017-12-10T12:48:28Z","closed_at":"2017-12-10T12:48:28Z","author_association":"CONTRIBUTOR","body":"As Text::Amuse is mostly used by Amusewiki, which focuses on archiving books and articles, I think it needs to support both footnotes and endnotes. Endnotes are often used in books to add translator's notes, so it should also be possible to reference endnotes from within footnotes. Without additional syntax it is impossible to typeset endnotes in Muse, while possible in ODT and LaTeX.\r\n\r\nWhat we already have is essentially endnotes. I propose to rename them into \"endnotes\" in the [manual](https://amusewiki.org/library/manual), make them generate `\\endnote` instead of `\\footnote` in LaTeX (needs additional package) and add new syntax for footnotes.\r\n\r\nFor footnotes I suggest to add the following syntax:\r\n```\r\nFootnote reference[*], footnote reference 2[**].\r\n\r\n[*] Footnote 1\r\n    with continuation and endnote reference [1].\r\n\r\n[**] Footnote 2\r\n\r\n     Second paragraph of footnote 2\r\n\r\nFootnote reference 3[*]\r\n\r\n[*] Footnote 3 with endnote reference [2]\r\n\r\n* Notes\r\n\r\n[1] Endnote 1\r\n\r\n[2] Endnote 2\r\n```\r\n\r\nSo footnotes can be redefined and nearby footnote definition (searched downwards from reference) is used.\r\n\r\nIn books footnotes are usually not numbered and reference marks (*, ** etc.) are redefined for each page, while endnotes are globally numbered, so this syntax resembles footnotes in real books.\r\n\r\nThis change would also solve most problems with managing footnotes and reduce the need for `muse-check-footnotes.pl`, `muse-rearrange-footnotes.pl` scripts.\r\n\r\nI have also proposed to add footnote and endnote separation to `pandoc`: jgm/pandoc/issues/4041\r\nAll code is there with Docx and ODT support, so it will be possible to add support for footnotes and endnotes to `pandoc` once it is merged.\r\n\r\nExisting simple texts which only use endnotes can be left as is, there is no need to convert endnotes into footnotes immediately. A perl script and/or pandoc filter can be created to automate this process later."}}
{"actor":{"display_login":"melmothx"}}