![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Epub to PDF can't remove page breaks between headers
I managed to get a good font size and margins, but can't seem to fix the issue of page breaks between headers. I tried heuristic processing and "insert blank line between paragraphs" and a couple other things, no dice.
Just to be clear, I provided 2 examples (click the image to make it larger). ![]() ![]() Oh, another quick question. I noticed when bulk converting that the spacing between paragraphs wasn't consistent between pdfs. Is there a way to standardize it to some arbitrary value? Eg/ 0.5 inches. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Structure detection ->insert page breaks before.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Quote:
I also tried changing chapter mark from pagebreak to none, still nothing. |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use /
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
That's what it is by default
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, by default it is //*[name()='h1' or name()='h2']
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
http://postimage.org/image/75nw5eykl/
It's //*[name()='h1' or name()='h2'] etc by default for detect chapters at (Xpath expression) but / for Insert page break before (Xpath expression) for me. Calibre 0.8.61 on Windows. Edit: I tried changing detect chapters at to /, still nada. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then your book has the page breaks already defined in it. Edit it with tweak book in calibre or sigil to remove them, or use filter css in calibre.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Bah that seems too complicated, at least if it has to be done manually for each epub.
Well aside from that issue, I came up with some nice preferences for epub -> pdf, at least for PC viewing. Base font size: 15.0 pt Insert blank line between paragraphs [check] Line size: 1.5 em Enable heuristic processing [check] Left margin: 50.0 pt Right margin: 50.0 pt Insert page breaks before (Xpath expression): / Everything else usual defaults. |
![]() |
![]() |
![]() |
#10 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#11 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF to EPUB - page breaks | pops1959 | Calibre | 0 | 01-13-2011 07:28 PM |
Page breaks - PDF input to ePub output | JoTH | Calibre | 9 | 11-18-2010 04:35 PM |
Can I remove PDF author info and/or page headers? | cloudyvisions | Calibre | 0 | 03-05-2010 11:48 PM |
Remove PDF page headers ? | JohnB | Calibre | 9 | 03-27-2009 01:19 PM |