[sheen@sam:~/curr] rm p1nc-per.out.ps
/bin/rm: remove regular file 'p1nc-per.out.ps'? y
[sheen@sam:~/curr] dvi p1nc-per
[sheen@sam:~/curr] xdvi: Warning: Could not find graphics file "p1nc-per.out.ps"
xdvi: Warning: Could not find graphics file "p1nc-per.out.ps"
gs: Error: /undefined in SDict
gs: Operand stack:
gs:
gs: Execution stack:
gs: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval--
gs: 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fals
gs: e 1 %stopped_push 1974 1 3 %oparray_pop 1973 1 3 %oparray_pop
gs: 1961 1 3 %oparray_pop 1817 1 3 %oparray_pop --nostringval--
gs: %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval--
gs: 2 %stopped_push --nostringval-- --nostringval-- %loop_continue --nost
gs: ringval-- --nostringval-- false 1 %stopped_push --nostringval--
gs: Dictionary stack:
gs: --dict:738/1123(ro)(G)-- --dict:0/20(G)-- --dict:128/200(L)--
gs: Current allocation mode is global
XDvi 22.87.04 (Xaw toolkit): Failed assertion:
../../../texk/xdvik/hypertex.c:1174: "info->curr_cnt > 0": hdvips_add_anchor must be called after add_anchor()!
Aborting now. Please report this as a bug to:
http://sourceforge.net/tracker/?group_id=23164&atid=377580
If a core dump has been produced, please invoke:
gdb xdvi core
Then type "bt", and include the resulting output in your bug report.
Here dvi is a shell script
!/bin/bash
written by Sheen.
Usage: dvi
dvi invokes xdvi. Options are all passed onto acrorad.
infile=$1;
if [ $# -eq 1 ]; then
case "${infile}" in
.dvi) base=
basename "${infile}" .dvi
;;.) base=
basename "${infile}" .
;;*) base=
basename "${infile}"
;;esac
outfile="${base}".dvi
else
outfile=$2
fi
if [ -e $outfile ]; then
xdvi -s 3 -gamma 10. -fg black -bg grey85 -cr red -q -expertmode 4 $outfile &
else
echo $outfile does not exist....
fi