LoginSignup
1
0

More than 3 years have passed since last update.

EmacsとDockerで簡単LaTeX環境構築

Posted at

TL;DR

(use-package yatex                                                                                   
  :mode ("\\.tex\\'" . yatex-mode)                                                                   
  :config                                                                                            
  (let (                                                                                             
        (prefix "docker run --rm -v $PWD:/workdir paperist/alpine-texlive-ja ")                      
        (cmds '(                                                                                     
                bibtex-command                                                                       
                dvi2-command                                                                         
                makeindex-command                                                                    
                tex-command                                                                          
                YaTeX-dvipdf-command                                                                 
                )))                                                                                  
    (cl-loop for cmd in cmds collect (set cmd (concat prefix (eval cmd)))))) 

はじめに

LaTeXの環境構築のためにローカル環境を汚すことに抵抗ある人は多いだろう.
そんな人のために親切な方がDockerイメージを公開してくれている.
各コマンドをエイリアスに登録しても良いのだが,YaTeXを使っている人はLaTeXのコマンドを直接実行することは基本的にないので,init.elに書いてしまおう,というおはなし.

(気が向き次第追加執筆予定)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0