On Fri, Sep 10 2010, Peter Münster wrote:

> Can anybody reproduce the following problem (Taco can't ...):
> 
> \startbuffer[pdf-pages]
>   \starttext
>     page 1 \page page 2
>   \stoptext
> \stopbuffer
> \savebuffer[pdf-pages][pdf-pages.tex]
> \executesystemcommand{context pdf-pages; mkdir testdir;
>   mv pdf-pages.pdf testdir/2*8.pdf}
> \starttext
> \setupexternalfigures[directory={./testdir}]
> \externalfigure[2*8][page=2]
> \stoptext
> 
> -> !LuaTeX error: PDF inclusion: required page <2> does not exist
> 
> No problem with page=1.
> 
> No problem with other name for pdf-file (for example "pdftest.pdf"
> instead of "2*8.pdf").
> 
> No problem, if pdf-file is in current directory instead of "testdir".

Hello,

After some further investigation, I've found that the reason for this problem
is a pdf file in my installation:
/opt/context/tex/texmf-local/tex/context/peter/samples/unten-21478.pdf

So please try "o*w" instead of "2*8", and you'll be able to reproduce the
problem!

But there is still a difference:
texmf-local:
  when using "\externalfigure[2*8][page=1]" on my installation, I get really
  the first page of 2*8.pdf and not the "unten-21478.pdf".

texmf-context:
  when using "\externalfigure[o*w][page=1]" you'll get the cow.

So the question is:
- bug?
- or don't ever use "*" in a filename?

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to