Hi Sven

On Monday, 25 December 2017 22:26:40 CET Sven Hoexter wrote:
> On Mon, Dec 25, 2017 at 08:04:03AM +0100, Gudjon I. Gudjonsson wrote:
> 
> Hi Gudjon, hi Andreas,
> 
> > I tried all options but without success.
> > But the only thing that works in both sbuild and normal environment is to 
> > add dependency 
> > on elyxer. 
> 
> *sigh* ok I think I've an idea.
> 
> 1) "LyXHTML" has the shorthand "xhtml" instead of "html". The failure you 
> encountered was
>    because it tried the next best tex2html export tool available, which 
> failed to do its
>    job. I would like to claim that this changed recently but I think it was 
> like this since
>    forever and I just forgot about it. :(
> 
> 
> 2) That in turn means that my NMU is not just incomplete, as in it's missing 
> the i386 build,
>    but it's also not doing what I wanted it to do.
> 
> 
>     cd build/manual && lyx -userdir ./.lyx -batch --export xhtml manual.lyx
> in debian/rules should do the magic. Except that
> 
> 3) this fails in some other strange way I don't grasp right now.
>   # Documentation for ngspice, the same as for tclspice
> mkdir -p /build/ngspice-27/debian/tmp/usr/share/doc/ngspice-doc/html
> cp -a /build/ngspice-27/build/manual/manual.html.LyXconv/* \
>         /build/ngspice-27/debian/tmp/usr/share/doc/ngspice-doc/html
> cp: cannot stat '/build/ngspice-27/build/manual/manual.html.LyXconv/*': No 
> such file or directory
> debian/rules:125: recipe for target 'install-indep' failed
> 
> .LyXconv is something temporary, I've to take a closer look during the 
> upcoming rainy days.
> 
Does it?
It creates manual.xhtml on my computer and png pictures with terribly long 
filenames but I can open the
file manual.xhtml in firefox and it seems to display without any errors (there 
are errors in the elyxer html output).

Just getting the output into a directory and I think the problem is solved.

Cheers
Gudjon

Reply via email to