There is no easier solution now. The last time there was a plan for these phrases, it was to remove them and introduce ad-hoc insets instead.
If we do that we could 1/ introduce a way to define these forms easily (although then people will be clamoring for real macros in text) 2/ extend the autocorrect mechanism of mathed to texted. IMO autocorrect+insets is superior to what we have now. JMarc Scott Kostyshak <skost...@lyx.org> a écrit : >This topic came up twice in the last couple of days: > >http://tex.stackexchange.com/questions/71550/globally-set-a-word-in-small-caps-or-italics/71591 >http://latex-community.org/forum/viewtopic.php?f=19&t=21427 > >I have two questions: >(1) Is there an easier LyX-solution than recompiling or using a python >script? I think I might be missing something simple. > >(2) If the answer to (1) is "no", then: >Would making special phrases user-extensible be a valid feature? >My guess is that the special phrases are hardcoded for a good reason. >There seems to be potential problems that users could run into. Are we >protecting the users from themselves? Or is it just that no one felt >like implementing a feature like this? >To be clear, I propose taking out the hard-coded special phrases and >putting them in an file that is loaded on run-time. Note that they are >hard-coded in two places: Paragraph.cpp and tex2lyx/text.cpp. > >Thanks, > >Scott -- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.