GNU bug report logs - #68992
13.3.0; not displaying \newcommand defintions

Previous Next

Package: auctex;

Reported by: Sabarish V M <sabarish.science <at> gmail.com>

Date: Thu, 8 Feb 2024 16:37:02 UTC

Severity: normal

Tags: unreproducible

Found in version 13.3.0

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sabarish V M <sabarish.science <at> gmail.com>
To: 68992 <at> debbugs.gnu.org
Subject: bug#68992: 13.3.0; not displaying \newcommand defintions
Date: Thu, 8 Feb 2024 15:40:07 +0100
Hi,

The preview latex package does not render the "\newcommand" macros
properly.

Example,

\documentclass{template}
\title{Some title}
\author{XXX}
\begin{document}
\maketitle

\include{symbols} % The file contains all the macros defined
% It contains,
% \newcommand{\kb}{k_{\mathrm{B}}}
% \renewcommand{\d}{\mathrm{d}}

From classical Boltzmann statistics we know that the probability for finding any
particle in a given state $i$ is,
\[ \frac{N_i}{N} = \frac{\exp \left( - E_i / \kb T \right)}{Z\kb \d } \]
\include{chapters/01.introduction}
\include{chapters/appendix}

\end{document}

The symbol \kb and \d are not rendered at all. Sometimes they are
rendered and other times it throws an error saying "undefined symbols”.

Best,
Sabarish.



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

Previous Next


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