- 追加された行はこの色です。
- 削除された行はこの色です。
[[Texmaker]] > [[設定>Texmaker/設定]] > [[OS X>Mac]]
&color(White,#5F2F2F){ ''◆目次◆'' };&br;
#contents
*設定 [#ca365096]
**コマンド [#cab65285]
[オプション(O)]-[Texmaker の設定]-[コマンド]
動作未確認です.~
PDFビューアは,組み込みビューアと外部ビューアを選択するようになっているので好きな方を選択してください.~
コマンドの LaTeX に設定されている latex を uplatex に変更してコマンドのオプションに -synctex=1 を追加します.~
コマンドの LuaLaTeX に設定されているコマンドのオプションに -synctex=1 を追加します.~
コマンドの Bib(la)tex に設定されている bibtex を biber --bblencoding=utf8 -u -U --output_safechars に変更します.~
コマンドの Dvipdfm に設定されている dvipdfm を dvipdfmx に変更します.~
BibTeX と dvipdfmx がうまく動作しない場合は以下を参照してください.~
-[[TeXmakerでbibTeXとdvipdfmxが動きません:http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=988]]
-[[TeXshopでbibTeXがうまく動かなくなりました:http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=991]]
----
&color(Black,#CCCCCC){%%% &color(#DD0000,#CCCCCC){●}; &color(#DDDDDD,#CCCCCC){●}; &color(#00DD00,#CCCCCC){●}; ''Texmaker の設定'' %%%};&br;
#ref(https://bitbucket.org/srazi/biditexmaker3/raw/tip/images/configtools.png,left,around,nolink,コマンド)
&color(Black,#F5F5F5){コマンド (% : 拡張子を除いたファイル名 - @ : 行番号)};&br;
&color(Black,#F5F5F5){LaTeX };%%%"/usr/texbin/uplatex" -synctex=1 -interaction=nonstopmode %.tex%%%&br;
&color(Black,#F5F5F5){PdfLaTeX };%%%"/usr/texbin/pdflatex" -synctex=1 -interaction=nonstopmode %.tex%%%&br;
&color(Black,#F5F5F5){☐ 出力ファイルを "build" サブフォルダーに出力する};&br;
&color(Black,#DAEAFF){ ''コマンド'' }; &color(Black,#F5F5F5){XeLaTeX };%%%"/usr/texbin/xelatex" -synctex=1 -interaction=nonstopmode %.tex%%% &color(Black,#F5F5F5){LuaLaTeX };%%%"/usr/texbin/lualatex" -synctex=1 -interaction=nonstopmode %.tex%%% または %%%"/usr/texbin/luajitlatex" -synctex=1 -interaction=nonstopmode %.tex%%%&br;
#img(,clear)
#ref(https://bitbucket.org/srazi/biditexmaker3/raw/tip/images/configquick.png,left,around,nolink,クイックビルド)
&color(Black,#F5F5F5){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/upbibtex '+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/makeindex '+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)"%%%&br;
&br;
&br;
&br;
''クイックビルド''&br;
#img(,clear)
#ref(https://bitbucket.org/srazi/biditexmaker3/raw/tip/images/configeditor.png,left,around,nolink,エディタ)
&color(Black,#F5F5F5){[[Bib(la)tex>Biblatex]] };%%%"/usr/texbin/biber" --bblencoding=utf8 -u -U --output_safechars %%%%&br;
&color(Black,#F5F5F5){Makeindex };%%%"/usr/texbin/makeindex" %.idx%%%&br;
&color(Black,#F5F5F5){[[dvips]] };%%%"/usr/texbin/dvips" -Ppdf -o %.ps %.dvi%%%&br;
&color(Black,#F5F5F5){Dvipdfm };%%%"/usr/texbin/dvipdfmx" %.dvi%%%&br;
''エディタ'' &color(Black,#F5F5F5){ps2pdf };%%%"/Applications/Ghostscript.app/bin/ps2pdf" %.ps%%% または %%%"/usr/local/bin/ps2pdf" %.ps%%%&br;
#img(,clear)
#ref(https://bitbucket.org/srazi/biditexmaker3/raw/tip/images/configkeys.png,left,around,nolink,ショートカット)
&color(Black,#F5F5F5){[[metapost>MetaPost]] };%%%"/usr/texbin/upmpost" -interaction=nonstopmode %%%%&br;
&color(Black,#F5F5F5){[[Asymptote]] };%%%"/usr/texbin/asy" %.asy%%%&br;
&color(Black,#F5F5F5){[[ghostscript>Ghostscript]] };%%%"/usr/local/bin/gs"%%%&br;
&color(Black,#F5F5F5){R Sweave };%%%R CMD Sweave %.Rnw%%%&br;
''ショートカット'' &color(Black,#F5F5F5){Add to PATH };&br;
----
&color(Black,#F5F5F5){''PDF ビューア''};&br;
&color(Black,#F5F5F5){&color(Black,#9FCFFB){(&color(Black){●};)}; 組み込みビューア};&br;
&color(Black,#F5F5F5){☑ 埋め込み};&br;
&color(Black,#F5F5F5){◯ 外部ビューア};&br;
%%%"/Applications/Skim.app/Contents/SharedSupport/displayline" @ %.pdf #.tex%%%&br;
#img(,clear)
&br;
&color(Black,#EEEEEE){[ OK ]}; &color(Black,#EEEEEE){[ キャンセル ]};&br;
----
*Skim との連携 [#b05a1a86]
LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.
**forward search [#jbc32d2d]
forward search は PDFビューアに
"/Applications/Skim.app/Contents/SharedSupport/displayline" @ %.pdf #.tex
です.
**inverse search [#q51f9015]
:コマンド:|/Applications/texmaker.app/Contents/MacOS/texmaker
:引数:|"%file" -line %line