Re: patch -- LaTeX exporter, and new --to command line option


Subject: Re: patch -- LaTeX exporter, and new --to command line option
From: Joaquin Cuenca Abela (cuenca@ie2.u-psud.fr)
Date: Wed Jan 26 2000 - 05:42:12 CST


Thomas Fletcher wrote:
>
> > P.S.: The option is included only in the GNOME build. If I've a bit of
> > free time, tomorrow I'll make work the option in the gtk build (it's
> > trivial).
>
> This is totally great ... but I don't understand why it
> has to take place in platform dependant code and can't
> be made to work in a platform independant way.

Just because right now the code that parses the command line options is
platform dependant code.

The function that makes all the work is convertTo(filename, type), and
it's ~15 lines of real code... and here, "all the work" means "find the
best complet file name for your new file (~14 lines) and save it (1 line
of code)".

It seems to me that the logical place of this function is a hypothetical
AP_App (cross platform/dependent application), but there isn't such a
file.

Does anybody think that it would be better to make a new
/wp/ap/xp/ap_Convert.cpp, with that function?

--
Joaquín Cuenca Abela
e-mail: cuenca@ie2.u-psud.fr



This archive was generated by hypermail 2b25 : Wed Jan 26 2000 - 05:44:25 CST