Skip to main content

Converts a lot of latin letters in utf8 to BibTeX input, e.g., ä ist converted to {\\

Project description

The package provides two functions:

  1. protect_caps puts capital letters in braces to prevent lowercasing by BibTeX
  2. utf8_to_bibtex converts a lot of latin letters from utf8 to BibTeX friendly input, e.g., ä is converted to {"a}.

It can handle more characters than GNU recode can handle, and the TeX output is optimised for BibTeX.

Hint: Depending on the context it may be necessary to ensure that the argument of utf8_to_bibtex has the right encoding. You can achieve this by using utf8_to_bibtex(astring.encode(“utf-8”)).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for utf8tobibtex, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size utf8tobibtex-1.0.0.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page