On 03/05/2013 02:40 AM, Wolfgang Engelmann wrote:
For reasons I don't understand, debian does not put the lyx2lyx file in
your path. On my machine (testing, not unstable, but it is the same),
it is in /usr/share/lyx/lyx2lyx/ so /usr/share/lyx/lyx2lyx/lyx2lyx
filename filename should work.
Mind you, I compiled and installed lyx 2.0.5-1 in my home/wolfgang/
There are in lyx-2.0.5.1/lib/
a number of lyx2lyx files:
lyx2lyx
lyx2lyx_lang
lyx2lyx_tools
lyx2lyx_version
lyx2lyx_version.py.in
lyx2lyx_version.pyc
this is my (negative) result:
wolfgang@wolfgang:/mnt/sda/home/wolfgang/lyx-2.0.5.1/lib/lyx2lyx$ lyx2lyx
bash: lyx2lyx: Kommando nicht gefunden.
because that directory is not in your path.
wolfgang@wolfgang:/mnt/sda/home/wolfgang/lyx-2.0.5.1/lib/lyx2lyx$ ./lyx2lyx
since I did not know what to expect. Does the prg open a kind of menu
in which I can insert the name(s) of the lyx files to be converted to the
lower version
No, it gets the filename as an argument, and then generates the new
version. You can actually read that off of the file lyx2lyx itself,
which is a script: "usage: %prog [options] [file]". Options are
things like --verbose, --quiet, --debug. Unless you specify an output
by the option "-o outputfilename" it will spit the output to stdout.
So, to process a file "oldfile.lyx" and get an updated version
"newfile.lyx", enter on the command line:
/full/path/to/lyx2lyx -o newfile.lyx oldfile.lyx
it worked for me.
--
David L. Johnson
Department of Mathematics
Lehigh University