On Wed, Apr 29, 2009 at 12:23 PM, Bill Page wrote: > On Wed, Apr 29, 2009 at 12:15 PM, Martin Rubey wrote: >> >> Oh dear, windows is so stupid. I guess it wants ".PNG" instead of >> ".png". >> >> Could you modify >> >> (defun fricas-insert-TeX () >> (let* ((pos (point)) >> (bas (file-name-sans-extension fricas-TeX-file)) >> (dir (file-name-directory fricas-TeX-file)) >> (png (make-temp-file "fricas" nil ".png")) >> >> and replace .png by .PNG and try again... >> > > I do not know how to do this. What file should I edit? Where is it located? > ... > But I will try. >
I modified the file $ emacs /usr/lib/fricas/emacs/fricas.el as you suggested but when I tried efricas again there was not change in behaviour. I do not see any dvi files in the Temp directory so I tried this: bp...@drdkim-bpage1 ~ $ cat /cygdrive/c/DOCUME~1/bpage/LOCALS~1/Temp/fricas508xRN.tex \documentclass{article}\usepackage[active,dvips,tightpage,displaymath]{preview}\ begin{document}\begin{preview}$$ 2 \leqno(1) $$ \end{preview}\end{document} bp...@drdkim-bpage1 ~ $ latex /cygdrive/c/DOCUME~1/bpage/LOCALS~1/Temp/fricas508xRN.tex This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) file:line:error style messages enabled. %&-line parsing enabled. entering extended mode ! I can't find file `/cygdrive/c/DOCUME'. <to be read again> \protect <*> /cygdrive/c/DOCUME~ 1/bpage/LOCALS~1/Temp/fricas508xRN.tex Please type another input file name: --- This looks to me like some kind of problem with the file names. The name with the ~ character 'DOCUME~1' is fairly specific to Windows. This is called the "old name format" (max 8 characters) which is used to refer to longer names possibly containing spaces such as 'Documents and Settings'. I would guess that this (at least in part) a cygwin problem. I do not know what you can do to enable characters like ~ in "linux" file names - maybe insert '...' somewhere? Maybe I could change where it is trying to create temporary files, but I do not (yet) know how to do this in cygwin. Regards, Bill Page. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to fricas-devel@googlegroups.com To unsubscribe from this group, send email to fricas-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---