Skip to content

Instantly share code, notes, and snippets.

@textarcana
Last active September 7, 2025 04:03
Show Gist options
  • Select an option

  • Save textarcana/4d930ba6f00d20eae9d4eda67e67a050 to your computer and use it in GitHub Desktop.

Select an option

Save textarcana/4d930ba6f00d20eae9d4eda67e67a050 to your computer and use it in GitHub Desktop.
Ubuntu 24 WSL setup for LaTeX (WINDOWS WSL)
;; sussman device configuration
(load-theme 'calmer-forest t)
(tool-bar-mode 0)
(menu-bar-mode 0)
(scroll-bar-mode 0)
(smart-mode-line-enable)
(add-hook 'LaTeX-mode-hook 'flyspell-mode)
;; navigate by words instead of letters when selecting a file path after eg C-x f
(ido-mode 1)
(setq ido-enable-flex-matching t)
;; code lint
(add-hook 'after-init-hook #'global-flycheck-mode)
;; spell check
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'prog-mode-hook 'flyspell-prog-mode) ; only checks comments/strings in code
sudo snap install languagetool
sudo apt -y install ack \
bat \
batcat \
chktex \
cowsay \
emacs \
fzf \
luatex \
pandoc \
texlive-latex-base \
tree \
xclip \
xz
@textarcana
Copy link
Author

textarcana commented Sep 6, 2025

Flycheck will flag bad grammar but you have to install flycheck-languagetool from MELPA.

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