aiyuyun2015 / wiki2latex

Automatically exported from code.google.com/p/wiki2latex
0 stars 0 forks source link

Two general usage problems #80

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. adding a math formula to the main page, and it just displays the original 
formula source rather than the rendered formula

2.when I download a PDF from there, it has no text, just a few bullet points. 
If I download the .tex file and compile it locally with pdflatex, it works 
fine, so maybe there's something wrong with the installation of pdflatex

What is the expected output? What do you see instead?
adding a math formula to the main page, and it just displays the original 
formula source rather than the rendered formula

When I download a PDF from there, it has no text, just a few bullet points. If 
I download the .tex file and compile it locally with pdflatex, it works fine

What version of Wiki2LaTeX are you using? On which Mediawiki version?
w2l-2011-02-22 Aegaeon.zip
Turnkey linux 12.0 installation based on the Ubuntu 11.00 distribution

Please provide any additional information below.

Hello --

I completed the installation of the Wiki2Latex extension onto our MediaWiki 
server, and had our users interact with the system. I received the following 
e-mail concerning two reported problems:

Creating an account went smoothly, and it seems like the core functionality 
works fine. I'm not sure about the extensions though. I tried adding a math 
formula to the main page, and it just displays the original formula source 
rather than the rendered formula. I copied the formula straight from the manual 
page for the Math extension, so I think the formula is fine. Maybe the 
extension is disabled?

Also, I see the "latex/pdf" tab, which I guess is provided by Wiki2Latex, but 
when I download a PDF from there, it has no text, just a few bullet points. If 
I download the .tex file and compile it locally with pdflatex, it works fine, 
so maybe there's something wrong with the installation of pdflatex.

The server is a Turnkey linux installation that is based on the Ubuntu 11.00 
distribution. The w2l-2011-02-22 Aegaeon.zip file was used in the installation. 
I had some problems with unzipping the file due to the name space. To 
facilitate matters, I renamed the file from its original w2l-2011-02-22 
Aegaeon.zip to w2l-2011-02-22_Aegaeon.zip format.

I checked the version of pdflatex on the server, and here is the output:

pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian) kpathsea version 5.0.0 
Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO 
warranty. Redistribution of this software is covered by the terms of both the 
pdfTeX copyright and the Lesser GNU General Public License. For more 
information about these matters, see the file named COPYING and the pdfTeX 
source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh 
(pdfTeX). Compiled with libpng 1.2.44; using libpng 1.2.44 Compiled with zlib 
1.2.3.4; using zlib 1.2.3.4 Compiled with poppler version 0.12.4

What steps do I need to take to correct the above problems?

Original issue reported on code.google.com by ahkapla...@gmail.com on 29 Jan 2013 at 4:59

GoogleCodeExporter commented 8 years ago
Hi,

I'm not sure if I can help here. On some installations it is necessary to 
activate Math-support for Mediawiki to show the correct formula.

With W2L it is definitely necessary to do so. you can add this line to your 
w2lConfig.php to activate math:

 include('contrib/math.php');

This should enable math support in w2l.

I hoe this helps.

Original comment by hansgeorg.kluge@gmail.com on 1 Feb 2013 at 1:45

GoogleCodeExporter commented 8 years ago
Of course I meant:

I hope this helps :)

Original comment by hansgeorg.kluge@gmail.com on 1 Feb 2013 at 1:46