View Single Post
Old 11-08-2021, 06:00 AM   #1
ydonse
Member
ydonse began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2021
Device: none
PDF removes chapter breaks

Hello !

I have an issue with my chapter's page breaks.
I use this command line for epub conversion :
PHP Code:
/usr/bin/xvfb-run --auto-servernum /usr/bin/ebook-convert mydoc.docx mydoc.epub --cover mycover.png  --insert-blank-line --remove-paragraph-spacing --remove-paragraph-spacing-indent-size ---preserve-cover-aspect-ratio --embed-all-fonts --epub-version 3 2>&1
i use the command line for PDF conversion :
PHP Code:
/usr/bin/xvfb-run --auto-servernum /usr/bin/ebook-convert mydoc.docx mydoc.pdf --cover mycover.png  --margin-bottom 85 --margin-top 99  --preserve-cover-aspect-ratio 2>&1
My epub has no issue and has its page break before chapters. However the breaks have disappeared from the PDF version.

Using conversion through Calibre software works, but I need it to work through command line.

I am searching through options guidelines without success

Edit : I am using Calibre 5.30

Last edited by ydonse; 11-08-2021 at 06:02 AM.
ydonse is offline   Reply With Quote