The following idea is fortunately not related to the UI or implementation...

The idea is intended to simplify entering a word, or a phrase, that has previously been semantically marked. Here's how it'd work from a user's perspective:

* The user enters e.g. the text:
        Henrik went to work with his Apple MacBook, reading mail on
        the train.
* The user marks 'Henrik' as a noun, and 'Apple MacBook' as a
  brand/product.

* Let's now say that the user wants to write something that uses
  words/phrases that have already been marked, e.g. something like this:

        The emails Henrik received were to saucy to be read on his
        Apple MacBook on the train...

Is there a way that LyX could remember previously phrases, and easily let the user select from these? Or automatically recognize words and offer to mark them in a similar manner? (I'd probably be annoyed by the latter behaviour)

Here's one possible way:

* The user starts writing

        The emails

  and then presses some keyboard shortcut, which activates a regular
  expression search for previously entered phrases. So the user
  here only has to type 'He' and then press e.g. ENTER to get 'Henrik'
  inserted with the right markup.

Another possible way might be to have a keyboard shortcut that the user can press after having written 'Henrik', and have the word being marked/tagged in the same way that the last word 'Henrik' was tagged.

Anyway, this is just a thought.

Is this idea worth putting in bugzilla?

The advantage I can see with this idea is that it encourages and simplifies using semantic markup, even while writing text.

/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to