José Matos wrote:
On Monday 24 September 2007 17:48:52 Richard Heck wrote:
URL insets used in LaTeX documents should presumably become URL
charstyles. But we do not want to do this for docbook documents. How do
we tell from inside lyx2lyx whether we're doing one or the other?
It is easy. :-)
You can test over document.backend. Something like:
if document.backend == "docbook":
return
Great, thanks.
Richard
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto