aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/latex.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-14 19:34:44 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-14 19:34:44 +0000
commitb585a91c4acf3b73499e4ee5629990cefe2f01fc (patch)
treed3ef3a1d3d4ba9a9ad580e30b6750d9c4e96e101 /doc/todo/latex.mdwn
parent64ec439f1fd98d0ddce20804a2d50943ddb23e29 (diff)
downloadikiwiki-b585a91c4acf3b73499e4ee5629990cefe2f01fc.tar
ikiwiki-b585a91c4acf3b73499e4ee5629990cefe2f01fc.tar.gz
web commit by PatrickWinnertz: mid term report
Diffstat (limited to 'doc/todo/latex.mdwn')
-rw-r--r--doc/todo/latex.mdwn21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/latex.mdwn b/doc/todo/latex.mdwn
index 1e8a612e1..08a9cd12e 100644
--- a/doc/todo/latex.mdwn
+++ b/doc/todo/latex.mdwn
@@ -29,5 +29,26 @@ Conversely, how about adding a plugin to support exporting to LaTeX?
a latex plugin. Examples [here](http://ng.l4x.org/latex/). Currently without image support for hevea. And the latex2html
output has the wrong charset and no command line switch to change that. Dreamland.
+----
+
+Okay, now is the time for a mid term report i think.
+
+The LaTeX Plugin for ikiwiki is now usable, except for the security check. This means at the moment the latex code is not validated, but only added into a very basic latex template. and the image is generated via this path: latex -> dvips -> convert (.tex -> .dvi -> .ps -> .png).
+The resulting .png is moved into the imagefolder. The name of this image is the md5hash of the code the user wrote into the wiki. So on a second run there is no need to recreate this image, if it exists. This will fasten up all but the first generation of the page.
+The generation of the image is done in an temporary folder in /tmp created with tempdir from File::Temp. The tmp-folder name is something like: $md5sumdigest.XXXXXXXX. if there is an .tex file already in this dir it will be overwritten.
+
+So until now i finished the basic things, now the most important task is to make an good input validation.
+This is a bit eased since it is not possible to execute shell commands in perl. Furthermore adding additional packages won't work since the code comes from the user is inserted after \begin{document}. Therefore this will result in an error (and this will stop latex from working --> no image is created).
+
+So my task for the next weeks is to write an good input validation.
+I think this progress is okay, since I'll had to learn the last 5-6 weeks for my final exams in university therefore I can't do anything. From now on I have 3 months of freetime and I'll use them to work heavily on this plugin.
+So I think I'm inside my own timetable. :)
+
+ps: Since I found nothere the possibility to upload an file, here is an link to my page where you can have a look. Comments are very welcome ;-)
+https://www.der-winnie.de/~winnie/gsoc07/tex.pm
+
+-- Patrick Winnertz
+
+----
[[tag soc]]