For some reason I have a problem with the combination of dviout and the qtree package.
Example:
Code: Select all
\documentclass[BCOR5mm,paper=a4,twoside,fleqn,pagesize,parskip,headsepline,toc=bib,
numbers=noenddot,captions=tableheading]{scrreprt}
\usepackage{qtree}
\begin{document}
\Tree [.S ]
\end{document}
If I run this code with Win7, 64bit + LiveTex 2015 then I get the following error message from dviout:
"Failed to make...by the command..." Further I get the hint from dviout "Cannot get E:\Diss\tmpps21.pbm" and dviout freezes for about 1 to 2 minutes.
I tried E:\Diss>C:/texlive/2015/tlpkg/tlgs/bin/gswin32c @tmp$.@@@
in order to get the complete error message:
Error: /stackunderflow in --restore--
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-
- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa
lse 1 %stopped_push 1983 1 3 %oparray_pop 1982 1 3 %oparray_
pop 1966 1 3 %oparray_pop 1852 1 3 %oparray_pop --nostringval-
- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringv
al-- 2 %stopped_push --nostringval-- 1904 0 3 %oparray_pop --nos
tringval-- 1888 0 3 %oparray_pop --nostringval--
Dictionary stack:
--dict:1197/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
Current allocation mode is local
Current file position is 24
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
The problem might be that for some reason the file "tmpps21.pbm" (see above) was not created.
I found the following hint in the dviout-Help:
"A Ghostscript is used that does not support the output of raw PBM files (or BMP files) specified by -GIF: (Q_E4), or there was an error in a file write (be careful with the current directory or -gdat: settings)."
So, I played arround with some dviout settings. When I change the GIF setting from RAW to something else (e.g. to "monochrome BMP"), then the situation is improved. With this setting dviout does not freeze anymore, but it does not show the complete qtree (lines are missing) and still does not seem to run completely smooth, I still get a warning "Unknown special:ps: restore".
Due to my extensive use of psfrag-package PDFLaTeX is no option for me. I need dviout. Switching to Miktex with yap is also no option, yap is much too slow.
Guys, any hints or tricks or further remarks to this?
Thanks!