[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] RE: latexwiki update
From: |
Bill Page |
Subject: |
[Axiom-developer] RE: latexwiki update |
Date: |
Wed, 23 Feb 2005 15:39:36 -0500 |
Bob,
Here is a small patch that I needed in order to run your new
LatexWiki 0.38 (from darcs Feb 23, 2005) on the MathAction
test website
http://test.axiom-developer.org/mathaction
diff -au $HOME/latexwiki/LatexWiki/latexWrapper.py latexWrapper.py
--- /home/page/latexwiki/LatexWiki/latexWrapper.py 2005-02-23
13:15:53.0000
00000 -0600
+++ latexWrapper.py 2005-02-23 14:14:19.000000000 -0600
@@ -41,17 +41,16 @@
latexInlinePattern = r'^(\$(?!\$)|\\\()$'
# This is only used if your wiki does not have a node LatexTemplate.
-defaultLatexTemplate = r"""
-\\documentclass[%d""" %(charsizept) + """pt,notitlepage]{article}
+defaultLatexTemplate = "\\documentclass[%d" %(charsizept) +
"""pt,notitlepage]{article}
\\usepackage{amsmath}
\\usepackage{amsfonts}
\\usepackage[all]{xy}
\\newenvironment{latex}{}{}
+\\nofiles
\\begin{document}
\\oddsidemargin -86pt
\\headheight 0pt
\\topmargin -96pt
-\\nofiles
\\pagestyle{empty}
%s
\\end{document}
Perhaps this change is required in part because I am using
latex --version
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
------
The new dvipng however seems to be working great! It even
solves some formatting problems for long LaTeX lines.
I do however seem to have a problem with alignment of LaTeX
and non-LaTeX characters. Perhaps this ia related to running
the wiki from within Plone (but with Simon's standard skin
patch). See the above link. Any ideas?
Later tonight I plan to integrate the Axiom and Reduce
extensions into the test site.
Great work! Thanks.
Bill Page.
> -----Original Message-----
> From: Bob McElrath [mailto:address@hidden
> Sent: Tuesday, February 01, 2005 3:02 PM
> To: Bill Page
> Cc: address@hidden
> Subject: latexwiki update
>
>
> Hi Bill,
>
> I have just finished a rather extensive rewrite of latexwiki, and want
> to examine your patches again that add axiom and reduce functionality,
> and see if I can integrate that quickly.
>
> Where is your code located again, and is it up-to-date?
>
> ZWiki 0.38 was released today, and I want to release latexwiki 0.38
> tonight too.
>
> Note: this rewrite does NOT include my new STX code, but improves
> rendering speed (using dvipng -- 100x faster on large pages), allows
> font-size scaling, and fixes a few bugs...
>
> --
> Cheers,
> Bob McElrath [Univ. of California at Davis, Department of Physics]