[fptex] fptex 0.7 - is \write18 working properly?

LUK ShunTim shuntim.luk at polyu.edu.hk
Wed Oct 15 16:24:39 CEST 2003


Hello,

<quote>
\documentclass{article}
\usepackage[dvips]{graphicx}
\begin{document}
This includes a JPEG file.
\DeclareGraphicsRule{.jpg}{eps}{.bb}{`convert #1 eps:-}
\begin{figure}
\begin{center}
\includegraphics{test.jpg}
\caption{Graphics file converted by ImageMagick}
\end{center}
\end{figure}
\end{document}
</quote>

The about test file used to work in older versions but it's no longer 
working in fptex 0.7.

I've set shell-escape to t in texmf.cnf and "convert test.jpg eps:-" 
works with no problem.

The tex log apparently indicated \write18 is enabled. As it's small, I 
included it in the full below.

<quote>
This is e-TeXk, Version 3.141592-2.1 (Web2c 7.5.2) (format=latex 
2003.9.29)  15 OCT 2003 15:13
entering extended mode
\write18 enabled.
  %&-line parsing enabled.
  (f:/TeXLive/texmf/web2c/cp8bit.tcx)
**jpg.tex
(./jpg.tex
LaTeX2e <2001/06/01>
Babel <v3.7j> and hyphenation patterns for english, dumylang, 
nohyphenation, lo
aded.
(f:/TeXLive/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(f:/TeXLive/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(f:/TeXLive/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(f:/TeXLive/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV at toks@=\toks14
)
(f:/TeXLive/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(f:/TeXLive/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(f:/TeXLive/texmf/tex/latex/texlive/graphics.cfg
File: graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 80.

(f:/TeXLive/texmf/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin at req@height=\dimen103
\Gin at req@width=\dimen104
) (./jpg.aux)
\openout1 = `jpg.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.


! LaTeX Error: File `test.bb' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
  ...

l.8 \includegraphics{test.jpg}

? q
OK, entering \batchmode...

! LaTeX Error: Cannot determine size of graphic in test.bb (no BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
  ...

l.8 \includegraphics{test.jpg}

Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

File: `convert test.jpg eps:- Graphic file (type eps)
  <`convert test.jpg eps:-> [1

] (./jpg.aux) )
Here is how much of TeX's memory you used:
  512 strings out of 95748
  5827 string characters out of 1194803
  50900 words of memory out of 1506411
  3561 multiletter control sequences out of 10000+50000
  3640 words of font info for 14 fonts, out of 1000000 for 2000
  14 hyphenation exceptions out of 1000
  25i,4n,21p,196b,278s stack positions out of 
5000i,500n,6000p,200000b,40000s

Output written on jpg.dvi (1 page, 404 bytes).
</quote>

Regards,
ST
--




More information about the fptex mailing list