G. Milde wrote:
This is do-able now. Just add your favorite editor as the "Viewer" for LyX files in Tools>Preferences>File Formats, and check the "Document Format" box.

I actually did so already (and wrote about it later down in my last post).
There are some problems still, however:

* M-x buffer-view lyx will open the document source in my editor, fine.
  However, it opens a temprorary copy in the lyx-tmpdir, so all my changes
  (in the editor) are lost!
Right, I should have thought of that. I'll see if I can think of a solution.
* what is the difference between adding my editor as "Viewer" or as "Editor", i.e. what commands are available to use this settings?

Viewer is for the View menu. Editor would work for e.g. an included picture, giving an "Edit" option.
* what is the effect of the "Document Format" box?
It includes the format in the View and Export menus.
Is there an lfun to open the original source for editing (once the Editor is
added to the "File Formats"?
Not at present.

rh

Reply via email to