Hi, I just uploaded mediawiki2latex version 7.40 (hopefully) fixing the issue
Georges please make a package and upload to sid. Yours Dirk On 6/23/20 8:48 PM, ael wrote:
Package: mediawiki2latex Version: 7.39-1+b1 Severity: normal Dear Maintainer, Program fails reporting main.pdf: openBinaryFile: does not exist It gets this far: FullConfig {headers = Nothing, resolution = 300, outputFilename = "/tmp/Haskell", inputUrl = "https://en.wikibooks.org/wiki/Haskell", runMode = HTML No, paper = "A4", vector = True, copy = Just "/tmp/mediacopy/", mainPath = "/tmp/mediacopy/document/main", server = Nothing, outputType = PlainPDF, selfTest = Nothing, compile = Nothing, imgctrb = Nothing, convert = Nothing, noparent = False} mediawiki2latex (1592936919.526074122s): processing started mediawiki2latex (1592936920.153517774s): downloading article and contributor information mediawiki2latex (1592936924.520077276s): parsing article text [] Right [] mediawiki2latex (1592936924.520114122s): number of bytes to be parsed: 78887 mediawiki2latex (1592936924.527774192s): forking threads to download of images and contributor information on them mediawiki2latex (1592936924.527788797s): number of images going to be downloaded: 6 mediawiki2latex (1592936925.052710289s):(1,"File:Haskell-Logo-Variation.png|128px") mediawiki2latex (1592936925.730671023s):(2,"File:50%.svg|9px") mediawiki2latex (1592936926.445159287s):(3,"File:00%.svg|9px") mediawiki2latex (1592936927.14173226s):(4,"File:00%.svg|9px") mediawiki2latex (1592936927.837033539s):(5,"File:100_percent.svg|9px") mediawiki2latex (1592936928.544881536s):(6,"File:00%.svg|9px") mediawiki2latex (1592936929.233014499s): precompiling table columns mediawiki2latex (1592936929.233043777s): number of columns to be compiled: 32 mediawiki2latex (1592936929.233187014s): precompiling column number 1 mediawiki2latex (1592936929.893331276s): generating LaTeX document mediawiki2latex (1592936929.893355596s): number of bytes to be parsed: 78887 mediawiki2latex (1592936929.893579042s): joining threads to download the images and contributor information on them mediawiki2latex (1592936929.893586348s): number of images to be processed: 6 mediawiki2latex (1592936950.051639582s): preparing for PDF generation mediawiki2latex (1592936951.612873372s): preparing images for LaTeX document mediawiki2latex (1592936953.339994697s): generating PDF file. LaTeX run 1 of 4 mediawiki2latex (1592936953.977067954s): generating PDF file. LaTeX run 2 of 4 mediawiki2latex (1592936954.612092043s): generating PDF file. LaTeX run 3 of 4 mediawiki2latex (1592936955.256838503s): generating PDF file. LaTeX run 4 of 4 ------------------------------------------------------------------- That command line was: mediawiki2latex -o /tmp/Haskell -g -c /tmp/mediacopy/ -p A4 -u https://en.wikibooks.org/wiki/Haskell /tmp/mediacopy/document/main/main.log attached. I tried xelatex main.tex and had: ---snip-- Package tocstyle Warning: THIS IS A DEPRECATED ALPHA VERSION! (tocstyle) USAGE OF THIS VERSION IS ON YOUR OWN RISK! (tocstyle) EVERYTHING MAY HAPPEN! (tocstyle) THE PACKAGE IS FROZEN WITH ALL IT'S BUGS! (tocstyle) IT WILL BE REMOVED FROM KOMA-SCRIPT SOON! (tocstyle) THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE! (tocstyle) Maybe it would be better, not to load this package. ) (/usr/share/texlive/texmf-dist/tex/latex/paralist/paralist.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/trace.sty) (/usr/share/texlive/texmf-dist/tex/latex/keystroke/keystroke.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))) (../headers/babel.tex (/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty (/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def (/usr/share/texlive/texmf-dist/tex/generic/babel/xebabel.def (/usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def))) (/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf))) (../headers/svg.tex) (../headers/packages2.tex (/usr/share/texlive/texmf-dist/tex/latex/psnfss/mathptmx.sty) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd)) (/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/multicol.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty) (/usr/share/texlive/texmf-dist/tex/latex/ragged2e/ragged2e.sty (/usr/share/texlive/texmf-dist/tex/latex/ms/everysel.sty)) (/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty) ! LaTeX Error: File `scrpage2.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) The nearest to scrpage2.sty on my system was /usr/share/texlive/texmf-dist/tex/latex/lwarp/lwarp-scrpage2.sty Perhaps a missing dependency? But then scrpage2 seems to be obsolete: https://ctan.org/pkg/scrpage2 "As of 2015, the author considers this package as obsolete and recommends using its successor scrlayer-scrpage instead." So maybe scrlayer-scrpage? -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.6.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mediawiki2latex depends on: ii cm-super-minimal 0.3.4-15 ii djvulibre-bin 3.5.27.1-14 ii fonts-cmu 0.7.0-4 ii fonts-freefont-ttf 20120503-10 ii fonts-wqy-zenhei 0.9.45-7 ii imagemagick 8:6.9.10.23+dfsg-2.1+b2 ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2.1+b2 ii latex-cjk-common 4.8.4+git20170127-2+b1 ii libatomic1 10.1.0-3 ii libc6 2.30-8 ii libffi7 3.3-4 ii libgmp10 2:6.2.0+dfsg-6 ii libpcre3 2:8.39-12+b1 ii librsvg2-bin 2.48.7-1 ii lmodern 2.004.5-6 ii poppler-utils 0.71.0-6 ii texlive-fonts-extra 2020.20200522-1 ii texlive-fonts-recommended 2020.20200522-1 ii texlive-lang-all 2020.20200522-1 ii texlive-latex-extra 2020.20200522-1 ii texlive-latex-recommended 2020.20200522-1 ii texlive-plain-generic 2020.20200522-1 ii texlive-xetex 2020.20200522-1 ii ttf-unifont 1:12.0.01-3 ii zlib1g 1:1.2.11.dfsg-2 Versions of packages mediawiki2latex recommends: pn calibre <none> pn latex2rtf <none> ii libreoffice 1:6.4.4-1+b1 mediawiki2latex suggests no packages. -- no debconf information