On Tue, 16 Oct 2001 11:19:09 +0900 wrote Gerhard Schuck <[EMAIL PROTECTED]>:

> 1) I need ERT quite frequently. It would be cool to have a special box for
> latex code. I mean a box like the one for footnotes, which supports cut and
> paste and everything like normal text. Every text in this box should be
> automatically understood as red text, and if you close the box, your screen
> is clean (except of a small label). Of course that has nothing to do with
> functionality, it's just a way to hide ERT.

This is already possible with the undocumented ERT-inset, see the attached
example.

Developers: Why isn't the Paragraph Style of an ERT-inset set to LaTeX by
default?

 
> 2) Find and Replace should be improved. It is very slow and it's
> fuctionality should be enhanced, in order to use special codes and ERT too.
> For example if I want to replace "z. B." by "z.\,B." (\, in red) it should
> be possible to do this with Find and Replace. I understand that you
> developer guys, who know the lyx file structure and also sed or perl very
> well don't need that. But for the normal user it would be a great
> improvement. I didn't manage to replace "z. B." with sed, because in the lyx
> file this expression is divided into two separate lines and I didn't find
> out how to use sed for such expressions.

I very much agree with that, also Search and Replace in math-boxed is an
often required feature.

Just now, I save the lyx-file, open it in an editor (jed in my case) and do
the replace over there, and finally do a File|Restore to get the chages into
LyX.

(A command to open the source in a customizable external editor would be a
first step)


Guenter

BTW.: Would it possible to let Layouts|Preamble open the preamble in an
external editor instead of the dumb grey xforms widget?

--
[EMAIL PROTECTED]

Reply via email to