Wrong File Name When Parsing The LaTeX Log File
See original GitHub issueDescribe the bug
The extension reports the problem with a wrong file name.
Condition
Input a file which needs >=2 pages and has a warning.
Desktop
- OS: Windows 10
- VS Code version: 1.36.1
- Extension version: 7.3.0
Example
% This is main file
\documentclass{article}
\newcommand{\reportwarning}{\noindent \\} % Just a trick to report info
\usepackage{lipsum}
\begin{document}
\input{1.tex}
\end{document}
% This is 1.tex
\lipsum % Print many pages
\reportwarning
And then compile it.
It will report a problem.
Here is some related log info in log
file
(./1.tex [1
] [2]
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 6.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 6.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 6.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 6.
Underfull \hbox (badness 10000) in paragraph at lines 6--7
[]
)
And the bug:
The file name is 1.tex [1] [2]
.
P.S. It is quite annoying when debugging a huge document because I cannot directly goto that line in the file.
Thanks a lot.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Parsing file name into document - TeX - LaTeX Stack Exchange
I would like to use the components (xxx, yyy, zzz) of the file name as inputs in the document, n particular when creating...
Read more >TeXstudio : user manual
To change a command, just click on the button at the end of the corresponding line and select the command in the file...
Read more >Set Main Document - Overleaf, Online LaTeX Editor
E.g. , if version1/main.tex is set as the main file but main.tex is also in the project, main.tex will be compiled. This ...
Read more >Texmaker : user manual - MIT
Texmaker can't compile yours documents if the paths to the LaTeX related commands are wrong. The default settings should work with the recent...
Read more >Pandoc User's Guide
Thus, to convert hello.txt from Markdown to LaTeX, you could type: ... To produce a PDF, specify an output file with a .pdf...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, here is the log:
I’m facing this issue too.