skip to navigation
skip to content

utf8tobibtex 1.0.0

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

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”)).

 
File Type Py Version Uploaded on Size
utf8tobibtex-1.0.0.tar.gz (md5) Source 2012-10-24 2KB