Fix #1827 subimport path.resolve issue
Fix #1827 subimport path.resolve issue

This is the counterpart of #1149 for the structure analyser.

James-Yu/LaTeX-Workshop,James-Yu/LaTeX-Workshop,James-Yu/LaTeX-Workshop,James-Yu/LaTeX-Workshop,James-Yu/LaTeX-Workshop