Closed Osares10 closed 1 year ago
I'm trying to change the supplement parameter to use the word "figure" in my language, but the problem "unexpected argument" keeps appearing.
The following code works as intended in the web version, but not in the VS code extension:
@ema #figure( image("ema.jpg", width: 50%), caption: [Diagrama de una EMA (SMN).], supplement: [Figura], )<ema>
Web version
Code:
Result:
VS code extension
The extension was using an out-of-date version of Typst. It has just been updated, so this should be fixed now. Please reopen the issue if it is not.
Issue
I'm trying to change the supplement parameter to use the word "figure" in my language, but the problem "unexpected argument" keeps appearing.
The following code works as intended in the web version, but not in the VS code extension:
Web version
Code:
Result:
VS code extension
Code: