problem loading attachments (important for my work)
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. 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 -- http://www.ousia.tk
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 -----------------------------------------------------------------
On 06/09/2017 12:36 AM, Hans Hagen wrote:
On 6/8/2017 9:40 PM, Pablo Rodriguez wrote:
[...] 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)
Many thanks for your replies, Akira and Hans. Well, I must be doing something (stupid and) wrong with the path. I will report later, after I check it in Windows. Many thanks for your help, Pablo -- http://www.ousia.tk
On 06/09/2017 06:20 AM, Pablo Rodriguez wrote:
On 06/09/2017 12:36 AM, Hans Hagen wrote:
[...] When I test with
\attachment[file={t:/sources/cow.pdf}]
it gets embedded in the file
(you can check with \nopdfcompression)
Many thanks for your replies, Akira and Hans.
Well, I must be doing something (stupid and) wrong with the path. I will report later, after I check it in Windows.
I was pointing to a non-existing file. (I probably copied the file and somebody renamed it before I tested the method to include attachments). Sorry for the noise, Pablo -- http://www.ousia.tk
participants (2)
-
Hans Hagen
-
Pablo Rodriguez