[NTG-context] problem with url in \setupexternalfigures

Hans Hagen pragma at wxs.nl
Fri Jan 15 00:24:17 CET 2010


On 14-1-2010 9:18, Peter Münster wrote:
> On Wed, Jan 13 2010, Hans Hagen wrote:
>
>> ok, i can fix that but there is a problem ...
>>
>> if no suffix is given, the quality list is followed and the first request
>> will be
>>
>> http://pmrb.free.fr/tmp/hacker-test.pdf
>>
>> which gives a home page which is no pdf of course and luatex does not like
>> that
>
> Hello Hans,
>
> I get error 404 (not found):
>
> wget http://pmrb.free.fr/tmp/hacker-test.pdf
> --2010-01-14 09:05:32--  http://pmrb.free.fr/tmp/hacker-test.pdf
> Resolving pmrb.free.fr... 212.27.63.139
> Connecting to pmrb.free.fr|212.27.63.139|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2010-01-14 09:05:32 ERROR 404: Not Found.

at some point i want to use the built in socket code instead of calling 
curl in which case we can intercept the 404 case (i had no time for that 
yet)

Hans

-----------------------------------------------------------------
                                           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