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.

Produce PDF Version not working on macOS

See original GitHub issue

Running the IDE’s Produce PDF Version on the spec, /Users/raymondDocuments/try_tlaplus/TCommit.tla gives an error:

PDF Production Error

TLATex unrecoverable error: -- Trying to run the command `pdflatex TCommit.tex' produced the following error
  Cannot run program "pdflatex" (in directory "Users/raymond/Documents/try_tlaplus/TCommit.toolbox"): error=2, No such file of directory

I’m running the nightly build: Feb 5 20:19 TLAToolbox-1.5.8-macosx.cocoa.x86_64.zip on macOs Mojave Version 10.14.2

The command does produce a valid LaTeX file, TCommit.tex. I know that is valid because I can manually (from the command-line) run pdflatex TCommit.tex and successfully produce a PDF.

Here is the relevant tree output:

$ tree
.
├── DieHard.tla
├── TCommit.tla
├── TCommit.toolbox
│   ├── Model_1
│   │   ├── MC.cfg
│   │   ├── MC.out
│   │   ├── MC.tla
│   │   ├── MC_TE.out
│   │   └── TCommit.tla
│   ├── TCommit.tex
│   ├── TCommit___Model_1.launch
├── mydiehard.tla
└── texput.log

I believe the cause of the problem is that the filename is not being appended to the path when running the PDF latex command.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
lemmycommented, Feb 14, 2019

@rhettinger Did you configure the (absolute) path to pdflatex in the Toolbox’s preferences (TLA+ Toolbox > Preferences > TLA+ Preferences > PDF Viewer > Specify pdflatex command)?

1reaction
heidihowardcommented, Nov 10, 2019

I encountered the same issue (Toolbox v1.6.0) on macOS Catalina v10.15.1. The toolbox generated a valid tex file but did not compile to pdf. @lemmy’s suggested fix worked (copying which pdflatex into preferences) but it would be good if this worked out of the box.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quick Actions -> Create PDF does not work - Apple Discussions
Hello. I am running Mac Big Sur on my MacBook Air. Nowadays, the "Create PDF" tool available from Quick Actions does not work...
Read more >
How to Fix If PDF Expert Not Working on macOS 10.14
1. Reinstall PDF Expert Mac Free ... Any issue that you notice on the PDF Expert Mac Serial could disappear by reinstalling the...
Read more >
create pdf not working in mac - Adobe Support Community
It works flawlessly in Windows 10, but in Mac OS High Sierra, every tool in Acrobat Pro DC works except for the Create...
Read more >
How to fix the problem after update macOS for PDF Printer?
1. Select a working directory to let PDF Printer gain access to your mac file system. 2. Go to System Preferences/Security & Privacy/Firewall/ ......
Read more >
How do I Print to PDF on a Mac? - FAQ - Maplesoft
From the Apple menu, select “System Preferences”. apple-menu-system-prefs.png; In the “System Preferences” window, select “Printers & Scanners”.
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