12-13-2011, 01:04 PM | #1 |
Jr. - Junior Member
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
|
Change file name during conversion?
Is there any way to have a user selected name for htlm files during a conversion to epub.
Where does Calibre get its file name. Is it some place in the meta data that the user can modify? Thanks -John |
12-13-2011, 01:42 PM | #2 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You might be able to use the command line interface which is tedious, but allows converted files to NOT be stored in the Library. Send to Device and Save to disk can use Metadata to set a file name and path when saving ELSWHERE. |
|
Advert | |
|
12-13-2011, 03:36 PM | #3 |
Jr. - Junior Member
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
|
Hi Ducks-
What I'm asking about are the html file names as seen in the sigil book browser. The book browser would show something like this: How_High_Browse_Thou_Brown_Cow_split_000.html I would like it to show: Cow_split_000.html The reason is so that I can keep the book browser to a reasonable width and see the number portion of the file name. It makes it easier to to build a TOC from scratch. (the chapter number is the file number plus X) I am not trying to make any structural change or in any way modify how Calibre maintains its files. As the bard said: "A rose by any other name would smell as sweet". Regards - John |
12-13-2011, 04:01 PM | #4 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Calibre just tacks on the splitxxxx part. (I don't see a reason to even keep a base name as the book is normally kept ordered and assembled) Sigil book browser does have a bottom scroll bar (when needed). I run Sigil on a multi-head system, so I have the Browser detached on another screen, so wide is not a problem for me. Normally. |
|
12-13-2011, 05:06 PM | #5 | |
Jr. - Junior Member
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
|
Quote:
Maybe someone here will tell me where I can find the data that Calibre uses to form the file name and tell me how it can be edited. Regards - John |
|
Advert | |
|
12-13-2011, 06:09 PM | #6 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Scroll bars only appear when needed (Might be part of detaching the browser. Try that.) There is only a vertical scroll. |
|
12-14-2011, 05:33 AM | #7 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
I think it is something you should raise as a request in the Sigil forum, as it is really a Sigil thing to solve. Even if you changed the calibre code, you shouldn't have to reconvert a book in Calibre just to shorten file names for editing in Sigil.
Certainly it has crossed my mind many times as being a desirable Sigil feature. If they don't add it themselves then I figured when they eventually get to implementing plugin support for Sigil it would be a candidate, a "Bulk Rename" feature basically. |
12-14-2011, 07:31 AM | #8 | |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
(1) Explode the book using Tweak ePub. (2) Rename all the 'split' files as required. (3) Update the corresponding reference/s in the book's OPF and NCX files. (4) Rebuild the ePub. You can do (2) and (3) manually, (=slow) or you could script it, (e.g. using VBScript). |
|
12-14-2011, 08:09 AM | #9 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Agama - you have missed something in step 3, of making sure that any other links within the html files are updated with the renamed files - such as an inline TOC or links to footnote pages etc.
That is the problem with trying to do this manually, you will inevitably miss something. Better to have it automated via a tool. |
12-14-2011, 01:08 PM | #10 | |
Jr. - Junior Member
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
|
Quote:
Plugins are on the Sigil docket - just don;t know when. And then, of course, someone has to write the plugin. So. I guess for the time being it's manual city for me. Tedious for sure. Regards - John |
|
12-14-2011, 06:13 PM | #11 | |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I change the file name output? | Book | Calibre | 3 | 08-07-2011 02:55 PM |
mobi to epub conversion - how do I change the img settings? | paola | Conversion | 0 | 05-15-2011 02:22 PM |
Opus Updating EPUB file won't change publisher data on file listing | spaze | Bookeen | 1 | 03-08-2011 01:34 AM |
xhtml file name change | bobcdy | Sigil | 11 | 10-23-2010 12:05 AM |
How can I change my file name? | oholarik | Sony Reader | 7 | 01-07-2009 10:40 PM |