evaleev / libint

Libint: high-performance library for computing Gaussian integrals in quantum mechanics
Other
218 stars 96 forks source link

HTML documentation isn't generated #301

Open susilehtola opened 6 months ago

susilehtola commented 6 months ago

I am working to update the Fedora package to 2.8.0. Unfortunately, it looks like the HTML documentation is no longer generated properly. Running make html in the build directory objdir/, I observe that the build system compiles progman.pdf and then

/usr/bin/latex2html progman
This is LaTeX2HTML Version 2023.2 (Released July 1, 2023)
...producing markup for HTML version 5.0  

Extension: loading /usr/share/latex2html/versions/unicode.pl
*** Constructing conversion utf-8 -> Unicode ***

HTML version: loading /usr/share/latex2html/versions/html5_0.pl

 *** processing declarations ***
Cannot read ./progman 
make[2]: *** [/home/susi/fedora/libint2/rawhide/libint-2.8.0/doc/progman/Makefile:81: html] Error 2
make[2]: Leaving directory '/home/susi/fedora/libint2/rawhide/libint-2.8.0/objdir/doc/progman'
make[1]: *** [/home/susi/fedora/libint2/rawhide/libint-2.8.0/doc/Makefile:58: html] Error 1
make[1]: Leaving directory '/home/susi/fedora/libint2/rawhide/libint-2.8.0/objdir/doc'
make: *** [/home/susi/fedora/libint2/rawhide/libint-2.8.0/Makefile:128: html] Error 1
evaleev commented 6 months ago

@susilehtola is progman.pdf actually generated?

Can't test since on macOS latex2html provided by brew has been broken for years: https://github.com/Homebrew/homebrew-core/issues/25024

Going to disable in #305

susilehtola commented 6 months ago

@evaleev yes, progman.pdf is generated. Note that the issue is not that latex2html does not exist, but that the make rule appears to be broken.. I think latex2html works on .dvi files, but that is not being generated for some reason by the makefiles. latex2html just complains that the source file doesn't exist...

evaleev commented 6 months ago

@susilehtola yes, it seems the rules are broken indeed, for some reason .dvi is not built ... will fix, thanks.

evaleev commented 6 months ago

should be resolved in 2.8.1

susilehtola commented 4 months ago

Ugh, now in 2.8.2 I do get progman.pdf but I don't get the classdoc which was generated in 2.8.0...

susilehtola commented 4 months ago

Actually, looks like the classdoc wasn't generated in 2.8.0 either!