Re: [NTG-context] problem loading attachments (important for my work)
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 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem loading attachments (important for my work)
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 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem loading attachments (important for my work)
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 - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] problem loading attachments (important for my work)
Could anyone confirm the issue in Windows? Here, in both of examples below, the file is successfully attached in Windows: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext File: \attachment[file={c:/usr/work/examples/pic.pdf}] \stoptext % % without braces % \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext File: \attachment[file=c:/usr/work/examples/pic.pdf] \stoptext Best, Akira ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] 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 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___