OK, I did a patch about texvc and localization
This patch doesn't affect wiki in any way, it just add a little extra
functionality to texvc. I'll describe now how it work:
There's another global variable "$wgTeXPreambleAdditional". If it
isn't set, or is empty, nothing happens. If it is set (for example:
$wgTeXPreambleAdditional = "\usepackage[T2A]{fontenc}";
)
it will be passed as argument to texvc, which will add that extra
preamble line while generating tex. This will allow to add support to
T2A font encoding. So
1.Variable is totally optional,
2.This way, more then one line can be embedded to preamble (for
example: $wgTeXPreambleAditional = "\foo1\n\foo2";
)
works OK,
3. Every user/wikipedia can set their own preambles in LocalSettings.php.
4. It doesn't change md5 hash, so existing pictures can be used.
5. It works in png and Math ML mode.
I don't know if this patch is made "wiki way" (if you know what I mean
- whole logic, coding...), so please tell me if anything is wrong. I
tested it, and as far as I can tell, it works fine:/
I hope it will be added to CVS (if that happens, and after that, it
remains just to add in every wikipedia their own specific preambles:)
P.S. One more thing - I don't know if I made diff file right. Please
don't take that bad:(
P.P.S. Just an idea, this patch can also be used for this:
http://bugzilla.wikipedia.org/show_bug.cgi?id=3252
and similar bugs/wishes...
Cheers, Kokanovic Branko
2006/2/6, Branko Kokanovic <branko.kokanovic(a)gmail.com>om>:
hi all (my fist post here)
First, my understanding (from irc and bugzilla) is that there's nobody
working on texvc. I was going to fix bug (or to add feature, if you
like it better) which can be found on more places in bugzilla:
http://bugzilla.wikimedia.org/show_bug.cgi?id=615
http://bugzilla.wikimedia.org/show_bug.cgi?id=798
http://bugzilla.wikimedia.org/show_bug.cgi?id=2458
...
Problem is regarding UTF and localization, but since every languages
has its own latex package, i was thinking of somehow general approach.
OK, I'm not going to go into details right now, first I'm interested:
Am I allowed to work on texvc?
To whom to consult for details (if any)?
Will you accept my patches (of course, if they work:) (I don't want to
do it just for myself)?
If my mail is on wrong mailing list, where to ask?
Thanks in advance, Kokanovic Branko