MMD and Scrivener Links

kb
kbecker87
Posts: 8
Joined: Tue Jun 07, 2016 12:47 pm
Platform: Mac

Thu Sep 29, 2016 3:09 pm Post

Hi! I’m using Scrivener Links to reference research PDFs in my Document, solely for my own purposes. When I compile my document to MMD or to LaTeX via MMD, those Scrivener Links do not get discarded as it says in the Scrivener Manual:

„When compiling, unless the target format (such as RTF, PDF and HTML) supports point-to-point linking, they will be stripped from the output, and thus are handy for in- serting useful links for your own purposes.“

The Links themself get stripped out, but at their place not the original Text is shown but the title of the linked Document. An exmaple to clarify:

The Text would read „Lorem ipsum dolor sit amet.“ The word „dolor“ is linked to a document called „research“. When I compile I’d like the text to still read dolor instead „Lorem ipsum research sit amet“.

What am I missing?

User avatar
AmberV
Posts: 20584
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Thu Sep 29, 2016 10:15 pm Post

That is an unfortunate combination of features, sorry for understandable the confusion. If you had linked to an Excel spreadsheet instead then you would not have seen this happen. What is going on here is described in the user manual:

§22.4, MMD and Scrivener, pg. 324 wrote:2) Images that have been linked to, using Scrivener Links, will have the linked text replaced with the image name, and the image itself exported to the compile folder. Thus you can type custom image syntax into the document, and still benefit from automatic resource gathering. Hint: you can use Opt-Drag to drop a Scrivener Link to the image, as text into your editor, forgoing the need to type it in and then link it manually.

For the purposes of this definition, a PDF file is technically an image file that could be inserted inline. I’ve added a note to add a disclaimer to the section describing Scrivener Link usage to point out that image links will not act this way.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

kb
kbecker87
Posts: 8
Joined: Tue Jun 07, 2016 12:47 pm
Platform: Mac

Fri Sep 30, 2016 11:05 am Post

Thanks for your answer! So if linking PDFs in this way is not possible, I’ll be using document references in the Inspector. This will do!

User avatar
AmberV
Posts: 20584
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Fri Sep 30, 2016 9:50 pm Post

Definitely a good alternative. Also consider that hyperlinks inside of Comments and Inline Annotations can be excluded from compile. So you can still keep links in the text if you prefer, just not attached directly to text that your readers will see.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

kb
kbecker87
Posts: 8
Joined: Tue Jun 07, 2016 12:47 pm
Platform: Mac

Tue Oct 11, 2016 6:48 am Post

Also consider that hyperlinks inside of Comments and Inline Annotations can be excluded from compile.


But you can’t add Scrivener Links to Comments, right? Which kind of links would you suggest using?

User avatar
AmberV
Posts: 20584
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Tue Oct 11, 2016 6:54 am Post

Sorry, I did mean inline annotations. I'm used to typing them out together though. :)
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles