Skip to content

Commit ebc71b8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 796ef5f commit ebc71b8

3 files changed

Lines changed: 46 additions & 46 deletions

File tree

packages/texcat/README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -78,39 +78,39 @@ extra_servers = [
7878
```sh
7979
$ texcat --help
8080
Usage: /home/wzy/Desktop/texrocks/packages/texcat/bin/texcat [-h]
81-
[--completion {bash,zsh,fish}] [--output <output>]
82-
[--syntax <syntax>] [--theme <theme>]
83-
[--syntax-type {textmate,tree-sitter}]
84-
[--theme-type {textmate}] [--extensions-dir <extensions_dir>]
85-
[--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}]
86-
[--list {themes,syntaxes,extensions_dirs,colors,links}]
87-
[--command-prefix <command_prefix>]
88-
[--math-escape <math_escape>] [<file>] ...
81+
[--completion {bash,zsh,fish}] [--output <output>]
82+
[--syntax <syntax>] [--theme <theme>]
83+
[--syntax-type {textmate,tree-sitter}]
84+
[--theme-type {textmate}] [--extensions-dir <extensions_dir>]
85+
[--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}]
86+
[--list {themes,syntaxes,extensions_dirs,colors,links}]
87+
[--command-prefix <command_prefix>]
88+
[--math-escape <math_escape>] [<file>] ...
8989

9090
Arguments:
91-
file file name
91+
file file name
9292

9393
Options:
94-
-h, --help Show this help message and exit.
95-
--completion {bash,zsh,fish}
96-
Output a shell completion script for the specified shell.
97-
--output <output> output file name, - means stdout
98-
--syntax <syntax> set syntax, auto means decided by extension
99-
--theme <theme> set theme, auto means first theme such as Abyss
100-
--syntax-type {textmate,tree-sitter}
101-
syntax highlight type (default: tree-sitter)
102-
--theme-type {textmate}
103-
color scheme type (default: textmate)
104-
--extensions-dir <extensions_dir>
105-
directories for VSCode extensions and tree-sitter grammars/queries
106-
--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}
107-
output format (default: ansi)
108-
--list {themes,syntaxes,extensions_dirs,colors,links}
109-
list all themes/syntaxes/... (default: themes)
110-
--command-prefix <command_prefix>
111-
command prefix for TeX
112-
--math-escape <math_escape>
113-
the scope to escape $math TeX code$ (default: comment)
94+
-h, --help Show this help message and exit.
95+
--completion {bash,zsh,fish}
96+
Output a shell completion script for the specified shell.
97+
--output <output> output file name, - means stdout
98+
--syntax <syntax> set syntax, auto means decided by extension
99+
--theme <theme> set theme, auto means first theme such as Abyss
100+
--syntax-type {textmate,tree-sitter}
101+
syntax highlight type (default: tree-sitter)
102+
--theme-type {textmate}
103+
color scheme type (default: textmate)
104+
--extensions-dir <extensions_dir>
105+
directories for VSCode extensions and tree-sitter grammars/queries
106+
--output-format {ansi,empty,latex,preamble.tex,test,tex,txt}
107+
output format (default: ansi)
108+
--list {themes,syntaxes,extensions_dirs,colors,links}
109+
list all themes/syntaxes/... (default: themes)
110+
--command-prefix <command_prefix>
111+
command prefix for TeX
112+
--math-escape <math_escape>
113+
the scope to escape $math TeX code$ (default: comment)
114114
$ texcat lua/texcat.lua --output-format=latex --output=main.tex
115115
$ lualatex main.tex
116116
```

packages/texdef/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A reimplementation of <https://github.com/MartinScharrer/texdef/>.
88
$ lx add -b texdef
99
$ texdef TeX
1010
This is LuaHBTeX, Version 1.23.3 (TeX Live 2026/dev)
11-
system commands enabled.
11+
system commands enabled.
1212

1313
\TeX -> T\kern -.1667em\lower .5ex\hbox {E}\kern -.125emX
1414
$ lx remove -b texdef

packages/texluap/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ Usage: tlua [-h] [-e STMT] [-l NAME] [-p] [-v] [-i] [<SCRIPT>] ...
1111
A Lua command prompt with pretty-printing and auto-completion.
1212

1313
Arguments:
14-
SCRIPT A Lua script to be executed. Any arguments
15-
specified after the script name, are passed to
16-
the script.
14+
SCRIPT A Lua script to be executed. Any arguments
15+
specified after the script name, are passed to
16+
the script.
1717

1818
Options:
19-
-h Show this help message and exit.
20-
-e STMT Execute string 'STMT'.
21-
-l NAME Require library 'NAME'.
22-
-p Force plain, uncolored output.
23-
-v Print version information.
24-
-i Enter interactive mode.
19+
-h Show this help message and exit.
20+
-e STMT Execute string 'STMT'.
21+
-l NAME Require library 'NAME'.
22+
-p Force plain, uncolored output.
23+
-v Print version information.
24+
-i Enter interactive mode.
2525
```
2626

2727
It is similar to standard lua:
@@ -31,13 +31,13 @@ $ lua -h
3131
/usr/bin/lua: unrecognized option '-h'
3232
usage: /usr/bin/lua [options] [script [args]]
3333
Available options are:
34-
-e stat execute string 'stat'
35-
-i enter interactive mode after executing 'script'
36-
-l name require library 'name' into global 'name'
37-
-v show version information
38-
-E ignore environment variables
39-
-- stop handling options
40-
- stop handling options and execute stdin
34+
-e stat execute string 'stat'
35+
-i enter interactive mode after executing 'script'
36+
-l name require library 'name' into global 'name'
37+
-v show version information
38+
-E ignore environment variables
39+
-- stop handling options
40+
- stop handling options and execute stdin
4141
```
4242
4343
The name of tlua comes from [nlua](https://github.com/mfussenegger/nlua).

0 commit comments

Comments
 (0)