Commit Graph

161 Commits (cd82eb40d31bdfe65f846f4e06292d6c804b5e0e)
 

Author SHA1 Message Date
Patrick Förster cd82eb40d3
Let \declaretheorem accept multiple env names (#121) 2024-04-28 09:25:04 +07:00
Patrick Förster 01973c115c Reformat grammar.js 2024-04-28 09:20:40 +07:00
Patrick Förster ae2134af67
Merge pull request #117 from MithicSpirit/master
fix: add "math" as math_environment
2024-04-04 21:21:51 +07:00
MithicSpirit 92760205ee
fix: add "math" as math_environment 2024-04-03 16:41:21 +07:00
Patrick Förster eb552c7022
Add missing citation commands (#115)
Adds the following citation commands:
- `\citeA`
- `\citeR`
- `\citeS`
- `\citeyearR`

Fixes #94.
2024-04-01 15:38:05 +07:00
Patrick Förster ad07714343 Remove unused update workflow 2024-04-01 14:46:06 +07:00
Patrick Förster cf1841f5bb Bump version to v0.4.0 2024-04-01 14:44:40 +07:00
Patrick Förster a834712c5e
BREAKING: Don't check in generated parser.c file (#114)
* Update generated tree-sitter bindings
* Use CI reference workflows from tree-sitter organization
2024-04-01 14:31:04 +07:00
dependabot[bot] a6c812704b
Bump prettier from 3.0.3 to 3.2.5 (#110) 2024-04-01 09:14:05 +07:00
dependabot[bot] ddd884d883
Bump nan from 2.18.0 to 2.19.0 (#111) 2024-04-01 09:09:56 +07:00
dependabot[bot] c01bbc274c
Bump tree-sitter-cli from 0.20.8 to 0.22.2 (#112) 2024-04-01 09:09:45 +07:00
dependabot[bot] fb11c64a02
Bump prettier from 2.8.8 to 3.0.3 (#95) 2024-04-01 09:05:44 +07:00
dependabot[bot] f3b5ad0f15
Bump actions/checkout from 3 to 4 (#96) 2024-04-01 09:05:35 +07:00
dependabot[bot] e6e9678bbb
Bump nan from 2.17.0 to 2.18.0 (#98) 2024-04-01 09:05:27 +07:00
Patrick Förster 6d764f17f4 Update generated parser 2024-03-22 20:41:15 +07:00
Patrick Förster bf3cdb5188
Merge pull request #106 from gi1242/fix-author
fix: Allow optional argument for \author
2024-03-22 20:40:37 +07:00
GI 6ccf34aeb1 fix: Allow optional argument for \author 2024-03-21 23:06:30 +07:00
Patrick Förster 841f89ffbb Update generated code 2024-02-14 21:08:38 +07:00
Patrick Förster 0d598bb95f
Merge pull request #102 from gi1242/bibfixes
Add accept path list for \bibliography
2024-02-14 21:07:48 +07:00
Patrick Förster 174bb63e0d
Merge pull request #103 from ribru17/master
fix: typo in shortintertext node definition
2024-02-14 21:07:28 +07:00
Riley Bruins 3bffe98907 fix: typo in shortintertext node definition 2024-02-13 22:25:30 +07:00
GI 927a45c3cd Add accept path list for \bibliography
Also add \bibliographystyle
2024-01-30 16:20:28 +07:00
martinra 2ae2021d7b
Fix parsing hierarchies of sections and paragraphs (#90)
Split section into section and paragraph.

This allows interleaved occurrences of section hierarchies and paragraphs.
2023-06-11 10:01:52 +07:00
dependabot[bot] dfe891922c
Update criterion requirement from 0.4.0 to 0.5.1 (#88) 2023-06-01 19:53:17 +07:00
dependabot[bot] ea051ea5ea
Bump prettier from 2.8.7 to 2.8.8 (#86) 2023-06-01 19:52:56 +07:00
Patrick Förster ae46913513
Merge pull request #89 from lnay/master
Add sagetex environments as 'special' similarly to pycode
2023-06-01 21:52:31 +07:00
lnay 42af4bbdc5 Add extra tests for new 'special' environments similar to pycode 2023-06-01 00:24:43 +07:00
lnay 89c3b6ce54 Generate new files via
> @pfoerster/tree-sitter-latex@0.3.0 generate
> tree-sitter generate and
2023-06-01 00:20:20 +07:00
lnay 95d41d9ec4 Clone sections of grammar+scanner relating to pycode env, but for sageblock/silent 2023-06-01 00:18:12 +07:00
dependabot[bot] b0686a83c2
Bump prettier from 2.8.1 to 2.8.7 (#79) 2023-05-11 16:07:08 +07:00
Patrick Förster d6a224af16
Merge pull request #85 from joaodefelipe/issue-84
Stop treating \big, \bigg, \Big, \Bigg delimiters as pairable
2023-05-11 18:06:28 +07:00
João de Felipe d3f3dde488 Stop treating \big, \bigg, \Big, \Bigg delimiters as pairable
Delimiters preceded by these commands are treated by TeX as Ord atoms --
meaning they don't require any sort of pairing, and shouldn't be treated
as such.

See #84 and The TeXbook, page 171.
2023-05-11 03:44:13 +07:00
Patrick Förster cd3cc493a9 Update README 2023-04-16 11:26:15 +07:00
Patrick Förster 442ab3fb2b Start tracking changelog 2023-04-16 11:26:11 +07:00
Patrick Förster 91832daef5 Add support for definition commands from xparse
See #82.
2023-04-16 10:48:21 +07:00
Patrick Förster 376f64097b
Merge pull request #76 from nhubbard/master
Add Swift Package Manager support
2023-02-25 11:07:38 +07:00
Nicholas Hubbard fb8e0f54ef Fix Package.swift indentation 2023-02-24 09:04:37 +07:00
Nicholas Hubbard 2172000419 Add Swift Package Manager support 2023-02-24 08:56:56 +07:00
dependabot[bot] 6b7ea83930
Bump prettier from 2.8.0 to 2.8.1 (#65) 2023-01-01 14:51:05 +07:00
Patrick Förster dfb9bbb72f
Merge pull request #67 from Xein234/bug-pycode
fix: pycode environment produced an error
2023-01-01 15:46:23 +07:00
Xein 541bd2df22 fix: pycode environment produced an error 2023-01-01 08:15:46 +07:00
dependabot[bot] 1ec3941b97
Bump prettier from 2.7.1 to 2.8.0 (#62) 2022-12-02 18:44:33 +07:00
Patrick Förster fc46fed791
Merge pull request #63 from ryleelyman/master
remove operators from word and add sub- and superscript captures
2022-12-02 19:43:55 +07:00
Rylee Lyman baf4bddd3c fix tests, add superscript and subscript test 2022-12-01 19:52:35 +07:00
Rylee Lyman 4e1c009f58 remove operators from word and add sub- and superscript captures 2022-11-29 22:00:04 +07:00
Patrick Förster 8c75e93cd0 Bump version to 0.3.0 2022-10-26 10:55:26 +07:00
Patrick Förster 546d46a44e Add missing "\big"-style commands 2022-10-26 10:49:08 +07:00
Patrick Förster f029427e4d
Refactor CI pipeline (#59) 2022-10-26 10:06:37 +07:00
Patrick Förster d79f08baea
Do not associate brack_group with generic_command (#51)
Do not match bracket groups inside the generic command rule. Instead, only parse brackets for specific commands.

Fixes #48.
2022-10-26 09:49:18 +07:00
Patrick Förster da49fb3cc3 Fix Rust crate version 2022-10-25 22:35:36 +07:00