惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
爱范儿
爱范儿
小众软件
小众软件
MyScale Blog
MyScale Blog
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
V
V2EX
量子位
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler
C
Check Point Blog
月光博客
月光博客

elpa/gnu.git, branch externals/auctex

Release GNU AUCTeX 14.2.0 - elpa/gnu.git * latex.el (LaTeX-what-macro): Fix chars to skip backwards. - elpa/gnu.git * tex-ispell.el: Consolidate regexp for tabular environments. - elpa/gnu.git ; * latex.el (LaTeX-what-macro): Fix last change. - elpa/gnu.git * latex.el (LaTeX-what-macro): Improve macro recognition. - elpa/gnu.git Preserve `crm--choose-completion-string' - elpa/gnu.git - GNU ELPA Accept '-' as macro modifier - elpa/gnu.git Add new styles - elpa/gnu.git ; * tex-info.el (outline-heading-alist): Silence the compiler. - elpa/gnu.git Update style/simpleicons.el to package v16.29.0 - elpa/gnu.git Update NEWS.org for new preview feature - elpa/gnu.git Robustify check for escaped math switches/togglers - elpa/gnu.git Fix custom prompt with a default-value - elpa/gnu.git Fix prompt with a default-value - elpa/gnu.git Make `TeX-listify' an obsolete alias - elpa/gnu.git Fix 'syntax-propertize because of narrowing!' error - elpa/gnu.git Update style/ltx-talk.el to class v0.6.0 - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA Return context for RefTeX also for macros - elpa/gnu.git ; Fix last change - elpa/gnu.git Add in-buffer completion for citation keys - elpa/gnu.git ; Adjust Copyright years - elpa/gnu.git Improve query of the optional float placement - elpa/gnu.git Sort predefined environment hooks - elpa/gnu.git Sort predefined hooks - elpa/gnu.git Allow additional properties for in-buffer completion - elpa/gnu.git
elpa/gnu.git - GNU ELPA
2026-03-31 · via elpa/gnu.git, branch externals/auctex
authorArash Esbati <arash@gnu.org>2026-03-31 09:11:08 +0200
committerArash Esbati <arash@gnu.org>2026-03-31 09:13:44 +0200
commitf0f80f5bfd678fbd58cfeb8e8db472e442b69522 (patch)
tree727cec3ba23831057580088ab770b313a1eea58c
parentf67a5341788fda4fce977be52fa5128188da1fcb (diff)

Improve style/standalone.el

* style/standalone.el ("standalone"): Add \fi after \ifstandalone(beamer)? macros. Fix the name of value "image|key".

-rw-r--r--style/standalone.el16

1 files changed, 8 insertions, 8 deletions

diff --git a/style/standalone.el b/style/standalone.el
index b11d3f99ddd..0aecb8081be 100644
--- a/style/standalone.el
+++ b/style/standalone.el

@@ -1,6 +1,6 @@

;;; standalone.el --- AUCTeX style for `standalone.cls|sty' -*- lexical-binding: t; -*-

-;; Copyright (C) 2024 Free Software Foundation, Inc.

+;; Copyright (C) 2024--2026 Free Software Foundation, Inc.

;; Author: Arash Esbati <arash@gnu.org>

;; Maintainer: auctex-devel@gnu.org

@@ -33,9 +33,7 @@

(require 'latex)

;; Silence the compiler:

-(declare-function font-latex-add-keywords

- "font-latex"

- (keywords class))

+(declare-function font-latex-add-keywords "font-latex" (keywords class))

(defun LaTeX-standalone-auto-cleanup ()

"Parse the value of \"class\" key and run the appropriate style hook."

@@ -53,8 +51,10 @@

;; General macros/env's provided by the class and the package:

(TeX-add-symbols

- '("ifstandalonebeamer" 0)

- '("ifstandalone" 0))

+ '("ifstandalonebeamer"

+ TeX-arg-set-exit-mark (TeX-arg-literal "\\fi"))

+ '("ifstandalone"

+ TeX-arg-set-exit-mark (TeX-arg-literal "\\fi")))

;; Fontification:

(when (and (featurep 'font-latex)

@@ -101,7 +101,7 @@

(TeX-add-symbols

'("standaloneconfig"

(TeX-arg-key-val (("group" ("true" "false"))

- ("mode" ("tex" "image" "tex|image" "build"

+ ("mode" ("tex" "image" "image|tex" "build"

"buildmissing" "buildnew"))

("extension")

("build"))))

@@ -109,7 +109,7 @@

[TeX-arg-key-val (lambda ()

(append (LaTeX-graphicx-key-val-options)

'(("group" ("true" "false"))

- ("mode" ("tex" "image" "tex|image" "build"

+ ("mode" ("tex" "image" "image|tex" "build"

"buildmissing" "buildnew"))

("extension")

("build"))))]