I'm not on Ubuntu 13.10 (still running the LTS of 12.04); but I tried downloading and installing the cabal manually just to try it out. I'm getting the following error from installing the cabal in mediawiki2latex-7.1.tar.gz; any thoughts? (Also for some reason the build tells me that it's attempting to build 6.9 -- issue in the cabal file?)
... Loading package file-embed-0.0.5 ... linking ... done. [ 7 of 23] Compiling Tools ( src/Tools.hs, dist/build/mediawiki2latex/mediawiki2latex-tmp/Tools.o ) [ 8 of 23] Compiling WikiHelper ( src/WikiHelper.hs, dist/build/mediawiki2latex/mediawiki2latex-tmp/WikiHelper.o ) [ 9 of 23] Compiling TableHelper ( src/TableHelper.hs, dist/build/mediawiki2latex/mediawiki2latex-tmp/TableHelper.o ) [10 of 23] Compiling WikiLinkHelper ( src/WikiLinkHelper.hs, dist/build/mediawiki2latex/mediawiki2latex-tmp/WikiLinkHelper.o ) [11 of 23] Compiling LatexRenderer ( src/LatexRenderer.hs, dist/build/mediawiki2latex/mediawiki2latex-tmp/LatexRenderer.o ) [12 of 23] Compiling UrlAnalyse ( src/UrlAnalyse.hs, dist/build/mediawiki2latex/mediawiki2latex-tmp/UrlAnalyse.o )
src/UrlAnalyse.hs:75:45: Not in scope: `unpackChars' cabal: Error: some packages failed to install: mediawiki2latex-6.9 failed during the building phase. The exception was: ExitFailure 1
~Matt Walker Wikimedia Foundation Fundraising Technology Team
On Sun, Nov 10, 2013 at 5:41 AM, Dirk Hünniger <dirk.hunniger@googlemail.com
wrote:
Hello, in the current version of ubuntu (13.10) you can compile pages from MediaWiki to LaTeX using the commands:
sudo apt-get install mediawiki2latex mediawiki2latex -u https://en.wikipedia.org/wiki/Adam_Ries -o AdamRies.pdf
Yours Dirk
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l