Re: Request for Features in DocTeX mode

2023-03-27 Thread David Kastrup
Jan Braun writes: > > \newpage > %\end{macrocode} > % @ > %\begin{macrocode} > > I wrote myself a tiny lisp function, but this has still some bugs, > which I wasn’t able to fix yet :-( You can try C-a C-o % C-u C-c ] as a first approximation. -- David Kastrup

Request for Features in DocTeX mode

2023-03-27 Thread Jan Braun
Hi everyone, recently I found into the beauty of programming new LaTeX styles by the help of DocTeX. I think AUCTeX is the most efficient tool to write LaTeX related code but the DocTeX mode is missing most of AUCTeX normaly used features. Let me explain this. When in LaTeX mode, you can use

Re: problems with thmstools (and automatic insertion of labels (reftex)

2023-03-27 Thread Uwe Brauer
>>> "AE" == Arash Esbati writes: > Uwe Brauer writes: >> In a moment because right now I have a more pressing problem: >> >> I put >> (add-to-list 'LaTeX-label-alist '("cor" . "cor:")) > This should also go into a hook, but I think you really should solve > this differently. >> To my reftex_

Re: problems with thmstools (and automatic insertion of labels (reftex)

2023-03-27 Thread Arash Esbati
Uwe Brauer writes: > That patch works fine, apply it please Thanks, pushed with commit 1adb687a9d. Best, Arash

master 1adb687a: Fix query of optional arguments

2023-03-27 Thread Arash Esbati
branch: master commit 1adb687a9d8816763c787abf751367925788b909 Author: Arash Esbati Commit: Arash Esbati Fix query of optional arguments * style/thmtools.el (LaTeX-thmtools-env-label): Add ?\r (RET) to list of valid chars for input. --- style/thmtools.el | 12 1 fi

Re: problems with thmstools (and automatic insertion of labels (reftex)

2023-03-27 Thread Arash Esbati
Uwe Brauer writes: > In a moment because right now I have a more pressing problem: > > I put > (add-to-list 'LaTeX-label-alist '("cor" . "cor:")) This should also go into a hook, but I think you really should solve this differently. > To my reftex_init file, because it is then more convenient

Re: problems with thmstools (and automatic insertion of labels (reftex)

2023-03-27 Thread Uwe Brauer
>>> "AE" == Arash Esbati writes: > Uwe Brauer writes: > "AE" == Arash Esbati writes: >> >> Well what I mean I hit RET and *nothing* happens, no environment is >> inserted, so I have to chose another option. > Ah, I think now I understand. Can you please apply this patch to > thmtools.el