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

pre-bug report



I'm having a problem with exporting xfig files containing tex strings as
pstex/pstex_t pairs and then comiling them in tex file.

I have the following xfig file:

test.fig:

#FIG 3.2
Landscape
Center
Metric
A4
100.00
Single
-2
1200 2
4 0 0 50 -1 0 12 0.0000 2 195 1065 1080 1275 $\\frac{a}{b}$\001


I export this as a pair:

test.pstex
test.pstex_t

and then include them in a tex file

test.tex:

\documentclass{article}
\usepackage{epsfig}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{color}
\begin{document}
\pagestyle{empty}
\begin{figure}[h]
\input{test.pstex_t}
\end{figure}
\end{document}

The command

# latex test.tex

runs without complaint, but

# xdvi test.dvi

produces the following errors:

ariadne{maher}$ gs: Error: /undefinedresult in --div--
gs: Operand stack:
gs:    0.0   0
gs: Execution stack:
gs:    %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--
gs:    2   %stopped_push   --nostringval--   --nostringval--
--nostringval--   fals
gs: e   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop
.runexec2
gs:  --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nost
gs: ringval--   --nostringval--   %loop_continue   --nostringval--
--nostringval--
gs:   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop
--nostring
gs: val--   --nostringval--   false   1   %stopped_push   --nostringval--
--nostrin
gs: gval--   --nostringval--   --nostringval--   --nostringval--
gs: Dictionary stack:
gs:    --dict:1054/1123(ro)(G)--   --dict:0/20(G)--   --dict:72/200(L)--
--dict:23/
gs: 250(L)--   --dict:38/200(L)--
gs: Current allocation mode is local

The file is in fact displayed by xdvi, but

# dvips -o test.ps test.dvi

produces a file that gv can't display.

Anyway, I don't even know which program the bug is with here (I suspect
gs). Any advice on finding out what's wrong will be appreciated.

Joseph



Reply to: