zsh-users
 help / color / mirror / code / Atom feed
* Completion: lualatex ≠ pdflatex and xelatex
@ 2022-11-05 16:05 Denis Bitouzé
  2022-11-16 20:57 ` Denis Bitouzé
  0 siblings, 1 reply; 8+ messages in thread
From: Denis Bitouzé @ 2022-11-05 16:05 UTC (permalink / raw)
  To: zsh-users

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-17  8:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-05 16:05 Completion: lualatex ≠ pdflatex and xelatex Denis Bitouzé
2022-11-16 20:57 ` Denis Bitouzé
2022-11-17  0:21   ` Bart Schaefer
2022-11-17  0:31     ` Lawrence Velázquez
2022-11-17  1:19       ` Bart Schaefer
2022-11-17  2:55         ` Lawrence Velázquez
2022-11-17  8:20         ` Denis Bitouzé
2022-11-17  8:19     ` Denis Bitouzé

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).