Paul Smith wrote:

> Thanks, Angus, for your reply to my question. Meanwhile, I had the
> idea of installing LyX 1.4 cvs and getting tex2lyx. Afterwards, can I
> get back to LyX 1.3.5 and using tex2lyx without LyX 1.4? Does my idea
> make some sense?

Here's what I did on Windows.

Checked out the LyX 1.4.x tree:

$ cvs -d ':pserver:[EMAIL PROTECTED]:/cvs/lyx' \
  login
The password is 'lyx'

$ cvs -d ':pserver:[EMAIL PROTECTED]:/cvs/lyx' \
  -z9 checkout -d devel lyx-devel

This creates a directory 'devel' containing the entire 1.4.x tree. It's 
brought over compressed (-z9) to minimize bandwidth.

$ cd devel
$ ./autogen.sh

This generates the Makefile templates (Makefile.in files) and the 
configure script.

$ mkdir build && cd build

It's nicer not to pollute the source with your build files.

$ ../configure --prefix='J:/Programs/LyX' --with-included-gettext
$ (cd boost && make)
$ (cd src/support && make)
$ (cd src/tex2lyx && make install)
$ (cd lib && make install)

This populates 'J:/Programs/LyX' with everything that tex2lyx, reLyX and 
lyx2lyx could possibly need and then some. I went on to prune lots of 
unneeded stuff. Note that the 'Resources' directory on Windows is the 
'share' directory on Unix.

I left only the stuff below. The lyx2lyx and reLyX directories are fully 
populated.

LyX/
    bin/
        reLyX
        tex2lyx.exe
    Resources/
        lyx/
            chkconfig.ltx
            credits
            lyx2lyx/
                ...
                lyx2lyx
            packages.lst
            textclass.lst
            configure
            layouts/
            lyxrc.defaults
            reLyX/

It took me about 15 minutes to do all that.

Using it? See the mail 
  "tex2lyx, lyx2lyx round trip is still broken (worse!)"
on the lyx-devel list.
  http://article.gmane.org/gmane.editors.lyx.devel:41487 
and ensuing thread for a round trip lyx->tex->lyx->tex and attempt to run 
latex on the .tex files for the LyX user guide.

-- 
Angus

Reply via email to