assign keywords to sentences, is that possible

Hello,

I am new to scrivener but i know how to asign keywords and metadata to a text file.
But i wonder this:

Is it possible to assign keywords to an sentence in a text document?

I want to achieve this. For text research I would like to have the option of giving all questions in a text a different color than the answers to the questions. That actually means that I have to assign a style to each element in the text. That’s no problem. But I also want to be able to turn that function off so that all text is displayed normally again.
Hopefully this is a bit clear?

If this is not possiboe, maybe you have a suggestion for other software to achieve this.

thanks in advance

Not exactly sure what your purpose is in this, but you might be able to use a variation of my technique in Scriv 2—no style system—so I could quickly set styles in NWP to text compiled from Scriv.

What I did was set up colours which were indistinguishable to the eye, but recognisable by the computer, so for instance my “Heading 1” might have the colour #FFFFE9. That way in NWP I could search for all text with that colour and replace it with NWPs Heading 1 style and remove the colour marking.

Would that do what you want? In Scriv you could use search by formatting to find all text in the colours you have designated.

Just a thought. :slight_smile:

Mark

Hello Mark,

Thanks for yur reply…
Sorry for asking, what is NWP?

Just in case Mark can’t reply for a little while… Nisus Writer Pro.

nisus.com/products/

Ah great, thanks. i will dive into it.

Thanks @ LOGIN for explaining … I was indeed otherwise occupied.

@dicki, I am a long-term user and fan of Nisus Writer Pro as a word processor. I used classic Nisus Writer periodically under Systems 8 & 9, but Word 5.1a was my go-to word processor then. Word 6 was a disaster, so that’s when I used Nisus Writer most.

With the shift to OS-X, I needed to find another word processor which could work with .DOCs containing Chinese without having to use TextEdit to convert them to RTF first. So when Nisus released Nisus Writer for OS-X about a year later, I immediately took it on. I periodically check out other w-ps, but come back to NWP every time. It’s not the cheapest word processor out there, but it is very good, with three levels of Find and Replace up to full RegEx, and a very powerful macro language if you need it. And it teams brilliantly with Scrivener.

That said, everyone has their own priorities and it clearly won’t suit everyone.

:slight_smile:

Mark

One of the advantages of Styles is that changing the style in one place changes it everywhere. So, to “highlight” everything with a particular assigned style, you could change the style specification to your desired highlight color, then change it back when you’re done. And since different “keywords” have different styles, you could do this for as many “keywords” at once as you like.

Be aware, though, that the Compile command treats Styles as protected elements: it will pass them through unchanged unless you specifically define them in the Compile Format. To protect yourself from accidentally sending weird formatting to other people, you might want to set up a format up front that normalizes everything back to your preferred font. Section 24.5 in the manual discusses the interaction of Styles with the Compile command.

Katherine

What I would suggest using, in that case, is the style highlight setting, when you set up or create a style. The highlight is a simple visual marker to draw attention to the styled text, and is especially useful if the style doesn’t really do much to the formatting of the text, if anything.

The next ingredient is to trigger the View ▸ Text Editing ▸ Hide Markup setting. Among other things (which can be fine-tuned in the Appearance: Textual Markings preference pane), this cleans up editorial markings from the editor, style highlighting among them, for a better proofreading environment.

To take this in another direction as well, it’s worth noting that while there is no formal “keyword by line” feature, there are features that provide that effective capability. The concept of tagging text in a detailed fashion is something we’ve seen a fair amount of discussion toward in the past, and it would be a shame to not dig into these methods, as you may find something that clicks and works really well for what you need. I create a small digest of links on this topic a few years back, one of which links to another digest.