Liviu Andronic wrote:
On 10/28/07, Marc Levivier <[EMAIL PROTECTED]> wrote:
I'm using debian with gnome. For example, I can open several files with
Ooo (using ctrl or shift key to select the files I want).

If I understand you correctly, you would like to be able to select
multiple files using <shft> or <ctrl> when in the QT4 File Chooser
(<ctrl>+o). And the result would be that LyX open all the given files
and each in its respective tab. That would be a nice feature to have.
I think you'd better make a feature request on the LyX Wiki [1].
And file it in bugzilla, too. Shouldn't be too hard.
Another  thing still missing in LyX, is the possibility to open a file
in a running instance of LyX (say, in the style of web browsers:
"opera --newpage <url>").
Use this script, adjusting for your local setup:
#!/bin/bash

LYX="/usr/local/bin/lyx -sysdir /usr/local/share/lyx -geometry 1024x1024+100+100";
LYXPIPE="$HOME/.lyx/lyxpipe.in";
CMD="file-open";

if [ -e $LYXPIPE ]; then
   echo "LYXCMD:lyx-script:$CMD:$1" > $LYXPIPE;
else
$LYX $1; fi

This will choke if the lyxpipe is stale, though. There must be some natural way to try to read lyxpipe.out, but I haven't worked on that.

Richard

Reply via email to