#87 Extracting titles from Entries strips latex macro "\"

Cosmetic bug
open
nobody
interface (14)
5
2009-01-06
2009-01-06
Joe Foley
No

I'm trying to do some processing on a bibtex file which has the "\ldots" macro in it's title field. I want to remove those macros safely before processing, except that pyblio (or maybe recode) eats the "\" when it converts to text. I can't figure out how to get at the root text variable so that the conversion does not occur. The error that is presented is "warning: unable to convert '\ldots'"

And a related code snippet:

if entry.has_key("title"):
title = entry.get("title")
print "title: %s" % title

Discussion

  • Joe Foley

    Joe Foley - 2009-01-06

    Rewrites bibtex entries according to GoogleScholar ID

     
    Attachments
  • Pander

    Pander - 2010-11-16

    The same happens for the following TeX macro's:

    pybliographer: warning: unable to convert `\LaTeX'
    pybliographer: warning: unable to convert `\TeX'

    Please fix this.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks