Re: enhance tex-fold to include the exam class

2024-05-13 Thread Arash Esbati
Uwe Brauer writes: > Confirmed. So my init file is the culprit. Sigh, that will take some > time to debug. 👍 > Yeah, this class goes back to 199X and the author, although still active > confesses that he is not a very acquainted with modern LaTeX constructs. > Ok this is a lame excuse, but I pr

Re: enhance tex-fold to include the exam class

2024-05-13 Thread Uwe Brauer
> Uwe Brauer writes: > This is what I see with "emacs -Q" and the recipe above after running > `outline-hide-body': Confirmed. So my init file is the culprit. Sigh, that will take some time to debug. > Side note: Using \part as a command with different meaning inside the > environments provi

Re: enhance tex-fold to include the exam class

2024-05-13 Thread Arash Esbati
Uwe Brauer writes: >> Uwe Brauer writes: > > Well > > 1. I tried that setting, > > 2. Opened the file sent in an earlier message > > 3. Run outline-minor-mode > > 4. Then I run either > >1. Hide entry > >2. Or hide body > > But in no case is see > > \titledques

Re: enhance tex-fold to include the exam class

2024-05-13 Thread Uwe Brauer
> Uwe Brauer writes: Thanks! > Maybe I'm getting this wrong, but the requirement above sounds like your > looking for outlining and not folding. You could something like this: > (setq TeX-outline-extra > '(("[ \t]*titledquestion\\b" 5))) Well 1. I tried that setting, 2.

Re: enhance tex-fold to include the exam class

2024-05-13 Thread Arash Esbati
Arash Esbati writes: > Maybe I'm getting this wrong, but the requirement above sounds like your > looking for outlining and not folding. You could something like this: > > (setq TeX-outline-extra > '(("[ \t]*titledquestion\\b" 5))) > > and then activate `outline-mode' in your .tex buff

Re: enhance tex-fold to include the exam class

2024-05-13 Thread Arash Esbati
Uwe Brauer writes: > Please consider this minimal example > > \documentclass[addpoints,12pt]{exam} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > > \begin{document} > > \begin{questions} > \titledquestion{Chevalier de Méré and the dices} > \label{sec:org8ae33b2} > \droptotalpoi

master a7f80ab8: Replace `TeX-arg-eval' in style/moodle.el

2024-05-13 Thread Arash Esbati
branch: master commit a7f80ab858775cd00f76637d70504941535898ae Author: Arash Esbati Commit: Arash Esbati Replace `TeX-arg-eval' in style/moodle.el * style/moodle.el (LaTeX-moodle-question-env-with-args): Delete function. (LaTeX-moodle-answer-key-val-options): New variable.

master 600b9244: ; * NEWS.org: Fix last change.

2024-05-13 Thread Arash Esbati
branch: master commit 600b92446fd767a7888ca7924b2c34252074d7ff Author: Arash Esbati Commit: Arash Esbati ; * NEWS.org: Fix last change. --- NEWS.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS.org b/NEWS.org index 09e98daa..7a21f227 100644 --- a/NEWS.org +++