Announcements Here you can see a respective diagram in newer browsers. 2010-11-24 CTAN tug.ctan.org update: pdftex user manual r655; 2008-08-18 CTAN Update: pdftex. Where do I get the pdflatex program for Mac? Please support me on Patreon: With thanks & praise to God, and wi. Bakomatex is a commercial product and mostly off-topic here. Back to miktex on a mac. Can you call pdflatex via a terminal? I figured it out - it turned out that there is (setenv 'PATH' 'C:/Users/user/') at the beginning of the.init file. Commented out this line and works fine now. It basically overwrote the windows environment PATH variable. Pdflatex -ini -jobname='preamble' '&pdflatex preamble.tex dump' in the command line. You will notice that a new file `preamble.fmt has been generated in the same directory, along with other auxiliary files. Edit the first line of main.tex so that it starts with%&preamble. Execute latex main.tex as usual: pdflatex -shell-escape main.tex.
The MiKTeX source code allows you to build a Drag'n'Drop installer for macOS:
This HOWTO describes the build procedure.
Prerequisites
Homebrew
Homebrew is a package manager for macOS which you can use to installdevelopment libraries and build tools which are required forbuilding MiKTeX on macOS. Please visit https://brew.shfor installation instructions.
Xcode
Building MiKTeX requires a modern C/C++ compiler. The minimumrequired standard versions are C99 and C++14 which will be satisfiedby installing the latest Xcode version.
CMake
The MiKTeX build is driven by CMake, a tool which will createMakefiles suited for the local system. The minimum required CMakeversion is 3.7.0. Install it with Homebrew:
Various build utilities
In addition to the compiler and the CMake build system, you will need these utilities:
- pkg-config
Install these utilities with Homebrew:
Libraries
You will need development packages for a couple of development packages.Again, use Homebrew to install them:
Running CMake
In order to make some special libraries accessible to CMake, it is necessary to set the environment variable CMAKE_PREFIX_PATH
:
It is recommended that you build outside the source code directory:
Here you have to specify the path to the MiKTeX source code directory(../source
in the example above).
Building MiKTeX
Run the Make utility to build MiKTeX, for example:
Create installer
Run
Pdflatex Mac Texworks
to build the Drag'n'Drop installer. This will create a .dmg
file which you can use to install MiKTeX.