Jonáš Dujava
55ef65a416
Properly support definition commands from xparse ( #148 )
...
Additionally, handle command definition without curly braces
around the defined command name.
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-07-21 08:52:18 +07:00
Jonáš Dujava
d018f2e662
Add delimiter node ( #147 )
...
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-07-20 21:37:17 +07:00
Patrick Förster
107435ada4
Add luacode and asy as verbatim environments ( #141 )
...
Adds the following source code environments:
- `asy`
- `asydef`
- `luacode`
- `luacode*`
Fixes #140 .
2024-07-18 17:35:26 +07:00
Patrick Förster
5b6b442b2a
Generate parser before running fuzzer tests ( #144 )
2024-07-18 16:45:19 +07:00
Patrick Förster
2850a4076a
Fix including grammar.json in gitignore ( #143 )
2024-07-18 16:36:02 +07:00
Patrick Förster
0fb72fb1b2
Fix version numbers for Swift, Python and C ( #142 )
2024-07-18 16:33:20 +07:00
Jonáš Dujava
08d8b885a3
Support more general URIs in hyperlinks ( #134 ) ( #135 )
...
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-06-23 16:03:58 +07:00
dependabot[bot]
5a1b4165ad
Bump node-gyp-build from 4.8.0 to 4.8.1 ( #122 )
2024-06-22 07:51:43 +07:00
dependabot[bot]
207b02dca0
Bump tree-sitter-cli from 0.22.2 to 0.22.6 ( #123 )
2024-06-22 07:51:36 +07:00
dependabot[bot]
77aa649faa
Bump node-addon-api from 7.1.0 to 8.0.0 ( #116 )
2024-06-22 07:51:23 +07:00
dependabot[bot]
7e2b009dc9
Bump prebuildify from 6.0.0 to 6.0.1 ( #120 )
2024-06-22 07:51:18 +07:00
dependabot[bot]
bb02423d01
Bump prettier from 3.2.5 to 3.3.2 ( #128 )
2024-06-22 07:51:13 +07:00
Patrick Förster
d06c6a24f4
Add support for parsing hyperlinks ( #133 )
2024-06-22 09:50:56 +07:00
Patrick Förster
6b572f0f70
Fix parsing wrong superscripts like 10^10 ( #132 )
2024-06-22 09:50:44 +07:00
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