GNOME Bugzilla – Bug 666340
problems with cyrillic text in latex export
Last modified: 2011-12-16 20:06:27 UTC
Created attachment 203629 [details] sample .gnumeric file I am attaching two file: 1) A gnumeric file containing a brief cyrillic passage. 2) The result of exporting that file to a latex file. When texing the file one gets: ! Undefined control sequence. \u-default-1055 #1->\CYRP l.185 ...edright}\gnumbox[l]{Приоритет 1}
Created attachment 203630 [details] resulting latex file
Note that inserting the usepackage command: \usepackage[T2A]{fontenc} allows the code to be compiled correctly. The t2a encoding provides the appropriate russian font encoding support. I am wondering how to properly solve this. Adding that command would be trivial but would require the appropriate packages to be present. So we don't really want to do that in general...
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. Note that we are now scanning all strings for their script and write \usepackage[T2A]{fontenc} if we see any cyrillic characters. If we determine other encodings needed for other scripts we should modify the check accordingly.