TeXstudio > 設定 > Linux



コマンド


LaTeX
uplatex -no-guess-input-enc -kanji=utf8 -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
外部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"
zathura -x "texstudio '%%{input}' -line %%{line}" --synctex-forward "@:0:?c:am.tex" "?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
ruby -e "cmd='dvips -Ppdf -z -f '+0x22.chr+'?am.dvi'+0x22.chr+' '+0x7c.chr+' '+'convbkmk -u'+' '+0x3e.chr+' '+0x22.chr+'?am.ps'+0x22.chr;system(cmd)"
DviPng
dvipng -T tight -D 120 %.dvi
Ps2Pdf
ps2pdf %.ps
DviPdf
dvipdfmx %.dvi
BibTeX
bibtexu %
BibTex 8ビット
bibtex8 %
Biber
biber --bblencoding=utf8 -u -U --output_safechars %
Makeindex
upmendex %.idx
Texindy
texindy %.idx
Makeglossary
makeglossaries
Metapost
upmpost -interaction=nonstopmode %
Asymptote
asy %.asy
Ghostscript
gs
Latexmk
latexmk -e "$latex=q/uplatex %%O -no-guess-input-enc -kanji=utf8 -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtexu %%O %%B/" -e "$biber=q/biber %%O --bblencoding=utf8 -u -U --output_safechars %%B/" -e "$makeindex=q/upmendex %%O -o %%D %%S/" -e "$dvipdf=q/dvipdfmx %%O -o %%D %%S/" -norc -gg -pdfdvi -silent %
SVN
svn
SVNADMIN
svnadmin
GIT
git

Evince との連携

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

forward search

Evince/fwdevince の fwdevince を使用します.

forward search は外部PDFビューアに

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

です.

inverse search

Evince/fwdevince の invevince を使用します.

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

invevince "?am.pdf" "texstudio '%%f' -line %%l"

外部PDFビューアに evince を設定して evince で PDF ファイルを表示してユーザーコマンドを実行します.
Ctrl + 左クリックで inverse search ができます.
ユーザーコマンドを実行するタイミングは evince で PDF ファイルを表示する前でも後でもどちらでも OK です.

Okular との連携

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

forward search

forward search は外部PDFビューアに

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

です.

inverse search

[Settings]-[Configure Okular...]-[Editor] の項目から Custom Text Editor を選択します.

Editor:
Custom Text Editor
Command:
texstudio "%f" -line %l

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

zathura との連携

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

forward and inverse search

forward and inverse search は外部PDFビューアに

zathura -x "texstudio '%%{input}' -line %%{line}" --synctex-forward "@:0:?c:am.tex" "?am.pdf"

です.

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

qpdfview との連携

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

forward search

forward search は外部PDFビューアに

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

です.

inverse search

[Edit]-[Settings...]-[Behaviour]

Source editor:
texstudio "%1" -line %2

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


Last-modified: 2024-02-18 (日) 03:03:35 (61d)