Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2015, 02:22 PM   #1
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
temporary files - where are they located?

Hi!

As it seems to be not able to generate a ToC for the book I'm creating with Calibre (1.48) the way I want it to appear, (see my other thread) I'm wondering whether it's possible to access the work files Calibre uses from the os.

I want to parse the content with a script and create my own toc.xhtml, but I seem to be unable to find the files Calibre uses for the book.

Even if I find them: Would it be possible to replace the toc.xhtml and would Calibre be able to work with the replaced file?
Skeeve is offline   Reply With Quote
Old 02-12-2015, 02:45 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
calibre stores tempfiles on Windows in "%TEMP%" (which should equate to "%USERPROFILE%\AppData\Temp"), or on unix, "$tmp" ("/tmp").
They will be in folders titled "calibre" with a random string appended.

Not sure how much that will help you, since anything it creates will be in the output you already created, and you cannot really pause say a conversion while you replace stuff... but yo can certainly take a look at what gets created there.

If you want to replace the ToC.xhtml, you *can* always just use Edit Book...
eschwartz is offline   Reply With Quote
Advert
Old 02-13-2015, 04:28 PM   #3
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
Everything you need to create your own html TOC is found in the "toc.ncx" file in the epub itself. You don't have to go chasing down temporary files and such. I've done it myself in the days before the facility was added to calibre or sigil. As long as you're poking around in the toc.ncx, you can also create navigation links to the next or previous chapters, or up to the top to the html TOC. I've done that, too.
signum is offline   Reply With Quote
Old 02-14-2015, 03:18 AM   #4
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Thanks @signum, I already found a working solution using toc.ncx: https://www.mobileread.com/forums/sho...8&postcount=10
Skeeve is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where are kepub files located on the PC? Lynx-lynx Kobo Reader 8 09-22-2014 01:56 AM
Temporary files and Owncloud apastuszak Calibre 3 05-08-2014 06:25 PM
Temporary Files left behind by Calibre Merbird Calibre 13 02-28-2014 05:00 AM
Where are startup files located? Jabby Calibre 8 12-06-2010 12:17 AM
Where are files located? HawaiianLungs Sony Reader Dev Corner 3 09-15-2008 07:55 AM


All times are GMT -4. The time now is 12:18 AM.


MobileRead.com is a privately owned, operated and funded community.