From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6009 Path: main.gmane.org!not-for-mail From: Bruce Horrocks Newsgroups: gmane.comp.tex.context Subject: Problem with bit maps with ConTeXt under MikTeX (works fine using LaTeX) Date: Tue, 6 Nov 2001 23:50:50 +0000 Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed X-Trace: main.gmane.org 1035396561 6482 80.91.224.250 (23 Oct 2002 18:09:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:09:21 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:6009 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6009 Hi, I have two very simple files that include a batman image: the LaTeX one works fine, the ConTeXt one doesn't (it just displays a frame saying "name dummy, file sample.bmp unknown"). I'm new to ConTeXt so I'm hoping that there is something very simple that I'm missing here, or that someone can at least suggest some debugging options to set that might help me work out what is or isn't happening. I'm using MikTeX 2.1 with an out of the box "large" install. The LaTeX file is: >\documentclass{article} >\usepackage{graphicx} >\begin{document} >This is a test >\includegraphics[width=2in,height=1in]{sample.bmp} >\end{document} The ConTeXt file is: >\starttext >This is a test >\placefigure > [right] > [] > {none} > {\externalfigure > [sample] > [width=2in, height=1in]} >\stoptext When I compile the LaTeX file with: c:> latex l-test.tex I get the following on the console: >This is TeX, Version 3.14159 (MiKTeX 2.1) >(l-test.tex >LaTeX2e <2001/06/01> >Babel and hyphenation patterns for english, french, german, >ngerman, du >mylang, nohyphenation, loaded. >(C:\Program Files\MiKTeX\tex\latex\base\article.cls >Document Class: article 2001/04/21 v1.4e Standard LaTeX document class >(C:\Program Files\MiKTeX\tex\latex\base\size10.clo)) >(C:\Program Files\MiKTeX\tex\latex\graphics\graphicx.sty >(C:\Program Files\MiKTeX\tex\latex\graphics\keyval.sty) >(C:\Program Files\MiKTeX\tex\latex\graphics\graphics.sty >(C:\Program Files\MiKTeX\tex\latex\graphics\trig.sty) >(C:\Program Files\MiKTeX\tex\latex\00miktex\graphics.cfg) >(C:\Program Files\MiKTeX\tex\latex\graphics\dvips.def))) >No file l-test.aux. > [1] (l-test.aux) ) >Output written on l-test.dvi (1 page, 284 bytes). >Transcript written on l-test.log. And the following in the .log file >This is TeX, Version 3.14159 (MiKTeX 2.1) (preloaded format=latex >2000.11.28) 6 NOV 2001 23:30 >**l-test.tex >(l-test.tex >LaTeX2e <2001/06/01> >Babel and hyphenation patterns for english, french, german, >ngerman, du >mylang, nohyphenation, loaded. >(C:\Program Files\MiKTeX\tex\latex\base\article.cls >Document Class: article 2001/04/21 v1.4e Standard LaTeX document class >(C:\Program Files\MiKTeX\tex\latex\base\size10.clo >File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option) >) >\c@part=\count79 >\c@section=\count80 >\c@subsection=\count81 >\c@subsubsection=\count82 >\c@paragraph=\count83 >\c@subparagraph=\count84 >\c@figure=\count85 >\c@table=\count86 >\abovecaptionskip=\skip41 >\belowcaptionskip=\skip42 >\bibindent=\dimen102 >) >(C:\Program Files\MiKTeX\tex\latex\graphics\graphicx.sty >Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) > >(C:\Program Files\MiKTeX\tex\latex\graphics\keyval.sty >Package: keyval 1999/03/16 v1.13 key=value parser (DPC) >\KV@toks@=\toks14 >) >(C:\Program Files\MiKTeX\tex\latex\graphics\graphics.sty >Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR) > >(C:\Program Files\MiKTeX\tex\latex\graphics\trig.sty >Package: trig 1999/03/16 v1.09 sin cos tan (DPC) >) >(C:\Program Files\MiKTeX\tex\latex\00miktex\graphics.cfg) >Package graphics Info: Driver file: dvips.def on input line 80. > >(C:\Program Files\MiKTeX\tex\latex\graphics\dvips.def >File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) >)) >\Gin@req@height=\dimen103 >\Gin@req@width=\dimen104 >) >No file l-test.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. >File: sample.bmp Graphic file (type bmp) > [1 > >] (l-test.aux) ) >Output written on l-test.dvi (1 page, 284 bytes). When I compile the ConTeXt file with: c:> texexec c-test.tex I get the following on the console: > > TeXExec 2.5 - ConTeXt / PRAGMA ADE 1997-2001 > > executable : pdfetex > format : cont-en > inputfile : c-test > output : standard > interface : en > current mode : all > TeX run : 1 > >This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1) >entering extended mode >(c-test.tex{pdftex.cfg} > >ConTeXt ver: 2001.7.11 fmt: 2001.11.4 int: english mes: english > >language : language en is active >system : cont-new loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-new.tex >systems : beware: some patches loaded from cont-new.tex! >system (E-TEX) : [line 202] \ifcsname >) >system : cont-old loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-old.tex >loading : Context Old Macros >) >system : cont-fil loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-fil.tex >loading : Context File Synonyms >) >bodyfont : 12pt rm is loaded >language : patterns 2-en-2 2-de-2 2-fr-2 2-es-2 2-nl-2 loaded >specials : tex,postscript,rokicki loaded >system : c-test.top loaded >(./c-test.top) >systems : begin file c-test at line 1 >figures : figure sample can not be found >floatblocks : 1 placed >[1.1] >systems : end file c-test at line 10 > ) >Output written on c-test.dvi (1 page, 568 bytes). >Transcript written on c-test.log. > > run time : 1 seconds > sorting and checking : running texutil > > TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000 > > action : processing commands, lists and registers > option : sorting IJ under Y > option : converting high ASCII values > input file : c-test.tui > output file : c-test.tuo > passed commands : 6 > remapped keys : 0 > register entries : 0 -> 0 entries 0 references > synonym entries : 0 -> 0 entries > embedded files : 1 > > utility file analysis : another run needed > TeX run : 2 > >This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1) >entering extended mode >(c-test.tex{pdftex.cfg} > >ConTeXt ver: 2001.7.11 fmt: 2001.11.4 int: english mes: english > >language : language en is active >system : cont-new loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-new.tex >systems : beware: some patches loaded from cont-new.tex! >system (E-TEX) : [line 202] \ifcsname >) >system : cont-old loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-old.tex >loading : Context Old Macros >) >system : cont-fil loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-fil.tex >loading : Context File Synonyms >) >bodyfont : 12pt rm is loaded >language : patterns 2-en-2 2-de-2 2-fr-2 2-es-2 2-nl-2 loaded >specials : tex,postscript,rokicki loaded >system : c-test.top loaded >(./c-test.top) (./c-test.tuo) (./c-test.tuo) (./c-test.tuo) >(./c-test.tuo) >(./c-test.tuo) (./c-test.tuo) (./c-test.tuo) (./c-test.tuo) >(./c-test.tuo) >(./c-test.tuo) (./c-test.tuo) (./c-test.tuo) (./c-test.tuo) >systems : begin file c-test at line 1 >figures : figure sample can not be found >(./c-test.tuo) >floatblocks : 1 placed >[1.1] >systems : end file c-test at line 10 > ) >Output written on c-test.dvi (1 page, 568 bytes). >Transcript written on c-test.log. > > run time : 1 seconds > sorting and checking : running texutil > > TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000 > > action : processing commands, lists and registers > option : sorting IJ under Y > option : converting high ASCII values > input file : c-test.tui > output file : c-test.tuo > passed commands : 6 > remapped keys : 0 > register entries : 0 -> 0 entries 0 references > synonym entries : 0 -> 0 entries > embedded files : 1 And the following in the .log file: >This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1) >(preloaded format=cont-en 2001.11.4) 6 NOV 2001 23:33 >entering extended mode >**c-test.tex >(c-test.tex{pdftex.cfg} > >ConTeXt ver: 2001.7.11 fmt: 2001.11.4 int: english mes: english > >language : language en is active >system : cont-new loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-new.tex >systems : beware: some patches loaded from cont-new.tex! >system (E-TEX) : [line 202] \ifcsname >) >system : cont-old loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-old.tex >loading : Context Old Macros >) >system : cont-fil loaded >(C:\Program Files\MiKTeX\tex\context\base\cont-fil.tex >loading : Context File Synonyms >) >bodyfont : 12pt rm is loaded >language : patterns 2-en-2 2-de-2 2-fr-2 2-es-2 2-nl-2 loaded >specials : tex,postscript,rokicki loaded >system : c-test.top loaded >(./c-test.top) (./c-test.tuo) (./c-test.tuo) (./c-test.tuo) >(./c-test.tuo) >(./c-test.tuo) (./c-test.tuo) (./c-test.tuo) (./c-test.tuo) >(./c-test.tuo) >(./c-test.tuo) (./c-test.tuo) (./c-test.tuo) (./c-test.tuo) >systems : begin file c-test at line 1 >figures : figure sample can not be found >(./c-test.tuo) >floatblocks : 1 placed >[1.1] >systems : end file c-test at line 10 > ) >Output written on c-test.dvi (1 page, 568 bytes). Presumably this is a pdfeTeX configuration issue (since the LaTeX version works) but I've no idea what option to change? Finally, if it helps, when I change the graphics file to be a .png file rather than .bmp and compile with: c:> texexec --pdf c-test.tex then I get a perfectly formed .pdf file, including the graphic as expected. Any suggestions gratefully received. Regards, -- Bruce Horrocks Hampshire England bh@granby.demon.co.uk