DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Embedding external files into PDF file  (Read 8,404 times)

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
Embedding external files into PDF file
« on: February 18, 2013, 10:20 AM »
One can include links to external files in pdfs, but most readers will block execution due to security reasons.
An exception is the TexWorks pdf viewer that comes with MikTeX.
Does anyone know some way to avoid these restrictions or another document formats to create this sort of dynamic books ?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Embedding external files into PDF file
« Reply #1 on: February 18, 2013, 10:32 AM »
The restrictions are (most likely) imposed by the OS (Windows or Linux) or the pdfreader application used, not by the PDF format.

Check out the options to avoid messages like these, but be aware of any security implications!
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)
« Last Edit: February 18, 2013, 11:19 AM by Ath »

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
Re: Embedding external files into PDF file
« Reply #2 on: February 18, 2013, 10:41 AM »
thanks for the response but I didn't mean to changing security settings for myself but to a way of creating dynamic books ready to share and open by everyone, maybe there is some other format or rather a trick to bypass these restrictions by using some other software.

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Embedding external files into PDF file
« Reply #3 on: February 18, 2013, 10:58 AM »
You can include the entire content within one PDF and use internal links to jump about. That way there would be no security prompts.

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
Re: Embedding external files into PDF file
« Reply #4 on: February 18, 2013, 11:41 AM »
Thanks Carol, sounds good! may I ask which software you use and how it could be done ?

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Embedding external files into PDF file
« Reply #5 on: February 18, 2013, 12:01 PM »
Adobe Acrobat

You can just create links within the document (a bit like anchors on HTML pages).

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
Re: Embedding external files into PDF file
« Reply #6 on: February 18, 2013, 12:29 PM »
I can't afford this tool ^^ what I'm trying to do is embed excel links avoiding any security prompts.

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Embedding external files into PDF file
« Reply #7 on: February 18, 2013, 12:43 PM »
Not sure you can do with with PDF files, at least not without a security warning. It wouldn't be a good idea to allow that either (IMHO).

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
Re: Embedding external files into PDF file
« Reply #8 on: February 18, 2013, 01:06 PM »
That's why I asked for other ways to embed different kinds of file formats, like an ebook creator. The user wouldn't be asked for opening all these packed files on the ebook.

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 243
Re: Embedding external files into PDF file
« Reply #9 on: February 19, 2013, 01:11 AM »
well at least I've found a free and open source app to attach files to a pdf :
http://jpdftweak.sourceforge.net/

Original address: https://www.donationcoder.com/forum/index.php?topic=34070.0