External links to Scrivener not working from Scapple

Hi

I have exported a PDF from Scapple. Imported it into Scrivener both Embedded and linked examples.
I highlight some text inside the PDF but cannot link it to an internal document from the Edit menu - they are all greyed out? i.e. Add Link, Link to Document etc

Is this normal that one cannot create a link from the PDF (text) to an Internal document?

Kindest regards Jay

Yes, that’s normal. Scrivener can’t edit PDFs.
You can add a Document Bookmark, though.

Hi,
Now, I have a slightly different issue… I used “Copy Document Link” from scrivener to scapple.
Created a Link on a text in a note.
Exported as PDF and imported into Scrivener.

In Scrivener, Clicking the link in the PDF does (nothing) i.e. Not navigate to the Internal Document .(which is different from my earlier attempt trying to highlight text and create a link inside Scrivener).

What am I doing wrong?

Kindest regards Jay

Hiya
although your method works to create well positioned links, the link won’t open an Internal Document.
using Copy Document Link pasted into a Scapple Link and exported as PDF.

If you have sometime can you try that for me?
Kindest regards
Jay

The issue is not with Scapple, but rather that Scrivener doesn’t know where to open a link that is triggered from outside Scrivener.

I’ll try to figure out a fix…

So long as the link URL starts with something like x-scrivener-item://..., then it should work, both in Scapple and in an exported PDF from it. Whether the link actually activates from your PDF viewer is another matter though, some might have a security block against opening other software. If it works in Scapple itself, then that’s more what I’d be inclined to suspect.

1 Like

@AmberV It doesn’t work.

image

As a baseline test, try Start Menu, load “Run”, and paste the URL directly into the run field and press Enter. That should load the linked item in Scrivener, and if it does not, it again might be some kind of security software or system block.

Oh, and check for spaces maybe? I see in your screenshot raw spaces instead of %20 encoding. I would have though that would have happened somewhere automatically down the line though.

1 Like

Yes that’s how I’ve being doing it and it works with linking to external Documents and opening Documents in external apps, but not with an Internal Document.

Run worked.

But Scapple doesn’t. (However my link is – spaces – I only pasted what Copy document link gave me.) And it doesn’t work.

Hi, yes I checked for spaces,
Run - that bit Works, it opens in a CopyHolder
(and it looks just as expected when pasted in “Run”)

I replaced the spaces in my project name with %20 in Scapple’s link : fail

It opens or gives focus to the project, but that’s it. It doesn’t navigate to the concerned document. (It was already doing that. The %20 made no difference.)

Okay, I split all of this off to a bug thread, in Scapple for now, but maybe it’s a Scrivener problem.

From my testing, it does seem to be a problem with spaces, where even when they are encoded it doesn’t work. In my first test I was linking to a project that was rather creatively called “link.scriv”. This works fine, from both Scapple and PDF.

When I renamed the project to “link test.scriv”, and created a new link, it stopped working, with either link test.scriv and link%20test.scriv. So something is definitely broken somewhere—and whether it is Scapple or Scrivener I cannot say. We’ll have to look into it.

2 Likes

Well, it is a good start.
Just don’t have spaces in your project’s name.

Exactly, be a nerd like me and always name files like you_would_on_a_web_server.scriv. :laughing:

2 Likes

I just tested a rename to Dummy-forum-project.scrivx

It worked flawlessly.

Does it work if you rename it to Dummy_forum_project.scrivx

Most assurely. Amber just did. No need to specifically test that. Spaces are the issue as far as we mortal users are concerned. Period.

You should be good to go.
Will it work in a Scapple-exported PDF imported back in Scrivener? That’s another story. We’ll see – report back.

I have tried both and they still don’t work…
I saved my project with a hyphen and an underscore,
copied a new document link from scrivener,
pasted into Scapple
exported PDF and the link still does Nothing

Running latest Scapple and Scrivener Versions
No errors
Note: If I use the Run command, it opens in Scrivener in a Copy Holder Window

Can you confirm that it worked up to the point where you tried the link in the exported/imported PDF?