[NTG-context] problem loading attachments (important for my work)

Hans Hagen pragma at wxs.nl
Fri Jun 9 00:36:00 CEST 2017


On 6/8/2017 9:40 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> I have the following sample:
> 
>      \setupinteraction[state=start]
>      \setupinteractionscreen[option=attachment]
>      \setuppapersize[A5, landscape]
>      \setuppagenumbering[location=]
>      \starttext
>      File: \attachment[file={h:/general-documents/document.pdf}]
>      \stoptext
> 
> I’m afraid that the file exists and ConTeXt in Win10 (64bit) isn’t able
> to load the file.

When I test with

     \attachment[file={t:/sources/cow.pdf}]

it gets embedded in the file

(you can check with \nopdfcompression)

> ConTeXt loads \attachment[file=document.pdf], but not documents with paths.
> 
> Could anyone confirm the issue in Windows? This is important for my work.
> 
> BTW, if you don’t want to invoke "net use", "subst" may do the trick
> (https://ss64.com/nt/subst.html).
> 
> Many thanks for your help,
> 
> Pablo
> 


-- 

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


More information about the ntg-context mailing list