>>>>> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes:

Darren> Dear List, The CVS versions of LyX obviously don't come with
Darren> docs, they're in another module checked out separately.

Darren> What I suggest is that the lyx-devel repository come with
Darren> either a) an extension to the makefile which adds relative
Darren> symlinks as appropriate, or b) some symlinks to the current
Darren> lyxdoc contents.

What about something simpler: have a variable LYX_DOCDIR_14x that can
point to the documentation files.

However, doing
cd .lyx/doc
ln -s <lyxdoc-dir>/*.lyx .

is enough.

Darren> It asks for a list of language codes in order of preference,
Darren> then scans the lyxdoc dir for files matching those languages,
Darren> adding symlinks as appropriate. If the most preferred language
Darren> is missing a doc file, the next preferred is used, etc. Which
Darren> would be really nice to call from the makefile of the cvs
Darren> versions of LyX. Only problem is I have /bin/sh symlinked to
Darren> /bin/bash and I don't know if it's an entirely legal sh
Darren> script.

The choice of language is already handled if you set LANG to something
reasonable. Why re-do it?

Darren> If you assume that everyone wants English docs to be the
Darren> default then just adding symlinks to the repository would be
Darren> OK (assuming CVS handles symlinks, I know it's broken in lots
Darren> of ways). 

If LANG==fr, then fr_UserGuide will be automatically loaded by LyX
instead of UserGuide.lyx.

JMarc

Reply via email to