-
Notifications
You must be signed in to change notification settings - Fork 407
pplatex something went wrong with parsing log files #2144
Copy link
Copy link
Closed
Labels
Description
Description
I recently switched to using pplatex to parse log files (Previously I used latexlog, but in a multifile project, the quickfix list showed that the errors/warnings were in the main file, when it should be in the subfiles).
Now, when I hit \le, I get the following error: "Something went wrong when parsing log files!"
Here is the relevant log file: orient_metric.log
Running pplatex -i orient_metric.log, I get the following output
** Warning in orient_metric.tex:
so3_matrix_norm' on page 1 undefined on input line 43.
** Warning in orient_metric.tex:
Reference `section_model_main' on page 1 undefined on input line177.
** Warning in orient_metric.tex:
orient_samp' on page 1 undefined on input line 181.
** Warning in orient_metric.tex: There were undefined references.
Result: o) Errors: 0, Warnings: 4, BadBoxes: 0
The relevant vimtex config are as follows:
let g:vimtex_view_general_viewer = 'SumatraPDF'
" setup forward and backward search
let g:vimtex_view_general_options
\ = '-reuse-instance -forward-search @tex @line @pdf'
\ . ' -inverse-search "gvim --servername ' . v:servername
\ . ' --remote-send \"^<C-\^>^<C-n^>'
\ . ':drop \%f^<CR^>:\%l^<CR^>:normal\! zzzv^<CR^>'
\ . ':execute ''drop '' . fnameescape(''\%f'')^<CR^>'
\ . ':\%l^<CR^>:normal\! zzzv^<CR^>'
\ . ':call remote_foreground('''.v:servername.''')^<CR^>^<CR^>\""'
let g:vimtex_view_general_options_latexmk = '-reuse-instance'
" open in a new tab for a backward search
let g:vimtex_view_reverse_search_edit_cmd = 'tabedit'
" use single shot compilation instead of continuous mode
let g:vimtex_compiler_latexmk = {'continuous': 0}
" use pplatex to preprocess latexlog output
let g:vimtex_quickfix_method = 'pplatex'Let me know if more info is required!
Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo
System info
OS: Microsoft Windows 10 Pro (10.0.19042 N/A Build 19042)
Vim version: VIM 8.1 (1-2424)
Has clientserver: true
Servername: GVIM1
VimTeX project: orient_metric
base: orient_metric.tex
root: C:/Users/Bertrand/Documents/Bert/Uni Postgrad/Research/Thesis
tex: C:/Users/Bertrand/Documents/Bert/Uni Postgrad/Research/Thesis/orient_metric.tex
out: C:/Users/Bertrand/Documents/Bert/Uni Postgrad/Research/Thesis/orient_metric.pdf
log: C:/Users/Bertrand/Documents/Bert/Uni Postgrad/Research/Thesis/orient_metric.log
aux: C:/Users/Bertrand/Documents/Bert/Uni Postgrad/Research/Thesis/orient_metric.aux
fls: C:/Users/Bertrand/Documents/Bert/Uni Postgrad/Research/Thesis/orient_metric.fls
main parser: local file
compiler: latexmk
configuration:
continuous: 0
callback: 1
latexmk options:
-verbose
-synctex=1
-interaction=nonstopmode
latexmk engine: -pdf
cmd: set max_print_line=2000 & latexmk -verbose -synctex=1 -interaction=nonstopmode -pdf "orient_metric.tex"
viewer: General
process:
pid: -
cmd: start /b cmd /s /c "SumatraPDF -reuse-instance -forward-search "C:/Users/Bertrand/Documents/Bert/Uni Postgrad/Research/Thesis/orient_metric.tex" 210 "C:\Users\Bertrand\Documents\Bert\Uni Postgrad\Research\Thesis\orient_metric.pdf" -inverse-search "gvim --servername GVIM1 --remote-send \"^<C-\^>^<C-n^>:drop \%f^<CR^>:\%l^<CR^>:normal\! zzzv^<CR^>:execute 'drop ' . fnameescape('\%f')^<CR^>:\%l^<CR^>:normal\! zzzv^<CR^>:call remote_foreground('GVIM1')^<CR^>^<CR^>\"" >nul"
qf: LaTeX logfile using pplatex
addqflist: 330
set_errorformat: 329
document class: subfiles
packages:
amsbsy
amsfonts
amsgen
amsmath
amsopn
amssymb
amstext
amsthm
atbegshi
atbegshi-ltx
atveryend
atveryend-ltx
auxhook
bbm
bigintcalc
bitset
calc
caption
caption3
cleveref
color
epstopdf-base
etexcmds
expl3
gettitlestring
graphics
graphicx
hycolor
hyperref
iftex
import
infwarerr
intcalc
keyval
kvdefinekeys
kvoptions
kvsetkeys
letltxmacro
ltxcmds
mathtools
mhsetup
nameref
natbib
pdfescape
pdftexcmds
pgf
pgfcomp-version-0-65
pgfcomp-version-1-18
pgfcore
pgffor
pgfkeys
pgfmath
pgfrcs
pgfsys
physics
refcount
rerunfilecheck
subcaption
subfiles
tikz
trig
uniquecounter
url
xcolor
xparseReactions are currently unavailable