Bug#1008257: lyx: bash-completion not working

Hernán Gustavo Solari hgsolari at gmail.com
Sun Mar 27 16:05:20 UTC 2022


I have extended the completion for lyx. This is not a bug fix, though.

The uses I see for lyx on a terminal are:
a. lyx my.lyx
b. lyx -i latex|xetex|luatex my.tex
c. lyx my.lyx -e pdflatex|tex|xetex|luatex|xhtml
d. lyx my.lyx -E pdflatex|tex|xetex|luatex|xhtml my.pdf|my.tex|my.xhtml

a. standard use and most frequent
b. import my.tex into a lyx file
c. export my.lyx into a tex file or produce the pdf with pdflatex
d. export renamming the output

the switches -E and -i require completions (for the filename) which are
not in *lyx

I have added completion lines for (b) and (d)

Hernán

El Sun, 27 Mar 2022 11:20:59 +0200
Pavel Sanda <sanda at lyx.org> escribió:
> On Sat, Mar 26, 2022 at 09:36:47AM -0300, Hernán Gustavo Solari wrote:
> > Great!
> > 
> >  Somebody knowlegeable in bash-completion and the lyx command line
> > should look to the lyx-completion-script  
> 
> All patches are welcome :)
> Pavel



-- 
Hernán G Solari
http://users.df.uba.ar/solari/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bash_completion
Type: application/octet-stream
Size: 2760 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220327/a5d601bc/attachment.obj>


More information about the lyx-devel mailing list