[NTG-context] XeTeX and \placefigure

Hans Hagen pragma at wxs.nl
Thu Aug 24 10:40:05 CEST 2006


Pepe Barbe wrote:
> Hello,
>
> I've been trying to compile my document using XeTeX and it gives me
> the following error:
>   
you probably need a newer context

% engine=xetex output=xtx

\externalfigure[cow.pdf] \end

works ok here (or one can give texexec --xetex filename)

in the process you should see something:

figures         : using rlxtools to determine size of cow.pdf
RlxTools | cow.pdf is identified
(./cow.pdf.rli)


below is a message from a direct parse of the pdf file (rather old stuff 
when pdf was more simple)
> ! Emergency stop.
> <to be read again>
>                    b
> \setPDFmediabox ...#3 #4 #5]#6\done ->\dimen 2=#2b
>                                                   p\dimen 2=-\dimen 2 \dimen...
>
> \checkPDFmediabox ...se \setPDFmediabox #2#3\done
>                                                   \fileprocessedtrue \fi
> \doprocessline ... to \fileline \doprocessPDFline
>                                                   \relax \expandafter \dopro...
>
> \dogetPDFmediabox ...chread {#1}\doprocessPDFline
>                                                   \egroup \ifx \PDFxoffset \...
>
> \getfiguredimensionsA ...heightb } \executedfalse
>                                                   \ifexecuted \donetrue \ifd...
> ....
> l.40                            [height=.25\textheight] }
>
> It comes from the following code.
>
> \placefigure [here] [fig:cell_type_diag]
> 	{Typical diagram of the main cell types \cite[Web:2006aa],
> 		\cite[Web:2006ab]}
> 	\startcombination[2*1]
> 		{ \externalfigure[chp1_prokaryote_diagram]
> 			[height=.25\textheight] }{Prokaryote}
> 		{ \externalfigure[chp1_eukaryote_diagram]
> 				[height=.25\textheight] } {Eukaryote}
> 	\stopcombination
>
> Any ideas?
>
> Thanks,
> Pepe
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list