ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue attaching remote files
@ 2019-11-04 17:26 Pablo Rodriguez
  2019-11-04 18:02 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2019-11-04 17:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

I have the following sample:

    \setupinteraction[state=start]
    \starttext
    \startTEXpage[offset=1em]
    \attachment
        [file={https://eur-lex.europa.eu/legal-content/%
            ES/TXT/PDF/?uri=CELEX:02010L0040-20180109},
         name=one.pdf,
         color=orange]
    \attachment
        [file={https://eur-lex.europa.eu/legal-content/%
            ES/TXT/PDF/?uri=CELEX:52011DC0144R(02)},
         name=two.pdf,
         color=magenta]
    \stopTEXpage
    \stoptext

Because of the parentheses in the file address, the second file isn’t
attached, due to the use of parentheses (sorry, but I cannot avoid this
in their address).

curl is also unable to download the second file unless an output name is
specified (with --output or -o).

Would it be possible that ConTeXt could handle the second address with
parentheses to attach the file to a PDF document?

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

end of thread, other threads:[~2019-11-05 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 17:26 issue attaching remote files Pablo Rodriguez
2019-11-04 18:02 ` Hans Hagen
2019-11-05  7:16   ` Pablo Rodriguez
2019-11-05  8:42     ` Hans Hagen
2019-11-05 13:42       ` Pablo Rodriguez

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