-
Notifications
You must be signed in to change notification settings - Fork 13
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
Modified cover page results in IndexError #5
Comments
Hi, @koenvervloesem . Thank you for your issue report. This issue is because LibreOffice removes relationships between styles and bullet/enumeration list definitions (Opening style.docx by LibreOffice removes numbering style from List Bullet and List Number styles). Unfortunately, LibreOffice removes also invisible cover page information from default style.docx file. So, generated document based on the style.docx modified by LibreOffice will not include cover page. |
Awesome, @amedama41, that works! The only issue I have now with your new style.docx is that the sample TOC is generated in my document after the cover page, before my real TOC. |
@koenvervloesem LibreOffice had broken the original cover page range. |
Great, this works perfectly now! Thank you! This is really an awesome project. I have started writing a book with Sphinx in reStructuredText and the docx output of docxbuilder is amazing. |
I copied
style.docx
to my source directory and I only changed the document title, subject and author in LibreOffice Writer 6.3.2. I saved the file and ran amake docx
with adocx_style = 'style.docx'
in myconf.py
. This results in an exception:Any idea what is going on? The document title, subject and author are really the only things I have changed in the style file. When I replace the file by the original one, it works, but I'd like to modify the text fields on the cover page.
The text was updated successfully, but these errors were encountered: