unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs - LaTeX: problems after [0] pages.
@ 2016-12-21 18:03 vernin
  2016-12-21 19:00 ` John Mastro
  2016-12-21 19:45 ` Ernest Adrogué
  0 siblings, 2 replies; 3+ messages in thread
From: vernin @ 2016-12-21 18:03 UTC (permalink / raw)
  To: help-gnu-emacs

I use a MakBookPro, with MacOS Sierra 10.12.2
I use emacs for tex file that I compile by C-c C-c

I changed my system and now, when I do: C-c C-c truc.tex, the system answers:
LaTeX: problems after [0] pages.
There is no truc.log created

If I do: pdflatex truc.tex in the Terminal, all is correct.

I tried:
MacBook-Pro-de-Jacques:Naples jacquesvernin$ which pdflatex
/Library/TeX/texbin/pdflatex

and, in my .emacs, I put:
(setenv "PATH"
   (concat  
    "/Library/TeX/texbin"  ;%%%% ajoutÈ le 19/12
    "/usr/texbin"
    ":"
    (getenv "PATH")
    )
)

No change!

I do not know what to do.

Thank you.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs - LaTeX: problems after [0] pages.
  2016-12-21 18:03 emacs - LaTeX: problems after [0] pages vernin
@ 2016-12-21 19:00 ` John Mastro
  2016-12-21 19:45 ` Ernest Adrogué
  1 sibling, 0 replies; 3+ messages in thread
From: John Mastro @ 2016-12-21 19:00 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org; +Cc: vernin

<vernin@sfr.fr> wrote:
> I use a MakBookPro, with MacOS Sierra 10.12.2
> I use emacs for tex file that I compile by C-c C-c
>
> I changed my system and now, when I do: C-c C-c truc.tex, the system answers:
> LaTeX: problems after [0] pages.
> There is no truc.log created
>
> If I do: pdflatex truc.tex in the Terminal, all is correct.
>
> I tried:
> MacBook-Pro-de-Jacques:Naples jacquesvernin$ which pdflatex
> /Library/TeX/texbin/pdflatex
>
> and, in my .emacs, I put:
> (setenv "PATH"
>    (concat
>     "/Library/TeX/texbin"  ;%%%% ajoutÈ le 19/12
>     "/usr/texbin"
>     ":"
>     (getenv "PATH")
>     )
> )
>
> No change!

I'm not familiar with any of TeX, LaTeX, or pdflatex, so I can't
really say if this will help, but shouldn't the PATH setting be
something like the below?

(setenv "PATH"
        (concat "/Library/TeX/texbin"
                ":" ;; <--- Another colon here to separate the elements
                "/usr/texbin"
                ":"
                (getenv "PATH")))

Otherwise you're adding "/Library/TeX/texbin/usr/texbin", which I don't
think is what you intend.

        John



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs - LaTeX: problems after [0] pages.
  2016-12-21 18:03 emacs - LaTeX: problems after [0] pages vernin
  2016-12-21 19:00 ` John Mastro
@ 2016-12-21 19:45 ` Ernest Adrogué
  1 sibling, 0 replies; 3+ messages in thread
From: Ernest Adrogué @ 2016-12-21 19:45 UTC (permalink / raw)
  To: help-gnu-emacs

2016-12-21, 10:03 (-0800); vernin@sfr.fr escriu:
> I use a MakBookPro, with MacOS Sierra 10.12.2
> I use emacs for tex file that I compile by C-c C-c
> 
> I changed my system and now, when I do: C-c C-c truc.tex, the system answers:
> LaTeX: problems after [0] pages.
> There is no truc.log created
> 
> If I do: pdflatex truc.tex in the Terminal, all is correct.
> 
> I tried:
> MacBook-Pro-de-Jacques:Naples jacquesvernin$ which pdflatex
> /Library/TeX/texbin/pdflatex
> 
> and, in my .emacs, I put:
> (setenv "PATH"
>    (concat  
>     "/Library/TeX/texbin"  ;%%%% ajoutÈ le 19/12
>     "/usr/texbin"
>     ":"
>     (getenv "PATH")
>     )
> )
> 
> No change!
> 
> I do not know what to do.

If you do C-c C-l after compiling the document, Emacs will open a buffer
showing LaTeX's output, that should give some clues.  Also look in the
*Messages* buffers.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-21 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-21 18:03 emacs - LaTeX: problems after [0] pages vernin
2016-12-21 19:00 ` John Mastro
2016-12-21 19:45 ` Ernest Adrogué

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).