epix-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ePiX-users] UTF8 or cyrilic support


From: Andrew D. Hwang
Subject: Re: [ePiX-users] UTF8 or cyrilic support
Date: Fri, 14 Dec 2007 18:55:51 -0500 (EST)

On Tue, 11 Dec 2007, ??????? ??????? wrote:

What about UTF8 support
I need cyrilic support in labels and formulas

Hi Aleksandr,

My earlier reply was less clear than it should have been, and (as Maik Beckmann points out) didn't exactly answer your question. There's a patch file to augment elaps, which should allow you to compile Cyrillic. Please download the file

  http://mathcs.holycross.edu/~ahwang/epix-1.2.2b.patch.tar.bz2

and put it into your epix source directory. To apply the changes, use these commands:

bzcat epix-1.2.2b.patch.tar.bz2 | tar -xvf -

for file in *.patch; do patch < $file; done

rm -f epix elaps flix

make

make install

---
If everything works, it's safe to delete the patch and tar files.

The patched elaps script has a "--preamble" option allowing the contents of a named file to be added to the LaTeX preamble. The effect is similar to the "-p" option I mentioned earlier, but can handle LaTeX package options (and many other things).

For example, you might create a LaTeX style file named "cyrillic.sty":

---(snip)---
%% cyrillic.sty
\usepackage[utf8]{inputenc}
% any other code you normally use for Cyrillic: font definitions, etc.
---(snip)---

Save "cyrillic.sty" in your project directory.

To create figures, put the appropriate LaTeX code into ePiX labels, and compile your input file like this:

elaps --preamble cyrillic.sty <input file>

Please post if you have problems.

--
Andy

Andrew D. Hwang                 address@hidden
Department of Math and CS       http://mathcs.holycross.edu/~ahwang
College of the Holy Cross       (508) 793-2458 (Office: 320 Swords)
Worcester, MA, 01610-2395       (508) 793-3530 (fax)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]