Correctly sort Bibliographic Entries with Diacritics in LaTeX (natbib, BibTeX)

LaTeX started as an ASCII thing for English speaking nerds. Only later did people start to use it all over the word, in many languages from Cezch to Hindi. We now have XeTeX and LuaLaTeX. But like the serpent Sesha in the Hindu mythology, some of that early ASCII universe remains, notably in the BibTex […]

Repair a pandoc-generated LaTeX table with R

Pandoc is a great piece of software but it is not always kind to HTML tables when converting to LaTeX. Especially tables containing <tr> elements with rowspan or <td> elements with colspan attributes end up as sequences of lines of text, not embedded in a table environment like longtableand devoid of both line endings (\\) […]