- 追加された行はこの色です。
- 削除された行はこの色です。
[[Texmaker]] > [[設定>Texmaker/設定]] > [[Linux]]
&color(White,#5F2F2F){ ''◆目次◆'' };&br;
#contents
*設定 [#t1b1a7e1]
**コマンド [#cab65285]
[オプション(O)]-[Texmaker の設定]-[コマンド]
PDFビューアは,組み込みビューアと外部ビューアを選択するようになっているので好きな方を選択してください.~
組み込みビューアで和文フォントを埋め込んでいない PDF ファイルを表示したい場合は [[KDE-Okular や Texmaker で和文フォント非埋め込みPDFを表示させるには:http://blogs.yahoo.co.jp/igproj_fusion/16383026.html]]を参照してください.~
コマンドの LaTeX の latex を platex または uplatex に変更します.~
コマンドの Bib(la)tex の bibtex を pbibtex または upbibtex に変更します.~
コマンドの Dvipdfm の dvipdfm を dvipdfmx に変更します.~
[[LuaLaTeX>LuaTeX]] を使用したい場合は,コマンドの PdfLaTeX の pdflatex を lualatex に変更して使用してください.~
[[LuaJITLaTeX>LuaJITTeX]] を使用したい場合は,コマンドの PdfLaTeX の pdflatex を luajitlatex に変更して使用してください.~
***[[TeX Live]] [#x932c6ec]
----
&color(Black,#222222){%%% &color(Black,#EE5500){(×)}; &color(White){''Texmaker の設定''}; %%%};&br;
#ref(https://bitbucket.org/srazi/biditexmaker3/raw/tip/images/configtools.png,left,around,nolink,コマンド)
&color(Black,#F5F5F5){コマンド (% : 拡張子を除いたファイル名 - @ : 行番号)};&br;
&color(Black,#F5F5F5){LaTeX };%%%platex -synctex=1 -interaction=nonstopmode %.tex%%% または %%%uplatex -synctex=1 -interaction=nonstopmode %.tex%%%&br;
&color(Black,#F5F5F5){PdfLaTeX };%%%pdflatex -synctex=1 -interaction=nonstopmode %.tex%%% または %%%lualatex -synctex=1 -interaction=nonstopmode %.tex%%% または %%%luajitlatex -synctex=1 -interaction=nonstopmode %.tex%%%&br;
&color(Black,#F5F5F5){☐ 出力ファイルを "build" サブフォルダーに出力する};&br;
&color(Black,#DAEAFF){ ''コマンド'' }; &color(Black,#F5F5F5){XeLaTeX };%%%xelatex -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 };%%%latexmk -gg -pdfdvi %.tex%%% または %%%latexmk -gg -pdfps %.tex%%%&br;または %%%latexmk -e "$pdflatex=q/pdflatex -synctex=1 -interaction=nonstopmode/" -norc -gg -pdf %.tex%%%&br;または %%%latexmk -e "$pdflatex=q/lualatex -synctex=1 -interaction=nonstopmode/" -norc -gg -pdf %.tex%%%&br;または %%%latexmk -e "$pdflatex=q/luajitlatex -synctex=1 -interaction=nonstopmode/" -norc -gg -pdf %.tex%%%&br;
''クイックビルド'' または %%%latexmk -e "$pdflatex=q/xelatex -synctex=1 -interaction=nonstopmode/" -norc -gg -xelatex %.tex%%%&br;
#img(,clear)
#ref(https://bitbucket.org/srazi/biditexmaker3/raw/tip/images/configeditor.png,left,around,nolink,エディタ)
&color(Black,#F5F5F5){[[Bib(la)tex>BibTeX関連ツール]] };%%%pbibtex %%%% または %%%upbibtex %%%% または %%%biber %%%%&br;
&color(Black,#F5F5F5){Makeindex };%%%mendex %.idx%%%&br;
&color(Black,#F5F5F5){[[Bib(la)tex>BibTeX関連ツール]] };%%%pbibtex %%%% または %%%upbibtex %%%% または %%%bibtex %%%% または %%%bibtexu %%%% または %%%biber %%%%&br;
&color(Black,#F5F5F5){Makeindex };%%%mendex %.idx%%% または %%%makeindex %.idx%%% または %%%texindy %.idx%%%&br;
&color(Black,#F5F5F5){[[dvips]] };%%%dvips -Ppdf -o %.ps %.dvi%%%&br;
&color(Black,#F5F5F5){Dvipdfm };%%%dvipdfmx %.dvi%%%&br;
''エディタ'' &color(Black,#F5F5F5){ps2pdf };%%%ps2pdf %.ps%%%&br;
#img(,clear)
#ref(https://bitbucket.org/srazi/biditexmaker3/raw/tip/images/configkeys.png,left,around,nolink,ショートカット)
&color(Black,#F5F5F5){[[metapost>MetaPost]] };%%%pmpost -interaction=nonstopmode %%%%&br;
&color(Black,#F5F5F5){[[metapost>MetaPost]] };%%%pmpost -interaction=nonstopmode %%%% または %%%mpost -interaction=nonstopmode %%%%&br;
&color(Black,#F5F5F5){[[Asymptote]] };%%%asy %.asy%%%&br;
&color(Black,#F5F5F5){[[ghostscript>Ghostscript]] };%%%gs%%%&br;
&color(Black,#F5F5F5){R Sweave };%%%R CMD Sweave %.Rnw%%%&br;
''ショートカット'' &color(Black,#F5F5F5){Add to PATH };&br;
----
&color(Black,#F5F5F5){''DVI ビューア''};&br;
%%%pxdvi -watchfile 1 %.dvi%%% または %%%xdg-open %.dvi%%%&br;
&color(Black,#F5F5F5){''PS ビューア''};&br;
%%%evince %.ps%%% または %%%okular --unique %.ps%%% または %%%zathura %.ps%%% または %%%qpdfview --unique %.ps%%% または %%%gv --watch %.ps%%% または %%%xdg-open %.ps%%%&br;
&color(Black,#F5F5F5){''PDF ビューア''};&br;
&color(Black,#F5F5F5){&color(#3333CC){◎}; 組み込みビューア};&br;
&color(Black,#F5F5F5){☑ 埋め込み};&br;
&color(Black,#F5F5F5){◯ 外部ビューア};&br;
%%%evince %.pdf%%% または %%%fwdevince %.pdf @ #.tex%%% または %%%okular --unique %.pdf%%% または %%%texmaker2o_k_u_l_a_r %.pdf @ !/#.tex%%% または %%%zathura %.pdf%%% または %%%texmaker2zathura %.pdf%%% または %%%qpdfview --unique %.pdf%%% または %%%texmaker2qpdfview %.pdf #.tex @%%% または %%%pdfviewer %.pdf%%% または %%%texmaker2pdfviewer %.pdf @ #.tex%%% または %%%texworks %.pdf%%% または %%%acroread %.pdf%%% または %%%pdfopen -viewer ar9-tab %.pdf%%% または %%%xdg-open %.pdf%%%&br;
#img(,clear)
&br;
&color(Black,#EEEEEE){[ OK ]}; &color(Black,#EEEEEE){[ キャンセル ]};&br;
----
*[[Evince]] との連携 [#xd595a5d]
LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンドのオプションに -synctex=1 を追加します.
**forward search [#dc58c25f]
[[Evince#fwdevince>Evince#ie18c015]] の fwdevince を使用します.~
forward search は PDFビューアに
fwdevince %.pdf @ #.tex
です.
*Okular との連携 [#e1d5124a]
LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンドのオプションに -synctex=1 を追加します.
----
-texmaker2o_k_u_l_a_r
----
#!/bin/sh
okular --unique "file:$1#src:$2 $3"
----
$ chmod +x texmaker2o_k_u_l_a_r
$ sudo cp -p texmaker2o_k_u_l_a_r /usr/local/bin
**forward search [#rb0da469]
forward search は PDFビューアに
texmaker2o_k_u_l_a_r %.pdf @ !/#.tex
です.
**inverse search [#r820bc14]
[Settings]-[Configure Okular...]-[Editor] の項目から Custom Text Editor を選択します.
:Editor:|Custom Text Editor
:Command:|texmaker "%f" -line %l
Shift + 左クリックで対応する TeX 文書の該当箇所にジャンプします.
*zathura との連携 [#k3c22c37]
LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンドのオプションに -synctex=1 を追加します.
**inverse search [#s8c6284b]
----
-texmaker2zathura
----
#!/bin/sh
zathura -s -x "texmaker "%{input}" -line %{line}" "$1"
----
$ chmod +x texmaker2zathura
$ sudo cp -p texmaker2zathura /usr/local/bin
PDFビューアに
texmaker2zathura %.pdf
を設定します.
Ctrl + 左クリックで対応する TeX 文書の該当箇所にジャンプします.
*qpdfview との連携 [#t3c4682d]
LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンドのオプションに -synctex=1 を追加します.
**forward search [#dca2869a]
----
-texmaker2qpdfview
----
#!/bin/sh
qpdfview --unique "$1#src:$2:$3:0"
----
$ chmod +x texmaker2qpdfview
$ sudo cp -p texmaker2qpdfview /usr/local/bin
forward search は PDFビューアに
texmaker2qpdfview %.pdf #.tex @
です.
**inverse search [#pac65f46]
[Edit]-[Settings...]-[Behaviour]
:Source editor:|texmaker "%1" -line %2
ダブルクリックで対応する TeX 文書の該当箇所にジャンプします.
*PdfViewer との連携 [#d2a108e6]
LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンドのオプションに -synctex=1 を追加します.
**forward search [#t982a3a5]
----
-texmaker2pdfviewer
----
#!/bin/sh
pdfviewer "file:$1#src:$2 $3"
----
$ chmod +x texmaker2pdfviewer
$ sudo cp -p texmaker2pdfviewer /usr/local/bin
forward search は PDFビューアに
texmaker2pdfviewer %.pdf @ #.tex
です.
**inverse search [#xc8511ae]
[Tools]-[Settings]-[Configure PdfViewer...]
:Editor:|texmaker "%f" -line %l
Ctrl + 左クリックで対応する TeX 文書の該当箇所にジャンプします.