Jean-Marc Lasgouttes wrote:
> 
> >>>>> "R" == R Lahaye <[EMAIL PROTECTED]> writes:
> 
> R> Hmmm, I had that in mind too, but couldn't find the actual code
> R> that calls the HTML viewer. Do you know where that happens?
> 
> It is just one of the viewers (in converter.C, I guess). Why do you
> need to access this code? Can't you do everything in lib/configure.m4?
> What feature is missing?

We should start with using the full path for the file to be viewed:
   ${HTML_VIEWER} "file:///full/path/to/document.html"
which should work for all viewers (well it does for mozilla and netscape).

A wrapper, that should come with the viewer, then automatically
converts this into
   ${HTML_VIEWER} -remote "openurl(file:///full/path/to/document.html,
new-window)"
in case the viewer is running already.

The latter is not a task for LyX!

So: first step would be to make LyX use the full-path to the html file.

Rob.

Reply via email to