Produce PDF Version not working on macOS
See original GitHub issueRunning 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:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rhettinger Did you configure the (absolute) path to pdflatex in the Toolbox’s preferences (TLA+ Toolbox > Preferences > TLA+ Preferences > PDF Viewer > Specify pdflatex command)?
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.