Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texlab diagnostics complain about square brackets within filename of a picture #639

Closed
kiryph opened this issue May 30, 2022 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@kiryph
Copy link

kiryph commented May 30, 2022

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{demo[0].pdf}
\end{document}
demo.tex|4 col 22 error| Missing "}" inserted
demo.tex|4 col 29-30 error| Unexpected "}"
pfoerster added a commit that referenced this issue May 31, 2022
@pfoerster
Copy link
Member

Thanks for the report. fa8778e should fix this issue.

@pfoerster pfoerster added the bug Something isn't working label May 31, 2022
@kiryph
Copy link
Author

kiryph commented Jun 1, 2022

Thanks for the quick fix. I have reinstalled texlab from git HEAD on macOS via

$ brew unlink texlab
$ brew install --HEAD texlab

and yes, I can confirm that the wrong diagnostics are gone. Thank you.

@kiryph kiryph closed this as completed Jun 1, 2022
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Jul 7, 2022
### Added

- Add support for escaping placeholders in forward search ([#649](latex-lsp/texlab#649))
- Add support for diagnostic filtering ([#323](latex-lsp/texlab#323))
- Add pre-built binaries for the following targets:
  - `aarch64-unknown-linux-gnu`
  - `armv7-unknown-linux-gnueabihf`
  - `x86_64-unknown-linux-musl`
  - `aarch64-pc-windows-msvc`
  - `i686-pc-windows-msvc`

### Fixed

- Parse incomplete server options correctly ([#651](latex-lsp/texlab#651))

## [4.1.0] - 12.06.2022

### Added

- Add server commands to clean build directory ([#607](latex-lsp/texlab#607))

### Changed

- Improve output when hovering over BibTeX strings
- Improve the heuristic for finding build artifacts ([#635](latex-lsp/texlab#635))

### Fixed

- Allow brackets in included file paths ([#639](latex-lsp/texlab#639))
- Allow commands in included file paths ([#641](latex-lsp/texlab#641))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants