Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completion: lualatex ≠ pdflatex and xelatex



Hi,

no one has any idea how to solve the problem below?

Thanks.

Le 05/11/22 à 17h05, Denis Bitouzé a écrit :

> 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