How can one add a bookmark / link to a piece of text?

Bi
Biff
Posts: 261
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Fri Jun 02, 2017 6:28 am Post

Another question to consider: what problem are you ultimately trying to solve? Under what circumstances will the proposed link be clicked? When the link is clicked, what information do you want to present to the reader?

The information I want to access / see is information that is related / has a context to the source information (the link is contained). E.g. one has a subject 1 in an item / folder / doc A at the beginning (of a story, a proof of a theorem related to another proof of a theorem or what ever) and at the end of the story one has a subject 2 in an Binder item Z containg text relating to subject 1 you want to see / access in this context. May be the same (of countless) reasons why one uses bookmarks / links within a Word doc / in other writing programs.

May be a good alternative (partially at least) would be if one could build Scrivenings which included marked text / partial areas (of Binder items) only of special folders / docs. So you have 50 Binder items contained in a Scrivening, 10 of them contain / show only special areas / text / pieces (one has marked before for instance).

I don't know what the answer is for your particular project. In my own work, though, internal links most often point to a definition, an image, or a reference, all of which seem to naturally have the kind of coherence that justifies creating a sub-document.

Yes, that is a proper way of using such links I would say. I do it the same way. By the way, creating links (or even Scrivenings) to other items / pieces of text to other projects would be very great as well.

If, instead, you're doing something like line-by-line commentary on a text, perhaps the solution is to rethink the layout so that the text and commentary are in such close proximity that links are not required?

Sorry, I do not understand, do you have an example? But to adapt the structure / layout to the need / position of links or so actually would not be a good idea for me, I suppose. And I would assume it is not possible (in a practical way). If one has e.g. 5 links in the same source information to different items / positions / pieces of text, etc. in the project, how could one do it?
Windows 10, 64bit

User avatar
kewms
Posts: 5434
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Fri Jun 02, 2017 4:36 pm Post

Biff wrote:
If, instead, you're doing something like line-by-line commentary on a text, perhaps the solution is to rethink the layout so that the text and commentary are in such close proximity that links are not required?

Sorry, I do not understand, do you have an example? But to adapt the structure / layout to the need / position of links or so actually would not be a good idea for me, I suppose. And I would assume it is not possible (in a practical way). If one has e.g. 5 links in the same source information to different items / positions / pieces of text, etc. in the project, how could one do it?


I'm thinking of the kind of close analysis that you sometimes see with legal documents, scriptural documents, or sometimes literature, where even individual words might have paragraphs of supporting analysis. Those aren't my fields, so I'm not sure exactly how they handle it, but one option would be to have the text in one column and the commentary in another, or a line of text followed by analysis.

Katherine
Scrivener Support Team

Bi
Biff
Posts: 261
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Fri Jun 02, 2017 4:56 pm Post

Very sorry, I do not understand at all, respectively I do not understand how to apply that to use it as a subsitute for the links / bookmarks.
Windows 10, 64bit

li
liz
Posts: 64
Joined: Sat Mar 25, 2017 6:40 pm
Platform: Win + iOS

Fri Jun 02, 2017 5:42 pm Post

I think the kind of thing that the users on this thread are referring to would be a situation such as where Document A has some narrative that includes something Bob said, and then in Document B there is another narrative where someone else says "To address what Bob said...," and the writer would like to have a link on "Bob said" to exactly what it was that Bob said in Document A, in the context of Document A. It makes no sense whatsoever to split Document A near Bob's quote if it's a tiny part of some larger coherent narrative.

A workaround for this might be to copy Bob's quote to a comment in Document B linked to "Bob said" and put a Scrivener link back to Document A in that comment, but then if you want the context you still need to scroll through Document A and find it. So this would in fact be new functionality that, at least as far as I can see, is not currently implemented in any convenient way.

Bi
Biff
Posts: 261
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Fri Jun 02, 2017 6:47 pm Post

Hmmm, well, yes, thank you liz, it somehow sounds very...so it appears to be easier to just to add an "identifier" (chain of characters or so) at the text one wants have a link to and add the same chain of characters to the source information and use the search to show / find the destination text.
Windows 10, 64bit

User avatar
DavidR
Posts: 685
Joined: Fri Mar 08, 2013 12:21 am
Platform: Windows

Fri Jun 02, 2017 7:41 pm Post

liz wrote:I think the kind of thing that the users on this thread are referring to would be a situation such as where Document A has some narrative that includes something Bob said, and then in Document B there is another narrative where someone else says "To address what Bob said...," and the writer would like to have a link on "Bob said" to exactly what it was that Bob said in Document A, in the context of Document A. It makes no sense whatsoever to split Document A near Bob's quote if it's a tiny part of some larger coherent narrative.

A workaround for this might be to copy Bob's quote to a comment in Document B linked to "Bob said" and put a Scrivener link back to Document A in that comment, but then if you want the context you still need to scroll through Document A and find it. So this would in fact be new functionality that, at least as far as I can see, is not currently implemented in any convenient way.

Yes, this is the kind of thing I'm thinking of. Thanks for putting it so clearly!
David
Scrivener for Windows Version 1.9.9
Windows 7 Pro 64-bit

What's the difference between a free lance and a loose cannon?

User avatar
kewms
Posts: 5434
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Fri Jun 02, 2017 9:29 pm Post

liz wrote:I think the kind of thing that the users on this thread are referring to would be a situation such as where Document A has some narrative that includes something Bob said, and then in Document B there is another narrative where someone else says "To address what Bob said...," and the writer would like to have a link on "Bob said" to exactly what it was that Bob said in Document A, in the context of Document A. It makes no sense whatsoever to split Document A near Bob's quote if it's a tiny part of some larger coherent narrative.


Well, since I do this sort of thing all the time, I disagree that it "makes no sense."

Remember that there is no requirement that you show the internal structure of the project to the reader. The section "stuff Bob said" doesn't need to have a (displayed) title, or a separator, or any other indicator that it's *not* part of the flow of Document A.

Katherine
Scrivener Support Team

Mo
MosesGhostwriter
Posts: 17
Joined: Tue Jul 29, 2014 7:23 am
Platform: Mac
Location: Deep in the Heart of Texas

Tue Jun 27, 2017 10:35 pm Post

I've looked over this topic with decreasing expectations for help for my problem. Basically, I'm creating what amounts to a dictionary that has entries for a number of items in the book it is related to. The dictionary has grown to over a dozen pages and scrolling through it takes time. I recently added a few entries that are related. In the past, I had text to the effect of "see also XYZ". But I have discovered that in the past, I have added an entry that relates to one of the later ones. I'm forced to rely on memory (you know, brain cells that are, in my case, beginning to die off) to know if I have another entry already in the dictionary to also consult. I imagined that it would be great if I had a link I could click on in one entry to take me to another entry (and back). I find, now, that the software won't do this. It can do a simple find, but having a "link" operand that "finds" a pre-set content is a non-starter. So I am going to have to do a lot more manual work to get the results I'm looking for. Oh, well, it is just another distraction that keeps one from doing productive writing.

User avatar
kewms
Posts: 5434
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Wed Jun 28, 2017 9:25 pm Post

This is the Windows sub-forum, but your profile indicates you are on a Mac?

I ask because sub-section 8.5.1 of the *Mac* Scrivener manual discusses wiki-style linking, which might be relevant to your situation, but this feature does not appear to be available in the Windows version.

For a dictionary specifically, I would use the split editor feature. Split the entries so that each has its own name. In one pane of the editor, use the Outline view to give you an alphabetical list of entries. As you need new entries, you can create the (blank) document in the appropriate location in the Outline view, link to it from the other view, and keep writing with minimal disruption.

Katherine
Scrivener Support Team

Mo
MosesGhostwriter
Posts: 17
Joined: Tue Jul 29, 2014 7:23 am
Platform: Mac
Location: Deep in the Heart of Texas

Wed Jun 28, 2017 11:18 pm Post

kewms wrote:This is the Windows sub-forum, but your profile indicates you are on a Mac?

For a dictionary specifically, I would use the split editor feature. Split the entries so that each has its own name. In one pane of the editor, use the Outline view to give you an alphabetical list of entries. As you need new entries, you can create the (blank) document in the appropriate location in the Outline view, link to it from the other view, and keep writing with minimal disruption.

Katherine


I followed a search result which pointed to this sub-forum.

As to your suggestion... so if I were to create a dictionary set of entries such as:
H2O - water
(line of text for another, intervening entry)
(line of text for another, intervening entry)
(line of text for another, intervening entry)
Water - a liquid [at habitable temperatures] which can enter either a gaseous or solid state depending on ambient temperature.

and that resides on one or two pages of the final product, you would suggest (from the example) 5 separate documents to create the ability to link between the H2O entry and the Water entry. Hmm.

I can see it being valid if each entry were a multi-page (possibly with sub-topics each having their own document) document such as might be stylized after an encyclopedia. But my "dictionary" is less ambitious taking up, to date, only twelve pages and ultimately only used by myself to keep track of items that will appear in my main text. Basically, what I'm saying is that I would like to open the file in a Quick Reference window, have, as per the example, the H2O line showing in addition to other, preceding entries, click on the word "water" and have the QR window scroll down to show the Water entry. As I read the manual, there is no linking to a specific point within a document, only to the document as a whole. So, if I had a document on chemical molecules with 10,000 entries within, I can only link to the document rather than to the text within it for water. Thus, clicking on the "water" in the H2O entry would require scrolling through a very long document. Not very practical in my situation.

Thanks anyway, John

User avatar
kewms
Posts: 5434
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Wed Jun 28, 2017 11:33 pm Post

Using multiple documents allows you to insert new entries in their proper alphabetical location at will. Whether you wish to preserve that structure to facilitate linking in the final document is another question.

Katherine
Scrivener Support Team

Mo
MosesGhostwriter
Posts: 17
Joined: Tue Jul 29, 2014 7:23 am
Platform: Mac
Location: Deep in the Heart of Texas

Sat Jul 08, 2017 4:37 am Post

So, if I understand you correctly, I would proceed as follows:
I have an digital file of a book on chemical compounds with 10,000 entries. I import the file and then select each entry, cut it out of the original and paste it into a new document, titling it with the entry title. This would give me 10,000 documents under the document that represents the original. Using the link assignment, I could edit an entry reference to another compound. [Though I have no idea how I would get back to the original if, say 50 entries are linked to the same document.] [Hmm. A trivial task, forming all those documents, should only take a minute or two away from the central task of writing.]
Of course, there still is the original problem. Supposing one or two or many or all of the entries take up 10 or 20 or 60 pages and the bit that I am wanting to link to is on page 39. {Oh, wait, isn't it easier than going through the hundreds of pages looking for the one sentence that I am looking for? Won't it only take a few seconds out of my writing time? I could use the FIND command, unless, of course, I'm looking for a phrase that has the word 'compound'.}
Another possibility is to keep everything in the original document until I need a particular entry and then do the cut and paste in a new doc link to it thing. Of course, that is better if I use my divine ability to see into the future and know that I will need it again.

Hmm. I will have to think again on your suggestion.
John

User avatar
lunk
Posts: 3635
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Sat Jul 08, 2017 9:53 am Post

DavidR wrote:I have to admit that I haven't really explored Scrivenings.


Scrivenings i simply how yo view stuff in the editor. It can be anything from simply showing one single binder document, to showing everything in all sub-documents under a parent document (or folder) or to showing a combination of individually selected documents.

The granularity of my writing differs. In some of my writing I have rather large chunks of text in each binder document, in others only a single paragraph. It all depends and doesn't even have to be consistent within the same project. That's the beauty of it. :)
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, all running the latest MacOS
* iOS Scrivener 1 on an iPhone 8, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

User avatar
kewms
Posts: 5434
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Sat Jul 08, 2017 7:27 pm Post

MosesGhostwriter wrote:So, if I understand you correctly, I would proceed as follows:
I have an digital file of a book on chemical compounds with 10,000 entries. I import the file and then select each entry, cut it out of the original and paste it into a new document, titling it with the entry title. This would give me 10,000 documents under the document that represents the original.


No, for a situation like that you would use the Import and Split command to have Scrivener automatically chunkify the document for you. Or you could defer splitting it at all until you needed to break out a particular piece of text.

But how did you get from a dictionary of a few dozen pages to 10,000 entries? I'm afraid I'm having trouble visualizing the project from your description?

Katherine
Scrivener Support Team

Ma
Mac
Posts: 86
Joined: Tue Jun 19, 2012 11:28 am
Platform: Mac + iOS

Sun Oct 29, 2017 2:38 pm Post

Biff wrote:How can one add a bookmark / link to a piece of text (not to an item in the binder)?


This is possible, if use some HTML.

I don't have any experience of Scrivener for Windows, but it does work on the macOS version of Scrivener.

You have to create an anchor at the target destination (word, sentence, paragraph, etc) and then create a link from the source location that points to the anchor.

The thread below includes a sample Scrivener project and its associated output to ePub.

viewtopic.php?f=2&t=40142#p240175