Re: [Refdb-devel] latex bibliographies with multiple databases
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2006-07-12 23:31:35
|
Hi David, David Nebauer writes: > latex2utf8txt converts LaTeX files to UTF-8 text, removes line > breaks from paragraphs I used parts of this script to hack a tex2mail replacement. It isn't more than a collection of regular expression substitutions which is to be used as a post-processing filter of bib2ris output. I've added it to the subversion repository, but it is not yet included into the build system. Please test it against your data and modify it as needed or let me know what else should be covered. Either update your svn sources, or visit the svn web interface: http://svn.sourceforge.net/viewcvs.cgi/refdb/refdb/trunk/scripts/refdb_latex2utf8txt?view=log The script does the following: - replace foreign characters encoded as {\..} constructs with their UTF-8 counterparts - remove {\xy ...} commands, leaving only the enclosed text - remove non-escaped curly brackets - unescape escaped command characters: # $ % & ~ _ ^ \ { } - convert the LaTeX dashes '--' and '---' to '-' regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |