Menu

#50 pybtex errors out at \@ and @ in entries

closed-fixed
nobody
None
trunk
2014-03-15
2013-09-19
Anonymous
No

pybtex errors out on entries like

booktitle = {Proc.\@ of the American Control Conference},

The \@ may be unneeded, but is legitimate and should not cause confusion.

Furthermore pybtex errors out on entries that contain email addresses (e.g. in notes) when it reaches the @ symbol.

Discussion

  • Sergio Callegari

    Still present in 0.17

     
  • Densetsu no Ero-Sennin

    Can you attach an example .bib file so I could reproduce the error?

     
  • Sergio Callegari

    Here is a minimal bib file, with two different situations causing an issue. Maybe not the most elegant bib entries, but standard bibtex is fine with them.

     

    Last edit: Sergio Callegari 2014-03-14
  • Densetsu no Ero-Sennin

    Hmm, works for me:

    $ pybtex-format /tmp/test.bib /tmp/test.tex
    $ cat /tmp/test.tex
    
    \begin{thebibliography}{1}
    
    \bibitem[1]{Osqui:ACC-2007}
    Mitra Osqui, Mardavij Roozbehani, and Alexandre Megretski.
    \newblock Semidefinite programming in analysis and optimization of performance of {S}igma-{D}elta modulators for low frequencies.
    \newblock In \emph{Proc.\@ of the American Control Conference}, 3582--3587. July 2007.
    
    \bibitem[2]{Callegari:IntRep-2001-a}
    S.~Callegari, R.~Rovatti, and G.~Setti.
    \newblock Generation of constant-envelope spread-spectrum signals via chaos-based {FM}: applications and implementation issues.
    \newblock Internal report of CEG-DEIS, University of Bologna, available on request from the first author, e-mail: \textsl{scallegari@deis.unibo.it}., 2001.
    
    \end{thebibliography}
    

    Are you sure you are using version 0.17? (pybtex --version)

     
  • Anonymous

    Anonymous - 2014-03-14

    You are right. But apparently there is no issue when these entries are cited. But, there is an issue when they are not cited.

     
  • Densetsu no Ero-Sennin

    Aha, got it now.

     
  • Densetsu no Ero-Sennin

    Fixed in revision 904.

     
  • Densetsu no Ero-Sennin

    • status: open --> closed-fixed
    • Version: --> trunk