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

Accents such as \"{\i} in bib fields get flagged as errors #945

Closed
gi1242 opened this issue Nov 4, 2023 · 0 comments
Closed

Accents such as \"{\i} in bib fields get flagged as errors #945

gi1242 opened this issue Nov 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gi1242
Copy link

gi1242 commented Nov 4, 2023

Hi there,

I noticed that certain accents in .bib files get flagged as errors. Here's an example:

@Article{	  BenaimLeBorgneEA15,
  author	= {Bena\"{\i}m, Michel and Le Borgne, St\'{e}phane and
                  Malrieu, Florent and Zitt, Pierre-Andr\'{e}},
  title	= {Qualitative properties of certain piecewise deterministic
                  {M}arkov processes},
  journal	= {Ann. Inst. Henri Poincar\'{e} Probab. Stat.},
  fjournal	= {Annales de l'Institut Henri Poincar\'{e} Probabilit\'{e}s
                  et Statistiques},
  volume	= {51},
  year	= {2015},
  number	= {3},
  pages	= {1040--1075},
  issn	= {0246-0203,1778-7017},
  mrclass	= {60J99 (34A60 60J25 60J75)},
  mrnumber	= {3365972},
}

The \"{...} is getting flagged as an error by texlab, and it says:

Expecting a field value

in the diagnostics. It's of course perfectly correct latex.

Thanks in advance.

GI

@pfoerster pfoerster added the bug Something isn't working label Nov 4, 2023
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Nov 15, 2023
## [5.11.0] - 2023-11-05

### Added

- Add `texlab.inlayHints.labelDefinitions` and `texlab.inlayHints.labelReferences` options ([#753](latex-lsp/texlab#753))
- Display inlay hints for label references by default ([#753](latex-lsp/texlab#753))

### Fixed

- Moving the build logs to the recycle bin will now clear the diagnostics ([texlab-vscode/#825](latex-lsp/texlab-vscode#825))
- Fix false positive when reporting syntax errors for BibTeX accents ([#945](latex-lsp/texlab#945))

## [5.10.1] - 2023-10-10

### Fixed

- Fix regression when renaming commands ([#936](latex-lsp/texlab#936))

## [5.10.0] - 2023-09-30

### Added

- Allow passing additional arguments to `ChkTeX` using `texlab.chktex.additionalArgs` ([#927](latex-lsp/texlab#927))

### Fixed

- Fix loading bibliographies from `kpathsea` search path ([#923](latex-lsp/texlab#923))
- Don't report duplicate results when using goto definition on includes ([#924](latex-lsp/texlab#924))
- Fix project detection when there exist files with the same name ([#923](latex-lsp/texlab#923))
- Do not report parse errors with `$` in paths ([#931](latex-lsp/texlab#931))

## [5.9.2] - 2023-08-14

### Fixed

- Don't crash when using comments inside `\include`-like commands ([#919](latex-lsp/texlab#919))
- Folding ranges include only the contents instead of the entire range of the structure.
  For example, the folding range of an environment will start after the `\begin` and stop before the `\end`
  ([#915](latex-lsp/texlab#915))

## [5.9.1] - 2023-08-11

### Fixed

- Improve performance when completing BibTeX entries ([#493](latex-lsp/texlab#493))
- Don't report unused entries for very large bibliographies
- Avoid redundant reparses after saving documents

## [5.9.0] - 2023-08-06

### Added

- Use bibliographies found in `BIBINPUTS` environment variable ([#493](latex-lsp/texlab#493))
- Add `texlab.build.pdfDirectory` setting ([#911](latex-lsp/texlab#911))

### Fixed

- Fix search path for aux files when using `\include` instead of `\input` ([#906](latex-lsp/texlab#906))

## [5.8.0] - 2023-07-30

### Added

- Report diagnostics for unused and undefined labels
- Report diagnostics for unused BibTeX entries and undefined citations
- Report diagnostics for duplicate BibTeX entries
- Report diagnostics for duplicate labels
- Add `texlab.build.auxDirectory` and `texlab.build.logDirectory` settings ([#906](latex-lsp/texlab#906))

### Deprecated

- Deprecate `texlab.auxDirectory` in favor of `texlab.build.auxDirectory`

### Fixed

- Fix parsing paths with `|` ([#568](latex-lsp/texlab#568))
- Fix parsing LaTeX identifiers with `=` ([#568](latex-lsp/texlab#568))
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