07-15-2017, 12:07 PM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle App
|
Adding new sections
Hi
I have imported a docx and after learning some of the basics about Calibre, I now want to add a section. But due to the number of changes I made in my azw3, using the built-in editor, I don't want to change the original docx. How can I insert a new section afterwards without messing up the ebook? Best regards Martin |
07-15-2017, 07:02 PM | #2 | |
Well trained by Cats
Posts: 30,497
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Add the file (assumes it is XHTML, with the same styles used) or you could import and link a separate stylesheet (my personal thought is not to do this way, all main body chapters should use the same stylesheet for ease of single point of change) |
|
Advert | |
|
07-15-2017, 07:11 PM | #3 | |
Resident Curmudgeon
Posts: 76,859
Karma: 138235604
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-15-2017, 07:52 PM | #4 |
null operator (he/him)
Posts: 21,071
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@MartinHe - I can't write with HTML and XML drivel in front of me, its mere presence puts me into code mode where I start worshipping form over substance
So I do all substantive editing in the original word processing format (master copy) where I keep formatting as simple as possible. Any editing I do on target formats such as EPUB is limited to cosmetic issues such fonts, titivating with fancy scene breaks and title pages etc. IMO if you're going to do substantive editing in a converted format (such as ePub, or a Kindle format) you might as well delete the original DOCX. On the odd occasion I've needed to add/insert a new section I've done it within the master WP document. I create a DOCX for just that section, from which I create an ePUB using Sigil's DOCX Import (to ensure style consistency is preserved), and then I merge the XHTML file from that into what I already have. On the rare occasion I've been asked to create a Kindle format such as AZW3 I muddle through converting the ePub with kindlegen or calibre conversion. Nothing I do gets 'published' commercially. BR |
07-15-2017, 10:29 PM | #5 | |
Well trained by Cats
Posts: 30,497
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
When adding, sometimes the user does not have the same stylesheet (usage). Having various sheets load for specific pages, beats having a monster sized sheet, where some things get used ONCE |
|
Advert | |
|
07-16-2017, 05:08 AM | #6 |
Member
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle App
|
Dear all
Thank you very much. Actually I do not want to write another section with a lot of text. Instead, I just want to add a changelog to the end of the ebook. Of course I can write up a html file and import it, but how do I tell Calibre to put that into a certain place in the internal order of the ebook. I guess there is a file that contains the sequence of integrated html files, possibly even multiple files. Best regards Martin |
07-16-2017, 05:14 AM | #7 |
Grand Sorcerer
Posts: 6,403
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
In calibre editor, you can add a html file to an epub ebook, and later reorder the file till you place it at the point you want. All the necessary changes in the internal structure are done by calibre without you having to worry about it.
|
07-16-2017, 06:11 AM | #8 |
Member
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle App
|
Cool! I will give it a try
|
07-16-2017, 06:18 AM | #9 | |
Member
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle App
|
In the other files, there are parts like
Quote:
|
|
07-16-2017, 09:24 PM | #10 | |
Well trained by Cats
Posts: 30,497
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
what you do need to worry is that class="block_25" has a matching entry in the CSS or yo change it to match what you use in other sections |
|
07-17-2017, 05:23 AM | #11 |
Member
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle App
|
Worked like a charm! Thanks a lot!
|
07-17-2017, 05:43 AM | #12 |
Resident Curmudgeon
Posts: 76,859
Karma: 138235604
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sections Order | Cyberseeker | Sigil | 3 | 05-29-2017 11:59 PM |
Help with sections | pabloaldama | Recipes | 6 | 08-04-2011 04:29 AM |
How to break up into sections ??? | katielady | Sigil | 14 | 02-18-2011 06:01 PM |
New Forum Sections | gvtexas | Announcements | 1 | 06-09-2003 10:05 AM |