Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ repos:
hooks:
- id: check-mailmap
- repo: https://github.com/rhysd/actionlint
rev: v1.7.9
rev: v1.7.10
hooks:
- id: actionlint
- repo: https://github.com/adrienverge/yamllint
Expand All @@ -72,7 +72,7 @@ repos:
- mdformat-config
- mdformat-web
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.19.1
rev: v0.20.0
hooks:
- id: markdownlint-cli2
additional_dependencies:
Expand All @@ -82,7 +82,7 @@ repos:
hooks:
- id: luacheck
- repo: https://github.com/NixOS/nixfmt
rev: v1.1.0
rev: v1.2.0
hooks:
- id: nixfmt

Expand Down
58 changes: 29 additions & 29 deletions packages/texcat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,39 +78,39 @@ extra_servers = [
```sh
$ texcat --help
Usage: /home/wzy/Desktop/texrocks/packages/texcat/bin/texcat [-h]
[--completion {bash,zsh,fish}] [--output <output>]
[--syntax <syntax>] [--theme <theme>]
[--syntax-type {textmate,tree-sitter}]
[--theme-type {textmate}] [--extensions-dir <extensions_dir>]
[--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}]
[--list {themes,syntaxes,extensions_dirs,colors,links}]
[--command-prefix <command_prefix>]
[--math-escape <math_escape>] [<file>] ...
[--completion {bash,zsh,fish}] [--output <output>]
[--syntax <syntax>] [--theme <theme>]
[--syntax-type {textmate,tree-sitter}]
[--theme-type {textmate}] [--extensions-dir <extensions_dir>]
[--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}]
[--list {themes,syntaxes,extensions_dirs,colors,links}]
[--command-prefix <command_prefix>]
[--math-escape <math_escape>] [<file>] ...

Arguments:
file file name
file file name

Options:
-h, --help Show this help message and exit.
--completion {bash,zsh,fish}
Output a shell completion script for the specified shell.
--output <output> output file name, - means stdout
--syntax <syntax> set syntax, auto means decided by extension
--theme <theme> set theme, auto means first theme such as Abyss
--syntax-type {textmate,tree-sitter}
syntax highlight type (default: tree-sitter)
--theme-type {textmate}
color scheme type (default: textmate)
--extensions-dir <extensions_dir>
directories for VSCode extensions and tree-sitter grammars/queries
--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}
output format (default: ansi)
--list {themes,syntaxes,extensions_dirs,colors,links}
list all themes/syntaxes/... (default: themes)
--command-prefix <command_prefix>
command prefix for TeX
--math-escape <math_escape>
the scope to escape $math TeX code$ (default: comment)
-h, --help Show this help message and exit.
--completion {bash,zsh,fish}
Output a shell completion script for the specified shell.
--output <output> output file name, - means stdout
--syntax <syntax> set syntax, auto means decided by extension
--theme <theme> set theme, auto means first theme such as Abyss
--syntax-type {textmate,tree-sitter}
syntax highlight type (default: tree-sitter)
--theme-type {textmate}
color scheme type (default: textmate)
--extensions-dir <extensions_dir>
directories for VSCode extensions and tree-sitter grammars/queries
--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}
output format (default: ansi)
--list {themes,syntaxes,extensions_dirs,colors,links}
list all themes/syntaxes/... (default: themes)
--command-prefix <command_prefix>
command prefix for TeX
--math-escape <math_escape>
the scope to escape $math TeX code$ (default: comment)
$ texcat lua/texcat.lua --output-format=latex --output=main.tex
$ lualatex main.tex
```
Expand Down
2 changes: 1 addition & 1 deletion packages/texdef/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A reimplementation of <https://github.com/MartinScharrer/texdef/>.
$ lx add -b texdef
$ texdef TeX
This is LuaHBTeX, Version 1.23.3 (TeX Live 2026/dev)
system commands enabled.
system commands enabled.

\TeX -> T\kern -.1667em\lower .5ex\hbox {E}\kern -.125emX
$ lx remove -b texdef
Expand Down
32 changes: 16 additions & 16 deletions packages/texluap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ Usage: tlua [-h] [-e STMT] [-l NAME] [-p] [-v] [-i] [<SCRIPT>] ...
A Lua command prompt with pretty-printing and auto-completion.

Arguments:
SCRIPT A Lua script to be executed. Any arguments
specified after the script name, are passed to
the script.
SCRIPT A Lua script to be executed. Any arguments
specified after the script name, are passed to
the script.

Options:
-h Show this help message and exit.
-e STMT Execute string 'STMT'.
-l NAME Require library 'NAME'.
-p Force plain, uncolored output.
-v Print version information.
-i Enter interactive mode.
-h Show this help message and exit.
-e STMT Execute string 'STMT'.
-l NAME Require library 'NAME'.
-p Force plain, uncolored output.
-v Print version information.
-i Enter interactive mode.
```

It is similar to standard lua:
Expand All @@ -31,13 +31,13 @@ $ lua -h
/usr/bin/lua: unrecognized option '-h'
usage: /usr/bin/lua [options] [script [args]]
Available options are:
-e stat execute string 'stat'
-i enter interactive mode after executing 'script'
-l name require library 'name' into global 'name'
-v show version information
-E ignore environment variables
-- stop handling options
- stop handling options and execute stdin
-e stat execute string 'stat'
-i enter interactive mode after executing 'script'
-l name require library 'name' into global 'name'
-v show version information
-E ignore environment variables
-- stop handling options
- stop handling options and execute stdin
```

The name of tlua comes from [nlua](https://github.com/mfussenegger/nlua).
Expand Down
Loading