Re: subscripts/superscripts and symbols



Rajarshi Guha <rajarshi presidency com> writes:

Would it be possible to implement some form of parser so that symbols
could be represented as tags (something like LaTeX's \alpha, \beta etc).
Thus entering text and then pressing enter would cause the parser to
generate the proper code for the required symbol and then represent it

You can already export to TeX PStricks-format from Dia. If you export
to foo.tex you can make an eps-file by the following steps:

Make a file, let's say bar.tex, with the following content:

\documentclass{article}
\usepackage{pstricks}
\begin{document}
\thispagestyle{empty}
\input{foo.tex}
\end{document}

Enter the following commands:
latex bar.tex
dvips bar.dvi -o
ps2epsi bar.ps

and you will have the file bar.epsi. That could be automated of course.

-- 
                - Mårten
 
mail: msv kth se *** ICQ: 4356928 *** mobile: +46 (0)707390385



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