View Single Post
Old 09-27-2015, 09:15 AM   #9
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Tag along questions --

I found these CSS and XHTML's in various calibre2 folders (I had customized the inline_toc_styles.css previously)

Q1 - are there any others?

Q2 - are these and their usage documented in the user manual? I searched for 'template' but all I found was info about the language, but nothing about what each was used for. I can guess, but it'd be nice to be more sure

"Overriding icons, templates, et cetera" only tells you how to change the templates, but not what each is used for

Q3 - what is the difference between content-server and content_server? (Don't use it, but curious)


Spoiler:

Mine:

C:\Users\<userid>\AppData\Roaming\calibre\resource s\templates\inline_toc_styles.css


System:

C:\Program Files\Calibre2\resources\catalog\stylesheet.css
C:\Program Files\Calibre2\resources\catalog\template.xhtml

C:\Program Files\Calibre2\resources\content-server\empty.html

C:\Program Files\Calibre2\resources\content_server\browse\bro wse.css
C:\Program Files\Calibre2\resources\content_server\browse\bro wse.html
C:\Program Files\Calibre2\resources\content_server\browse\det ails.html
C:\Program Files\Calibre2\resources\content_server\browse\sum mary.html

C:\Program Files\Calibre2\resources\jacket\stylesheet.css
C:\Program Files\Calibre2\resources\jacket\template.xhtml

C:\Program Files\Calibre2\resources\templates\book_details.cs s
C:\Program Files\Calibre2\resources\templates\html_export_def ault.css
C:\Program Files\Calibre2\resources\templates\inline_toc_styl es.css
C:\Program Files\Calibre2\resources\templates\new_book.html


Thanks

Last edited by phossler; 09-27-2015 at 09:19 AM.
phossler is offline   Reply With Quote