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: Tue, 11 Dec 2007 22:07:25 -0500 (EST)

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

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

Hi Aleksandr,

Anything that can be typeset in LaTeX can be put into an ePiX file. :)

Put the LaTeX code into a label, being sure to double the backslashes:

---(snip)---
// myfile.xp
/* -*-ePiX-*- */
#include "epix.h"
using namespace ePiX;

int main()
{
  picture(P(-1,-1), P(1,1), "2x2in");

  begin();
  label(P(0,0), "Zdravstvu\\u{i}te!");
  end();
}
---(snip)---

epix will compile the file into a form LaTeX can use.

If you use elaps to compile eps files and need extra packages to compile your LaTeX code, they can be supplied on the command line:

elaps -p cyrillic myfile.xp

(One package per "-p" flag.)

Please post if this doesn't work.

Best,
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]