[[TeXstudio]] > [[設定>TeXstudio/設定]] > Linux

&color(White,#5F2F2F){  ''◆目次◆''  };&br;

#contents

**コマンド [#fdb50ca9]
コマンドの LaTeX に設定されている latex を uplatex に変更して -src を -synctex=1 に変更します.~
コマンドの DviPdf に設定されている dvipdfm を dvipdfmx に変更します.~
コマンドの BibTeX に設定されている bibtex を upbibtex に変更します.~
----

#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_general.png,left,around,nolink,37x37,一般)
一般&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_commands.png,left,around,nolink,37x37,コマンド)
&color(Black,#DAEAFF){コマンド            };&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_quickbuild.png,left,around,nolink,37x37,ビルド)
ビルド&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_shortcut.png,left,around,nolink,37x37,キーボードショートカット)
キーボードショートカット&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,エディタ)
エディタ&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,37x37,構文の強調表示)
構文の強調表示&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_completion.png,left,around,nolink,37x37,コマンドの補完)
コマンドの補完&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,文法)
文法&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_preview.png,left,around,nolink,37x37,プレビュー)
プレビュー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_svn.png,left,around,nolink,37x37,SVN)
SVN&br;
&br;
&br;
&br;
&br;
&br;
 ☐ 高度なオプションの表示
&br;
----
詳細な設定をする場合は高度なオプションの表示を ON にします.~
----

#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_general.png,left,around,nolink,37x37,一般)
一般&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_commands.png,left,around,nolink,37x37,コマンド)
&color(Black,#DAEAFF){コマンド            };&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_quickbuild.png,left,around,nolink,37x37,ビルド)
ビルド&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_shortcut.png,left,around,nolink,37x37,キーボードショートカット)
キーボードショートカット&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_latexmenus.png,left,around,nolink,37x37,メニュー)
メニュー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_toolbars.png,left,around,nolink,37x37,ツールバー)
ツールバー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,エディタ)
エディタ&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_advancededitor.png,left,around,nolink,37x37,詳細なエディタ設定)
詳細なエディタ設定&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,37x37,構文の強調表示)
構文の強調表示&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,37x37,カスタム強調表示)
カスタム強調表示&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_completion.png,left,around,nolink,37x37,コマンドの補完)
コマンドの補完&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,文法)
文法&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_preview.png,left,around,nolink,37x37,プレビュー)
プレビュー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_svn.png,left,around,nolink,37x37,SVN)
SVN&br;
&br;
&br;
&br;
&br;
&br;
 ☑ 高度なオプションの表示
&br;
----
:LaTeX|
:|uplatex -synctex=1 -interaction=nonstopmode %.tex
:PdfLaTeX|
:|pdflatex -synctex=1 -interaction=nonstopmode %.tex
:XeLaTeX|
:|xelatex -synctex=1 -interaction=nonstopmode %.tex
:LuaLaTeX|
:|lualatex -synctex=1 -interaction=nonstopmode %.tex
:|luajitlatex -synctex=1 -interaction=nonstopmode %.tex
:DVIビューア|
:|synctex view -i "@:0:?c:am.tex" -o "?am.dvi" -x "evince -i %%{page+1} '%%{output}'"
:|synctex view -i "@:0:?c:am.tex" -o "?am.dvi" -x "okular --unique --page %%{page+1} '%%{output}'"
:|synctex view -i "@:0:?c:am.tex" -o "?am.dvi" -x "xdvi -nofork -unique -watchfile 1 +%%{page+1} '%%{output}'"
:|synctex view -i "@:0:?c:am.tex" -o "?am.dvi" -x "pxdvi -nofork -unique -watchfile 1 +%%{page+1} '%%{output}'"
:PSビューア|
:|synctex view -i "@:0:?c:am.tex" -o "?am.ps" -x "evince -i %%{page+1} '%%{output}'"
:|synctex view -i "@:0:?c:am.tex" -o "?am.ps" -x "okular --unique --page %%{page+1} '%%{output}'"
:外部PDFビューア|
:|synctex view -i "@:0:?c:am.tex" -o "?am.pdf" -x "evince -i %%{page+1} '%%{output}'"
:|fwdevince "?am.pdf" @ "?c:am.tex"
:|okular --unique "file:?am.pdf#src:@ ?c:am.tex"
:|synctex view -i "@:0:?c:am.tex" -o "?am.pdf" -x "zathura -P %%{page+1} '%%{output}'"
:|zathura -s -x "texstudio '%%{input}' -line %%{line}" "?am.pdf"
:|qpdfview --unique "?am.pdf#src:?c:am.tex:@:0"
:|synctex view -i "@:0:?c:am.tex" -o "?am.pdf" -x "texworks --position=%%{page+1} '%%{output}'"
:DviPs|
:|dvips -Ppdf -o %.ps %.dvi
:DviPng|
:|dvipng -T tight -D 120 %.dvi
:Ps2Pdf|
:|ps2pdf %.ps
:DviPdf|
:|dvipdfmx %.dvi
:BibTeX|
:|upbibtex %
:|bibtexu %
:|bibtex %
:BibTex 8ビット|
:|bibtex8 %
:Biber|
:|biber --bblencoding=utf8 -u -U --output_safechars %
:Makeindex|
:|mendex %.idx
:|makeindex %.idx
:Texindy|texindy %.idx
:Makeglossary|
:|makeglossaries
:Metapost|
:|upmpost -interaction=nonstopmode %
:|mpost -interaction=nonstopmode %
:Asymptote|
:|asy %.asy
:Ghostscript|
:|gs
:Latexmk|
:|latexmk -e "$latex=q/uplatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/upbibtex %%O %%B/" "$biber=q/biber %%O --bblencoding=utf8 -u -U --output_safechars %%B/" -e "$makeindex=q/mendex %%O -o %%D %%S/" -e "$dvipdf=q/dvipdfmx %%O -o %%D %%S/" -norc -gg -pdfdvi -silent %
:|latexmk -e "$pdflatex=q/pdflatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtex %%O %%B/" -e "$makeindex=q/makeindex %%O -o %%D %%S/" -norc -gg -pdf -silent %
:|latexmk -e "$pdflatex=q/lualatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtexu %%O %%B/" -e "$makeindex=q/texindy %%O -o %%D %%S/" -norc -gg -pdf -silent %
:|latexmk -e "$pdflatex=q/luajitlatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtexu %%O %%B/" -e "$makeindex=q/texindy %%O -o %%D %%S/" -norc -gg -pdf -silent %
:|latexmk -e "$pdflatex=q/xelatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtexu %%O %%B/" -e "$makeindex=q/texindy %%O -o %%D %%S/" -norc -gg -pdf -silent %
:SVN|
:|svn
:SVNADMIN|
:|svnadmin
----

*[[Evince]] との連携 [#y63d1279]

LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.

**forward search [#c5c506ca]

[[Evince/fwdevince]] の fwdevince を使用します.~

forward search は外部PDFビューアに

 fwdevince "?am.pdf" @ "?c:am.tex"

です.

*Okular との連携 [#c6d921dc]
*[[Okular]] との連携 [#c6d921dc]

LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.

**forward search [#x57d864f]

forward search は外部PDFビューアに

 okular --unique "file:?am.pdf#src:@ ?c:am.tex"

です.

**inverse search [#xd0f2973]

[Settings]-[Configure Okular...]-[Editor] の項目から Custom Text Editor を選択します.
:Editor:|Custom Text Editor
:Command:|texstudio "%f" -line %l

Shift + 左クリックで対応する TeX 文書の該当箇所にジャンプします.

*zathura との連携 [#i139e4bb]
*[[zathura]] との連携 [#i139e4bb]

LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.

**forward search [#gc97fa6f]

forward search はユーザーコマンドに
forward search はユーザーコマンドに fwdzathura を作成して以下のようにコマンドを設定します.~

 zathura --synctex-forward "@:0:?c:am.tex" "?am.pdf"

を設定します.~

外部PDFビューアに zathura を設定して zathura で PDF ファイルを表示したあとでユーザーコマンドを実行します.~

**inverse search [#hd7f6d9d]

inverse search は外部PDFビューアに

 zathura -s -x "texstudio '%%{input}' -line %%{line}" "?am.pdf"

を設定します.

高度なオプションの表示を ON にして,ビルドオプションのすでにdvi/ps/pdfファイルが開いている場合、新たにビューアを起動しないを ON にします.~

Ctrl + 左クリックで対応する TeX 文書の該当箇所にジャンプします.

*qpdfview との連携 [#j7ca7059]
*[[qpdfview]] との連携 [#j7ca7059]

LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.

**forward search [#d9853641]

forward search は外部PDFビューアに

 qpdfview --unique "?am.pdf#src:?c:am.tex:@:0"

です.

**inverse search [#f31d5e80]

[Edit]-[Settings...]-[Behaviour]
:Source editor:|texstudio "%1" -line %2

ダブルクリックで対応する TeX 文書の該当箇所にジャンプします.