olivierkes / manuskript

A open-source tool for writers
http://www.theologeek.ch/manuskript
GNU General Public License v3.0
1.78k stars 236 forks source link

Auto-references #663

Open digulla opened 5 years ago

digulla commented 5 years ago

Many things like names of characters, places, items in a story are unique enough that the Manuskript could keep automatic references. Example: Excalibur in a King Arthur-like story.

When the editors find such a "keyword", they should highlight it. Hovering over it should give the one-sentence summary. If there are two things with the same name, it should present a list.

The whole list of recognized keywords should be visible in the "Metadata" panel. Clicking on them should get you to the first mention in the editor.

When you open a character or place, it should give you a list of scenes, etc. where it is mentioned.

Bonus: Add some intelligence to distinguish name collisions and/or markup to select one meaning. In one of my stories, I have a character Forne Rako and a star system Rako. Things like Mr. Rako, Forne Rako and Lt. Rako should link to the character while Rako 2 and Rako System should link the place. In my own software, I achieved this by adding a "Keywords" field to everything. The character has:

Rako, Forne; Mr. Rako; Herr Rako; Lt. Rako

(Forne Rako is automatically added by concatenating the whole character name). Similarly, the star system has these keywords:

Rako 1; Rako 2; Rako 3; Rako 4; Rako System
PanDedoctor commented 5 years ago

That would be an amazing feature. I think auto referencing would be the first step towards more wolrbuilding oriented options. Things like personal project-bible will sooner or later be requested, and that is a good thing.