Skip Menu |

This queue is for tickets about the LaTeX-Encode CPAN distribution.

Report information
The Basics
Id: 55526
Status: resolved
Priority: 0/
Queue: LaTeX-Encode

People
Owner: ANDREWF [...] cpan.org
Requestors: mark.zealey [...] pipex.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



Subject: Support for Turkish & a bug
Hi, could you add the following to the encodings table so as to support Turkish correctly please? Also, your current table has some ones incorrect, for example umlauted u you specify as \"u which then places a space after it in the latex document. It should be wrapped in braces such as \"{u}. chr(0x130) => '\\.{I}', chr(0x131) => '\\i', chr(0xd6) => '\\"{O}', chr(0xf6) => '\\"{o}', chr(0xdc) => '\\"{U}', chr(0xfc) => '\\"{u}', chr(0x11e) => '\\u{G}', chr(0x11f) => '\\u{g}', chr(0x15e) => '\\c{S}', chr(0x15f) => '\\c{s}', It would also be nice to have a function to automatically add new entries in to this table at run-time as at present I have to then re-generate the $encoded_char_re after I've updated the table. Cheers, Mark
These encodings are added in 0.04, which I have just uploaded to CPAN. This version also adds functions add_latex_encodings() and remove_latex_encodings() to add and remove additional/unwanted encodings at runtime. On Sat Mar 13 11:51:00 2010, mark.zealey@pipex.net wrote: Show quoted text
> Hi, could you add the following to the encodings table so as to support > Turkish correctly please? Also, your current table has some ones > incorrect, for example umlauted u you specify as \"u which then places a > space after it in the latex document. It should be wrapped in braces > such as \"{u}. > > chr(0x130) => '\\.{I}', > chr(0x131) => '\\i', > chr(0xd6) => '\\"{O}', > chr(0xf6) => '\\"{o}', > chr(0xdc) => '\\"{U}', > chr(0xfc) => '\\"{u}', > chr(0x11e) => '\\u{G}', > chr(0x11f) => '\\u{g}', > chr(0x15e) => '\\c{S}', > chr(0x15f) => '\\c{s}', > > It would also be nice to have a function to automatically add new > entries in to this table at run-time as at present I have to then > re-generate the $encoded_char_re after I've updated the table. > > Cheers, > > Mark