(setq tex-command "latexmk -e \"$latex=q/uplatex %O -kanji=utf8 -no-guess-input-enc -synctex=1 %S/\" -e \"$bibtex=q/upbibtex %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") (setq tex-command "lualatex -synctex=1") (setq tex-command "ptex2pdf -u -l -ot \"-kanji=utf8 -no-guess-input-enc -synctex=1\"") (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) SumatraPDF の inverse search については Emacs#SumatraPDF との連携#inverse search を参照してください. SumatraPDF を前面に表示したくない場合は SumatraPDF/fwdsumatrapdf の fwdsumatrapdf.exe を使用します. (YaTeX-system cmd "jump-line" 'noask pdir)))))) Previewer bnr line (expand-file-name cf))) (previewer (YaTeX-preview-default-previewer)) (line (count-lines (point-min) (point-end-of-line))) (buffer (get-buffer-create " *preview-jump-line*")) (cf (file-relative-name (buffer-file-name) pdir)) (bnr (substring pf 0 (string-match "\\.$" pf))) (save-excursion (YaTeX-visit-main t) (buffer-file-name)))) "Call jump-line function of various previewer on current main file" ~/.emacs.d/init.el に yatexprc.el の YaTeX-preview-jump-line を修正したものを再設定します. (with-eval-after-load 'yatexprc
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |