Texmaker > 設定 > macOS
設定 †
コマンド †
Options > Configure Texmaker > Commands
動作未確認です.
コマンドの LaTeX に設定されている latex を uplatex に変更してコマンドのオプションに -synctex=1 を追加します.
コマンドの LuaLaTeX に設定されているコマンドのオプションに -synctex=1 を追加します.
コマンドの Bib(la)tex に設定されている bibtex を biber --bblencoding=utf8 -u -U --output_safechars または bibtexu に変更します.
コマンドの Dvipdfm に設定されている dvipdfm を dvipdfmx に変更します.
BibTeX と dvipdfmx がうまく動作しない場合は以下を参照してください.
- コマンド (% : 拡張子を除いたファイル名 - @ : 行番号)
- LaTeX
- "/Library/TeX/texbin/uplatex" -synctex=1 -interaction=nonstopmode %.tex
- PdfLaTeX
- "/Library/TeX/texbin/pdflatex" -synctex=1 -interaction=nonstopmode %.tex
- ☐ Use a "build" subdirectory for output files
- XeLaTeX
- "/Library/TeX/texbin/xelatex" -synctex=1 -interaction=nonstopmode %.tex
- LuaLaTeX
- "/Library/TeX/texbin/lualatex" -synctex=1 -interaction=nonstopmode %.tex
- "/Library/TeX/texbin/luajitlatex" -synctex=1 -interaction=nonstopmode %.tex
- Latexmk
- ruby -e "cmd='latexmk -e '+0x22.chr+'$latex=q/uplatex '+0x25.chr+'O'+' -synctex=1 -interaction=nonstopmode '+0x25.chr+'S'+'/'+0x22.chr+' -e '+0x22.chr+'$bibtex=q/bibtexu '+0x25.chr+'O'+' '+0x25.chr+'B'+'/'+0x22.chr+' -e '+0x22.chr+'$biber=q/biber '+0x25.chr+'O'+' --bblencoding=utf8 -u -U --output_safechars '+0x25.chr+'B'+'/'+0x22.chr+' -e '+0x22.chr+'$makeindex=q/upmendex '+0x25.chr+'O'+' -o '+0x25.chr+'D'+' '+0x25.chr+'S'+'/'+0x22.chr+' -e '+0x22.chr+'$dvipdf=q/dvipdfmx '+0x25.chr+'O'+' -o '+0x25.chr+'D'+' '+0x25.chr+'S'+'/'+0x22.chr+' -norc -gg -pdfdvi '+'%.tex';system(cmd)"
- Bib(la)tex
- "/Library/TeX/texbin/biber" --bblencoding=utf8 -u -U --output_safechars %
- "/Library/TeX/texbin/bibtexu" %
- Makeindex
- "/Library/TeX/texbin/upmendex" %.idx
- dvips
- ruby -e "cmd='/Library/TeX/texbin/dvips -Ppdf -z -f '+0x22.chr+ARGV[0]+'.dvi'+0x22.chr+' '+0x7c.chr+' '+'convbkmk -u'+' '+0x3e.chr+' '+0x22.chr+ARGV[0]+'.ps'+0x22.chr;system(cmd)" %
- Dvipdfm
- "/Library/TeX/texbin/dvipdfmx" %.dvi
- ps2pdf
- "/Applications/Ghostscript.app/bin/ps2pdf" %.ps
- "/usr/local/bin/ps2pdf" %.ps
- metapost
- "/Library/TeX/texbin/upmpost" -interaction=nonstopmode %
- Asymptote
- "/Library/TeX/texbin/asy" %.asy
- ghostscript
- "/usr/local/bin/gs"
- R Sweave
- R CMD Sweave %.Rnw
- Add to PATH
- PDF Viewer
- 🔘 Built-in Viewer
- ☑ Embed
- ◯ External Viewer
- "/Applications/Skim.app/Contents/SharedSupport/displayline" @ %.pdf #.tex
Skim との連携 †
LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.
forward search †
forward search は PDFビューアに
"/Applications/Skim.app/Contents/SharedSupport/displayline" @ %.pdf #.tex
です.
inverse search †
- コマンド:
- /Applications/texmaker.app/Contents/MacOS/texmaker
- 引数:
- "%file" -line %line
Last-modified: 2023-12-17 (日) 03:26:22 (102d)