help needed on using latex with emacs-wiki

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

help needed on using latex with emacs-wiki

Hui Zhou-2
Hi there,
 
I have been confused for quite a while by using latex formula in emacs-wiki.  You help is really appreciated on that.
 
I have downloaded the necessary *.el files and configured my .emacs file as instructed on http://www.sfcu.ca/~gswamina/EmacsWikiBlog. However, when I try the following simple expression in a wiki page
   <latex prefix="Ma">
       $$ a = 0$$
    </latex>
I get the error message as
 "Failed to create png file
  The latex folder does not exist!
  * emacs-wiki-tmp*: Error occurred: (wront-type-argument integer-or-marker-p nil)
 
I have auctex properly install on my ubuntu system and I can properly preview latex in latex-mode.  So I really have no idea what can be wrong with that. Any suggestions?
 
Thanks,
 
Hui
 
 
 

_______________________________________________
emacs-wiki-discuss mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: help needed on using latex with emacs-wiki

Stéfan van der Walt
Hi Hui

Just create a latex sub-directory in your output directory.  Also, I
think you may want to change your code to have only one surrounding $,
i.e.

<latex prefix="Ma">$a = 0$</latex>

Hope that helps.
Stéfan

On Wed, Oct 04, 2006 at 12:20:45AM -0700, Hui Zhou wrote:

> Hi there,
>  
> I have been confused for quite a while by using latex formula in emacs-wiki.
> You help is really appreciated on that.
>  
> I have downloaded the necessary *.el files and configured my .emacs file as
> instructed on http://www.sfcu.ca/~gswamina/EmacsWikiBlog. However, when I try
> the following simple expression in a wiki page
>    <latex prefix="Ma">
>        $$ a = 0$$
>     </latex>
> I get the error message as
>  "Failed to create png file
>   The latex folder does not exist!
>   * emacs-wiki-tmp*: Error occurred: (wront-type-argument integer-or-marker-p
> nil)
>  
> I have auctex properly install on my ubuntu system and I can properly preview
> latex in latex-mode.  So I really have no idea what can be wrong with that. Any
> suggestions?
>  
> Thanks,
>  
> Hui
>  
>  
>  

> _______________________________________________
> emacs-wiki-discuss mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss



_______________________________________________
emacs-wiki-discuss mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss