-
Notifications
You must be signed in to change notification settings - Fork 535
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
Support BibLaTex multiprenote and multipostnote #4313
Comments
Thanks for the issue. Have you tried |
I will look into the syntax highlighting issue jlelong/vscode-latex-basics#93 |
As far as intellisense is concerned, the multi-prenote (or postnote) versions are included in |
Thanks, I hadn't looked at that, but now that I did, and I'm not sure I understand. Are you referring to what jlelong mentioned re these versions with parens being generated into the biblatex.json data file? |
Will check, may not be very soon sadly 😭 |
commit ff2ca23 Author: James Yu <yujianqiaojames@gmail.com> Date: Sun Aug 11 01:38:40 2024 +0800 Fix James-Yu#4334 PDF viewer position retained across vscode reloads commit be6da68 Author: Jerome Lelong <jerome.lelong@gmail.com> Date: Fri Aug 9 18:24:34 2024 +0200 Add highlighting to the extension logs (James-Yu#4331) * Fix typo in log * Highlight extension's logs * Do not highlight the finale full stop commit 693d709 Author: James Yu <yujianqiaojames@gmail.com> Date: Sat Aug 3 17:57:55 2024 +0800 Fix linter errors commit 82b7561 Author: James Yu <yujianqiaojames@gmail.com> Date: Sat Aug 3 17:56:37 2024 +0800 Add tests to queue module of compile commit 55e4c87 Author: James Yu <yujianqiaojames@gmail.com> Date: Wed Jul 31 18:49:38 2024 +0800 Fix a find root in ws test as file glob order is not static commit e9d6ec5 Author: Jerome Lelong <jerome.lelong@gmail.com> Date: Fri Jul 26 07:37:21 2024 +0200 Update grammar files to jlelong/vscode-latex-basics@4795be4 commit bf2df7f Author: James Yu <yujianqiaojames@gmail.com> Date: Mon Jul 22 00:56:18 2024 +0800 Fix James-Yu#4313 Include (arg) macro signature in package intellisense commit 53fdd38 Author: Jerome Lelong <jerome.lelong@gmail.com> Date: Mon Jul 8 15:52:47 2024 +0200 Update grammar files to jlelong/vscode-latex-basics@1deac8f
Pre-checks*
The Missed*
BibLaTex 'multicite' commands (see biblatex docs, §3.9.3 Qualified Citation Lists) seem to be not (fully) supported. Specifically, there are no autocomplete snippets for a so-called multi-prenote and multi-postnote (notes which come before / after the whole list of citations).
✔️ While a multi-citation command
\parencites
, with the following syntax, is supported\parencites[pre][post]{bibid}[pre][post]{bibid}
❌ the version with multiprenote and/or multipostnote (which are in parentheses) seem not to be supported:
\parencites(multipre)(multipost)[pre][post]{bibid}[pre][post]{bibid}
This is the case with other multicite commands which all have the same syntax, such as
\footcites
,\textcites
,\smartcites
, and uppercase versions, etc. Since these are standard commands in biblatex, it seems reasonable they should be supported, but maybe this is intentional. Sorry if so.The Solution*
Anything Else?
I am not sure whether this is part of LaTeX-Workshop's features or not, but the more egregious problem that I notice when using these commands is that they do not seem to be supported by the latex syntax highlighter, and that this issue arises even without the parenthetical arguments (and also the spellchecking I am using, but that is an issue for another extension).
It's worth noting that the citation info on hover does work in all these cases.
The text was updated successfully, but these errors were encountered: