On Thu, Oct 05, 2000 at 04:39:03PM +0200, Jean-Marc Lasgouttes wrote:
>
> A few problems related to Dekel's converter code:
>
> - Is it just me or does the export function export in the tmp directory?
> This is very annoying... (I tried tex and ps)
What happens when you export as DVI?
The export code performs all work in the temp directory,
and then moves the file to the correct directory.
I think that your problem is that your temp directory is not on the same
drive as the .lyx file directory, and therefore the file cannot be moved.
So, in this case we should copy the file, instead of moving it.
Is there a way to check if two directories are on different drives?
> - In the File->Update menu, although I have only one way to export to dvi, I
> see "DVI (using latex)". That's annoying, and the code should be
> smart enough to catch that.
I'm aware of this problem. It shouldn't be hard to fix.
> - moreover, this entry does not have an associated binding, whereas
> the plain old file->update_dvi does have one. That's confusing for
> the user ("what's the difference between those two menu entries?").
> BTW, is it reasonable to have the same entry at two places in the
> same menu?
I don't want to have the same entry twice. The easy solution is to
remove the "View DVI/Postscript" entries from the File menu,
and have them only in the View submenu.
It will be more difficult to do it the other way (removing the
DVI/Postscript entries from the View submenu):
We should add a "parameter" to the ViewFormats "command" in the ui file
that allows removing of some formats from the view submenu:
Menu "view"
ViewFormats "dvi,ps"
End
However, it might be a little difficult to implement.
> - with the new menu expand code, the menu entries would have menu
> shortcuts if the labels had them (in the form of "DVI|D"). Is it
> possible to add that?
It should be easy to add.