Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion: lualatex ≠ pdflatex and xelatex
- X-seq: zsh-users 28324
- From: Denis Bitouzé <dbitouze@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Completion: lualatex ≠ pdflatex and xelatex
- Date: Sat, 05 Nov 2022 17:05:13 +0100
- Archived-at: <https://zsh.org/users/28324>
- Cancel-lock: sha1:CR/X29MZjwxaRLGNOB8sPUZpGZ8=
- List-id: <zsh-users.zsh.org>
Hi,
┌────
│ Context:
│
│ - Mageia 8 GNU/Linux box,
│ - Vanilla TeX Live installation,
│ - zsh 5.8.1 (x86_64-mageia-linux-gnu)
└────
The completion behaves differently:
- in one hand for `pdflatex` and `xelatex`,
- in the other hand for `lualatex`.
Namely, for a (single) `test.tex` file (with several `test.*` auxiliary
files) in the current directory:
1. `pdflatex tes + TAB` is completed into `pdflatex test.tex`,
2. `xelatex tes + TAB` is completed into `xelatex test.tex`
3. `lualatex tes + TAB` is completed into `lualatex test.`, and
`lualatex test. + TAB` proposes all the `test.*` files present in the
current directory.
Maybe this has to do with the absence of `lualatex` in the line:
┌────
│ #compdef tex latex slitex pdftex pdflatex jadetex pdfjadetex xetex=tex xelatex=latex latexmk
└────
in /usr/share/zsh/5.8.1/functions/Completion/Unix/_tex.
How to make completion with `lualatex` behave as with `pdflatex` and `xelatex`?
Thanks.
--
Denis
Messages sorted by:
Reverse Date,
Date,
Thread,
Author