On 2010-09-07, Pavel Sanda wrote:
> Julien Rioux wrote:
>> On 06/09/2010 1:38 PM, Hal Kierstead wrote:
>>> Still, for a wish list, it would be nice to have a special tex mode, sort 
>>> of like math mode, so that simple things like \noindent, \cite, etc. could 
>>> be automatically entered into LyX.

>> That's on my wishlist too. For users coming from the TeX world this would 
>> be wonderful.

> hmm, that could be special derivate of ert inset, which would have
> enough intelligence to mutate itself into other insets, like cite one
> after pressing tab eg.

The generic version of this would be an LFUN that re-lyxes the selection.
As in math and relyx of files, any unknown construct will be converted to
an ERT box.

This way I can write "arbitrary" LaTeX code, select it and then convert
it to LyX objects (just what we do with math when selecting a region an
pressing Ctrl-M).


Günter

Reply via email to