Hi,
I got an epub that looks Ok using the following command line
mediawiki2latex -u https://en.wikibooks.org/wiki/Haskell/Print_version
-b -o Haskell.epub
Yours Dirk
On 7/1/20 4:41 PM, ael wrote:
On Wed, Jul 01, 2020 at 08:52:51AM +0200, Dirk Hünniger wrote:
Hi,
thats strange. I got an epub with
mediawiki2latex -u https://en.wikibooks.org/wiki/Haskell/Type_basics -o
Haskell.epub -b
what command line did you use.
I tried again with -i and this time the error was
Error downloading the lemma "zh:Haskell" form the url "Just (URL {url_type = Absolute (Host {protocol = HTTP True, host = "en.wikibooks.org", port =
Nothing}), url_path = "wiki/Haskell", url_params = []},[URL {url_type = Absolute (Host {protocol = HTTP True, host = "en.wikibooks.org", port = Nothing}),
url_path = "wiki", url_params = []},URL {url_type = Absolute (Host {protocol = HTTP True, host = "en.wikibooks.org", port = Nothing}), url_path = "",
url_params = []},URL {url_type = Absolute (Host {protocol = HTTP True, host = "commons.wikimedia.org", port = Nothing}), url_path = "wiki", url_params =
[]}])"
But it ran for a substantial time before hitting that error.
So that was with a command line of:
mediawiki2latex -u https://en.wikibooks.org/wiki/Haskell -o
/tmp/Haskell.epub -b -k -i
ael