Skip to content
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

Does anyone else have an issue with columns/section breaks when converting from .docx to .pdf? #477

Closed
DavidAyliffe opened this issue Nov 19, 2018 · 6 comments

Comments

@DavidAyliffe
Copy link

Any .docx documents with section breaks in ruin the format of the converted file.
I'm running unoconv on Mac with LibreOffice (of course)

@regebro
Copy link
Member

regebro commented Nov 27, 2018

Does it work if you export it to PDF with LibreOffice directly?
If so, can you make an example file, and also provide the command line you use to convert to PDF?

@DavidAyliffe
Copy link
Author

Test from Unoconv.pdf
test from LibreOffice 4372.pdf
test from Word.pdf
test.docx

The output from LibreOffice and UnoConv are consistent but it's annoying that LO is putting text directly after a section break on a new page.

This really screws up the formatting of a lot of our documents.
Is there any solution?

Maybe this has been fixed in the latest version of LO. Any timeframe on when UnoConv will support this?

My command line is:
if ( system ( 'unoconv', '--preserve', '-f', 'pdf', $item->{filename} ) == 0 ) # success!
{ ... }

@regebro
Copy link
Member

regebro commented Nov 28, 2018

I hope to get some time to spend on Unoconv during December, but I can't promise anything. But in any case this is a LibreOffice problem, not a Unoconv one. I'll keep it open until we can officially support Libreoffice 6.

@DavidAyliffe
Copy link
Author

DavidAyliffe commented Nov 28, 2018 via email

@DavidAyliffe
Copy link
Author

DavidAyliffe commented Nov 28, 2018 via email

@regebro
Copy link
Member

regebro commented Feb 15, 2019

Unoconv seems to work with Libreoffice 6 as far as my testing goes.

@regebro regebro closed this as completed Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants