GNU bug report logs - #71690
14.0.5; preview-latex clips bold text with inline equations

Previous Next

Package: auctex;

Reported by: Matt Mitchell <matthew.mitchell <at> yale.edu>

Date: Fri, 21 Jun 2024 02:18:01 UTC

Severity: normal

Found in version 14.0.5

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 71690 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: Matt Mitchell <matthew.mitchell <at> yale.edu>, 71690 <at> debbugs.gnu.org
Subject: Re: bug#71690: 14.0.5; preview-latex clips bold text with inline
 equations
Date: Fri, 21 Jun 2024 09:15:46 +0200
Hi Keita,

Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> Thanks for your report. I confirmed what you say. This is basically a
> issue described in preview-latex manual[1]. However, the workaround
> mentioned there, namely putting
> \PreviewMacro*\textbf
> in the preamble, doesn't work because it is ignored by LaTeX as
> ,----
> | l.7 \PreviewMacro
> |                  *\textbf
> | 
> | ./tst-prv3.tex:7: LaTeX Error: Missing \begin{document}.
> `----
> . When I put \PreviewMacro*\emph after \begin{document}, document
> preview (C-c C-p C-d) does work but region preview doesn't.

Does this work in the preamble?

  \AtBeginDocument{\PreviewMacro*\textbf}

> I'll add \textbf in the default "prauctex.cfg".

Thanks for fixing this.

Best, Arash




This bug report was last modified 1 year and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.