misho104 / flycheck-tex-latex

Flycheck checker for TeX-file with "latex" command.
1 stars 1 forks source link

YaTeX-get-builtin not defined #1

Open ppareit opened 1 year ago

ppareit commented 1 year ago

When including the package in my .emacs with

(use-package flycheck-tex-latex
  :straight (:package "flycheck-tex-latex"
              :host github
              :repo "misho104/flycheck-tex-latex"))

I get the following warning:

Warning (comp): flycheck-tex-latex.el:24:15: Warning: the function ‘YaTeX-get-builtin’ is not known to be defined.
misho104 commented 1 year ago

I will fix this soon, but you can fix it by installing YaTeX package with Cask, el-get, or by hand.

Or, if you do not want, you can replace Line 32

("flycheck-latex" (eval (flycheck-get-latex-command)) source-inplace)

to

("flycheck-latex" "pdflatex" source-inplace)