logo       
Bookmark and Share

Re: Two easymacs issues (probably only under windows): msg#00010

emacs.easymacs.user

Subject: Re: Two easymacs issues (probably only under windows)

On Thu, Jan 19, 2006 at 09:55:58AM +0100, Luca Trevisani wrote:
>
> Hi, I found the two following easymacs issues under windows (I don't know if
> they happen also with other OS).
>
> 1) Pdflatex doesn't work, and prints this message:
>
> Running `PDFLaTeX' on `thermins' with ``pdflatex
> '\nonstopmode\input{thermins.tex}'''
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4)
> entering extended mode
> ! I can't find file `'.tex'.

This looks like a problem with Windows not understanding the
single-quotes I used in that command definition.

Try substituting these lines, with double-quotes instead of single.
You'll probably need to restart Emacs after making the change.

(add-to-list 'TeX-command-list
(list "PDFLaTeX" "pdflatex \"\\nonstopmode\\input{%t}\""
'TeX-run-LaTeX nil t) t)


> 2) It is not possible to edit and compile texinfo files under folders names
> containing spaces. Emacs outputs this message:

> Anyway, the same problem happens when not using easymacs, so probably it is
> not possible to solve it by just redefining the F12 command.

Maybe yes, maybe no. If the makeinfo program itself has problems with
spaces, then there is nothing we can do. But if it's just a problem
with the Emacs command makeinfo-buffer, then we might be able to work
around it. Try this hack:

(defun easymacs-makeinfo-buffer ()
(interactive)
(let ((buffer-file-name
(when (buffer-file-name)
(concat "\"" (buffer-file-name) "\""))))
(makeinfo-buffer)))

(define-key Texinfo-mode-map (kbd "<f12>") 'easymacs-makeinfo-buffer)

Let me know if that fixes the problem.

Best wishes,

Peter


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise