On Thu, Jun 6, 2019 at 5:56 PM Pavel Sanda <sa...@lyx.org> wrote: > On Thu, Jun 06, 2019 at 03:42:05PM +0200, Pavel Sanda wrote: > > Looks little bit difficult within the current machinery (if I understand > > it correctly). Cits can be fixed by incremental runs and we see that in > > updated result value of scanres of LaTeX::run, i.e. if fixed it does not > > contain UNDEF_CIT anymore. > > The accompanying structure of errors "terr" does not get reset, so once > > you push there some info about missing citation it's not going away. > > At the end if you by re-runing fix citation problem but there still > remain > > some other problem user will wrongly see it within the list of errors... > > > > I actually do not understand why not reseting "ter" before each run. > > Seems reasonable to me, but it's hard to test without having examples > > which produced all the trickery in the code. > > Otherwise we could just grep in scanLog for the label/citation name > > and push it to the error dialog. > > Ok this is result of todays hacking, ref/cits will get proper information > in error dialog as well. >
Excellent, thanks! > Many citations won't make it because pdflatex splits line at 80 chars > and line-based parsing will fail. > Understood. Something is better than nothing though. > I tested plain bibtex & natbib, I don't use the other engines so have > very little clue what happens there. > I will test the same when this makes it to master.