Re: overriding LaTeX mappings

James Devenish <[email protected]> Fri, 12 Dec 2003 08:48:37 +0800
Newsgroups gmane.text.docbook.db2latex.general
Message-ID <[email protected]>
Hi,

In message <[email protected]>
on Thu, Dec 11, 2003 at 03:33:52PM +0000, Brian McGurk wrote:
> Is it possible to override the mappings in latex.mapping.xml? I'd like
> to change the way that titles are formatted for refsect1 elements.

Yep. Grab a snapshot from <http://db2latex.sourceforge.net/snapshot/>.
You basically write your own latex.mapping.xml file that contains all
the mappings you wish to override. Then, set the $latex.mapping.xml
variable within your own .xsl file. There is an example of it here:
<http://cvs.sourceforge.net/viewcvs.py/db2latex/db2latex/xsl/sample/test_mapping/>.
See also <http://db2latex.sourceforge.net/reference/rn01re01.html>
(which reminds me...we should be providing 'persistent URLs' for the
reference documentation -- rn01re01.html just isn't going to last!).




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click