Multiple words that can link back to the same document (using the [[ ]] feature)

I’ve done my best to search through the forms for this, and I wasn’t able to find anything on it. My apologies if it has already been mentioned!

Onto the wishlist: Have multiple words (beyond the title of a document) that will call back to the same document when hyperlinked in the text.

To explain a bit more, assuming you have a document, ‘Document Title’. I know currently you can use [[Document Title]] in the text to call back to that, and pull it up when clicked. However, I’d love to be able to call back to that document with other words or phrases beyond the title. Such as [[Doc Title]] calling to ‘Document title’. I know you can drag the document out into the text, and that you can already set up a hyperlink that isn’t that title to go to that specific document, but that only works the one time and is kind of time consuming when you have as many things in your binder as I do.

While this does work fine, I think it would be really benefital to writing flow to be able to set other words. Regardless, thanks for taking the time to give this item a look. :slight_smile:

1 Like

This option already exists. When you put text in double brackets, the link window that pops up allows you to link to either a new or existing document.

2 Likes

Right, I mentioned that above as well! It only works the one time, though, then if you run into the same word again later, you’ll have to re-tie it to the document. Unless I’m mistaken.

This is more asking to speed up that process by being able to have multiple words/phrases that will always tie back to the same document when hyperinked. ^^

Yes, this is the expected behavior.

Adding those words to the Auto-complete List would speed the writing process up…
Project > Project Settings > Auto-complete list.

1 Like

To clarify, do you mean the concept that is referred to as ‘aliases’ in some programs, where an entity in the system can be linked to by multiple handles that all point to the same place?

If so, that’s a nice ability, one that I make use of in a few cases in programs that offer it. There may be some rough spots with that idea and how Scrivener can use links to create cross-references upon compiling. I.e. it’s the kind of thing could potentially lead to needing options added to the compiler, rather than simply working in one obvious way. Should an alias be considered a cross reference, and thus be normalised in the output text so that all links come out the same way (like “Chapter 23”, or “Chapter 23: Document Title”).

I do think it’s worth giving some thought though (and as an aside, the way cross-refs work in general is also something on the list to rethink, as the current approach does have its weaknesses).


Meanwhile, there is a more efficient way of making non-title links in my opinion (I use this method almost entirely when [[..]] isn’t going to work out for whatever reason, but there are a few other edge case tools I use as well, for example if I’m linking to one thing in particular a lot, I’ll pin it as a copyholder, where the icon can be dragged and dropped into text to make links):

  1. Select the text you want to add the link to.
  2. Hit the shortcut for Edit ▸ Find ▸ Quick Search and type in a little of the name.
  3. Drag and drop result onto selected text.

That dialogue box you mention is probably the slowest way of going about it, though it does have the benefit of being purely keyboard driven.

3 Likes

Thank you, I’ll give that a try.

Yes, aliases is a good word for that, thank you! I hadn’t thought into the other functions that might be affected by a change like this, so thank you as well for bringing that up.

That method does seem like it would save a lot of time, I’ll give it a try and see if it helps to streamline my process at all! I appricate you taking the time to respond to my post ^^!

1 Like

Oh I missed your forum tag before; sadly the icon in the copyholder doesn’t actually drag and drop yet on Windows—so that particular approach isn’t useful. But it’s worth noting that Quick Search does keep the last thing you typed in, and pressing return brings up the list again.

Ah dang. I’ll give it a try with quick search as well then, thank you!