Re: latex bibliographies with multiple databases

"Markus Hoenicka" <[email protected]>
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
David Nebauer writes:
 > There's something else.  You may recall some time ago all the trouble 
 > taken to ensure entities such as &mdash; and &amp; are preserved in 
 > database reference entries and subsequently then preserved throughout 
 > DocBook processing.  Many of my references include entities in document 
 > titles.  Well, those entities are now appearing in the bibtex entries 
 > created by runbib.  As you noted, the raw ampersands choke LaTeX.  Is 
 > there any way of converting those xml-safe entities to LaTeX equivalents 
 > as runbib exports them?  In the case of '&mdash;' that would be '---'.
 > 

I thought about this a bit more. I'm afraid this is going to get far
more complex than I thought in the first place. We need to:

- replace XML entities that stem from risx documents or which were
  deliberately used in RIS data. E.g. '&mdash;' -> '---'

- backslash-escape LaTeX command characters unless, and that's the
  catch, they are used as LaTeX commands. A LaTeX-only user may
  rightfully expect e.g. author names like 'H\"{a}\{ss}ler' (as
  imported from a bibtex file) to be processed correctly, or
  e.g. '{\bf emphasized}' words in titles. refdbd would have to
  acquire a thorough knowledge of LaTeX commands to cope with this.

- translate foreign letters and letters with diacritics to their TeX
  equivalents from, and that's the catch here, any supported character
  encoding. The same TeX representation of such a letter may be
  encoded as a variety of one to three-byte sequences in different
  uni- or multibyte character sets.

Is anyone aware of a library or a tool that implements these
transformations? I'm only aware of tex2mail which does the reverse.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.