Menu

Tree [99eae5] master /
 History

HTTPS access


File Date Author Commit
 tests 2014-03-26 Frederic Gobry Frederic Gobry [ca3642] fixed a regression where field names where not ...
 .gitignore 2014-02-24 Frederic Gobry Frederic Gobry [351759] Updated gitignore rules to ignore lex/yacc gene...
 ChangeLog 2007-04-24 Frederic Gobry Frederic Gobry [ae65a2] merged with zoltan's branch
 MANIFEST.in 2005-10-06 Frederic Gobry Frederic Gobry [3b4d8c] oops, forgot the NEWS file in the manifest
 NEWS 2014-03-28 Zoltan Kota Zoltan Kota [a0b4ec] Updated NEWS file for 1.2.7
 README.md 2020-10-13 Germán Poo-Caamaño Germán Poo-Caamaño [99eae5] Use markdown for README
 accents.c 2019-11-01 Peter Chubb Peter Chubb [5193ac] Convert to Python version 3
 author.c 2019-11-01 Peter Chubb Peter Chubb [5193ac] Convert to Python version 3
 biblex.l 2014-03-04 Frederic Gobry Frederic Gobry [abb1a7] got rid of 2 flex warnings about unused symbols...
 bibparse.y 2020-10-13 Germán Poo-Caamaño Germán Poo-Caamaño [4d9597] Fix deprecated function
 bibtex.c 2014-03-04 Frederic Gobry Frederic Gobry [abb1a7] got rid of 2 flex warnings about unused symbols...
 bibtex.h 2005-09-25 Frederic Gobry Frederic Gobry [839de8] added support for "verbatim" fields, like urls
 bibtexmodule.c 2019-11-01 Peter Chubb Peter Chubb [5193ac] Convert to Python version 3
 debugging.h 2003-09-16 Frederic Gobry Frederic Gobry [c01799] initial import
 entry.c 2014-02-24 Frederic Gobry Frederic Gobry [e3e9b7] Replaced deprecated calls to Glib's chunk alloc...
 field.c 2014-02-24 Frederic Gobry Frederic Gobry [e3e9b7] Replaced deprecated calls to Glib's chunk alloc...
 logging.h 2003-09-16 Frederic Gobry Frederic Gobry [c01799] initial import
 python2_compat.h 2019-11-01 Peter Chubb Peter Chubb [5193ac] Convert to Python version 3
 recodemodule.c 2019-11-01 Peter Chubb Peter Chubb [5193ac] Convert to Python version 3
 reverse.c 2019-11-01 Peter Chubb Peter Chubb [5193ac] Convert to Python version 3
 setup.py 2020-10-13 Germán Poo-Caamaño Germán Poo-Caamaño [529f2c] setup: Update version
 source.c 2014-03-01 Frederic Gobry Frederic Gobry [058992] "I will read the doc before blindly replacing d...
 stringutils.c 2003-09-16 Frederic Gobry Frederic Gobry [c01799] initial import
 struct.c 2014-03-01 Frederic Gobry Frederic Gobry [058992] "I will read the doc before blindly replacing d...
 testsuite.py 2014-03-01 Frederic Gobry Frederic Gobry [bd1c08] more deterministic generation of the canonical ...
 testsuite3.py 2019-11-01 Peter Chubb Peter Chubb [5193ac] Convert to Python version 3

Read Me

Python BibTex

This python extension contains a BibTeX parser and a simple binding to
the GNU Recode library. They are intended to be used with pybliographer.

This module requires the following libraries to be installed:

  • Glib-2.x (and its development headers)
  • GNU Recode 3.5 (and its development headers)

Compilation

Run the following command:

   python setup.py build

For additional options:

   python setup.py build --help

Installation

   python setup.py install

For additional options:

   python setup.py install --help

Troubleshooting

Here are listed some common problems while building the python-bibtex
module.

Glib-2.0 is not in a standard place

Ensure that the path to glib-2.0.pc from your installation is
available in the environment variable PKG_CONFIG_PATH.

GNU Recode is not in a standard place

To build, run:

    python setup.py build_ext -I /path/to/recode/include -L /path/to/recode/lib

The installation fails with one of the following errors:

"the _recode module is broken."

This means that you are using an inadequate version of GNU Recode. You
need to use either Recode 3.5, or Recode 3.6 with some extra patches.

The stock version of Recode 3.6 from any GNU mirror DOES NOT WORK.

"the recode library is probably broken."

This means that GNU Recode has been compiled with a buggy version of
gcc (gcc-3.3.2 seems to trigger this problem). You can recompile
recode with the following option for configure:

       CFLAGS=-g ./configure --prefix=...