delete node_modules

This commit is contained in:
Sosokker 2025-05-14 16:20:23 +07:00
parent 66bb60f463
commit 65f575de63
536 changed files with 0 additions and 187264 deletions

16
node_modules/.bin/prettier generated vendored
View File

@ -1,16 +0,0 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
else
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
fi

17
node_modules/.bin/prettier.cmd generated vendored
View File

@ -1,17 +0,0 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\prettier\bin\prettier.cjs" %*

28
node_modules/.bin/prettier.ps1 generated vendored
View File

@ -1,28 +0,0 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../prettier/bin/prettier.cjs" $args
} else {
& "$basedir/node$exe" "$basedir/../prettier/bin/prettier.cjs" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../prettier/bin/prettier.cjs" $args
} else {
& "node$exe" "$basedir/../prettier/bin/prettier.cjs" $args
}
$ret=$LASTEXITCODE
}
exit $ret

525
node_modules/.package-lock.json generated vendored
View File

@ -1,525 +0,0 @@
{
"name": "srs",
"lockfileVersion": 3,
"requires": true,
"packages": {
"node_modules/@types/unist": {
"version": "2.0.11",
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",
"integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",
"dev": true,
"license": "MIT"
},
"node_modules/@unified-latex/unified-latex-builder": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-builder/-/unified-latex-builder-1.8.0.tgz",
"integrity": "sha512-1s5MIan/qaYeqJI1Tk3bfUwdkk0jIrQXRJt0dF0j3JWT9RG60WbiXp+593eOJgFYJtn+h3FdM0bvalfa+ZzTXg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0"
}
},
"node_modules/@unified-latex/unified-latex-ctan": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-ctan/-/unified-latex-ctan-1.8.2.tgz",
"integrity": "sha512-VuOEU3Kzed/b+lm+nypYtV1IiqIuFWpwx92WNtBW1w3S+Ba/Ffolx+/LoAd8uuCcyCmygkQi3eZJNHxarzyVIg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-builder": "^1.8.0",
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-argspec": "^1.8.2",
"@unified-latex/unified-latex-util-arguments": "^1.8.2",
"@unified-latex/unified-latex-util-comments": "^1.8.2",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-pegjs": "^1.8.1",
"@unified-latex/unified-latex-util-print-raw": "^1.8.0",
"@unified-latex/unified-latex-util-render-info": "^1.8.2",
"@unified-latex/unified-latex-util-replace": "^1.8.2",
"@unified-latex/unified-latex-util-scan": "^1.8.0",
"@unified-latex/unified-latex-util-split": "^1.8.0",
"@unified-latex/unified-latex-util-trim": "^1.8.2",
"@unified-latex/unified-latex-util-visit": "^1.8.2",
"color": "^4.2.3"
}
},
"node_modules/@unified-latex/unified-latex-prettier": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-prettier/-/unified-latex-prettier-2.4.2.tgz",
"integrity": "sha512-gMvlKGiGi9zOWVHXPhzeURhPYwPIJ7MBht42et/sVb4Z2wTjhcn+bU7kookT067ywOptVZNBgJw+iAgSORAd+w==",
"deprecated": "Incorrect version number",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-ctan": "^1.4.1",
"@unified-latex/unified-latex-types": "^1.3.1",
"@unified-latex/unified-latex-util-align": "^1.4.0",
"@unified-latex/unified-latex-util-match": "^1.4.0",
"@unified-latex/unified-latex-util-parse": "^1.4.1",
"@unified-latex/unified-latex-util-pgfkeys": "^1.4.0",
"@unified-latex/unified-latex-util-print-raw": "^1.4.0",
"@unified-latex/unified-latex-util-trim": "^1.4.0",
"@unified-latex/unified-latex-util-visit": "^1.4.0",
"prettier": "^3.0.3",
"unified": "^10.1.2"
}
},
"node_modules/@unified-latex/unified-latex-types": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-types/-/unified-latex-types-1.8.0.tgz",
"integrity": "sha512-GLJbBmmfDOWtdEbpQCLb7++zPxXin36aC9XOVCuiVNMR9VYv3szOJa+ZdTilVCFHpOeFhKh6zRws96vJgz2tGA==",
"dev": true,
"license": "MIT"
},
"node_modules/@unified-latex/unified-latex-util-align": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-align/-/unified-latex-util-align-1.8.1.tgz",
"integrity": "sha512-csJxLrvziRc5ZkhcRsYI7gSQBGC4fXucPtwNkTscbSIy7PfYF7BfWBPc61sb9jXQg4T4R6MLdG/Tz6Pgb6z1bw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-pegjs": "^1.8.1"
}
},
"node_modules/@unified-latex/unified-latex-util-argspec": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-argspec/-/unified-latex-util-argspec-1.8.2.tgz",
"integrity": "sha512-ts+6Ha9JhcMCt+rbajjiG0srxCz2jHcNrIe3zma2HQzmKNOGxpoTdA7+E4sG2wJgQK1+eQ9MrjGeLBCNXH7fGg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-util-pegjs": "^1.8.1"
}
},
"node_modules/@unified-latex/unified-latex-util-arguments": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-arguments/-/unified-latex-util-arguments-1.8.2.tgz",
"integrity": "sha512-81OqsLoVUhVFgp64z7Jrtndgl5fJGvZKV1eipNWH4IH2hFEM8RZ0fmLxyOn7S/NjYuqWeOJ3WhjOvRHtmLLf2Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-builder": "^1.8.0",
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-argspec": "^1.8.2",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-render-info": "^1.8.2",
"@unified-latex/unified-latex-util-scan": "^1.8.0",
"@unified-latex/unified-latex-util-visit": "^1.8.2",
"unified": "^10.1.2"
}
},
"node_modules/@unified-latex/unified-latex-util-catcode": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-catcode/-/unified-latex-util-catcode-1.8.2.tgz",
"integrity": "sha512-zChzwfcXufJ5tMkBNC06GdMFj3ldWnlL1eLszFNtcWPvB6KyXHjOPRSZ9aILjbZEd2ogBc8lOKc5ug+iBFBVxA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-visit": "^1.8.2"
}
},
"node_modules/@unified-latex/unified-latex-util-comments": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-comments/-/unified-latex-util-comments-1.8.2.tgz",
"integrity": "sha512-OGeT3BYzLT6hRgyRrPqXTJBpD/JaJl5yIcpQfm5wpcDFBVfcDOCZ8/Xc7UwosOvCjM5EHVTJIxmDQ1epZg3IzA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-replace": "^1.8.2"
}
},
"node_modules/@unified-latex/unified-latex-util-environments": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-environments/-/unified-latex-util-environments-1.8.2.tgz",
"integrity": "sha512-ZaL28+sUtVOSsWv2LfcGXmOJoQJ0Vu4se/7R83awutr2cS3YIZsyCIRFfhz1jYyedWfGLtq+a/2MWJfcIcd7Jg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-arguments": "^1.8.2",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-print-raw": "^1.8.0",
"@unified-latex/unified-latex-util-render-info": "^1.8.2",
"@unified-latex/unified-latex-util-visit": "^1.8.2",
"unified": "^10.1.2"
}
},
"node_modules/@unified-latex/unified-latex-util-match": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-match/-/unified-latex-util-match-1.8.0.tgz",
"integrity": "sha512-fjuLI1KVhWTHkfWn0kR8/RhM2oD2hxWhzgskUMLJ/IZMye9ESvVo8ItG4y+BtpwGFWpTmCtpMNXHjknIQxza9Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-print-raw": "^1.8.0"
}
},
"node_modules/@unified-latex/unified-latex-util-parse": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-parse/-/unified-latex-util-parse-1.8.2.tgz",
"integrity": "sha512-PyHQTZWS7/BCVa8ojBEmVl5a3iXs5ZSOqhp2R/bbroe7+OEmQbqULPq4GigHA6ClEbPmP8uxmgHZDFGH2cfR7A==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-ctan": "^1.8.2",
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-arguments": "^1.8.2",
"@unified-latex/unified-latex-util-catcode": "^1.8.2",
"@unified-latex/unified-latex-util-environments": "^1.8.2",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-pegjs": "^1.8.1",
"@unified-latex/unified-latex-util-print-raw": "^1.8.0",
"@unified-latex/unified-latex-util-trim": "^1.8.2",
"@unified-latex/unified-latex-util-visit": "^1.8.2",
"unified": "^10.1.2"
}
},
"node_modules/@unified-latex/unified-latex-util-pegjs": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-pegjs/-/unified-latex-util-pegjs-1.8.1.tgz",
"integrity": "sha512-1N6WknnzKGACFCmgaEZ2j89j5C2dKhmAOCfy6moD+AMm6nUb69Xp9pJ1jDfqz+Uz9+zRo5I6ksr6q5GgmAJvtw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0"
}
},
"node_modules/@unified-latex/unified-latex-util-pgfkeys": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-pgfkeys/-/unified-latex-util-pgfkeys-1.8.1.tgz",
"integrity": "sha512-VwZeUzmPgKwO2sZ9xx4Ul0Mp82DVdWg32krOlH9dzW4ZQDOBTnRtvx6LQmg9b7Iz3F2pHLYU0LCCaJlvFNBm1A==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-pegjs": "^1.8.1",
"@unified-latex/unified-latex-util-print-raw": "^1.8.0"
}
},
"node_modules/@unified-latex/unified-latex-util-print-raw": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-print-raw/-/unified-latex-util-print-raw-1.8.0.tgz",
"integrity": "sha512-lMuLqnHXCDNqrjslf6hBAA2McEI+oaaxvjA9zfeAeWZyZh+DUJjkmwiuxYejwHHKbQvqzregNP4wtb9OvaC21g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0"
}
},
"node_modules/@unified-latex/unified-latex-util-render-info": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-render-info/-/unified-latex-util-render-info-1.8.2.tgz",
"integrity": "sha512-Hjqt8Kx2/pYWwd/S3H397zyenLFwoZsmo7BL/Q7mJfj5wNs35ZMdoHQa0O8tLeZjezkWB2eejODVBsu5xDDCjw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-visit": "^1.8.2"
}
},
"node_modules/@unified-latex/unified-latex-util-replace": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-replace/-/unified-latex-util-replace-1.8.2.tgz",
"integrity": "sha512-89GNj4p5wJmSUGAmdFlGnb/SaV4WykroK85bYbY3Fwppp7kO6sVYSRGfrTEIFob1S4HGL6xrYYUnCueI0+ZzhQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-split": "^1.8.0",
"@unified-latex/unified-latex-util-trim": "^1.8.2",
"@unified-latex/unified-latex-util-visit": "^1.8.2",
"unified": "^10.1.2"
}
},
"node_modules/@unified-latex/unified-latex-util-scan": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-scan/-/unified-latex-util-scan-1.8.0.tgz",
"integrity": "sha512-4WWDTcLOhlkZsGmGl/IZA0Jg2rTitVwGf6ktxs57AyuCEdzHA5ZeNwzSewW8wpHQdLfnPX+LNEnaukwEdWfF1g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-print-raw": "^1.8.0",
"trie-prefix-tree": "^1.5.1"
}
},
"node_modules/@unified-latex/unified-latex-util-split": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-split/-/unified-latex-util-split-1.8.0.tgz",
"integrity": "sha512-gRlRge72wcvLRs6bEoVbh0fDACbkioEPDJOr7XaCuQqjNNu1VTXlcvImZQVXCdMG6CJ4lqiaJRwnUupK4rsmsA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0"
}
},
"node_modules/@unified-latex/unified-latex-util-trim": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-trim/-/unified-latex-util-trim-1.8.2.tgz",
"integrity": "sha512-zshEykIuLvngWNl7RnMP86KE3yieVLK2u+byPioh6JVQCwkHoz/UiPzl+fuPw/u+93LPNSJBRa16a03sviqyBA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-visit": "^1.8.2",
"unified": "^10.1.2"
}
},
"node_modules/@unified-latex/unified-latex-util-visit": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-visit/-/unified-latex-util-visit-1.8.2.tgz",
"integrity": "sha512-Xq8516ZTKCfjB/txSIbUWtdIR2NdWO8/LlhjMLljFCEO4IE1KfhCCgKgwxNa7uuCkGG0e0BwVEHQIjH4TQZARQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-match": "^1.8.0"
}
},
"node_modules/bail": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
"integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
"dev": true,
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/color": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
"integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
"dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1",
"color-string": "^1.9.0"
},
"engines": {
"node": ">=12.5.0"
}
},
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
},
"engines": {
"node": ">=7.0.0"
}
},
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"license": "MIT"
},
"node_modules/color-string": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
"dev": true,
"license": "MIT",
"dependencies": {
"color-name": "^1.0.0",
"simple-swizzle": "^0.2.2"
}
},
"node_modules/extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
"dev": true,
"license": "MIT"
},
"node_modules/is-arrayish": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",
"dev": true,
"license": "MIT"
},
"node_modules/is-buffer": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
"integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"license": "MIT",
"engines": {
"node": ">=4"
}
},
"node_modules/is-plain-obj": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
"integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/prettier": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
"integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
"dev": true,
"license": "MIT",
"bin": {
"prettier": "bin/prettier.cjs"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/prettier-plugin-latex": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/prettier-plugin-latex/-/prettier-plugin-latex-2.0.1.tgz",
"integrity": "sha512-xIKGN0uWU+JwGHI92ixohngGLpy2nGQhYnmTtVue/jbw+K0fFPddQ3pMXx3fjtmmUhlbZisYXehJtcJ9Ford0g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@unified-latex/unified-latex-prettier": "^2.4.2",
"prettier": "^3.0.3"
},
"engines": {
"node": ">= 18.0"
}
},
"node_modules/simple-swizzle": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
"dev": true,
"license": "MIT",
"dependencies": {
"is-arrayish": "^0.3.1"
}
},
"node_modules/trie-prefix-tree": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/trie-prefix-tree/-/trie-prefix-tree-1.5.1.tgz",
"integrity": "sha512-Jjvj/dA97wXnabG/NLJUgo4IQMj6vucH+Qxm7of/omfWSmZlPqdRU6Ta4GmQqCZH+n3/iYZUwfvUoEhB0Hs83Q==",
"dev": true,
"license": "MIT"
},
"node_modules/trough": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
"integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",
"dev": true,
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/unified": {
"version": "10.1.2",
"resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz",
"integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/unist": "^2.0.0",
"bail": "^2.0.0",
"extend": "^3.0.0",
"is-buffer": "^2.0.0",
"is-plain-obj": "^4.0.0",
"trough": "^2.0.0",
"vfile": "^5.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
}
},
"node_modules/unist-util-stringify-position": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz",
"integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/unist": "^2.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
}
},
"node_modules/vfile": {
"version": "5.3.7",
"resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz",
"integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/unist": "^2.0.0",
"is-buffer": "^2.0.0",
"unist-util-stringify-position": "^3.0.0",
"vfile-message": "^3.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
}
},
"node_modules/vfile-message": {
"version": "3.1.4",
"resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz",
"integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/unist": "^2.0.0",
"unist-util-stringify-position": "^3.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
}
}
}
}

21
node_modules/@types/unist/LICENSE generated vendored
View File

@ -1,21 +0,0 @@
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE

122
node_modules/@types/unist/README.md generated vendored
View File

@ -1,122 +0,0 @@
# Installation
> `npm install --save @types/unist`
# Summary
This package contains type definitions for unist (https://github.com/syntax-tree/unist).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/unist/v2.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/unist/v2/index.d.ts)
````ts
/**
* Syntactic units in unist syntax trees are called nodes.
*
* @typeParam TData Information from the ecosystem. Useful for more specific {@link Node.data}.
*/
export interface Node<TData extends object = Data> {
/**
* The variant of a node.
*/
type: string;
/**
* Information from the ecosystem.
*/
data?: TData | undefined;
/**
* Location of a node in a source document.
* Must not be present if a node is generated.
*/
position?: Position | undefined;
}
/**
* Information associated by the ecosystem with the node.
* Space is guaranteed to never be specified by unist or specifications
* implementing unist.
*/
export interface Data {
[key: string]: unknown;
}
/**
* Location of a node in a source file.
*/
export interface Position {
/**
* Place of the first character of the parsed source region.
*/
start: Point;
/**
* Place of the first character after the parsed source region.
*/
end: Point;
/**
* Start column at each index (plus start line) in the source region,
* for elements that span multiple lines.
*/
indent?: number[] | undefined;
}
/**
* One place in a source file.
*/
export interface Point {
/**
* Line in a source file (1-indexed integer).
*/
line: number;
/**
* Column in a source file (1-indexed integer).
*/
column: number;
/**
* Character in a source file (0-indexed integer).
*/
offset?: number | undefined;
}
/**
* Util for extracting type of {@link Node.data}
*
* @typeParam TNode Specific node type such as {@link Node} with {@link Data}, {@link Literal}, etc.
*
* @example `NodeData<Node<{ key: string }>>` -> `{ key: string }`
*/
export type NodeData<TNode extends Node<object>> = TNode extends Node<infer TData> ? TData : never;
/**
* Nodes containing other nodes.
*
* @typeParam ChildNode Node item of {@link Parent.children}
*/
export interface Parent<ChildNode extends Node<object> = Node, TData extends object = NodeData<ChildNode>>
extends Node<TData>
{
/**
* List representing the children of a node.
*/
children: ChildNode[];
}
/**
* Nodes containing a value.
*
* @typeParam Value Specific value type of {@link Literal.value} such as `string` for `Text` node
*/
export interface Literal<Value = unknown, TData extends object = Data> extends Node<TData> {
value: Value;
}
````
### Additional Details
* Last updated: Thu, 15 Aug 2024 02:18:53 GMT
* Dependencies: none
# Credits
These definitions were written by [bizen241](https://github.com/bizen241), [Jun Lu](https://github.com/lujun2), [Hernan Rajchert](https://github.com/hrajchert), [Titus Wormer](https://github.com/wooorm), [Junyoung Choi](https://github.com/rokt33r), [Ben Moon](https://github.com/GuiltyDolphin), and [JounQin](https://github.com/JounQin).

103
node_modules/@types/unist/index.d.ts generated vendored
View File

@ -1,103 +0,0 @@
/**
* Syntactic units in unist syntax trees are called nodes.
*
* @typeParam TData Information from the ecosystem. Useful for more specific {@link Node.data}.
*/
export interface Node<TData extends object = Data> {
/**
* The variant of a node.
*/
type: string;
/**
* Information from the ecosystem.
*/
data?: TData | undefined;
/**
* Location of a node in a source document.
* Must not be present if a node is generated.
*/
position?: Position | undefined;
}
/**
* Information associated by the ecosystem with the node.
* Space is guaranteed to never be specified by unist or specifications
* implementing unist.
*/
export interface Data {
[key: string]: unknown;
}
/**
* Location of a node in a source file.
*/
export interface Position {
/**
* Place of the first character of the parsed source region.
*/
start: Point;
/**
* Place of the first character after the parsed source region.
*/
end: Point;
/**
* Start column at each index (plus start line) in the source region,
* for elements that span multiple lines.
*/
indent?: number[] | undefined;
}
/**
* One place in a source file.
*/
export interface Point {
/**
* Line in a source file (1-indexed integer).
*/
line: number;
/**
* Column in a source file (1-indexed integer).
*/
column: number;
/**
* Character in a source file (0-indexed integer).
*/
offset?: number | undefined;
}
/**
* Util for extracting type of {@link Node.data}
*
* @typeParam TNode Specific node type such as {@link Node} with {@link Data}, {@link Literal}, etc.
*
* @example `NodeData<Node<{ key: string }>>` -> `{ key: string }`
*/
export type NodeData<TNode extends Node<object>> = TNode extends Node<infer TData> ? TData : never;
/**
* Nodes containing other nodes.
*
* @typeParam ChildNode Node item of {@link Parent.children}
*/
export interface Parent<ChildNode extends Node<object> = Node, TData extends object = NodeData<ChildNode>>
extends Node<TData>
{
/**
* List representing the children of a node.
*/
children: ChildNode[];
}
/**
* Nodes containing a value.
*
* @typeParam Value Specific value type of {@link Literal.value} such as `string` for `Text` node
*/
export interface Literal<Value = unknown, TData extends object = Data> extends Node<TData> {
value: Value;
}

View File

@ -1,55 +0,0 @@
{
"name": "@types/unist",
"version": "2.0.11",
"description": "TypeScript definitions for unist",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/unist",
"license": "MIT",
"contributors": [
{
"name": "bizen241",
"githubUsername": "bizen241",
"url": "https://github.com/bizen241"
},
{
"name": "Jun Lu",
"githubUsername": "lujun2",
"url": "https://github.com/lujun2"
},
{
"name": "Hernan Rajchert",
"githubUsername": "hrajchert",
"url": "https://github.com/hrajchert"
},
{
"name": "Titus Wormer",
"githubUsername": "wooorm",
"url": "https://github.com/wooorm"
},
{
"name": "Junyoung Choi",
"githubUsername": "rokt33r",
"url": "https://github.com/rokt33r"
},
{
"name": "Ben Moon",
"githubUsername": "GuiltyDolphin",
"url": "https://github.com/GuiltyDolphin"
},
{
"name": "JounQin",
"githubUsername": "JounQin",
"url": "https://github.com/JounQin"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/unist"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "6e36525a6db49ae5517fe0751796ca8f6c65099098415046d4f1ad6c2ef1a33c",
"typeScriptVersion": "4.8"
}

View File

@ -1,178 +0,0 @@
<!-- DO NOT MODIFY -->
<!-- This file was autogenerated by build-docs.ts -->
<!-- Edit the docstring in index.ts and regenerate -->
<!-- rather than editing this file directly. -->
# unified-latex-builder
## What is this?
Functions to help build a `unified-latex` Abstract Syntax Tree (AST)
with [hyperscript](https://github.com/dominictarr/hyperscript)-like syntax.
## When should I use this?
If you want to programmatically create `Ast.Node` nodes.
## Install
```bash
npm install @unified-latex/unified-latex-builder
```
This package contains both esm and commonjs exports. To explicitly access the esm export,
import the `.js` file. To explicitly access the commonjs export, import the `.cjs` file.
# Functions
## `arg(args, special)`
Create an Argument. `special.braces` can optionally specify
the signature of the open/close marks that each argument uses. For example
arg("a", { braces: "[]" });
will result in arguments `[a]`. Valid braces are `*`, `[`, `{`, `<`, and `(`.
`null` may be passed as the value of an empty optional argument. If `null` is passed,
the `openBrace` and `closeBrace` of the argument will be set to empty strings and the
contents will be set to an empty array. For example,
args([null, "b"], { braces: "[]{}" });
will produce the same structure as if the the first "optional argument" were omitted in regular parsing.
```typescript
function arg(
args: CoercibleArgument | Ast.Node[],
special: ArgumentSpecialOptions
): Ast.Argument;
```
**Parameters**
| Param | Type |
| :------ | :-------------------------------- |
| args | <span color='gray'>Omitted</span> |
| special | `ArgumentSpecialOptions` |
where
```typescript
type ArgumentSpecialOptions = {
braces?: string;
openMark?: string;
closeMark?: string;
};
```
## `args(args, special)`
Create an Argument list. `special.braces` can optionally specify
the signature of the open/close marks that each argument uses. For example
args(["a", "b"], { braces: "[]{}" });
will result in arguments `[a]{b}`. Valid braces are `*`, `[`, `{`, `(`, and `<`.
`null` may be passed as the value of an empty optional argument. If `null` is passed,
the `openBrace` and `closeBrace` of the argument will be set to empty strings and the
contents will be set to an empty array. For example,
args([null, "b"], { braces: "[]{}" });
will produce the same structure as if the the first "optional argument" were omitted in regular parsing.
```typescript
function args(
args: CoercibleArgument | CoercibleArgument[],
special: ArgumentsSpecialOptions
): Ast.Argument[];
```
**Parameters**
| Param | Type |
| :------ | :-------------------------------- |
| args | <span color='gray'>Omitted</span> |
| special | `ArgumentsSpecialOptions` |
where
```typescript
type ArgumentsSpecialOptions = {
braces?: string;
defaultOpenMark?: string;
defaultCloseMark?: string;
};
```
## `env(name, body, envArgs, special)`
Create an Environment node.
```typescript
function env(
name: String,
body: CoercibleNode | CoercibleNode[],
envArgs: CoercibleArgument | CoercibleArgument[],
special: {}
): Ast.Environment;
```
**Parameters**
| Param | Type |
| :------ | :-------------------------------- |
| name | `String` |
| body | <span color='gray'>Omitted</span> |
| envArgs | <span color='gray'>Omitted</span> |
| special | `{}` |
## `m(name, marcoArgs, special)`
Create a Macro with the given `name`. The macro
may be followed by any number of arguments.
```typescript
function m(
name: String,
marcoArgs: CoercibleArgument | CoercibleArgument[],
special: MacroSpecialOptions
): Ast.Macro;
```
**Parameters**
| Param | Type |
| :-------- | :-------------------------------- |
| name | `String` |
| marcoArgs | <span color='gray'>Omitted</span> |
| special | `MacroSpecialOptions` |
where
```typescript
type MacroSpecialOptions = {
escapeToken?: string;
};
```
## `s(value)`
Create a String node from `value`
```typescript
function s(value: string | Ast.String): Ast.String;
```
**Parameters**
| Param | Type |
| :---- | :--------------------- |
| value | `string \| Ast.String` |
# Constants
| Name | Type | Description |
| :--- | :--------------- | :--------------- |
| `SP` | `Ast.Whitespace` | Whitespace node. |

View File

@ -1,142 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function normalizeNode(node) {
if (typeof node === "string") {
return s(node);
}
return node;
}
function normalizeArgument(arg2, openMark = "{", closeMark = "}") {
if (arg2 == null) {
return { type: "argument", content: [], openMark: "", closeMark: "" };
}
if (typeof arg2 === "string") {
return {
type: "argument",
openMark,
closeMark,
content: [s(arg2)]
};
}
if (arg2.type === "argument") {
return arg2;
}
return { type: "argument", openMark, closeMark, content: [arg2] };
}
function normalizeArgumentsList(args2, openMark = "{", closeMark = "}") {
if (args2 == null) {
return [];
}
if (Array.isArray(args2)) {
return args2.map((arg2) => normalizeArgument(arg2, openMark, closeMark));
}
return [normalizeArgument(args2, openMark, closeMark)];
}
const BRACES_MAP = {
"*": { openMark: "", closeMark: "" },
"{": { openMark: "{", closeMark: "}" },
"[": { openMark: "[", closeMark: "]" },
"(": { openMark: "(", closeMark: ")" },
"<": { openMark: "<", closeMark: ">" }
};
const CLOSE_BRACES = new Set(
Object.values(BRACES_MAP).map((x) => x.closeMark).filter((x) => x)
);
function bracesToOpenAndCloseMarks(braces) {
const ret = [];
for (const char of braces.split("")) {
if (CLOSE_BRACES.has(char)) {
continue;
}
const braces2 = BRACES_MAP[char];
if (braces2 == null) {
throw new Error(`Unknown open/close mark type "${char}"`);
}
ret.push(braces2);
}
return ret;
}
function args(args2, special) {
if (!Array.isArray(args2)) {
args2 = [args2];
}
if (special == null ? void 0 : special.braces) {
const braces = bracesToOpenAndCloseMarks(special.braces);
if (braces.length !== args2.length) {
throw new Error(
`There is a difference between the number of supplied braces and the number of supplied arguments. ${args2.length} supplied with braces signature ${special.braces}`
);
}
return args2.map(
(arg2, i) => normalizeArgument(arg2, braces[i].openMark, braces[i].closeMark)
);
}
const openMark = (special == null ? void 0 : special.defaultOpenMark) ?? "{";
const closeMark = (special == null ? void 0 : special.defaultCloseMark) ?? "}";
return normalizeArgumentsList(args2, openMark, closeMark);
}
function arg(args2, special) {
if (args2 == null) {
return { type: "argument", content: [], openMark: "", closeMark: "" };
}
if (typeof args2 === "string") {
args2 = s(args2);
}
if (!Array.isArray(args2) && args2.type === "argument") {
return args2;
}
let openMark = (special == null ? void 0 : special.openMark) ?? "{";
let closeMark = (special == null ? void 0 : special.closeMark) ?? "}";
if (special == null ? void 0 : special.braces) {
const braces = bracesToOpenAndCloseMarks(special.braces);
if (braces[0]) {
openMark = braces[0].openMark;
closeMark = braces[0].closeMark;
}
}
if (!Array.isArray(args2)) {
args2 = [args2];
}
return { type: "argument", content: args2, openMark, closeMark };
}
function m(name, marcoArgs, special) {
const args2 = normalizeArgumentsList(marcoArgs);
const escapeToken = special == null ? void 0 : special.escapeToken;
const ret = { type: "macro", content: name };
if (args2.length > 0) {
ret.args = args2;
}
if (escapeToken != null) {
ret.escapeToken = escapeToken;
}
return ret;
}
function s(value) {
if (typeof value === "string") {
return { type: "string", content: value };
}
return value;
}
function env(name, body, envArgs, special) {
if (!Array.isArray(body)) {
body = [body];
}
const args2 = normalizeArgumentsList(envArgs, "[", "]");
const ret = {
type: "environment",
env: name,
content: body.map(normalizeNode)
};
if (args2.length > 0) {
ret.args = args2;
}
return ret;
}
const SP = { type: "whitespace" };
exports.SP = SP;
exports.arg = arg;
exports.args = args;
exports.env = env;
exports.m = m;
exports.s = s;
//# sourceMappingURL=index.cjs.map

File diff suppressed because one or more lines are too long

View File

@ -1,80 +0,0 @@
import type * as Ast from '@unified-latex/unified-latex-types';
/**
* Create an Argument. `special.braces` can optionally specify
* the signature of the open/close marks that each argument uses. For example
* ```
* arg("a", { braces: "[]" });
* ```
* will result in arguments `[a]`. Valid braces are `*`, `[`, `{`, `<`, and `(`.
*
* `null` may be passed as the value of an empty optional argument. If `null` is passed,
* the `openBrace` and `closeBrace` of the argument will be set to empty strings and the
* contents will be set to an empty array. For example,
* ```
* args([null, "b"], { braces: "[]{}" });
* ```
* will produce the same structure as if the the first "optional argument" were omitted in regular parsing.
*/
export declare function arg(args: CoercibleArgument | Ast.Node[], special?: ArgumentSpecialOptions): Ast.Argument;
/**
* Create an Argument list. `special.braces` can optionally specify
* the signature of the open/close marks that each argument uses. For example
* ```
* args(["a", "b"], { braces: "[]{}" });
* ```
* will result in arguments `[a]{b}`. Valid braces are `*`, `[`, `{`, `(`, and `<`.
*
* `null` may be passed as the value of an empty optional argument. If `null` is passed,
* the `openBrace` and `closeBrace` of the argument will be set to empty strings and the
* contents will be set to an empty array. For example,
* ```
* args([null, "b"], { braces: "[]{}" });
* ```
* will produce the same structure as if the the first "optional argument" were omitted in regular parsing.
*/
export declare function args(args: CoercibleArgument | CoercibleArgument[], special?: ArgumentsSpecialOptions): Ast.Argument[];
declare type ArgumentSpecialOptions = {
braces?: string;
openMark?: string;
closeMark?: string;
};
declare type ArgumentsSpecialOptions = {
braces?: string;
defaultOpenMark?: string;
defaultCloseMark?: string;
};
declare type CoercibleArgument = null | CoercibleNode | Ast.Argument;
declare type CoercibleNode = string | Ast.Node;
/**
* Create an Environment node.
*/
export declare function env(name: string, body: CoercibleNode | CoercibleNode[], envArgs?: CoercibleArgument | CoercibleArgument[], special?: unknown): Ast.Environment;
/**
* Create a Macro with the given `name`. The macro
* may be followed by any number of arguments.
*/
export declare function m(name: string, marcoArgs?: CoercibleArgument | CoercibleArgument[], special?: MacroSpecialOptions): Ast.Macro;
declare type MacroSpecialOptions = {
escapeToken?: string;
};
/**
* Create a String node from `value`
*/
export declare function s(value: string | Ast.String): Ast.String;
/**
* Whitespace node.
*/
export declare const SP: Ast.Whitespace;
export { }

View File

@ -1,142 +0,0 @@
function normalizeNode(node) {
if (typeof node === "string") {
return s(node);
}
return node;
}
function normalizeArgument(arg2, openMark = "{", closeMark = "}") {
if (arg2 == null) {
return { type: "argument", content: [], openMark: "", closeMark: "" };
}
if (typeof arg2 === "string") {
return {
type: "argument",
openMark,
closeMark,
content: [s(arg2)]
};
}
if (arg2.type === "argument") {
return arg2;
}
return { type: "argument", openMark, closeMark, content: [arg2] };
}
function normalizeArgumentsList(args2, openMark = "{", closeMark = "}") {
if (args2 == null) {
return [];
}
if (Array.isArray(args2)) {
return args2.map((arg2) => normalizeArgument(arg2, openMark, closeMark));
}
return [normalizeArgument(args2, openMark, closeMark)];
}
const BRACES_MAP = {
"*": { openMark: "", closeMark: "" },
"{": { openMark: "{", closeMark: "}" },
"[": { openMark: "[", closeMark: "]" },
"(": { openMark: "(", closeMark: ")" },
"<": { openMark: "<", closeMark: ">" }
};
const CLOSE_BRACES = new Set(
Object.values(BRACES_MAP).map((x) => x.closeMark).filter((x) => x)
);
function bracesToOpenAndCloseMarks(braces) {
const ret = [];
for (const char of braces.split("")) {
if (CLOSE_BRACES.has(char)) {
continue;
}
const braces2 = BRACES_MAP[char];
if (braces2 == null) {
throw new Error(`Unknown open/close mark type "${char}"`);
}
ret.push(braces2);
}
return ret;
}
function args(args2, special) {
if (!Array.isArray(args2)) {
args2 = [args2];
}
if (special == null ? void 0 : special.braces) {
const braces = bracesToOpenAndCloseMarks(special.braces);
if (braces.length !== args2.length) {
throw new Error(
`There is a difference between the number of supplied braces and the number of supplied arguments. ${args2.length} supplied with braces signature ${special.braces}`
);
}
return args2.map(
(arg2, i) => normalizeArgument(arg2, braces[i].openMark, braces[i].closeMark)
);
}
const openMark = (special == null ? void 0 : special.defaultOpenMark) ?? "{";
const closeMark = (special == null ? void 0 : special.defaultCloseMark) ?? "}";
return normalizeArgumentsList(args2, openMark, closeMark);
}
function arg(args2, special) {
if (args2 == null) {
return { type: "argument", content: [], openMark: "", closeMark: "" };
}
if (typeof args2 === "string") {
args2 = s(args2);
}
if (!Array.isArray(args2) && args2.type === "argument") {
return args2;
}
let openMark = (special == null ? void 0 : special.openMark) ?? "{";
let closeMark = (special == null ? void 0 : special.closeMark) ?? "}";
if (special == null ? void 0 : special.braces) {
const braces = bracesToOpenAndCloseMarks(special.braces);
if (braces[0]) {
openMark = braces[0].openMark;
closeMark = braces[0].closeMark;
}
}
if (!Array.isArray(args2)) {
args2 = [args2];
}
return { type: "argument", content: args2, openMark, closeMark };
}
function m(name, marcoArgs, special) {
const args2 = normalizeArgumentsList(marcoArgs);
const escapeToken = special == null ? void 0 : special.escapeToken;
const ret = { type: "macro", content: name };
if (args2.length > 0) {
ret.args = args2;
}
if (escapeToken != null) {
ret.escapeToken = escapeToken;
}
return ret;
}
function s(value) {
if (typeof value === "string") {
return { type: "string", content: value };
}
return value;
}
function env(name, body, envArgs, special) {
if (!Array.isArray(body)) {
body = [body];
}
const args2 = normalizeArgumentsList(envArgs, "[", "]");
const ret = {
type: "environment",
env: name,
content: body.map(normalizeNode)
};
if (args2.length > 0) {
ret.args = args2;
}
return ret;
}
const SP = { type: "whitespace" };
export {
SP,
arg,
args,
env,
m,
s
};
//# sourceMappingURL=index.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,51 +0,0 @@
{
"name": "@unified-latex/unified-latex-builder",
"version": "1.8.0",
"description": "Tools for constructing unified-latex ASTs",
"main": "index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.8.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/siefkenj/unified-latex.git"
},
"keywords": [
"pegjs",
"latex",
"parser",
"prettier",
"unified-latex",
"unified"
],
"author": "Jason Siefken",
"license": "MIT",
"bugs": {
"url": "https://github.com/siefkenj/unified-latex/issues"
},
"homepage": "https://github.com/siefkenj/unified-latex#readme",
"exports": {
".": {
"import": "./index.js",
"require": "./index.cjs",
"types": "./index.d.ts"
},
"./*js": "./*js",
"./*": {
"import": "./*/index.js",
"require": "./*/index.cjs",
"types": "./*/index.d.ts"
},
"./*/index": {
"import": "./*/index.js",
"require": "./*/index.cjs"
}
},
"files": [
"**/*ts",
"**/*js",
"**/*.map",
"**/*.json"
]
}

View File

@ -1,46 +0,0 @@
<!-- DO NOT MODIFY -->
<!-- This file was autogenerated by build-docs.ts -->
<!-- Edit the docstring in index.ts and regenerate -->
<!-- rather than editing this file directly. -->
# unified-latex-ctan
## What is this?
Macro/environment definitions and utilities for specific LaTeX packages from CTAN.
Note: basic LaTeX macro/environment definitions come from the `latex2e` package, even though
this is technically not a CTAN "package".
## When should I use this?
If you want information about special functions/macros from particular CTAN packages, or
you need to parse special environments.
## Notes
By default all macros/environments that are exported get processed. If multiple packages
export a macro with the same name, then the later-exported one takes precedence. If two packages
export a macro/environment of the same name but with conflicting argument signatures, this can
cause issues when another unified-latex package processes arguments positionally. For example,
by default `\textbf` takes one argument, but the beamer version of `\textbf` takes two arguments.
During HTML conversion, if arguments are referenced positionally, this may cause previously-working
code to fail with when beamer macro signatures are used. A workaround is provided: `_renderInfo.namedArguments`.
If `_renderInfo.namedArguments` is specified on both the original macro/environment definition
**and** the conflicting one, other unified-latex commands can reference arguments by name instead
of by position.
## Install
```bash
npm install @unified-latex/unified-latex-ctan
```
This package contains both esm and commonjs exports. To explicitly access the esm export,
import the `.js` file. To explicitly access the commonjs export, import the `.cjs` file.
# Constants
| Name | Type | Description |
| :---------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------- |
| `environmentInfo` | `{ amsart: EnvInfoRecord; cleveref: EnvInfoRecord; exam: EnvInfoRecord; geometry: EnvInfoRecord; hyperref: EnvInfoRecord; ... 11 more ...; multicol: EnvInfoRecord; }` | Info about the environments for available ctan packages. `latex2e` contains&#xA;the standard environments for LaTeX. |
| `macroInfo` | `{ amsart: MacroInfoRecord; cleveref: MacroInfoRecord; exam: MacroInfoRecord; geometry: MacroInfoRecord; hyperref: MacroInfoRecord; ... 11 more ...; multicol: MacroInfoRecord; }` | Info about the macros for available ctan packages. `latex2e` contains&#xA;the standard macros for LaTeX. |

View File

@ -1,68 +0,0 @@
"use strict";
const unifiedLatexBuilder = require("@unified-latex/unified-latex-builder");
const unifiedLatexUtilMatch = require("@unified-latex/unified-latex-util-match");
const unifiedLatexUtilRenderInfo = require("@unified-latex/unified-latex-util-render-info");
const unifiedLatexUtilReplace = require("@unified-latex/unified-latex-util-replace");
const unifiedLatexUtilSplit = require("@unified-latex/unified-latex-util-split");
const unifiedLatexUtilTrim = require("@unified-latex/unified-latex-util-trim");
function cleanEnumerateBody(ast, itemName = "item") {
let { segments, macros } = unifiedLatexUtilSplit.splitOnMacro(ast, itemName);
for (let i = 0; i < segments.length; i++) {
const segment = segments[i];
if (i === 0) {
unifiedLatexUtilTrim.trimEnd(segment);
} else {
unifiedLatexUtilTrim.trim(segment);
}
if (segment.length > 0 && i > 0) {
segment.unshift({ type: "whitespace" });
}
}
let insertParbreakBefore = /* @__PURE__ */ new WeakSet();
let body = macros.flatMap((node, i) => {
var _a;
const segment = segments[i + 1];
const trailingComments = popTrailingComments(segment);
node.args = node.args || [];
node.args.push(unifiedLatexBuilder.arg(segment, { openMark: "", closeMark: "" }));
unifiedLatexUtilRenderInfo.updateRenderInfo(node, { inParMode: true });
if (i > 0 || ((_a = segments[0]) == null ? void 0 : _a.length) > 0) {
insertParbreakBefore.add(node);
}
return [node, ...trailingComments];
});
body = body.flatMap(
(node) => insertParbreakBefore.has(node) ? [{ type: "parbreak" }, node] : node
);
body.unshift(...segments[0]);
for (let i = 0; i < body.length - 1; i++) {
const node = body[i];
const nextNode = body[i + 1];
if (!unifiedLatexUtilMatch.match.parbreak(nextNode)) {
continue;
}
if (unifiedLatexUtilMatch.match.comment(node)) {
node.suffixParbreak = true;
}
if (unifiedLatexUtilMatch.match.macro(node) && node.args && node.args[node.args.length - 1].closeMark === "") {
const args = node.args[node.args.length - 1].content;
const lastArg = args[args.length - 1];
if (unifiedLatexUtilMatch.match.comment(lastArg)) {
lastArg.suffixParbreak = true;
}
}
}
return body;
}
function popTrailingComments(nodes) {
let lastNodeIndex = unifiedLatexUtilReplace.lastSignificantNodeIndex(nodes, true);
if (lastNodeIndex === nodes.length - 1 || lastNodeIndex == null && nodes.length === 0) {
return [];
}
if (lastNodeIndex == null) {
lastNodeIndex = -1;
}
return nodes.splice(lastNodeIndex + 1);
}
exports.cleanEnumerateBody = cleanEnumerateBody;
//# sourceMappingURL=enumerate-DSh8p1uS.cjs.map

File diff suppressed because one or more lines are too long

View File

@ -1,69 +0,0 @@
import { arg } from "@unified-latex/unified-latex-builder";
import { match } from "@unified-latex/unified-latex-util-match";
import { updateRenderInfo } from "@unified-latex/unified-latex-util-render-info";
import { lastSignificantNodeIndex } from "@unified-latex/unified-latex-util-replace";
import { splitOnMacro } from "@unified-latex/unified-latex-util-split";
import { trimEnd, trim } from "@unified-latex/unified-latex-util-trim";
function cleanEnumerateBody(ast, itemName = "item") {
let { segments, macros } = splitOnMacro(ast, itemName);
for (let i = 0; i < segments.length; i++) {
const segment = segments[i];
if (i === 0) {
trimEnd(segment);
} else {
trim(segment);
}
if (segment.length > 0 && i > 0) {
segment.unshift({ type: "whitespace" });
}
}
let insertParbreakBefore = /* @__PURE__ */ new WeakSet();
let body = macros.flatMap((node, i) => {
var _a;
const segment = segments[i + 1];
const trailingComments = popTrailingComments(segment);
node.args = node.args || [];
node.args.push(arg(segment, { openMark: "", closeMark: "" }));
updateRenderInfo(node, { inParMode: true });
if (i > 0 || ((_a = segments[0]) == null ? void 0 : _a.length) > 0) {
insertParbreakBefore.add(node);
}
return [node, ...trailingComments];
});
body = body.flatMap(
(node) => insertParbreakBefore.has(node) ? [{ type: "parbreak" }, node] : node
);
body.unshift(...segments[0]);
for (let i = 0; i < body.length - 1; i++) {
const node = body[i];
const nextNode = body[i + 1];
if (!match.parbreak(nextNode)) {
continue;
}
if (match.comment(node)) {
node.suffixParbreak = true;
}
if (match.macro(node) && node.args && node.args[node.args.length - 1].closeMark === "") {
const args = node.args[node.args.length - 1].content;
const lastArg = args[args.length - 1];
if (match.comment(lastArg)) {
lastArg.suffixParbreak = true;
}
}
}
return body;
}
function popTrailingComments(nodes) {
let lastNodeIndex = lastSignificantNodeIndex(nodes, true);
if (lastNodeIndex === nodes.length - 1 || lastNodeIndex == null && nodes.length === 0) {
return [];
}
if (lastNodeIndex == null) {
lastNodeIndex = -1;
}
return nodes.splice(lastNodeIndex + 1);
}
export {
cleanEnumerateBody as c
};
//# sourceMappingURL=enumerate-wQeKG6-C.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,21 +0,0 @@
"use strict";
(function() {
if (typeof globalThis === "object") {
return;
}
Object.defineProperty(Object.prototype, "__magic__", {
get: function() {
return this;
},
configurable: true
// This makes it possible to `delete` the getter later.
});
__magic__.globalThis = __magic__;
delete Object.prototype.__magic__;
})();
const clone = typeof globalThis.structuredClone === "function" ? globalThis.structuredClone : (obj) => JSON.parse(JSON.stringify(obj));
function structuredClone(obj) {
return clone(obj);
}
exports.structuredClone = structuredClone;
//# sourceMappingURL=index-BuqJUpao.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index-BuqJUpao.cjs","sources":["../../structured-clone/index.ts"],"sourcesContent":["// globalThis polyfill from https://mathiasbynens.be/notes/globalthis\n(function () {\n if (typeof globalThis === \"object\") {\n return;\n }\n Object.defineProperty(Object.prototype, \"__magic__\", {\n get: function () {\n return this;\n },\n configurable: true, // This makes it possible to `delete` the getter later.\n });\n __magic__.globalThis = __magic__; // lolwat\n delete Object.prototype.__magic__;\n})();\n\nconst clone =\n typeof globalThis.structuredClone === \"function\"\n ? globalThis.structuredClone\n : (obj: any) => JSON.parse(JSON.stringify(obj));\n\n/**\n * Wrapper around the built-in structured clone. Uses `JSON.parse(JSON.stringify(...))`\n * as a fallback.\n */\nexport function structuredClone<T>(obj: T): T {\n return clone(obj);\n}\n\ndeclare global {\n const __magic__: any;\n interface Object {\n __magic__?: any;\n }\n}\n"],"names":[],"mappings":";CACC,WAAY;AACL,MAAA,OAAO,eAAe,UAAU;AAChC;AAAA,EAAA;AAEG,SAAA,eAAe,OAAO,WAAW,aAAa;AAAA,IACjD,KAAK,WAAY;AACN,aAAA;AAAA,IACX;AAAA,IACA,cAAc;AAAA;AAAA,EAAA,CACjB;AACD,YAAU,aAAa;AACvB,SAAO,OAAO,UAAU;AAC5B,GAAG;AAEH,MAAM,QACF,OAAO,WAAW,oBAAoB,aAChC,WAAW,kBACX,CAAC,QAAa,KAAK,MAAM,KAAK,UAAU,GAAG,CAAC;AAM/C,SAAS,gBAAmB,KAAW;AAC1C,SAAO,MAAM,GAAG;AACpB;;"}

View File

@ -1,22 +0,0 @@
(function() {
if (typeof globalThis === "object") {
return;
}
Object.defineProperty(Object.prototype, "__magic__", {
get: function() {
return this;
},
configurable: true
// This makes it possible to `delete` the getter later.
});
__magic__.globalThis = __magic__;
delete Object.prototype.__magic__;
})();
const clone = typeof globalThis.structuredClone === "function" ? globalThis.structuredClone : (obj) => JSON.parse(JSON.stringify(obj));
function structuredClone(obj) {
return clone(obj);
}
export {
structuredClone as s
};
//# sourceMappingURL=index-NHd3tQDq.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index-NHd3tQDq.js","sources":["../../structured-clone/index.ts"],"sourcesContent":["// globalThis polyfill from https://mathiasbynens.be/notes/globalthis\n(function () {\n if (typeof globalThis === \"object\") {\n return;\n }\n Object.defineProperty(Object.prototype, \"__magic__\", {\n get: function () {\n return this;\n },\n configurable: true, // This makes it possible to `delete` the getter later.\n });\n __magic__.globalThis = __magic__; // lolwat\n delete Object.prototype.__magic__;\n})();\n\nconst clone =\n typeof globalThis.structuredClone === \"function\"\n ? globalThis.structuredClone\n : (obj: any) => JSON.parse(JSON.stringify(obj));\n\n/**\n * Wrapper around the built-in structured clone. Uses `JSON.parse(JSON.stringify(...))`\n * as a fallback.\n */\nexport function structuredClone<T>(obj: T): T {\n return clone(obj);\n}\n\ndeclare global {\n const __magic__: any;\n interface Object {\n __magic__?: any;\n }\n}\n"],"names":[],"mappings":"CACC,WAAY;AACL,MAAA,OAAO,eAAe,UAAU;AAChC;AAAA,EAAA;AAEG,SAAA,eAAe,OAAO,WAAW,aAAa;AAAA,IACjD,KAAK,WAAY;AACN,aAAA;AAAA,IACX;AAAA,IACA,cAAc;AAAA;AAAA,EAAA,CACjB;AACD,YAAU,aAAa;AACvB,SAAO,OAAO,UAAU;AAC5B,GAAG;AAEH,MAAM,QACF,OAAO,WAAW,oBAAoB,aAChC,WAAW,kBACX,CAAC,QAAa,KAAK,MAAM,KAAK,UAAU,GAAG,CAAC;AAM/C,SAAS,gBAAmB,KAAW;AAC1C,SAAO,MAAM,GAAG;AACpB;"}

View File

@ -1,71 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index$9 = require("./package/amsart/index.cjs");
const index$8 = require("./package/cleveref/index.cjs");
const provides$4 = require("./provides-gOjhEUvC.cjs");
const index$7 = require("./package/geometry/index.cjs");
const index$6 = require("./package/hyperref/index.cjs");
const provides$3 = require("./provides-DdQzqlsT.cjs");
const provides$2 = require("./provides-BjJALsf_.cjs");
const index$5 = require("./package/makeidx/index.cjs");
const index$4 = require("./package/mathtools/index.cjs");
const provides$1 = require("./provides-Bdw2Aj_V.cjs");
const index$3 = require("./package/nicematrix/index.cjs");
const provides = require("./provides-CwtnTL9q.cjs");
require("@unified-latex/unified-latex-util-match");
require("@unified-latex/unified-latex-util-pegjs");
require("@unified-latex/unified-latex-util-print-raw");
require("@unified-latex/unified-latex-util-split");
require("./index-BuqJUpao.cjs");
require("@unified-latex/unified-latex-util-comments");
require("@unified-latex/unified-latex-util-visit");
require("@unified-latex/unified-latex-util-render-info");
require("@unified-latex/unified-latex-util-arguments");
const parser = require("./parser-9Q3EtimU.cjs");
require("@unified-latex/unified-latex-util-trim");
const xcolor = require("./xcolor-BEfsW_1K.cjs");
require("@unified-latex/unified-latex-builder");
const index$2 = require("./package/xparse/index.cjs");
const index$1 = require("./package/beamer/index.cjs");
const index = require("./package/multicol/index.cjs");
const macroInfo = {
amsart: index$9.macros,
cleveref: index$8.macros,
exam: provides$4.macros,
geometry: index$7.macros,
hyperref: index$6.macros,
latex2e: provides$3.macros,
listings: provides$2.macros,
makeidx: index$5.macros,
mathtools: index$4.macros,
minted: provides$1.macros,
nicematrix: index$3.macros,
systeme: provides.macros,
tikz: parser.macros,
xcolor: xcolor.macros,
xparse: index$2.macros,
beamer: index$1.macros,
multicol: index.macros
};
const environmentInfo = {
amsart: index$9.environments,
cleveref: index$8.environments,
exam: provides$4.environments,
geometry: index$7.environments,
hyperref: index$6.environments,
latex2e: provides$3.environments,
listings: provides$2.environments,
makeidx: index$5.environments,
mathtools: index$4.environments,
minted: provides$1.environments,
nicematrix: index$3.environments,
systeme: provides.environments,
tikz: parser.environments,
xcolor: xcolor.environments,
xparse: index$2.environments,
beamer: index$1.environments,
multicol: index.environments
};
exports.environmentInfo = environmentInfo;
exports.macroInfo = macroInfo;
//# sourceMappingURL=index.cjs.map

File diff suppressed because one or more lines are too long

View File

@ -1,73 +0,0 @@
/**
* Info about the macros for available ctan packages. `latex2e` contains
* the standard macros for LaTeX.
*/
export declare const macroInfo: {
amsart: import('@unified-latex/unified-latex-types').MacroInfoRecord;
cleveref: import('@unified-latex/unified-latex-types').MacroInfoRecord;
exam: import('@unified-latex/unified-latex-types').MacroInfoRecord;
geometry: import('@unified-latex/unified-latex-types').MacroInfoRecord;
hyperref: import('@unified-latex/unified-latex-types').MacroInfoRecord;
latex2e: import('@unified-latex/unified-latex-types').MacroInfoRecord;
listings: import('@unified-latex/unified-latex-types').MacroInfoRecord;
makeidx: import('@unified-latex/unified-latex-types').MacroInfoRecord;
mathtools: import('@unified-latex/unified-latex-types').MacroInfoRecord;
minted: import('@unified-latex/unified-latex-types').MacroInfoRecord;
nicematrix: import('@unified-latex/unified-latex-types').MacroInfoRecord;
systeme: import('@unified-latex/unified-latex-types').MacroInfoRecord;
tikz: import('@unified-latex/unified-latex-types').MacroInfoRecord;
xcolor: import('@unified-latex/unified-latex-types').MacroInfoRecord;
xparse: import('@unified-latex/unified-latex-types').MacroInfoRecord;
beamer: import('@unified-latex/unified-latex-types').MacroInfoRecord;
multicol: import('@unified-latex/unified-latex-types').MacroInfoRecord;
};
/**
* Info about the environments for available ctan packages. `latex2e` contains
* the standard environments for LaTeX.
*/
export declare const environmentInfo: {
amsart: import('@unified-latex/unified-latex-types').EnvInfoRecord;
cleveref: import('@unified-latex/unified-latex-types').EnvInfoRecord;
exam: import('@unified-latex/unified-latex-types').EnvInfoRecord;
geometry: import('@unified-latex/unified-latex-types').EnvInfoRecord;
hyperref: import('@unified-latex/unified-latex-types').EnvInfoRecord;
latex2e: import('@unified-latex/unified-latex-types').EnvInfoRecord;
listings: import('@unified-latex/unified-latex-types').EnvInfoRecord;
makeidx: import('@unified-latex/unified-latex-types').EnvInfoRecord;
mathtools: import('@unified-latex/unified-latex-types').EnvInfoRecord;
minted: import('@unified-latex/unified-latex-types').EnvInfoRecord;
nicematrix: import('@unified-latex/unified-latex-types').EnvInfoRecord;
systeme: import('@unified-latex/unified-latex-types').EnvInfoRecord;
tikz: import('@unified-latex/unified-latex-types').EnvInfoRecord;
xcolor: import('@unified-latex/unified-latex-types').EnvInfoRecord;
xparse: import('@unified-latex/unified-latex-types').EnvInfoRecord;
beamer: import('@unified-latex/unified-latex-types').EnvInfoRecord;
multicol: import('@unified-latex/unified-latex-types').EnvInfoRecord;
};
/**
* ## What is this?
*
* Macro/environment definitions and utilities for specific LaTeX packages from CTAN.
*
* Note: basic LaTeX macro/environment definitions come from the `latex2e` package, even though
* this is technically not a CTAN "package".
*
* ## When should I use this?
*
* If you want information about special functions/macros from particular CTAN packages, or
* you need to parse special environments.
*
* ## Notes
*
* By default all macros/environments that are exported get processed. If multiple packages
* export a macro with the same name, then the later-exported one takes precedence. If two packages
* export a macro/environment of the same name but with conflicting argument signatures, this can
* cause issues when another unified-latex package processes arguments positionally. For example,
* by default `\textbf` takes one argument, but the beamer version of `\textbf` takes two arguments.
* During HTML conversion, if arguments are referenced positionally, this may cause previously-working
* code to fail with when beamer macro signatures are used. A workaround is provided: `_renderInfo.namedArguments`.
* If `_renderInfo.namedArguments` is specified on both the original macro/environment definition
* **and** the conflicting one, other unified-latex commands can reference arguments by name instead
* of by position.
*/
//# sourceMappingURL=index.d.ts.map

View File

@ -1,71 +0,0 @@
import { macros as macros$g, environments as environments$g } from "./package/amsart/index.js";
import { macros as macros$f, environments as environments$f } from "./package/cleveref/index.js";
import { m as macros$e, e as environments$e } from "./provides-B-HiB8uu.js";
import { macros as macros$d, environments as environments$d } from "./package/geometry/index.js";
import { macros as macros$c, environments as environments$c } from "./package/hyperref/index.js";
import { m as macros$b, e as environments$b } from "./provides-BUHzyq9A.js";
import { m as macros$a, e as environments$a } from "./provides-Ch0mvkO_.js";
import { macros as macros$9, environments as environments$9 } from "./package/makeidx/index.js";
import { macros as macros$8, environments as environments$8 } from "./package/mathtools/index.js";
import { m as macros$7, e as environments$7 } from "./provides-sdqk_ZBm.js";
import { macros as macros$6, environments as environments$6 } from "./package/nicematrix/index.js";
import { m as macros$5, e as environments$5 } from "./provides-yGf6-zdY.js";
import "@unified-latex/unified-latex-util-match";
import "@unified-latex/unified-latex-util-pegjs";
import "@unified-latex/unified-latex-util-print-raw";
import "@unified-latex/unified-latex-util-split";
import "./index-NHd3tQDq.js";
import "@unified-latex/unified-latex-util-comments";
import "@unified-latex/unified-latex-util-visit";
import "@unified-latex/unified-latex-util-render-info";
import "@unified-latex/unified-latex-util-arguments";
import { m as macros$4, e as environments$4 } from "./parser-BBXMi7mQ.js";
import "@unified-latex/unified-latex-util-trim";
import { m as macros$3, e as environments$3 } from "./xcolor-CIejE3rZ.js";
import "@unified-latex/unified-latex-builder";
import { macros as macros$2, environments as environments$2 } from "./package/xparse/index.js";
import { macros as macros$1, environments as environments$1 } from "./package/beamer/index.js";
import { macros, environments } from "./package/multicol/index.js";
const macroInfo = {
amsart: macros$g,
cleveref: macros$f,
exam: macros$e,
geometry: macros$d,
hyperref: macros$c,
latex2e: macros$b,
listings: macros$a,
makeidx: macros$9,
mathtools: macros$8,
minted: macros$7,
nicematrix: macros$6,
systeme: macros$5,
tikz: macros$4,
xcolor: macros$3,
xparse: macros$2,
beamer: macros$1,
multicol: macros
};
const environmentInfo = {
amsart: environments$g,
cleveref: environments$f,
exam: environments$e,
geometry: environments$d,
hyperref: environments$c,
latex2e: environments$b,
listings: environments$a,
makeidx: environments$9,
mathtools: environments$8,
minted: environments$7,
nicematrix: environments$6,
systeme: environments$5,
tikz: environments$4,
xcolor: environments$3,
xparse: environments$2,
beamer: environments$1,
multicol: environments
};
export {
environmentInfo,
macroInfo
};
//# sourceMappingURL=index.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,65 +0,0 @@
{
"name": "@unified-latex/unified-latex-ctan",
"version": "1.8.2",
"description": "unified-latex tools relating to specific CTAN packages",
"main": "index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-builder": "^1.8.0",
"@unified-latex/unified-latex-types": "^1.8.0",
"@unified-latex/unified-latex-util-argspec": "^1.8.2",
"@unified-latex/unified-latex-util-arguments": "^1.8.2",
"@unified-latex/unified-latex-util-comments": "^1.8.2",
"@unified-latex/unified-latex-util-match": "^1.8.0",
"@unified-latex/unified-latex-util-pegjs": "^1.8.1",
"@unified-latex/unified-latex-util-print-raw": "^1.8.0",
"@unified-latex/unified-latex-util-render-info": "^1.8.2",
"@unified-latex/unified-latex-util-replace": "^1.8.2",
"@unified-latex/unified-latex-util-scan": "^1.8.0",
"@unified-latex/unified-latex-util-split": "^1.8.0",
"@unified-latex/unified-latex-util-trim": "^1.8.2",
"@unified-latex/unified-latex-util-visit": "^1.8.2",
"color": "^4.2.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/siefkenj/unified-latex.git"
},
"keywords": [
"pegjs",
"latex",
"parser",
"prettier",
"unified-latex",
"unified"
],
"author": "Jason Siefken",
"license": "MIT",
"bugs": {
"url": "https://github.com/siefkenj/unified-latex/issues"
},
"homepage": "https://github.com/siefkenj/unified-latex#readme",
"exports": {
".": {
"import": "./index.js",
"require": "./index.cjs",
"types": "./index.d.ts"
},
"./*js": "./*js",
"./*": {
"import": "./*/index.js",
"require": "./*/index.cjs",
"types": "./*/index.d.ts"
},
"./*/index": {
"import": "./*/index.js",
"require": "./*/index.cjs"
}
},
"files": [
"**/*ts",
"**/*js",
"**/*.map",
"**/*.json"
]
}

View File

@ -1,32 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
author: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
address: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
curraddr: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
email: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
title: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
urladdr: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
}
};
const environments = {};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":["../../../package/amsart/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n author: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n address: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n curraddr: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n email: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n title: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n urladdr: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n }\n}\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":";;AAKO,MAAM,SAA0B;AAAA,EACnC,QAAQ;AAAA,IACJ,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,SAAS;AAAA,IACL,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,UAAU;AAAA,IACN,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,OAAO;AAAA,IACH,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,OAAO;AAAA,IACH,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,SAAS;AAAA,IACL,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EAAA;AAEzD;AAEO,MAAM,eAA8B,CAAA;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,32 +0,0 @@
const macros = {
author: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
address: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
curraddr: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
email: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
title: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
},
urladdr: {
signature: "o m",
renderInfo: { breakAround: true, inParMode: true }
}
};
const environments = {};
export {
environments,
macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":["../../../package/amsart/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n author: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n address: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n curraddr: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n email: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n title: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n },\n urladdr: {\n signature: \"o m\",\n renderInfo: { breakAround: true, inParMode: true },\n }\n}\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":"AAKO,MAAM,SAA0B;AAAA,EACnC,QAAQ;AAAA,IACJ,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,SAAS;AAAA,IACL,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,UAAU;AAAA,IACN,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,OAAO;AAAA,IACH,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,OAAO;AAAA,IACH,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EACrD;AAAA,EACA,SAAS;AAAA,IACL,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,WAAW,KAAK;AAAA,EAAA;AAEzD;AAEO,MAAM,eAA8B,CAAA;"}

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,204 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
mode: { signature: "s d<> d{}", renderInfo: { breakAround: true } },
insertnavigation: { signature: "m", renderInfo: { breakAround: true } },
insertsectionnavigation: {
signature: "m",
renderInfo: { breakAround: true }
},
insertsectionnavigationhorizontal: {
signature: "m m m",
renderInfo: { breakAround: true }
},
insertauthor: { signature: "o", renderInfo: { breakAround: true } },
insertshortauthor: { signature: "o", renderInfo: { breakAround: true } },
insertshortdate: { signature: "o", renderInfo: { breakAround: true } },
insertshortinstitute: { signature: "o", renderInfo: { breakAround: true } },
insertshortpart: { signature: "o", renderInfo: { breakAround: true } },
insertshorttitle: { signature: "o", renderInfo: { breakAround: true } },
insertsubsectionnavigation: {
signature: "m",
renderInfo: { breakAround: true }
},
insertsubsectionnavigationhorizontal: {
signature: "m m m",
renderInfo: { breakAround: true }
},
insertverticalnavigation: {
signature: "m",
renderInfo: { breakAround: true }
},
usebeamercolor: { signature: "s m", renderInfo: { breakAround: true } },
usebeamertemplate: { signature: "s m", renderInfo: { breakAround: true } },
setbeamercolor: {
signature: "m m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
setbeamersize: {
signature: "m o o",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
setbeamertemplate: {
signature: "m o o d{}",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
newcommand: {
signature: "s d<> +m o +o +m",
renderInfo: {
breakAround: true,
namedArguments: [
"starred",
null,
"name",
"numArgs",
"default",
"body"
]
}
},
renewcommand: {
signature: "s d<> +m o +o +m",
renderInfo: {
breakAround: true,
namedArguments: [
"starred",
null,
"name",
"numArgs",
"default",
"body"
]
}
},
newenvironment: {
signature: "s d<> m o o m m",
renderInfo: { breakAround: true }
},
renewenvironment: {
signature: "s d<> m o o m m",
renderInfo: { breakAround: true }
},
resetcounteronoverlays: {
signature: "m",
renderInfo: { breakAround: true }
},
resetcountonoverlays: { signature: "m", renderInfo: { breakAround: true } },
logo: { signature: "m", renderInfo: { breakAround: true } },
frametitle: { signature: "d<> o m", renderInfo: { breakAround: true } },
framesubtitle: { signature: "d<> m", renderInfo: { breakAround: true } },
pause: { signature: "o" },
onslide: { signature: "t+ t* d<> d{}" },
only: { signature: "d<> m d<>" },
uncover: { signature: "d<> m" },
visible: { signature: "d<> m" },
invisible: { signature: "d<> m" },
alt: { signature: "d<> m m d<>" },
temporal: { signature: "r<> m m m" },
item: {
signature: "d<> o d<>",
renderInfo: {
hangingIndent: true,
namedArguments: [null, "label", null]
}
},
label: { signature: "d<> o m" },
// cleveref adds an optional argument to label; this gives maximum compatibility.
action: { signature: "d<> m" },
beamerdefaultoverlayspecification: { signature: "m" },
titlegraphic: { signature: "m", renderInfo: { breakAround: true } },
subject: { signature: "m", renderInfo: { breakAround: true } },
keywords: { signature: "m", renderInfo: { breakAround: true } },
lecture: { signature: "o m m", renderInfo: { breakAround: true } },
partpage: { renderInfo: { breakAround: true } },
sectionpage: { renderInfo: { breakAround: true } },
subsectionpage: { renderInfo: { breakAround: true } },
AtBeginLecture: { signature: "m", renderInfo: { breakAround: true } },
AtBeginPart: { signature: "m", renderInfo: { breakAround: true } },
tableofcontents: {
signature: "o",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
againframe: { signature: "d<> o o m", renderInfo: { breakAround: true } },
framezoom: {
signature: "r<> r<> o r() r()",
renderInfo: { breakAround: true }
},
column: { signature: "d<> o m", renderInfo: { breakAround: true } },
animate: { signature: "r<>", renderInfo: { breakAround: true } },
animatevalue: { signature: "r<> m m m", renderInfo: { breakAround: true } },
sound: {
signature: "o m m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
hyperlinksound: {
signature: "o m m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
hyperlinkmute: { signature: "m", renderInfo: { breakAround: true } },
// These signatures conflict with the default signatures.
// Care must be taken when processing an AST.
section: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
subsection: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
subsubsection: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
part: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
bibitem: {
signature: "s d<> o m",
renderInfo: {
hangingIndent: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
}
};
const environments = {
frame: {
signature: "!d<> !o !o !d{} !d{}"
},
block: {
signature: "!d<> !d{} !d<>"
},
alertblock: {
signature: "!d<> !d{} !d<>"
},
exampleblock: {
signature: "!d<> !d{} !d<>"
},
onlyenv: {
signature: "!d<>"
},
altenv: {
signature: "!d<> m m m m !d<>"
},
overlayarea: { signature: "m m" },
overprint: { signature: "o" },
actionenv: { signature: "!d<>" },
columns: { signature: "d<> o" },
column: { signature: "d<> o m" }
};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,204 +0,0 @@
const macros = {
mode: { signature: "s d<> d{}", renderInfo: { breakAround: true } },
insertnavigation: { signature: "m", renderInfo: { breakAround: true } },
insertsectionnavigation: {
signature: "m",
renderInfo: { breakAround: true }
},
insertsectionnavigationhorizontal: {
signature: "m m m",
renderInfo: { breakAround: true }
},
insertauthor: { signature: "o", renderInfo: { breakAround: true } },
insertshortauthor: { signature: "o", renderInfo: { breakAround: true } },
insertshortdate: { signature: "o", renderInfo: { breakAround: true } },
insertshortinstitute: { signature: "o", renderInfo: { breakAround: true } },
insertshortpart: { signature: "o", renderInfo: { breakAround: true } },
insertshorttitle: { signature: "o", renderInfo: { breakAround: true } },
insertsubsectionnavigation: {
signature: "m",
renderInfo: { breakAround: true }
},
insertsubsectionnavigationhorizontal: {
signature: "m m m",
renderInfo: { breakAround: true }
},
insertverticalnavigation: {
signature: "m",
renderInfo: { breakAround: true }
},
usebeamercolor: { signature: "s m", renderInfo: { breakAround: true } },
usebeamertemplate: { signature: "s m", renderInfo: { breakAround: true } },
setbeamercolor: {
signature: "m m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
setbeamersize: {
signature: "m o o",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
setbeamertemplate: {
signature: "m o o d{}",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
newcommand: {
signature: "s d<> +m o +o +m",
renderInfo: {
breakAround: true,
namedArguments: [
"starred",
null,
"name",
"numArgs",
"default",
"body"
]
}
},
renewcommand: {
signature: "s d<> +m o +o +m",
renderInfo: {
breakAround: true,
namedArguments: [
"starred",
null,
"name",
"numArgs",
"default",
"body"
]
}
},
newenvironment: {
signature: "s d<> m o o m m",
renderInfo: { breakAround: true }
},
renewenvironment: {
signature: "s d<> m o o m m",
renderInfo: { breakAround: true }
},
resetcounteronoverlays: {
signature: "m",
renderInfo: { breakAround: true }
},
resetcountonoverlays: { signature: "m", renderInfo: { breakAround: true } },
logo: { signature: "m", renderInfo: { breakAround: true } },
frametitle: { signature: "d<> o m", renderInfo: { breakAround: true } },
framesubtitle: { signature: "d<> m", renderInfo: { breakAround: true } },
pause: { signature: "o" },
onslide: { signature: "t+ t* d<> d{}" },
only: { signature: "d<> m d<>" },
uncover: { signature: "d<> m" },
visible: { signature: "d<> m" },
invisible: { signature: "d<> m" },
alt: { signature: "d<> m m d<>" },
temporal: { signature: "r<> m m m" },
item: {
signature: "d<> o d<>",
renderInfo: {
hangingIndent: true,
namedArguments: [null, "label", null]
}
},
label: { signature: "d<> o m" },
// cleveref adds an optional argument to label; this gives maximum compatibility.
action: { signature: "d<> m" },
beamerdefaultoverlayspecification: { signature: "m" },
titlegraphic: { signature: "m", renderInfo: { breakAround: true } },
subject: { signature: "m", renderInfo: { breakAround: true } },
keywords: { signature: "m", renderInfo: { breakAround: true } },
lecture: { signature: "o m m", renderInfo: { breakAround: true } },
partpage: { renderInfo: { breakAround: true } },
sectionpage: { renderInfo: { breakAround: true } },
subsectionpage: { renderInfo: { breakAround: true } },
AtBeginLecture: { signature: "m", renderInfo: { breakAround: true } },
AtBeginPart: { signature: "m", renderInfo: { breakAround: true } },
tableofcontents: {
signature: "o",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
againframe: { signature: "d<> o o m", renderInfo: { breakAround: true } },
framezoom: {
signature: "r<> r<> o r() r()",
renderInfo: { breakAround: true }
},
column: { signature: "d<> o m", renderInfo: { breakAround: true } },
animate: { signature: "r<>", renderInfo: { breakAround: true } },
animatevalue: { signature: "r<> m m m", renderInfo: { breakAround: true } },
sound: {
signature: "o m m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
hyperlinksound: {
signature: "o m m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
hyperlinkmute: { signature: "m", renderInfo: { breakAround: true } },
// These signatures conflict with the default signatures.
// Care must be taken when processing an AST.
section: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
subsection: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
subsubsection: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
part: {
signature: "s d<> o m",
renderInfo: {
breakAround: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
},
bibitem: {
signature: "s d<> o m",
renderInfo: {
hangingIndent: true,
namedArguments: ["starred", null, "tocTitle", "title"]
}
}
};
const environments = {
frame: {
signature: "!d<> !o !o !d{} !d{}"
},
block: {
signature: "!d<> !d{} !d<>"
},
alertblock: {
signature: "!d<> !d{} !d<>"
},
exampleblock: {
signature: "!d<> !d{} !d<>"
},
onlyenv: {
signature: "!d<>"
},
altenv: {
signature: "!d<> m m m m !d<>"
},
overlayarea: { signature: "m m" },
overprint: { signature: "o" },
actionenv: { signature: "!d<>" },
columns: { signature: "d<> o" },
column: { signature: "d<> o m" }
};
export {
environments,
macros
};
//# sourceMappingURL=index.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,30 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
cref: { signature: "s m" },
Cref: { signature: "s m" },
crefrange: { signature: "s m m" },
Crefrange: { signature: "s m m" },
cpageref: { signature: "s m" },
Cpageref: { signature: "s m" },
ref: { signature: "m" },
pageref: { signature: "m" },
namecref: { signature: "m" },
nameCref: { signature: "m" },
lcnamecref: { signature: "m" },
namecrefs: { signature: "m" },
nameCrefs: { signature: "m" },
lcnamecrefs: { signature: "m" },
labelcref: { signature: "m" },
labelcpageref: { signature: "m" },
crefalias: { signature: "m m" },
crefname: { signature: "m m m" },
// XXX there are many more obscure commands to add here
// https://ctan.org/pkg/cleveref
crefdefaultlabelformat: { signature: "m" },
crefrangeconjunction: { signature: "m" }
};
const environments = {};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":["../../../package/cleveref/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n cref: { signature: \"s m\" },\n Cref: { signature: \"s m\" },\n crefrange: { signature: \"s m m\" },\n Crefrange: { signature: \"s m m\" },\n cpageref: { signature: \"s m\" },\n Cpageref: { signature: \"s m\" },\n ref: { signature: \"m\" },\n pageref: { signature: \"m\" },\n namecref: { signature: \"m\" },\n nameCref: { signature: \"m\" },\n lcnamecref: { signature: \"m\" },\n namecrefs: { signature: \"m\" },\n nameCrefs: { signature: \"m\" },\n lcnamecrefs: { signature: \"m\" },\n labelcref: { signature: \"m\" },\n labelcpageref: { signature: \"m\" },\n crefalias: { signature: \"m m\" },\n crefname: { signature: \"m m m\" },\n // XXX there are many more obscure commands to add here\n // https://ctan.org/pkg/cleveref\n crefdefaultlabelformat: { signature: \"m\" },\n crefrangeconjunction: { signature: \"m\" },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":";;AAKO,MAAM,SAA0B;AAAA,EACnC,MAAM,EAAE,WAAW,MAAM;AAAA,EACzB,MAAM,EAAE,WAAW,MAAM;AAAA,EACzB,WAAW,EAAE,WAAW,QAAQ;AAAA,EAChC,WAAW,EAAE,WAAW,QAAQ;AAAA,EAChC,UAAU,EAAE,WAAW,MAAM;AAAA,EAC7B,UAAU,EAAE,WAAW,MAAM;AAAA,EAC7B,KAAK,EAAE,WAAW,IAAI;AAAA,EACtB,SAAS,EAAE,WAAW,IAAI;AAAA,EAC1B,UAAU,EAAE,WAAW,IAAI;AAAA,EAC3B,UAAU,EAAE,WAAW,IAAI;AAAA,EAC3B,YAAY,EAAE,WAAW,IAAI;AAAA,EAC7B,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,aAAa,EAAE,WAAW,IAAI;AAAA,EAC9B,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,eAAe,EAAE,WAAW,IAAI;AAAA,EAChC,WAAW,EAAE,WAAW,MAAM;AAAA,EAC9B,UAAU,EAAE,WAAW,QAAQ;AAAA;AAAA;AAAA,EAG/B,wBAAwB,EAAE,WAAW,IAAI;AAAA,EACzC,sBAAsB,EAAE,WAAW,IAAI;AAC3C;AAEO,MAAM,eAA8B,CAAA;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,30 +0,0 @@
const macros = {
cref: { signature: "s m" },
Cref: { signature: "s m" },
crefrange: { signature: "s m m" },
Crefrange: { signature: "s m m" },
cpageref: { signature: "s m" },
Cpageref: { signature: "s m" },
ref: { signature: "m" },
pageref: { signature: "m" },
namecref: { signature: "m" },
nameCref: { signature: "m" },
lcnamecref: { signature: "m" },
namecrefs: { signature: "m" },
nameCrefs: { signature: "m" },
lcnamecrefs: { signature: "m" },
labelcref: { signature: "m" },
labelcpageref: { signature: "m" },
crefalias: { signature: "m m" },
crefname: { signature: "m m m" },
// XXX there are many more obscure commands to add here
// https://ctan.org/pkg/cleveref
crefdefaultlabelformat: { signature: "m" },
crefrangeconjunction: { signature: "m" }
};
const environments = {};
export {
environments,
macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":["../../../package/cleveref/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n cref: { signature: \"s m\" },\n Cref: { signature: \"s m\" },\n crefrange: { signature: \"s m m\" },\n Crefrange: { signature: \"s m m\" },\n cpageref: { signature: \"s m\" },\n Cpageref: { signature: \"s m\" },\n ref: { signature: \"m\" },\n pageref: { signature: \"m\" },\n namecref: { signature: \"m\" },\n nameCref: { signature: \"m\" },\n lcnamecref: { signature: \"m\" },\n namecrefs: { signature: \"m\" },\n nameCrefs: { signature: \"m\" },\n lcnamecrefs: { signature: \"m\" },\n labelcref: { signature: \"m\" },\n labelcpageref: { signature: \"m\" },\n crefalias: { signature: \"m m\" },\n crefname: { signature: \"m m m\" },\n // XXX there are many more obscure commands to add here\n // https://ctan.org/pkg/cleveref\n crefdefaultlabelformat: { signature: \"m\" },\n crefrangeconjunction: { signature: \"m\" },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":"AAKO,MAAM,SAA0B;AAAA,EACnC,MAAM,EAAE,WAAW,MAAM;AAAA,EACzB,MAAM,EAAE,WAAW,MAAM;AAAA,EACzB,WAAW,EAAE,WAAW,QAAQ;AAAA,EAChC,WAAW,EAAE,WAAW,QAAQ;AAAA,EAChC,UAAU,EAAE,WAAW,MAAM;AAAA,EAC7B,UAAU,EAAE,WAAW,MAAM;AAAA,EAC7B,KAAK,EAAE,WAAW,IAAI;AAAA,EACtB,SAAS,EAAE,WAAW,IAAI;AAAA,EAC1B,UAAU,EAAE,WAAW,IAAI;AAAA,EAC3B,UAAU,EAAE,WAAW,IAAI;AAAA,EAC3B,YAAY,EAAE,WAAW,IAAI;AAAA,EAC7B,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,aAAa,EAAE,WAAW,IAAI;AAAA,EAC9B,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,eAAe,EAAE,WAAW,IAAI;AAAA,EAChC,WAAW,EAAE,WAAW,MAAM;AAAA,EAC9B,UAAU,EAAE,WAAW,QAAQ;AAAA;AAAA;AAAA,EAG/B,wBAAwB,EAAE,WAAW,IAAI;AAAA,EACzC,sBAAsB,EAAE,WAAW,IAAI;AAC3C;AAEO,MAAM,eAA8B,CAAA;"}

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,6 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const provides = require("../../provides-gOjhEUvC.cjs");
exports.environments = provides.environments;
exports.macros = provides.macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,6 +0,0 @@
import { e, m } from "../../provides-B-HiB8uu.js";
export {
e as environments,
m as macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,12 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
geometry: {
signature: "m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
}
};
const environments = {};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":["../../../package/geometry/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n geometry: {\n signature: \"m\",\n renderInfo: { breakAround: true, pgfkeysArgs: true },\n },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":";;AAKO,MAAM,SAA0B;AAAA,EACnC,UAAU;AAAA,IACN,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,aAAa,KAAK;AAAA,EAAA;AAE3D;AAEO,MAAM,eAA8B,CAAA;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,12 +0,0 @@
const macros = {
geometry: {
signature: "m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
}
};
const environments = {};
export {
environments,
macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":["../../../package/geometry/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n geometry: {\n signature: \"m\",\n renderInfo: { breakAround: true, pgfkeysArgs: true },\n },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":"AAKO,MAAM,SAA0B;AAAA,EACnC,UAAU;AAAA,IACN,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,aAAa,KAAK;AAAA,EAAA;AAE3D;AAEO,MAAM,eAA8B,CAAA;"}

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,32 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
hypersetup: {
signature: "m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
href: { signature: "o m m" },
url: { signature: "m" },
nolinkurl: { signature: "m" },
hyperbaseurl: { signature: "m" },
hyperimage: { signature: "m m" },
hyperdef: { signature: "m m m" },
hyperref: { signature: "o m" },
hyperlink: { signature: "m m" },
hypertarget: { signature: "m m" },
autoref: { signature: "s m" },
pageref: { signature: "s m" },
autopageref: { signature: "s m" },
pdfstringdef: { signature: "m m" },
pdfbookmark: { signature: "o m m" },
currentpdfbookmark: { signature: "m m" },
subpdfbookmark: { signature: "m m" },
belowpdfbookmark: { signature: "m m" },
texorpdfstring: { signature: "m m" },
thispdfpagelabel: { signature: "m" },
hypercalcbp: { signature: "m" }
};
const environments = {};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":["../../../package/hyperref/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n hypersetup: {\n signature: \"m\",\n renderInfo: { breakAround: true, pgfkeysArgs: true },\n },\n href: { signature: \"o m m\" },\n url: { signature: \"m\" },\n nolinkurl: { signature: \"m\" },\n hyperbaseurl: { signature: \"m\" },\n hyperimage: { signature: \"m m\" },\n hyperdef: { signature: \"m m m\" },\n hyperref: { signature: \"o m\" },\n hyperlink: { signature: \"m m\" },\n hypertarget: { signature: \"m m\" },\n autoref: { signature: \"s m\" },\n pageref: { signature: \"s m\" },\n autopageref: { signature: \"s m\" },\n pdfstringdef: { signature: \"m m\" },\n pdfbookmark: { signature: \"o m m\" },\n currentpdfbookmark: { signature: \"m m\" },\n subpdfbookmark: { signature: \"m m\" },\n belowpdfbookmark: { signature: \"m m\" },\n texorpdfstring: { signature: \"m m\" },\n thispdfpagelabel: { signature: \"m\" },\n hypercalcbp: { signature: \"m\" },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":";;AAKO,MAAM,SAA0B;AAAA,EACnC,YAAY;AAAA,IACR,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,aAAa,KAAK;AAAA,EACvD;AAAA,EACA,MAAM,EAAE,WAAW,QAAQ;AAAA,EAC3B,KAAK,EAAE,WAAW,IAAI;AAAA,EACtB,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,cAAc,EAAE,WAAW,IAAI;AAAA,EAC/B,YAAY,EAAE,WAAW,MAAM;AAAA,EAC/B,UAAU,EAAE,WAAW,QAAQ;AAAA,EAC/B,UAAU,EAAE,WAAW,MAAM;AAAA,EAC7B,WAAW,EAAE,WAAW,MAAM;AAAA,EAC9B,aAAa,EAAE,WAAW,MAAM;AAAA,EAChC,SAAS,EAAE,WAAW,MAAM;AAAA,EAC5B,SAAS,EAAE,WAAW,MAAM;AAAA,EAC5B,aAAa,EAAE,WAAW,MAAM;AAAA,EAChC,cAAc,EAAE,WAAW,MAAM;AAAA,EACjC,aAAa,EAAE,WAAW,QAAQ;AAAA,EAClC,oBAAoB,EAAE,WAAW,MAAM;AAAA,EACvC,gBAAgB,EAAE,WAAW,MAAM;AAAA,EACnC,kBAAkB,EAAE,WAAW,MAAM;AAAA,EACrC,gBAAgB,EAAE,WAAW,MAAM;AAAA,EACnC,kBAAkB,EAAE,WAAW,IAAI;AAAA,EACnC,aAAa,EAAE,WAAW,IAAI;AAClC;AAEO,MAAM,eAA8B,CAAA;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,32 +0,0 @@
const macros = {
hypersetup: {
signature: "m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
href: { signature: "o m m" },
url: { signature: "m" },
nolinkurl: { signature: "m" },
hyperbaseurl: { signature: "m" },
hyperimage: { signature: "m m" },
hyperdef: { signature: "m m m" },
hyperref: { signature: "o m" },
hyperlink: { signature: "m m" },
hypertarget: { signature: "m m" },
autoref: { signature: "s m" },
pageref: { signature: "s m" },
autopageref: { signature: "s m" },
pdfstringdef: { signature: "m m" },
pdfbookmark: { signature: "o m m" },
currentpdfbookmark: { signature: "m m" },
subpdfbookmark: { signature: "m m" },
belowpdfbookmark: { signature: "m m" },
texorpdfstring: { signature: "m m" },
thispdfpagelabel: { signature: "m" },
hypercalcbp: { signature: "m" }
};
const environments = {};
export {
environments,
macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":["../../../package/hyperref/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n hypersetup: {\n signature: \"m\",\n renderInfo: { breakAround: true, pgfkeysArgs: true },\n },\n href: { signature: \"o m m\" },\n url: { signature: \"m\" },\n nolinkurl: { signature: \"m\" },\n hyperbaseurl: { signature: \"m\" },\n hyperimage: { signature: \"m m\" },\n hyperdef: { signature: \"m m m\" },\n hyperref: { signature: \"o m\" },\n hyperlink: { signature: \"m m\" },\n hypertarget: { signature: \"m m\" },\n autoref: { signature: \"s m\" },\n pageref: { signature: \"s m\" },\n autopageref: { signature: \"s m\" },\n pdfstringdef: { signature: \"m m\" },\n pdfbookmark: { signature: \"o m m\" },\n currentpdfbookmark: { signature: \"m m\" },\n subpdfbookmark: { signature: \"m m\" },\n belowpdfbookmark: { signature: \"m m\" },\n texorpdfstring: { signature: \"m m\" },\n thispdfpagelabel: { signature: \"m\" },\n hypercalcbp: { signature: \"m\" },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":"AAKO,MAAM,SAA0B;AAAA,EACnC,YAAY;AAAA,IACR,WAAW;AAAA,IACX,YAAY,EAAE,aAAa,MAAM,aAAa,KAAK;AAAA,EACvD;AAAA,EACA,MAAM,EAAE,WAAW,QAAQ;AAAA,EAC3B,KAAK,EAAE,WAAW,IAAI;AAAA,EACtB,WAAW,EAAE,WAAW,IAAI;AAAA,EAC5B,cAAc,EAAE,WAAW,IAAI;AAAA,EAC/B,YAAY,EAAE,WAAW,MAAM;AAAA,EAC/B,UAAU,EAAE,WAAW,QAAQ;AAAA,EAC/B,UAAU,EAAE,WAAW,MAAM;AAAA,EAC7B,WAAW,EAAE,WAAW,MAAM;AAAA,EAC9B,aAAa,EAAE,WAAW,MAAM;AAAA,EAChC,SAAS,EAAE,WAAW,MAAM;AAAA,EAC5B,SAAS,EAAE,WAAW,MAAM;AAAA,EAC5B,aAAa,EAAE,WAAW,MAAM;AAAA,EAChC,cAAc,EAAE,WAAW,MAAM;AAAA,EACjC,aAAa,EAAE,WAAW,QAAQ;AAAA,EAClC,oBAAoB,EAAE,WAAW,MAAM;AAAA,EACvC,gBAAgB,EAAE,WAAW,MAAM;AAAA,EACnC,kBAAkB,EAAE,WAAW,MAAM;AAAA,EACrC,gBAAgB,EAAE,WAAW,MAAM;AAAA,EACnC,kBAAkB,EAAE,WAAW,IAAI;AAAA,EACnC,aAAa,EAAE,WAAW,IAAI;AAClC;AAEO,MAAM,eAA8B,CAAA;"}

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,6 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const provides = require("../../provides-DdQzqlsT.cjs");
exports.environments = provides.environments;
exports.macros = provides.macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,6 +0,0 @@
import { e, m } from "../../provides-BUHzyq9A.js";
export {
e as environments,
m as macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,6 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const provides = require("../../provides-BjJALsf_.cjs");
exports.environments = provides.environments;
exports.macros = provides.macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,6 +0,0 @@
import { e, m } from "../../provides-Ch0mvkO_.js";
export {
e as environments,
m as macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}

View File

@ -1,8 +0,0 @@
import { ArgumentParser } from '@unified-latex/unified-latex-types';
/**
* This argument parser parses arguments in the form of
* - [key=value list]charactersource codesame character
* - [key=value list]{source code}
*/
export declare const argumentParser: ArgumentParser;
//# sourceMappingURL=argument-parser.d.ts.map

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,13 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
see: { signature: "m m" },
seealso: { signature: "m m" },
seename: { signature: "m" },
alsoname: { signature: "m" },
index: { signature: "m" }
};
const environments = {};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":["../../../package/makeidx/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n see: { signature: \"m m\" },\n seealso: { signature: \"m m\" },\n seename: { signature: \"m\" },\n alsoname: { signature: \"m\" },\n index: { signature: \"m\" },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":";;AAKO,MAAM,SAA0B;AAAA,EACnC,KAAK,EAAE,WAAW,MAAM;AAAA,EACxB,SAAS,EAAE,WAAW,MAAM;AAAA,EAC5B,SAAS,EAAE,WAAW,IAAI;AAAA,EAC1B,UAAU,EAAE,WAAW,IAAI;AAAA,EAC3B,OAAO,EAAE,WAAW,IAAI;AAC5B;AAEO,MAAM,eAA8B,CAAA;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,13 +0,0 @@
const macros = {
see: { signature: "m m" },
seealso: { signature: "m m" },
seename: { signature: "m" },
alsoname: { signature: "m" },
index: { signature: "m" }
};
const environments = {};
export {
environments,
macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":["../../../package/makeidx/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n see: { signature: \"m m\" },\n seealso: { signature: \"m m\" },\n seename: { signature: \"m\" },\n alsoname: { signature: \"m\" },\n index: { signature: \"m\" },\n};\n\nexport const environments: EnvInfoRecord = {};\n"],"names":[],"mappings":"AAKO,MAAM,SAA0B;AAAA,EACnC,KAAK,EAAE,WAAW,MAAM;AAAA,EACxB,SAAS,EAAE,WAAW,MAAM;AAAA,EAC5B,SAAS,EAAE,WAAW,IAAI;AAAA,EAC1B,UAAU,EAAE,WAAW,IAAI;AAAA,EAC3B,OAAO,EAAE,WAAW,IAAI;AAC5B;AAEO,MAAM,eAA8B,CAAA;"}

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,217 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
mathtoolsset: {
signature: "m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
mathllap: {
signature: "o m"
},
mathrlap: {
signature: "o m"
},
mathclap: {
signature: "o m"
},
clap: {
signature: "m"
},
mathmbox: {
signature: "m"
},
mathmakebox: {
signature: "o o m"
},
cramped: {
signature: "o m"
},
crampedllap: {
signature: "o m"
},
crampedrlap: {
signature: "o m"
},
crampedclap: {
signature: "o m"
},
crampedsubstack: {
signature: "o m"
},
smashoperator: {
signature: "o m"
},
newtagform: {
signature: "m o m m"
},
renewtagform: {
signature: "m o m m"
},
usetagform: {
signature: "m"
},
xleftrightarrow: { signature: "o m" },
xLeftarrow: { signature: "o m" },
xhookleftarrow: { signature: "o m" },
xmapsto: { signature: "o m" },
xRightarrow: { signature: "o m" },
xLeftrightarrow: { signature: "o m" },
xhookrightarrow: { signature: "o m" },
underbracket: { signature: "o o m" },
overbracket: { signature: "o o m" },
underbrace: { signature: "m" },
overbrace: { signature: "m" },
shoveleft: { signature: "o m" },
shoveright: { signature: "o m" },
ArrowBetweenLines: { signature: "s o" },
vdotswithin: { signature: "m" },
shortdotswithin: { signature: "s m" },
DeclarePairedDelimiter: {
signature: "m m m",
renderInfo: { breakAround: true }
},
DeclarePairedDelimiterX: {
signature: "m o m m m",
renderInfo: { breakAround: true }
},
DeclarePairedDelimiterXPP: {
signature: "m o m m m m m",
renderInfo: { breakAround: true }
},
prescript: { signature: "m m m" },
DeclareMathSizes: { signature: "m m m m" },
newgathered: { signature: "m m m m" },
renewgathered: { signature: "m m m m" },
splitfrac: { signature: "m m" },
splitdfrac: { signature: "m m" },
xmathstrut: { signature: "o m" },
// amsthm
newtheorem: { signature: "s m o m o", renderInfo: { breakAround: true } },
theoremstyle: { signature: "m", renderInfo: { breakAround: true } },
newtheoremstyle: {
signature: "m m m m m m m m m",
renderInfo: { breakAround: true }
},
// amsmath
text: { signature: "m", renderInfo: { inMathMode: false } },
// amsfonts
mathbb: { signature: "m" },
mathscr: { signature: "m" },
mathfrak: { signature: "m" },
frak: { signature: "m" },
Bdd: { signature: "m" },
bold: { signature: "m" },
// amsopn
operatorname: { signature: "s m" },
DeclareMathOperator: {
signature: "s m m",
renderInfo: { breakAround: true }
}
};
const environments = {
crampedsubarray: {
signature: "m",
renderInfo: { alignContent: true, inMathMode: true }
},
matrix: { renderInfo: { alignContent: true, inMathMode: true } },
bmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
pmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
vmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Bmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Vmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
smallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
psmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
vsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
bsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Bsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Vsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
"matrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"bmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"pmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"vmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Bmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Vmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"smallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"psmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"bsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"vsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Bsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Vsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
multilined: { signature: "o o", renderInfo: { inMathMode: true } },
cases: { renderInfo: { alignContent: true, inMathMode: true } },
"cases*": { renderInfo: { alignContent: true, inMathMode: true } },
dcases: { renderInfo: { alignContent: true, inMathMode: true } },
"dcases*": { renderInfo: { alignContent: true, inMathMode: true } },
rcases: { renderInfo: { alignContent: true, inMathMode: true } },
"rcases*": { renderInfo: { alignContent: true, inMathMode: true } },
drcases: { renderInfo: { alignContent: true, inMathMode: true } },
"drcases*": { renderInfo: { alignContent: true, inMathMode: true } },
spreadlines: { signature: "m", renderInfo: { inMathMode: true } },
lgathered: { signature: "o", renderInfo: { inMathMode: true } },
rgathered: { signature: "o", renderInfo: { inMathMode: true } },
// amsmath
"align*": { renderInfo: { inMathMode: true, alignContent: true } },
align: { renderInfo: { inMathMode: true, alignContent: true } },
aligned: { renderInfo: { inMathMode: true, alignContent: true } },
"alignat*": { renderInfo: { inMathMode: true, alignContent: true } },
alignat: { renderInfo: { inMathMode: true, alignContent: true } },
"equation*": { renderInfo: { inMathMode: true } },
equation: { renderInfo: { inMathMode: true } },
"gather*": { renderInfo: { inMathMode: true } },
gather: { renderInfo: { inMathMode: true } },
"multline*": { renderInfo: { inMathMode: true } },
multline: { renderInfo: { inMathMode: true } },
"flalign*": { renderInfo: { inMathMode: true, alignContent: true } },
flalign: { renderInfo: { inMathMode: true, alignContent: true } },
split: { renderInfo: { inMathMode: true } },
// Math environments
displaymath: { renderInfo: { inMathMode: true } },
// Typical amsthm environments
theorem: { signature: "o" },
lemma: { signature: "o" },
definition: { signature: "o" },
proposition: { signature: "o" },
corollary: { signature: "o" },
remark: { signature: "!o" },
example: { signature: "!o" },
proof: { signature: "o" }
};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,217 +0,0 @@
const macros = {
mathtoolsset: {
signature: "m",
renderInfo: { breakAround: true, pgfkeysArgs: true }
},
mathllap: {
signature: "o m"
},
mathrlap: {
signature: "o m"
},
mathclap: {
signature: "o m"
},
clap: {
signature: "m"
},
mathmbox: {
signature: "m"
},
mathmakebox: {
signature: "o o m"
},
cramped: {
signature: "o m"
},
crampedllap: {
signature: "o m"
},
crampedrlap: {
signature: "o m"
},
crampedclap: {
signature: "o m"
},
crampedsubstack: {
signature: "o m"
},
smashoperator: {
signature: "o m"
},
newtagform: {
signature: "m o m m"
},
renewtagform: {
signature: "m o m m"
},
usetagform: {
signature: "m"
},
xleftrightarrow: { signature: "o m" },
xLeftarrow: { signature: "o m" },
xhookleftarrow: { signature: "o m" },
xmapsto: { signature: "o m" },
xRightarrow: { signature: "o m" },
xLeftrightarrow: { signature: "o m" },
xhookrightarrow: { signature: "o m" },
underbracket: { signature: "o o m" },
overbracket: { signature: "o o m" },
underbrace: { signature: "m" },
overbrace: { signature: "m" },
shoveleft: { signature: "o m" },
shoveright: { signature: "o m" },
ArrowBetweenLines: { signature: "s o" },
vdotswithin: { signature: "m" },
shortdotswithin: { signature: "s m" },
DeclarePairedDelimiter: {
signature: "m m m",
renderInfo: { breakAround: true }
},
DeclarePairedDelimiterX: {
signature: "m o m m m",
renderInfo: { breakAround: true }
},
DeclarePairedDelimiterXPP: {
signature: "m o m m m m m",
renderInfo: { breakAround: true }
},
prescript: { signature: "m m m" },
DeclareMathSizes: { signature: "m m m m" },
newgathered: { signature: "m m m m" },
renewgathered: { signature: "m m m m" },
splitfrac: { signature: "m m" },
splitdfrac: { signature: "m m" },
xmathstrut: { signature: "o m" },
// amsthm
newtheorem: { signature: "s m o m o", renderInfo: { breakAround: true } },
theoremstyle: { signature: "m", renderInfo: { breakAround: true } },
newtheoremstyle: {
signature: "m m m m m m m m m",
renderInfo: { breakAround: true }
},
// amsmath
text: { signature: "m", renderInfo: { inMathMode: false } },
// amsfonts
mathbb: { signature: "m" },
mathscr: { signature: "m" },
mathfrak: { signature: "m" },
frak: { signature: "m" },
Bdd: { signature: "m" },
bold: { signature: "m" },
// amsopn
operatorname: { signature: "s m" },
DeclareMathOperator: {
signature: "s m m",
renderInfo: { breakAround: true }
}
};
const environments = {
crampedsubarray: {
signature: "m",
renderInfo: { alignContent: true, inMathMode: true }
},
matrix: { renderInfo: { alignContent: true, inMathMode: true } },
bmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
pmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
vmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Bmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Vmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
smallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
psmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
vsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
bsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Bsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
Vsmallmatrix: { renderInfo: { alignContent: true, inMathMode: true } },
"matrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"bmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"pmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"vmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Bmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Vmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"smallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"psmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"bsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"vsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Bsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
"Vsmallmatrix*": {
signature: "o",
renderInfo: { alignContent: true, inMathMode: true }
},
multilined: { signature: "o o", renderInfo: { inMathMode: true } },
cases: { renderInfo: { alignContent: true, inMathMode: true } },
"cases*": { renderInfo: { alignContent: true, inMathMode: true } },
dcases: { renderInfo: { alignContent: true, inMathMode: true } },
"dcases*": { renderInfo: { alignContent: true, inMathMode: true } },
rcases: { renderInfo: { alignContent: true, inMathMode: true } },
"rcases*": { renderInfo: { alignContent: true, inMathMode: true } },
drcases: { renderInfo: { alignContent: true, inMathMode: true } },
"drcases*": { renderInfo: { alignContent: true, inMathMode: true } },
spreadlines: { signature: "m", renderInfo: { inMathMode: true } },
lgathered: { signature: "o", renderInfo: { inMathMode: true } },
rgathered: { signature: "o", renderInfo: { inMathMode: true } },
// amsmath
"align*": { renderInfo: { inMathMode: true, alignContent: true } },
align: { renderInfo: { inMathMode: true, alignContent: true } },
aligned: { renderInfo: { inMathMode: true, alignContent: true } },
"alignat*": { renderInfo: { inMathMode: true, alignContent: true } },
alignat: { renderInfo: { inMathMode: true, alignContent: true } },
"equation*": { renderInfo: { inMathMode: true } },
equation: { renderInfo: { inMathMode: true } },
"gather*": { renderInfo: { inMathMode: true } },
gather: { renderInfo: { inMathMode: true } },
"multline*": { renderInfo: { inMathMode: true } },
multline: { renderInfo: { inMathMode: true } },
"flalign*": { renderInfo: { inMathMode: true, alignContent: true } },
flalign: { renderInfo: { inMathMode: true, alignContent: true } },
split: { renderInfo: { inMathMode: true } },
// Math environments
displaymath: { renderInfo: { inMathMode: true } },
// Typical amsthm environments
theorem: { signature: "o" },
lemma: { signature: "o" },
definition: { signature: "o" },
proposition: { signature: "o" },
corollary: { signature: "o" },
remark: { signature: "!o" },
example: { signature: "!o" },
proof: { signature: "o" }
};
export {
environments,
macros
};
//# sourceMappingURL=index.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,6 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const provides = require("../../provides-Bdw2Aj_V.cjs");
exports.environments = provides.environments;
exports.macros = provides.macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}

View File

@ -1,2 +0,0 @@
export * from './provides';
//# sourceMappingURL=index.d.ts.map

View File

@ -1,6 +0,0 @@
import { e, m } from "../../provides-sdqk_ZBm.js";
export {
e as environments,
m as macros
};
//# sourceMappingURL=index.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}

View File

@ -1,8 +0,0 @@
import { ArgumentParser } from '@unified-latex/unified-latex-types';
/**
* This argument parser parses arguments in the form of
* - [options]{language}delimcodedelim
* - [options]{language}{code}
*/
export declare const argumentParser: ArgumentParser;
//# sourceMappingURL=argument-parser.d.ts.map

View File

@ -1,4 +0,0 @@
import { MacroInfoRecord, EnvInfoRecord } from '@unified-latex/unified-latex-types';
export declare const macros: MacroInfoRecord;
export declare const environments: EnvInfoRecord;
//# sourceMappingURL=provides.d.ts.map

View File

@ -1,16 +0,0 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const macros = {
columnbreak: { renderInfo: { breakAround: true } }
};
const environments = {
multicols: {
signature: "m o o"
},
"multicols*": {
signature: "m o o"
}
};
exports.environments = environments;
exports.macros = macros;
//# sourceMappingURL=index.cjs.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.cjs","sources":["../../../package/multicol/provides.ts"],"sourcesContent":["import {\n MacroInfoRecord,\n EnvInfoRecord,\n} from \"@unified-latex/unified-latex-types\";\n\nexport const macros: MacroInfoRecord = {\n columnbreak: { renderInfo: { breakAround: true } },\n};\n\nexport const environments: EnvInfoRecord = {\n multicols: {\n signature: \"m o o\",\n },\n \"multicols*\": {\n signature: \"m o o\",\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,SAA0B;AAAA,EACnC,aAAa,EAAE,YAAY,EAAE,aAAa,KAAO,EAAA;AACrD;AAEO,MAAM,eAA8B;AAAA,EACvC,WAAW;AAAA,IACP,WAAW;AAAA,EACf;AAAA,EACA,cAAc;AAAA,IACV,WAAW;AAAA,EAAA;AAEnB;;;"}

Some files were not shown because too many files have changed in this diff Show More