Re: Trigger Tex file compilation with latexmk automatically when its content is changed and saved.

2023-05-04 Thread Ikumi Keita
Hi Hongyi, > Hongyi Zhao writes: > But after the TeX file has been changed and saved, I still haven't > observed the automatic compilation progress. Any tips/comments will be > appreciated. I'm not familiar with `use-package', so I'd like to ask some questions. (1) Does "latexmk -pv

Re: LaTeX commands and packages names autocomplete.

2023-05-04 Thread Hongyi Zhao
On Tue, May 2, 2023 at 1:30 PM Arash Esbati wrote: > > Hongyi Zhao writes: > > > My current configuration: > > > > (use-package company-math > > :hook > > ;; This will enable the company-math backend for LaTeX mode > > (LaTeX-mode . (lambda () > > (setq-local company-backends > >

Re: LaTeX commands and packages names autocomplete.

2023-05-04 Thread Hongyi Zhao
On Thu, May 4, 2023 at 11:40 PM Hongyi Zhao wrote: > > On Thu, May 4, 2023 at 10:54 PM Hongyi Zhao wrote: > > > > On Tue, May 2, 2023 at 1:30 PM Arash Esbati wrote: > > > > > > Hongyi Zhao writes: > > > > > > > My current configuration: > > > > > > > > (use-package company-math > > > > :hook

Re: LaTeX commands and packages names autocomplete.

2023-05-04 Thread Hongyi Zhao
On Thu, May 4, 2023 at 10:54 PM Hongyi Zhao wrote: > > On Tue, May 2, 2023 at 1:30 PM Arash Esbati wrote: > > > > Hongyi Zhao writes: > > > > > My current configuration: > > > > > > (use-package company-math > > > :hook > > > ;; This will enable the company-math backend for LaTeX mode > > >

Re: LaTeX commands and packages names autocomplete.

2023-05-04 Thread Arash Esbati
Hongyi Zhao writes: > I should have also uncommented the above line. But even so, I have the > following problems: > > 1. I must at least type 3 letters to trigger the completion. ,[ C-h v corfu-auto-prefix RET ] | corfu-auto-prefix is a variable defined in ‘corfu.el’. | | Its value is 3 |

Re: Set the variable bibtex-completion-bibliography used by helm-bibtex to the dynamical generated bib files list corresponding to the current master tex file.

2023-05-04 Thread Hongyi Zhao
On Wed, May 3, 2023 at 8:08 AM Hongyi Zhao wrote: > > On Wed, May 3, 2023 at 1:55 AM Mandar Mitra wrote: > > > > Hongyi Zhao wrote (Tue, May 02, 2023 at 10:03:23PM +0800): > > > The example setting of this variable is as follows: > > > > > > (setq bibtex-completion-bibliography

Re: LaTeX commands and packages names autocomplete.

2023-05-04 Thread Hongyi Zhao
On Fri, May 5, 2023 at 2:18 AM Arash Esbati wrote: > > Hongyi Zhao writes: > > > I should have also uncommented the above line. But even so, I have the > > following problems: > > > > 1. I must at least type 3 letters to trigger the completion. > > ,[ C-h v corfu-auto-prefix RET ] > |

Re: LaTeX commands and packages names autocomplete.

2023-05-04 Thread Hongyi Zhao
On Fri, May 5, 2023 at 7:58 AM Hongyi Zhao wrote: > > On Fri, May 5, 2023 at 2:18 AM Arash Esbati wrote: > > > > Hongyi Zhao writes: > > > > > I should have also uncommented the above line. But even so, I have the > > > following problems: > > > > > > 1. I must at least type 3 letters to

bug#63228: 13.2.0; TeX-auto-generate-global TeX-auto-parse-region: Wrong type argument: stringp, nil

2023-05-04 Thread Ikumi Keita
Hi Sebastian, > Sebastian Drude writes: > But then, after parsing quite a number of files, the parser stops > while parsing many files with the error message > "TeX-auto-parse-region: Wrong type argument: stringp, nil" > When I move the offending file from its directory in >

Re: Expanding AUCTeX's Math Minor Mode

2023-05-04 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > after the discussion in this thread[1] reg. completion for math symbols, > I was thinking if we should expand AUCTeX's math minor mode for other > packages than AMSMATH. I played with it briefly and I think for > wasysym, the following change does the

bug#63228: 13.2.0; TeX-auto-generate-global TeX-auto-parse-region: Wrong type argument: stringp, nil

2023-05-04 Thread Sebastian Drude
Thanks to both, Ikumi and Arash, For giving me your advice. Over the weekend, I will try a fresh installation and proceed as you indicate. If necessary, I would come back to you next week. Thanks a lot again! Sebastian -- Museu P.E. Goeldi, CCH, Linguistica ▪ Av. Perimetral, 1901 Terra

master 7a347cd3 2/4: Remove compatibility code for Emacs<26

2023-05-04 Thread Ikumi Keita
branch: master commit 7a347cd39464b841c9249d7f31de5b9140f7d7cb Author: Ikumi Keita Commit: Ikumi Keita Remove compatibility code for Emacs<26 * latex.el (latex-flymake, TeX-latex-mode): Support flymake always. * style/dinbrief.el (LaTeX-dinbrief-style):

master 5bfc2cb6 3/4: Clean up ConTeXt mode

2023-05-04 Thread Ikumi Keita
branch: master commit 5bfc2cb68a3afd188b4851335c84aafd97f6defc Author: Ikumi Keita Commit: Ikumi Keita Clean up ConTeXt mode * context-en.el (ConTeXt-en-mode-initialization): * context-nl.el (ConTeXt-nl-mode-initialization): Revise comments. * context.el

master 2017d97b 1/4: Rewrite *-unload-hook to *-unload-function

2023-05-04 Thread Ikumi Keita
branch: master commit 2017d97b0e74a9edb92091bafcf2c4db6768599b Author: Ikumi Keita Commit: Ikumi Keita Rewrite *-unload-hook to *-unload-function * tex-site.el.in (tex-site-unload-function): According to loadhist.el, *-unload-hook is obsolete. Use *-unload-function

master c67f5d75: ; * Makefile.in (STYLESRC): Fix last change.

2023-05-04 Thread Arash Esbati
branch: master commit c67f5d75b2111cf49f2832deb4dcf4fe7407cff3 Author: Arash Esbati Commit: Arash Esbati ; * Makefile.in (STYLESRC): Fix last change. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index ef64fff5..18c79222

master c64c8a26: Add support for wasysym package

2023-05-04 Thread Arash Esbati
branch: master commit c64c8a26eb45414f2774d8c3b63bd320564c75a0 Author: Arash Esbati Commit: Arash Esbati Add support for wasysym package * latex.el (LaTeX-math-menu): Add "Wasysym" to the list. (LaTeX-math-default): Support math symbols provided by the wasysym package.

master 6439edca 4/4: Clean up Texinfo mode

2023-05-04 Thread Ikumi Keita
branch: master commit 6439edca63b1afb4c68b69c8c78d9710898c67d2 Author: Ikumi Keita Commit: Ikumi Keita Clean up Texinfo mode * tex-info.el (Texinfo-mode-menu): Use `Texinfo-insert-node' instead of `texinfo-insert-@node'. (TeX-texinfo-mode): Fix value of `TeX-header-end' and

master updated (7e420cff -> 6439edca)

2023-05-04 Thread Ikumi Keita
ikumi pushed a change to branch master. from 7e420cff ; * style/soul.el ("soul"): Use `LaTeX-soul-auto-cleanup'. new 2017d97b Rewrite *-unload-hook to *-unload-function new 7a347cd3 Remove compatibility code for Emacs<26 new 5bfc2cb6 Clean up ConTeXt mode

Re: Expanding AUCTeX's Math Minor Mode

2023-05-04 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Looks nice. Thanks for looking at this. > It is basically a good idea. Let's hope that there are volunteers who > make new entries in a suitable form for AUCTeX. :-) Yes, that would be great. And that Someone™ could also adjust the entries in

font-latex.el: Introducing new keyword class 'function-noarg'

2023-05-04 Thread Arash Esbati
Hi all, there is a fixme in function class of `font-latex-built-in-keyword-classes' which says: ;; XXX: Should macros without arguments rather be listed in a ;; separate category with 'noarg instead of 'command handling? The way I see it, fixing this should be easy. Does anybody object if