novelWriter icon indicating copy to clipboard operation
novelWriter copied to clipboard

Tag Definitions in a Novel Document

Open awqk opened this issue 1 year ago • 1 comments

As you have noticed, I manage to misunderstand concepts. Here's one example: For a time I created tag definitions in novel documents, only to realize later that there is no way to reference them.

Suggestion: While you are revisiting tags (#1982), disable this possibility. Also, after moving a Project Note to a Novel Folder, you may get non-referenceable @tag: definitions again. If there is no use case for this, disable this kind of move as well.

Alternatively, allow referencing tags defined in novel documents. Referencing them as plot tags might be a reasonable idea. You could also invent a new reference type, such as @document: or @novel:.

awqk avatar Jul 24 '24 09:07 awqk

I was pretty sure there was already a feature request for referencing novel documents, but I couldn't find any. It's something that can be added for completeness, yes.

As for moving notes around, I could just drop the whole distinction between notes and documents, and just consider all documents in notes folders as "notes" and the ones in novel folders as part of the novel. This current behaviour is a legacy from when there used to be a lot of different types of documents. This is tangential to what you're talking about, but still. The idea of having notes in the novel folder is so you can inject whole documents with plot notes, for instance, in your chapters or acts or whatever. I have never used it myself, but maybe some people do, so I'd prefer to just leave that detail alone.

vkbo avatar Jul 24 '24 12:07 vkbo

Added the ability to reference Novel Documents with the @story reference keyword. The indexer was already collecting tags in novel document, even if they couldn't be referenced, so this was pretty easy to do.

vkbo avatar Oct 27 '24 23:10 vkbo

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

github-actions[bot] avatar May 14 '25 21:05 github-actions[bot]