03-09-2023, 07:13 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2023
Device: Kindle 4th gen
|
Margin keeps being rewritten based on ???
Hi, I'm making a poetry e-book. Final state should look like this. The css to it looks like this. Unfortunately, when I try to convert it to anything (my goal is pdf but even azw3 does this), it basically deletes the left and right margin in .poetry class. This state, however, is not given. It occurs once there is about 52 poems in. I tried reducing the number of poems (overall length of the book) and it seems to have problems at around 2000 rows (the ebook has also a preface that is around 100 rows long)? After that, it abandons the rule whatsoever and all the text in .poetry class is automatically aligned left. That looks like this. (The final state of the only 52 is here.)
What converting to azw3 does is it copies the margin rule but only converts it to margin-top and margin-bottom. That seems to be the issue I'm having but I might be doing something else that is also completely wrong. If this explanation wasn't sufficient or if this post is in a wrong category, I'm sorry. |
03-09-2023, 07:14 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Turn off the setting to remove fake page margins in the structure detection section of the conversion dialog.
|
Advert | |
|
03-09-2023, 07:21 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2023
Device: Kindle 4th gen
|
Yes, that seems to have helped! Thank you very much! <3
But how come it wouldn't work on shorter files? |
Tags |
converting, epub, margin, pdf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Roald Dahl Children's Books Being Rewritten | Tarana | News | 313 | 04-20-2023 03:50 AM |
how to convert image based azw to pdf without margin? | hlhp | Conversion | 2 | 10-20-2022 03:55 AM |
Kindle Paperwhite: Author not getting rewritten when using plugboard template | kevbo | Library Management | 5 | 09-09-2015 08:29 PM |
calibre ignore margin-top and margin-bottom | bender | Calibre | 2 | 12-11-2009 06:58 AM |