Hi

LyX is great. Thanks to you lovely people!

One of the things I like about nedit is that you can open a new file in a
nedit window from the command line - without starting a new nedit process,
using the command:

nedit-nc -noask filename.txt

Now I was thinking it would be handy to do the same thing with lyx... and
it should be easy with the lyxpipe feature.

However, as far as I can tell, the buffer-open command does not accept a
filename as an argument. I tried (using 1.1.6fix3):

matthewa@focus:~/local/lyx$ echo "LYXCMD:hello:buffer-open:" > lyxpipe.in

which nicely pops up a File Open dialog in my running LyX.

However, I then tried:

matthewa@focus:~/local/lyx$ echo \
"LYXCMD:hello:buffer-open:/full/path/to/file.lyx" > lyxpipe.in

and I still get the File Open dialog.

It would seem to be a fairly simple change to add a filename as an
optional argument to the buffer-open command, thereby skipping the dialog
box.

Then you could ship lyx with a little script that opens new documents in a
running lyx from the command line. You could call it lyxopen or something.

I understand you're in feature-freeze, so maybe one to file in bugzilla
for later.

...

Also a note about the Prefs -> Look & Feel -> Screen Fonts dialog box.
I find the "Use scalable fonts" is a bit confusingly named. It wasn't
until I read the Customisation manual very closely until I figured out
what it means (and arrived at a much better onscreen look by turning it
off).

Perhaps you could rename this option to "Rescale bitmap fonts". Or inverse
the boolean logic and call it "Use closest fit for bitmap fonts"

Cheers,
m.

Reply via email to