View Single Post
Old 01-30-2009, 04:22 PM   #19
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by sehrgut View Post
A question. Do you use the @import feature that much?
I do - I have a whole tree of includes, e.g.:
common.inc - for all books
pratchett.inc - for author, author-sort; includes common.inc
discworld.inc - for customized chapter detection; includes pratchett.inc
book.htm - title, title-sort; includes discworld.inc

Quote:
What's an example of the sort of thing you'd keep in a common.htm?
Code:
<meta name="lrf:--header" content="" />
<meta name="lrf:--no-links-in-toc" content="" />
<meta name="lrf:--chapter-regex" content="@@@NONE@@@" />
<meta name="lrf:--chapter-attr" content="h2,id,^(chapter|part)" />
<meta name="lrf:--force-page-break-before-tag" content="h2" />
<meta name="lrf:--add-chapters-to-toc" content="" />
<meta name="lrf:--cover" content="%p%n.jpg" />
<link rel="stylesheet" href="common.css" type="text/css" />
pepak is offline   Reply With Quote