summaryrefslogtreecommitdiff
path: root/support/light-latex-make/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/light-latex-make/README.md')
-rw-r--r--support/light-latex-make/README.md22
1 files changed, 11 insertions, 11 deletions
diff --git a/support/light-latex-make/README.md b/support/light-latex-make/README.md
index 1ff40ffc21..d8cee7d45b 100644
--- a/support/light-latex-make/README.md
+++ b/support/light-latex-make/README.md
@@ -41,7 +41,7 @@ Hello \textsf{llmk}!
Suppose we save this file as `hello.tex`, then run
-```
+```shell
$ llmk hello.tex
```
@@ -60,9 +60,9 @@ latex = "lualatex"
source = "hello.tex"
```
-If you run llmk without any argument, llmk will load `llmk.toml` in the working directory, and compile files specified by `source` key with the settings written in the file.
+If you run llmk without any argument, llmk will load `llmk.toml` in the working directory, and compile files specified by the `source` key with the settings written in the file.
-```
+```shell
$ llmk
```
@@ -72,7 +72,7 @@ A few other magic comment formats that are supported by existing tools are also
The directives supported by [TeXShop](https://pages.uoregon.edu/koch/texshop/) and friends, which typically start with `% !TEX`, can be used instead of `latex` and `bibtex` keys. E.g.,
-```
+```latex
%! TEX TS-program = xelatex
%! BIB TS-program = biber
\documentclass{article}
@@ -80,7 +80,7 @@ The directives supported by [TeXShop](https://pages.uoregon.edu/koch/texshop/) a
is equivalent to:
-```
+```latex
% +++
% latex = "xelatex"
% bibtex = "biber"
@@ -90,14 +90,14 @@ is equivalent to:
Another supported format is shebang-like directive that is supported by [YaTeX mode for Emacs](https://www.yatex.org/). E.g.,
-```
+```latex
%#!pdflatex
\documentclass{article}
```
is equivalent to:
-```
+```latex
% +++
% latex = "pdflatex"
% +++
@@ -115,21 +115,21 @@ Similar to [latexmk](http://personal.psu.edu/jcc8/software/latexmk/), Actions `-
Specifically,
-```
+```shell
$ llmk --clean FILE...
```
-removes files generated by the specified `FILE`s. In case you omit the argument `FILE`, files generated by the `source` files are removed. In both case, the files to remove by these actions can be customized (see the reference manual for the details).
+removes files generated by the specified `FILE`s. In case you omit the argument `FILE`, files generated by the `source` files are removed. In both cases, the files to remove by these actions can be customized (see the reference manual for the details).
## Advanced Usage
### Custom compile sequence
-You can setup custom sequence for processing LaTeX documents; use `sequence` key to specify the order of programs to process the documents and specify the detailed settings for each program.
+You can setup custom sequence for processing LaTeX documents; use `sequence` key to specify the order of programs to process the documents and specify the detailed settings for each program in the `programs` table.
For the simple use, you can specify the command name in the top-level just like `latex = "lualatex"`, which is already shown in the former examples.
-However, it is impossible to specify more detailed settings (e.g., command line options) with this simple manner. If you want to change those settings as well, you have to use tables of TOML; write `[programs.<name>]` and then write the each setting following to that:
+However, it is impossible to specify more detailed settings (e.g., command-line options) with this simple manner. If you want to change those settings as well, you have to use tables of TOML; write `[programs.<name>]` and then write the each setting following to that:
```toml
# custom sequence