[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: convert text encodings (was: Old LilyPond versions)
From: |
fiëé visuëlle |
Subject: |
Fwd: convert text encodings (was: Old LilyPond versions) |
Date: |
Tue, 8 Apr 2008 22:14:41 +0200 |
Am 2008-04-08 um 20:28 schrieb Graham Percival:
You're talking about the old LaTeX accents -> utf-8 ?
Manual conversion is necessary with current convert-ly. I can
think of three ways to automate it. They're all kind-of hackish,
but they'd work in theory. It just needs somebody to translate
that theory into practice.
Conversion of "LaTeX encoding" to any other encoding, esp. UTF-8 is
easy.
I've a little script ready for such - but it converts whole files, I
don't know if it will affect LilyPond commands.
Here:
http://www.fiee.net/texnique/?menu=0-2-2&lang=en
you can download the "mab2bib" archive, it includes "utf2latex.py".
Just rename that to "latex2utf.py" (or any other encodings, like
"latin12utf" or "macroman2utf", it analyzes its filename when called).
It should work with all encodings that Python knows of. Normally
LaTeX is not one of them, so the also included "latex.py" must reside
in the same directory.
Have fun!
Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)
- Re: Old LilyPond versions, (continued)
- Re: Old LilyPond versions, Valentin Villenave, 2008/04/08
- Re: Old LilyPond versions, Graham Percival, 2008/04/08
- Re: Old LilyPond versions, Laura Conrad, 2008/04/08
- Re: Old LilyPond versions, Graham Percival, 2008/04/08
- Re: Old LilyPond versions, Mats Bengtsson, 2008/04/08
- Re: Old LilyPond versions, Graham Percival, 2008/04/08
- Re: Old LilyPond versions, Mats Bengtsson, 2008/04/08
- Re: Old LilyPond versions, Graham Percival, 2008/04/08
- Re: Old LilyPond versions, Mats Bengtsson, 2008/04/09
- Re: convert text encodings (was: Old LilyPond versions), Henning Hraban Ramm, 2008/04/09
- Fwd: convert text encodings (was: Old LilyPond versions),
fiëé visuëlle <=
- Re: Fwd: convert text encodings (was: Old LilyPond versions), Mats Bengtsson, 2008/04/08
- Re: Fwd: convert text encodings (was: Old LilyPond versions), Graham Percival, 2008/04/08
- Re: convert text encodings (was: Old LilyPond versions), Henning Hraban Ramm, 2008/04/09
- Re: Old LilyPond versions, Han-Wen Nienhuys, 2008/04/09
- Re: Old LilyPond versions, Laura Conrad, 2008/04/10
- Re: Old LilyPond versions, Nicolas Sceaux, 2008/04/08
- Re: Old LilyPond versions, Graham Percival, 2008/04/08
- Re: Old LilyPond versions, Valentin Villenave, 2008/04/09