[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] EPUB3: how to use base.dir ?
Hi Bob, Am Mittwoch, 10. April 2013, 10:53:17 schrieb Bob Stayton: > > > Or, maybe invent some new variable and name it epub.base.dir which > > serves as "the" base directory for everything. > > Thanks for the feedback. I think maintaining a confusing base.dir setup is > worse than any backwards compatibility issues for the next release, so I'll > fix this. Since the base.dir param is already used in many places in the > html stylesheets, changing its behavior would be difficult. I like the idea > of a new epub.base.dir param, and the stylesheet would set the default > base.dir value to > > concat($epub.base.dir, '/', $epub.oebps.dir) Great!! Thanks a million! > Regarding those params, only these are hardwired constants and should be > > xsl:variables: > >> epub.metainf.dir='META-INF/' > >> epub.mimetype.filename='mimetype' > >> epub.mimetype.value='application/epub+zip' Right, sounds reasonable. > These can be changed by the user: > >> epub.oebps.dir='OEBPS' > >> epub.ncx.filename='toc.ncx' > >> epub.container.filename='container.xml' > >> epub.package.filename='package.opf' > > I'm not sure why you would change them, but they can be changed and still > have a valid epub file. Ok, I'm fine with that. :) Thanks for all your efforts. -- Gruß/Regards Thomas Schraitle
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]