home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
UPGRADING
< prev
next >
Wrap
Text File
|
1998-04-23
|
5KB
|
111 lines
How do I upgrade my existing LyX system to version 0.12?
--------------------------------------------------------
[Document written 1997-04-03 by Asger Alstrup (alstrup@diku.dk)]
[Updated 1998-02-12 by Jean-Marc Lasgouttes (Jean-Marc.lasgouttes@inria.fr)]
Before you run "make install", rename your existing LyX binary
(usually /usr/local/bin/lyx) to something like lyx-0.10.7, in order to
be able to use it in case of problem. There is not need to backup
your library hierarchy, usually situated at /usr/local/lib/lyx/,
because the installation places files in another place (usually
/usr/local/share/lyx/). If you don't care about saving your previous
LyX configuration, just delete the old LyX library directory before
running "make install". You can safely delete "~/.lyxlastfiles" and
"~/.lyxrc" in this case also: these files are not used by lyx v0.12.
Also, you don't need to export the LYX_DIR environment variable anymore.
LyX version 0.12.0 introduces a new configuration system. Also, as a
consequence of the general code clean-up, configuration file syntax
has been enhanced and changed for the better. This means that you
can't use your old configuration files (.lyxrc and system.lyxrc)
anymore.
This is not as sad as you might fear, because LyX now uses an advanced
auto-detection scheme to try to set up much of the configuration to
fit your system. This means that the required customization has been
reduced, so it's easier to configuring LyX from scratch rather than
to fiddle with old configuration files.
The new configuration system enables you to try LyX completely before
installing it. You can use this feature to ensure that the setup is
correct before you run "make install" and invalidate an old LyX
installation.
It is possible to have both a lyx-0.10.x and lyx-0.12.x installed on
the same system, as long as you take care that they have a different
name, specified with the --program-suffix option to configure. You
might also want to check out the other options of configure (try
"./configure --help" or read INSTALL.autoconf).
Document transfer
-----------------
In general, you don't need to convert any documents saved with LyX
v0.10 to use them with LyX v0.12.
LyX v0.12.x can read all documents saved with lyx-0.10.x correctly up
to the old math mode, which is not supported anymore. If you have
documents with such math formulas, you convert it using the program
COLD, written by Preben Rhandol. COLD can be found at:
http://www.pvv.org/~randhol/lyx/COLD/
ftp://ftp.via.ecp.fr/pub/lyx/contrib/
or at one of LyX archive mirror sites listed in README.
If you have any documents prepared with LyX v0.8 that cause problems
in v0.12, you should try to load them into LyX v0.10 and save them
there and then use LyX v0.12 to read that.
LyX v0.12 saves in LyX format 2.15, which mostly can be read by lyx-0.10.x
except for errors with respect to the new features and changes in table
handling. If you do this, we recommend that you proof-read the document
carefully before printing, because spurious codes will be inserted in the
document that have to be deleted by hand.
The new logical font attributes "emph" and "noun" are not supported by
LyX v0.10. In LyX v0.10 the "emph" attribute is exactly the same as
"italic", while "noun" is the same as "smallcaps". In version 0.12,
emph and noun are logical attributes, while italic and smallcaps are
concrete attributes. This means that you might want to update all
"italic" font attributes to "emph" and similar with "noun" for
"smallcaps". This can only be done by hand (or by hacking the raw
.lyx files). The logical attributes are superior, because they can
change the concrete font change according to the environment. In
later versions of LyX, we hope to provide fully customizable logical
character font styles.
In LyX v1.0, we aim for reading of LaTeX, so document incompatibilities
will hopefully be reduced greatly then.
If you have VERY large problems with document transfers that can't
wait till v1.0, ask for help on the developers' mailing list at
lyx@via.ecp.fr, and we'll see what we can do.
Custom layout files
-------------------
If you are an advanced user that have created custom layout files, you
have to update those by hand. Some syntactic elements have changed
for the better. Luckily, syntactic error handling has also improved a
lot, so it should not be too hard to update your layout files: just
correct the errors LyX reports.
One important new feature is the "Input" directive that allows to
input another layout file, or a layout file snippet. This has been
used to remove redundancy in layout files and improve
maintainability. For an example of using this, take a look at
amsart.layout. Two other new features that help with
redefinition is the possibility to modify or delete an existing
style.
The "DefaultFamily", "DefaultSeries", ..., directives have been
replaced with the "DefaultFont" directive. See Customization.lyx as a
reference for the new syntax.
The "BaseLineStretch" directive has been replaced with the "Spacing"
directive. Instead of "BaseLineStretch 1.1", use "Spacing Other 1.1".
As with document transfers, direct any specific questions about
updating of layout files to the developers' mailing list at
lyx@via.ecp.fr.