Skip to content

Instantly share code, notes, and snippets.

@Na-Nazhou
Last active January 6, 2025 16:26
Show Gist options
  • Save Na-Nazhou/27c0fadf380301e5884acd47a48589de to your computer and use it in GitHub Desktop.
Save Na-Nazhou/27c0fadf380301e5884acd47a48589de to your computer and use it in GitHub Desktop.
Install MacTex on MacOS

macOS version: 10.15.6

  1. Install MacTex with Homebrew
brew cask install mactex-no-gui
  1. Updating the packages
sudo tlmgr update --self && sudo tlmgr update --all
  1. Install LaTeX Workshop plugin from the Visual Studio Code Marketplace

  2. Fix latexindent You might need to run brew install perl first.

cpan -i Log::Log4perl Log::LogDispatch Log::Dispatch::File YAML::Tiny File::HomeDir Unicode::GCString

See https://tex.stackexchange.com/questions/445521/latexindent-cant-locate-log-log4perl-pm-in-inc-you-may-need-to-install-the-l

@shikibu-z
Copy link

probably should use the cpan -fi option, at least on my laptop (macOS 10.15.7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment