* problem loading attachments (important for my work)
@ 2017-06-08 19:40 Pablo Rodriguez
2017-06-08 22:36 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2017-06-08 19:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problem loading attachments (important for my work)
2017-06-08 19:40 problem loading attachments (important for my work) Pablo Rodriguez
@ 2017-06-08 22:36 ` Hans Hagen
2017-06-09 4:20 ` Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2017-06-08 22:36 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* problem loading attachments (important for my work)
@ 2017-06-08 21:21 Akira Kakuto
0 siblings, 0 replies; 5+ messages in thread
From: Akira Kakuto @ 2017-06-08 21:21 UTC (permalink / raw)
To: ntg-context
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-06-11 20:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-08 19:40 problem loading attachments (important for my work) Pablo Rodriguez
2017-06-08 22:36 ` Hans Hagen
2017-06-09 4:20 ` Pablo Rodriguez
2017-06-11 20:55 ` Pablo Rodriguez
2017-06-08 21:21 Akira Kakuto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).