Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The following rules & subrules became out-of-date: 'pdflatex'

3,551 views
Skip to first unread message

273...@email.de

unread,
May 10, 2016, 3:20:12 AM5/10/16
to
Hi, I have not used latex for a few months and now I get this error message when I try to compile an unchanged older document.
I am using
Latexmk, John Collins, 5 February 2015, version: 4.43a.
with
TexShop Version 3.61 (3.61)
on
OS X El Capitan Version 10.11.4

What exactly do I need to do to compile my document? (I am a total latex beginner.)

Thanks, Alex

Herb Schulz

unread,
May 10, 2016, 7:38:22 AM5/10/16
to
On May 10, 2016, 273...@email.de wrote
(in article<e1688b11-f419-4c86...@googlegroups.com>):
Howdy,

Since I don't see details I'd guess you need to clean out the ``Aux files''
and start your compile from scratch. This is especially true if you have a
failed compile. TeXShop has File->Trash Aux Files (Ctl-Cmd-A) which should
remove the ones that give the most problems.
Good Luck,
Herb Schulz


273...@email.de

unread,
May 10, 2016, 10:27:48 AM5/10/16
to
Howdy Herb,

thanks for the suggestion. I deleted the aux files, but I am still getting this error message:

Latexmk: This is Latexmk, John Collins, 5 February 2015, version: 4.43a.
Rule 'pdflatex': File changes, etc:
Non-existent destination files:
'ExamensGD1Joh.pdf'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex --shell-escape --synctex=1 --file-line-error -recorder "ExamensGD1Joh.tex"'
------------
Latexmk: applying rule 'pdflatex'...
sh: pdflatex: command not found
Collected error summary (may duplicate other messages):
pdflatex: (Pdf)LaTeX failed to generate the expected log file 'ExamensGD1Joh.log'
Latexmk: Did not finish processing file 'ExamensGD1Joh.tex':
(Pdf)LaTeX failed to generate the expected log file 'ExamensGD1Joh.log'
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs of latex/pdflatex.
Latexmk: Errors, so I did not complete making targets

What other details would be helpfull to see?





> Thanks, Alex

Peter Flynn

unread,
May 10, 2016, 3:22:32 PM5/10/16
to
On 05/10/2016 03:27 PM, 273...@email.de wrote:
> Howdy Herb,
>
> thanks for the suggestion. I deleted the aux files, but I am still getting this error message:

Try

latexmk -gg ...etc

The -gg option does a complete cleanup and then runs a normal make.

///Peter

273...@email.de

unread,
May 11, 2016, 2:09:12 AM5/11/16
to
Hi Peter,

thaks, do you mean, I need to type "\latexmk[-gg]" in the beginning of my document? (I tried that and get the same error.)
Or doe you mean something else? (I am really a total beginner with latex.)

Thanks, Alex

Herb Schulz

unread,
May 11, 2016, 9:36:42 AM5/11/16
to
On May 10, 2016, 273...@email.de wrote
(in article<8a7780be-424c-4da8...@googlegroups.com>):

> sh: pdflatex: command not found

Howdy,

I don't remember... did you install OS X 10.11.x (El Capitan) recently? If so
make sure you update to the latest version of TeXShop which will auto-config
for that change. Please see<http://www.tug.org/mactex/elcapitan.html> and the
linked `Updating For El Capitan' document for more information.

Good Luck,
Herb Schulz


Peter Flynn

unread,
May 11, 2016, 3:23:16 PM5/11/16
to
Sorry, no, it's a system command. You type it on the command line in a
normal terminal application, in the directory where the document is.

As you appear to be on a Mac:
In the Finder, go to Applications > Utilities and double-click Terminal.
You need to know the folder where you keep your document: in this
example I am assuming ExamensGD1Joh.tex is in Documents, so you type

cd Documents

If it's somewhere else on your disk, type that instead of Documents.
Then type

latexmk -gg -pdf ExamensGD1Joh.tex

///Peter

273...@email.de

unread,
May 16, 2016, 11:47:38 AM5/16/16
to
Thanks, Herb and Peter,

thanks, Peter for the detailed instruction. This time I could try what you suggested, but it did not fix the problem.

thanks, Herb. It is possible that I installed OS X 10.11.x (El Capitan) relatively recently. Just now I installed MacTEX-2015 - and now it works :)
> Thanks, Alex

Herb Schulz

unread,
May 16, 2016, 6:23:59 PM5/16/16
to
On May 16, 2016, 273...@email.de wrote
(in article<1c178aaa-e8a1-4271...@googlegroups.com>):
Howdy,

If you didn't have MacTeX-2015 installed you could have followed the
directions in section 8 of the `Updating For El Capitan' document linked
at<http://www.tug.org/mactex/elcapitan.html>.

Good Luck,
Herb Schulz


Peter Flynn

unread,
Jun 5, 2016, 7:02:14 PM6/5/16
to
On 05/11/2016 08:23 PM, Peter Flynn wrote:
> On 05/11/2016 07:09 AM, 273...@email.de wrote:
>> Hi Peter,
>>
>> thaks, do you mean, I need to type "\latexmk[-gg]" in the beginning
>> of my document? (I tried that and get the same error.) Or do you
>> mean something else? (I am really a total beginner with latex.)
>
> Sorry, no, it's a system command. You type it on the command line in
> a normal terminal application, in the directory where the document
> is.

This problem has been growing for decades, as forecast. The more and
better the graphical interfaces, the less users are taught about how to
do the job from the command line (or even that there is such a thing).

Hopefully, one day they really won't need to know this at all, but we're
still in transition, so until then, it needs to be part of every user's
education (even just to know that the command interface exists, not
necessarily how to use it).

There are thousands of web pages which explain this, but usually not to
TeX users, and those that do, tend to rather glibly assume their reader
is a CS grad student Unix user (I'm as guilty of this as anyone).

I have therefore added a draft section to the appendix on commands and
error messages in _Formatting Information_ in the hope that it can help
more people who get stuck trying to do something they are unfamiliar with.

http://latex.silmaril.ie/formattinginformation/terminal.html

All corrections, suggestions, etc to me, please.

///Peter

0 new messages