* 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
* Re: Completion: lualatex ≠ pdflatex and xelatex
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
0 siblings, 1 reply; 8+ messages in thread
From: Denis Bitouzé @ 2022-11-16 20:57 UTC (permalink / raw)
To: zsh-users
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Completion: lualatex ≠ pdflatex and xelatex
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 8:19 ` Denis Bitouzé
0 siblings, 2 replies; 8+ messages in thread
From: Bart Schaefer @ 2022-11-17 0:21 UTC (permalink / raw)
To: Denis Bitouzé; +Cc: zsh-users
On Wed, Nov 16, 2022 at 12:57 PM Denis Bitouzé <dbitouze@wanadoo.fr> wrote:
>
> no one has any idea how to solve the problem below?
Did not see a message from you on 05/11/22 ...
> Le 05/11/22 à 17h05, Denis Bitouzé a écrit :
>
> > 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
Yes, that's exactly the issue. Just add
compdef lualatex=latex
to .zshrc
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Completion: lualatex ≠ pdflatex and xelatex
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 8:19 ` Denis Bitouzé
1 sibling, 1 reply; 8+ messages in thread
From: Lawrence Velázquez @ 2022-11-17 0:31 UTC (permalink / raw)
To: Bart Schaefer, Denis Bitouzé; +Cc: zsh-users
On Wed, Nov 16, 2022, at 7:21 PM, Bart Schaefer wrote:
> Did not see a message from you on 05/11/22 ...
That would be 2022-11-05 :)
https://www.zsh.org/mla/users/2022/msg00877.html
--
vq
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Completion: lualatex ≠ pdflatex and xelatex
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é
0 siblings, 2 replies; 8+ messages in thread
From: Bart Schaefer @ 2022-11-17 1:19 UTC (permalink / raw)
To: Lawrence Velázquez; +Cc: Denis Bitouzé, zsh-users
On Wed, Nov 16, 2022 at 4:31 PM Lawrence Velázquez <larryv@zsh.org> wrote:
>
> On Wed, Nov 16, 2022, at 7:21 PM, Bart Schaefer wrote:
> > Did not see a message from you on 05/11/22 ...
>
> That would be 2022-11-05 :)
Yes, I understand European date ordering. Gmail put it in spam, which
might also be why other people didn't see it before.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Completion: lualatex ≠ pdflatex and xelatex
2022-11-17 1:19 ` Bart Schaefer
@ 2022-11-17 2:55 ` Lawrence Velázquez
2022-11-17 8:20 ` Denis Bitouzé
1 sibling, 0 replies; 8+ messages in thread
From: Lawrence Velázquez @ 2022-11-17 2:55 UTC (permalink / raw)
To: Bart Schaefer; +Cc: zsh-users
On Wed, Nov 16, 2022, at 8:19 PM, Bart Schaefer wrote:
> On Wed, Nov 16, 2022 at 4:31 PM Lawrence Velázquez <larryv@zsh.org> wrote:
>>
>> On Wed, Nov 16, 2022, at 7:21 PM, Bart Schaefer wrote:
>> > Did not see a message from you on 05/11/22 ...
>>
>> That would be 2022-11-05 :)
>
> Yes, I understand European date ordering.
Ah sorry, date confusion was the only explanation that came to mind.
My bad!
--
vq
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Completion: lualatex ≠ pdflatex and xelatex
2022-11-17 0:21 ` Bart Schaefer
2022-11-17 0:31 ` Lawrence Velázquez
@ 2022-11-17 8:19 ` Denis Bitouzé
1 sibling, 0 replies; 8+ messages in thread
From: Denis Bitouzé @ 2022-11-17 8:19 UTC (permalink / raw)
To: zsh-users
Le 16/11/22 à 16h21, Bart Schaefer a écrit :
> On Wed, Nov 16, 2022 at 12:57 PM Denis Bitouzé <dbitouze@wanadoo.fr> wrote:
>>
>> no one has any idea how to solve the problem below?
>
> Did not see a message from you on 05/11/22 ...
You are forgiven :)
>> Le 05/11/22 à 17h05, Denis Bitouzé a écrit :
>>
>> > 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
>
> Yes, that's exactly the issue. Just add
>
> compdef lualatex=latex
>
> to .zshrc
Indeed, it does the trick: thanks.
Where could I ask the `zsh`'s' maintainers to add this to the default
`zsh`'s configuration?
--
Denis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Completion: lualatex ≠ pdflatex and xelatex
2022-11-17 1:19 ` Bart Schaefer
2022-11-17 2:55 ` Lawrence Velázquez
@ 2022-11-17 8:20 ` Denis Bitouzé
1 sibling, 0 replies; 8+ messages in thread
From: Denis Bitouzé @ 2022-11-17 8:20 UTC (permalink / raw)
To: zsh-users
Le 16/11/22 à 17h19, Bart Schaefer a écrit :
> Yes, I understand European date ordering. Gmail put it in spam, which
> might also be why other people didn't see it before.
Strange the message I sent yesterday wasn't considered as spam...
--
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).