Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
utf8tobibtex-1.0.0.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None Oct 24, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page