Share

WikiPDF

Tracker: Bugs

5 Pdf created in the wrong directory - ID: 1808562
Last Update: Tracker Item Submitted ( cyrilbuttay )

With the latest wikipdf version (I don't know if it is true with older
versions), the pdf is generated by pdflatex using the argument TEXMFOUTPUT
to change its output directory. The problem is that latex will use this
argument ONLY if it cannot write in his current directory (which I must say
is a rather strange behaviour to me).

In normal cases, this shouldn't be an issue, as the current directory is
Mediawiki's root directory, which shouldn't be writable. But in some cases
(like a dirty installation in my case), permissions might be more loose.

The reason I think this behaviour is a bug is because the pdf directory
shouldn't depend on mediawiki's permissions.

Also, why is there so many file manipulations to generate the pdf? (a .tex
is generated by the wiki2latex.py, then rewritten by wikipdf.php, then
compiled, and then all the files are renamed).


buttay ( cyrilbuttay ) - 2007-10-06 11:09

5

Open

None

Nobody/Anonymous

wikipdf extension

CVS

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.