Re: Making AUCTeX ELPA releases from the master branch
>> The "%H" above makes it output the commit hash where `Version:` was >> changed, so you can replace that with an appropriate % thingy to get >> the date instead. > Why would I need the date of the last release? Don't know. I guess I misundersood what you meant by: Instead of looking at specially formatted lines in ChangeLog, it just looks at the git diffs to check when there was a "+;; Version: ..." change in auctex.el. ... Why do you need to look at diffs? > Oh, no, one thing doesn't: the fine manuals. I've changed it so that > they stay in doc/ and there's also the dir file referencing the auctex > and preview-latex manual. Do they need to be top-level for elpa (in > which case I'd just add an elpa make target doing the move) or can I > somehow make that work? Indeed, they need to be moved: `package.el` won't see your manual if the `dir` is not in the top-level directory (and the Info viewer won't search in subdirs, so either you need the Info files to be at top-level or you need to change the `dir` file so it refers to `doc/auctex`). Our tarball build scripts can take care of building the Info files and the `dir` (and moving them as needed), so maybe you can just add :manual ("doc/auctex.texi" "doc/preview-latex.texi") to the spec and that'll do the trick (with the advantage that the manual will then also be made available at `elpa.gnu.org/packages/doc/auctex.html`). Stefan
master 23b7267e: ; * NEWS.org: Update the file.
branch: master commit 23b7267e84abb02c9b31ca9b178f1209c4df274b Author: Arash Esbati Commit: Arash Esbati ; * NEWS.org: Update the file. --- NEWS.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS.org b/NEWS.org index 6ce49b99..b0c8676a 100644 --- a/NEWS.org +++ b/NEWS.org @@ -32,7 +32,9 @@ ** Fixed -- Adjust options when processing files with ConTeXt. +- Adjust options when processing files with ConTeXt: Remove obsolete + =--texutil=, use =--synctex=repeat= and omit =--nonstop= when + ~TeX-source-correlate-mode~ is enabled. * [14.0.4] - 2024-03-31
master 03f1145c: ; * NEWS.org: Update the file.
branch: master commit 03f1145c8b22f0e349f83b53ecaee7c20432134a Author: Arash Esbati Commit: Arash Esbati ; * NEWS.org: Update the file. --- NEWS.org | 4 1 file changed, 4 insertions(+) diff --git a/NEWS.org b/NEWS.org index 9a3a0ce7..6ce49b99 100644 --- a/NEWS.org +++ b/NEWS.org @@ -30,6 +30,10 @@ (=style/biblatex.el=). - Support the =\verbatiminput*= macro (=style/verbatim.el=). +** Fixed + +- Adjust options when processing files with ConTeXt. + * [14.0.4] - 2024-03-31 ** Added
Re: tex-continuous.el: latexmk, auctex, flymake
Hi Paul, Paul Nelson writes: > I thought I'd share a package I'm hoping to eventually submit to ELPA. > It may be topical in view of the recent discussion here concerning > latexmk. I would appreciate any advice or suggestions, particularly > on ways that I could better leverage existing functionality from > AUCTeX. Thanks for sharing this. I only have a minor comment reg. compatibility with MS-Windonws: > (defcustom tex-continuous-command > "latexmk -pvc -shell-escape -pdf -view=none -e '$pdflatex=q/pdflatex %O > -synctex=1 -interaction=nonstopmode %S/'" > "Command to compile LaTeX documents." > :type 'string > :group 'tex-continuous) Will the above work on Windows? I was comparing this with examples in latexmk.pdf (texdoc latexmk) on pages 7-8. Best, Arash
master 44879847: Adjust ConTeXt options (bug#70399)
branch: master commit 44879847609f0ac14a18841a363012e5e979b8ca Author: Ikumi Keita Commit: Ikumi Keita Adjust ConTeXt options (bug#70399) * tex.el (TeX-command-list): Remove obsolete option "--texutil". * context.el (ConTeXt-expand-options): Use "repeat" for synctex option for the latest ConTeXt. Don't add nonstop option when synctex option exists. * doc/changes.texi: Mention the above changes. --- context.el | 9 +++-- doc/changes.texi | 14 ++ tex.el | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/context.el b/context.el index 29bbccd6..0d5b9adb 100644 --- a/context.el +++ b/context.el @@ -1747,8 +1747,13 @@ Use `ConTeXt-Mark-version' to choose the command." ((string= ConTeXt-Mark-version "IV") (concat (if TeX-source-correlate-mode - "--synctex=1 ") - (unless TeX-interactive-mode + "--synctex=repeat ") + ;; Omit nonstop option when we set synctex option. According to + ;; Jim in bug#70399 report, + ;; "if context is called with "--nonstopmode" (or "--nonstop") + ;; the "--synctex=..." request to create a synctex file is + ;; over-ridden." + (unless (or TeX-interactive-mode TeX-source-correlate-mode) ConTeXt-texexec-option-nonstop))) ;; In any other case fall back on Mark II. (t diff --git a/doc/changes.texi b/doc/changes.texi index 098195ac..cae91aa2 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -187,6 +187,20 @@ In Fold mode, the original source text is revealed when you click the folded portion by mouse. You can customize the detailed behavior by new customize option @code{TeX-fold-auto-reveal}. +@item +@AUCTeX{} adjusts @ConTeXt{} option. +@itemize @minus +@item +Obsolete option @option{--texutil} was removed. +@item +Now synctex option is @option{--synctex=repeat} instead of +@option{--synctex=1} for @ConTeXt{}. +@item +@AUCTeX{} omits @option{--nonstop} option when +@code{TeX-source-correlate-mode} is enabled because @command{context} +ignores @option{--synctex} option if @option{--nonstop} is present. +@end itemize + @item @AUCTeX{} now requires GNU Emacs 27.1 or higher. @end itemize diff --git a/tex.el b/tex.el index 2ab35875..985cb71e 100644 --- a/tex.el +++ b/tex.el @@ -211,7 +211,7 @@ If nil, none is specified." TeX-run-TeX nil (AmSTeX-mode) :help "Run AMSTeX") ;; support for ConTeXt --pg ;; first version of ConTeXt to support nonstopmode: 2003.2.10 -("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" +("ConTeXt" "%(cntxcom) --once %(extraopts) %(execopts)%t" TeX-run-TeX nil (ConTeXt-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil