On Thu, May 04, 2000 at 03:01:50PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes:
>
> Jose> Personally I like this approach more then the other you
> Jose> propose. It is more general. I know this since I had the same
> Jose> problem with both linuxdoc and docbook html support, there I
> Jose> also need the file name without extension.
>
> Jose> For the moment I have postponed that, but I see now that the
> Jose> best solution is to add this variable instead of adding to the
> Jose> code more one special case.
>
> We should standardize a bit the variable names available for all
> commands. I have plan for a Variables class that could be used to set
> variables and do the substitutions in a nice uniform way, but of
> course I never find the time to do it.
That makes sense. :)
> Therefore I think that having this feature in LyX in a general way
> would be a good idea, but adding it for such or such command line
> because it will be useful for a particular program is a bad idea, IMO.
The proposed variable is a natural extension from the existing.
The way I argued is that there are several cases for docbook and linuxdoc,
independently of the program used where that variable is very handy.
An example:
As default (it can be configured) the html backend for docbook (sgmltools)
creates a directory with the name stripped from the original document.
Where the presence of the variable would very usefull for directory,
postprocessing.
I need to do this somes times as for example it isn't defined a index.html
link, or for example I want to apply tidy (clean the resulting html) for
all the files in that directory.
Of course, I can create a program that wraps this, but that can also be
defined for tth. ;)
The same post processing argument applies to hevea and html2latex.
> JMarc
--
José