Quote:
Originally Posted by sehrgut
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" />