-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support of footnotes #4
Comments
Version 1.3.0 pushed to pypi. Changes:
Example:
Enables standard extension Tests have been added to confirm that Bukvitsa and Footnotes can be used together with expected results. |
Thanks, it works now!
Is this right? We seem to be using |
We need a syntax for CU-style footnotes (кавыки). As of now, we do not have any. Double square brackets was tentative. Code has nothing yet. Lets decide what pattern we will use and implement? |
I am confused. What is the difference between:
And the proposed |
Maybe instead of the syntax we have now, it makes more sense to do something like this? |
Modern footnotes use superscript label. Slavonic ones do not. We need both, because modern and CU-style footnotes can be used in one book (I've seen books that have Preface with modern-style footnotes, with traditional CU-style footnotes in the main text). Yes, we need both - the labeled span in the text, and the replacement/comment section. Your suggestion looks good. Another note for the discussion: Markdown is basically a version of HTML. Both do not have any explicit pagination. Footnote handling moves footnote text to the end of the document, or, sometimes, it makes sense to move footnote text just after the current paragraph. Would be also nice to be able to adjust generated HTML. Any ideas, comments? |
OK, but the example in question is a Slavonic footnote (strictly speaking, a marginal note, but I don't think we need to make that distinction). Regarding the placement of footnotes, I think it is a layout issue rather than a markup issue. In TeX, the layout engine will decide where to position the notes. In HTML, I don't think there is a trivial way to put the notes after the relevant paragraph. Perhaps what makes sense is to have the notes as tooltip text. This is what is done here. |
If we don't use the html flag, the note
If we add the -e flag, the program throws an error:
|
What is wrong, exactly? To process footnotes (Modern ones) one has to use Without Something like this should work as expected:
|
I get an error message:
|
Oops. Flag
|
Maybe it make sense to improve this and list extensions with comma separator instead. Then one can put |
Version 1.4.0 improves the implementation of the
|
It works, thanks. |
Shall we leave these footnotes the way they are, or do you want to change the Markdown syntax to something like
or something else? |
Yes, the plan is to add CU-style footnotes, so that both Modern footnotes and CU-style footnotes can be used in the same document, as needed. I will research the suggested |
Looks to me that |
We seem to have a problem with the support of footnotes. Right now the footnote is encoded in the Markdown like this:
This seems to be more or less ignored in VS Code. In cumd's conversion to HTML, this is treated as a bukvitsa (see attached files).
test1.zip
The text was updated successfully, but these errors were encountered: