-
Notifications
You must be signed in to change notification settings - Fork 2
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
Document Output #5
Comments
DocX output is a complicated topic! For the purpose of this project the basics are definitely available:
From there the story gets more complicated, in part due to various document editors idiosyncrasies. The major remaining piece for this project relies on two features:
Regretfully, only Microsoft's Desktop Word supports both of these features. Only LibreOffice supports line numbering. None of Google Docs, Apple's Pages.app or Word's web version support line numbers. LibreOffice can support line numbering in sections, but at the expense of inserting additional page breaks. |
We've gone the DocX route. |
We'll go with exporting as a docx file.
There's a javascript library of the same name which should provide mostf of the functionality needed.
It is notably missing the ability to add attachments, so it won't be possible to include any legislative XML files unfortunately.☹️
Additionally it's missing the ability to do line numbers (there's a pull request out for this), so if we include the line numbers we'll have to fake it with either a numbered list, or a columnar layout.
The text was updated successfully, but these errors were encountered: