question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TLA+ Toolbox can't locate pdflatex

See original GitHub issue

On macOS 10.12.5 and Version 1.5.3 of TLA Toolbox.

$ which pdflatex
/usr/local/bin/pdflatex

But when attempting to pretty print a module from TLA+ Toolbox, I get the following PDF Production error:

TLATeX unrecoverable error: —Trying to run the command pdflatex SimpleProgram.tex produced the following error
 Cannot run program “pdflatex” (in directory “/Users/samhavens/tla test/ SimpleProgram.toolbox”): error=2, No such file or directory.

I have LaTex installed via MacTex and Texmaker. I have verified that from the command line I can run pdflatex on .tex files to produce pdfs.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

10reactions
lemmycommented, May 28, 2017

Hi,

did you try with the pdflatex command set to the complete path “/usr/local/bin/pdflatex” in the Toolbox’s preference?

pdfviewerpref

0reactions
alanmynahcommented, Dec 16, 2020

For those who encounter this error on Mac, might not have pdflatex installed in the directory in @lemmy’s reply, use where pdflatex to paste your path into the editor. And then worked a treat, thanks a lot @lemmy!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Producing PDF Version - Google Groups
TLATeX unrecoverable error: Tring to run command `pdflatex DieHard.tex` produced the ... Cannot run program 'pdflatex' in directory /my/dir/DieHard.toolbox.
Read more >
PDFLatex Error -- Seems To Be Missing Font - Ask Fedora
I am trying to get TLA+ 1.7 to produce “PDF” output on my Fedora 33 laptop. When I attempt to create ... TLA+...
Read more >
The TLA Toolbox - Leslie Lamport
The TLA Toolbox is an IDE (integrated development environment) for the TLA+ tools. You can use it to: Create and edit your specs,...
Read more >
Beyond the Toolbox - Learn TLA+
You can also find it in the base directory of your toolbox installation. Tlatools has four subtools: TLC, the pluscal translator, a latex...
Read more >
Full Text Bug Listing - TLA+ - Inria
Product: TLA+ Toolbox, Reporter: Leslie Lamport <lamport> ... To make it easier for the user, either: a) Find pdflatex automatically (CDT ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found