gnome
- 1,031
- 1
textogif
This is my first attempt to use tex locally.
I'm trying to produce a .gif or .png image of a tex-formatted equation.
I created this file, named logic1.tex:
When I run
>latex logic1.tex
it produces logic1.dvi which I can view with the kdvi viewer & it appears to be correct. But when I run
>textogif logic1.tex
or
>textogif -png logic1.tex
the resulting image file has the equation superimposed over a checkerboard-pattern background which makes it virtually impossible to read.
What am I doing wrong?
How about my logic1.tex file: is anything missing or extraneous?
This is my first attempt to use tex locally.
I'm trying to produce a .gif or .png image of a tex-formatted equation.
I created this file, named logic1.tex:
Code:
\documentclass{article}
\begin{document}
\begin{flushleft}
\begin{displaymath}
\pi \models \phi \Rightarrow \psi \:\textrm{iff}\:\pi \not\models \phi \:\textrm{or}\:\pi \models \psi
\end{displaymath}
\end{flushleft}
\end{document}
When I run
>latex logic1.tex
it produces logic1.dvi which I can view with the kdvi viewer & it appears to be correct. But when I run
>textogif logic1.tex
or
>textogif -png logic1.tex
the resulting image file has the equation superimposed over a checkerboard-pattern background which makes it virtually impossible to read.
What am I doing wrong?
How about my logic1.tex file: is anything missing or extraneous?