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
Sorting documents numbered >99 unexpectedly positioned in front of 99.back-matter #106
Comments
Do you think this behavior is a problem, or rather does it need to be better documented? I think it is reasonable for the filenames to be sorted in this manner, which matches how GitHub sorts them. We do need to make sure that users know how to place text in the desired location though. One convention would be to switch to a three digit |
Probably just this. I could add a one sentence PR to Although I'm currently debating having the SI in the same manuscript versus not. Having it there makes references and other things better, on the other hand, lot of journals want things like different figure numbering for SI (restart the counter and use S1, S2, ...) which is tough with a our current framework of smooshing all the separate Markdown documents together before rendering. |
Better would be to move back-matter to |
This is true, no reason to go to triple digits unless necessary :) |
Closes manubot/manubot#106 Enables creating two-digit prefixed content markdown files that will sort to come after back-matter. While back matter is intended to be the final markdown file, some users may want to place content after it.
Merges #222 Closes manubot/manubot#106 Enables creating two-digit prefixed content markdown files that will sort to come after back-matter. While back matter is intended to be the final markdown file, some users may want to place content after it.
This build is based on dcb3cc4. This commit was created by the following Travis CI build and job: https://travis-ci.com/manubot/rootstock/builds/112283019 https://travis-ci.com/manubot/rootstock/jobs/201161222 [ci skip] The full commit message that triggered this build is copied below: Use 90. prefix for back-matter.md Merges #222 Closes manubot/manubot#106 Enables creating two-digit prefixed content markdown files that will sort to come after back-matter. While back matter is intended to be the final markdown file, some users may want to place content after it.
This build is based on dcb3cc4. This commit was created by the following Travis CI build and job: https://travis-ci.com/manubot/rootstock/builds/112283019 https://travis-ci.com/manubot/rootstock/jobs/201161222 [ci skip] The full commit message that triggered this build is copied below: Use 90. prefix for back-matter.md Merges #222 Closes manubot/manubot#106 Enables creating two-digit prefixed content markdown files that will sort to come after back-matter. While back matter is intended to be the final markdown file, some users may want to place content after it.
Merges manubot/rootstock#222 Closes manubot/manubot#106 Enables creating two-digit prefixed content markdown files that will sort to come after back-matter. While back matter is intended to be the final markdown file, some users may want to place content after it.
manubot/manubot/process/manuscript.py
Line 32 in a2eb7d8
I naively created
100.si.md
that I thought would be sorted after99.back-matter
(where the references are) but it gets sorted in front.The text was updated successfully, but these errors were encountered: