On Thu, May 24, 2001 at 05:19:50AM +0200, ben wrote:
> Jose Abilio Oliveira Matos a écrit :
>
> > I should also look to the configuration schemes used by sgmltools and
> > db2xxx, since they use the entities that are usually packaged in a different
> > way.
> >
> > I think I should go this road: if the user has installed sgmltools or
> > db2xxx then lyx should find the correct configuration. If not, then it means
> > it is capable to fiddle with the configuration...
>
> Jose, I've looked at the configuration file (lib/configure) and I hardly understand
>how
> it works (even if it seems to be a list of tests about existing programs + the
> lyxrc.defaults writing according to what was found...), especially the interaction
>with
> other configuration parts (reLyX for instance).
Welcome to the club. (It's friday, so no smile..)
> So, I've started a dedicated script for the db2lyx configuration, that is destinated
>to
> be integrated into the main configuration file. The purpose of this script is to
>start
> a discussion about the configuration aspect. The script works only with db2lyx-0.1.2.
>
> It works with the following hypothesis:
>
> * db2lyx is located at the same level than reLyX, let's say:
> /usr/local/share/lyx-1.1.6/db2lyx/.
> * the configuration script is under /usr/local/share/lyx-1.1.6/db2lyx/.
> * the jar files paths of the available XSLTs are listed in the CLASSPATH environment
> variable.
> * the two paths hardcoded in the config file (base_dbcommon, base_mmlents) must be
> valid.
>
> Jose, what do you think of it?
You are requiring perl, even to people who don't need it. Oh well I guess
this mean that I am being a little bit pedantic here (Amir's influence certainly, but
then pedantic and no perl that's a paradox regarding Amir...).
For the moment we should keep the script, later if needed we can replace
it by shell... Some pragmatism doesn't hurt, I hope.
> Here are some pending questions:
>
> * Should the db2lyx directory be under the LyX lib directory (the hypothesis of the
> script), or should it be located somewhere else?
Under, the same as reLyX.
> * Which mechanisms do you suggest to get the two paths (removing the hardcoded
>values)?
> About this, I don't see how catalogs could give a (simple) solution...
If necessary, as an option in config. I'll take a look.
> * By itself, the package needn't to know the XML DocBook DTD path, but anyway it is
> needed when exporting to XML. How do you get this information?
Since for the moment I export the SGML version I don't need to know since
the catalogs resolve it for me.
> That's all... for the moment ;-)
Ok.
> > --
> > José
>
> BG
>
> p. s.: db2lyx-0.1.2 is available at my page, but if you prefer a diff file (it seems
>to
> be the way) tell me how to do it since I don't know the command (shame on me).
Ok.
--
José