From unknown Sat Jun 21 10:42:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68992: 13.3.0; not displaying \newcommand defintions Resent-From: Sabarish V M Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Thu, 08 Feb 2024 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68992 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 68992@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170741016621616 (code B ref -1); Thu, 08 Feb 2024 16:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2024 16:36:06 +0000 Received: from localhost ([127.0.0.1]:33477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY7Ne-0005cZ-1C for submit@debbugs.gnu.org; Thu, 08 Feb 2024 11:36:06 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY5a0-0001et-PX for submit@debbugs.gnu.org; Thu, 08 Feb 2024 09:40:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY5Zf-00079L-91 for bug-auctex@gnu.org; Thu, 08 Feb 2024 09:40:24 -0500 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rY5Zd-0001Jb-Jp for bug-auctex@gnu.org; Thu, 08 Feb 2024 09:40:22 -0500 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-55f279dca99so2948570a12.3 for ; Thu, 08 Feb 2024 06:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707403219; x=1708008019; darn=gnu.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=HL9M3aTtjtEDclgjxXtyTBXIzvixdmaN1KWeuyqlOQY=; b=kbT5SwuXajuhjGmb03vV8CbnVj2ETV34S8guV6FU+7rLJ5Nux5m/FY3yeVLUQkXkbp M51gJUSIlE3T3gilv95Fz+jaUfOQza2frindQNE56G+qqt/v+TEld8KzSJyckL7nYbQU yCFukq3MJNYPN+7ICRQIUgaRuZaCgCT/EBUZ/AfHQqv9drvkIKyXHTrepa/cwEgVb0LX f/N09n/xUeIz4KqZ8RGv+66uLEWcEixGYt0asVs0erglQOsRuIYDDcHFCoYjwQjj7RSY VRuYLOlNIUvnpGSLyMRfgp23URcPZMZ3ZX464kRU/NcdFxE93LI+DfifecZzOHjpwnI+ 4FWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707403219; x=1708008019; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HL9M3aTtjtEDclgjxXtyTBXIzvixdmaN1KWeuyqlOQY=; b=qFNvKbTo+3NTNuRB6HIdQtADrsjUXYTukIZT4Xk5XV9/HvHMtMML1PUjMFBHEBHXQS SENpGGBW9tX0XV/g3CVhDgYLWGWCetjqWCBs0tKnpD8zsfgUX18BDNOhlQ6udwZPD07S gxYKO/foUlJbjnyWuzjJhCcHQxrqhgNotRIitZCPO3sGD357KdW7lQ0sdlQozVoI6yt3 vgVdxs+/OfXKEfIZE2duUnaZZuxwvMVvWAErjWvTYtFNqN3FjonGY2OUnStBal0zu4us fYJh7NmfqWlXHHh5F7ku7KAlT3X0Ocl+n+A1iT2QhD0zEx+bF1tBdUVx/sZxtU4s1lYa ZFgg== X-Gm-Message-State: AOJu0YwesBz8zwjEkWb4ufXeaKjseIJIEx2r09pJp2j75XZ9IkgAodG1 n+YXyzH6wVtGir7wrR+mjr/8OCV9JUSYSKU1lUO0XVUKvhLzhjJ8SH1Tqcwi X-Google-Smtp-Source: AGHT+IG1avIDDyxdAbQBAogO+Tm7ngET2t0U6f8NHjT50MqTu/uXwdWizLJ6lxf8SF+aVZSQBvNMag== X-Received: by 2002:a05:6402:344a:b0:55f:e2be:ec0e with SMTP id l10-20020a056402344a00b0055fe2beec0emr6835200edc.1.1707403219103; Thu, 08 Feb 2024 06:40:19 -0800 (PST) Received: from smtpclient.apple (mb17.hs.uni-hamburg.de. [134.100.121.17]) by smtp.gmail.com with ESMTPSA id a15-20020aa7cf0f000000b0055fed0e2017sm877631edy.16.2024.02.08.06.40.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2024 06:40:18 -0800 (PST) From: Sabarish V M Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Message-Id: Date: Thu, 8 Feb 2024 15:40:07 +0100 X-Mailer: Apple Mail (2.3774.300.61.1.2) Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=sabarish.science@gmail.com; helo=mail-ed1-x52e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Thu, 08 Feb 2024 11:36:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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}} =46rom classical Boltzmann statistics we know that the probability for = finding any particle in a given state $i$ is, \[ \frac{N_i}{N} =3D \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=E2=80=9D. Best, Sabarish.= From unknown Sat Jun 21 10:42:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68992: 13.3.0; not displaying \newcommand defintions Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 09 Feb 2024 10:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68992 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Sabarish V M Cc: 68992@debbugs.gnu.org Received: via spool by 68992-submit@debbugs.gnu.org id=B68992.17074729522975 (code B ref 68992); Fri, 09 Feb 2024 10:03:02 +0000 Received: (at 68992) by debbugs.gnu.org; 9 Feb 2024 10:02:32 +0000 Received: from localhost ([127.0.0.1]:51155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYNiK-0000lt-8p for submit@debbugs.gnu.org; Fri, 09 Feb 2024 05:02:32 -0500 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:37028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYNiH-0000la-Tj for 68992@debbugs.gnu.org; Fri, 09 Feb 2024 05:02:31 -0500 Received: from localhost (42-144-34-11.rev.home.ne.jp [42.144.34.11]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id 2652F5F; Fri, 9 Feb 2024 19:02:11 +0900 (JST) From: Ikumi Keita In-reply-to: References: Comments: In-reply-to Sabarish V M message dated "Thu, 08 Feb 2024 15:40:07 +0100." X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 29.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <93528.1707472929.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Fri, 09 Feb 2024 19:02:09 +0900 Message-ID: <93529.1707472929@localhost> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Sabarish, >>>>> Sabarish V M writes: > 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 fin= ding any > particle in a given state $i$ is, > \[ \frac{N_i}{N} =3D \frac{\exp \left( - E_i / \kb T \right)}{Z\kb \d } = \] > \include{chapters/01.introduction} > \include{chapters/appendix} > \end{document} This document doesn't typeset for me because my TeX Live 2023 doesn't have "template" class. After I replaced \documentclass{template} with \documentclass{article} , I can both typeset and use preview-latex for the files quoted below. Hence I suppose that the issue isn't related directly to \newcommand and suspect there is something incompatible with preview-latex in the non-standard class file template.cls. --- foo.tex ---------------------------------------------------------- \documentclass{article} \title{Some title} \author{XXX} \begin{document} \maketitle \include{symbols} =46rom classical Boltzmann statistics we know that the probability for fin= ding any particle in a given state $i$ is, \[ \frac{N_i}{N} =3D \frac{\exp \left( - E_i / \kb T \right)}{Z\kb \d } \] \end{document} ---------------------------------------------------------------------- --- symbols.tex ------------------------------------------------------ \newcommand{\kb}{k_{\mathrm{B}}} \renewcommand{\d}{\mathrm{d}} %%% Local Variables: %%% mode: LaTeX %%% TeX-master: "foo" %%% End: ---------------------------------------------------------------------- Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW From unknown Sat Jun 21 10:42:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68992: 13.3.0; not displaying \newcommand defintions Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 06 Mar 2024 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68992 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Ikumi Keita Cc: 68992@debbugs.gnu.org, Sabarish V M Received: via spool by 68992-submit@debbugs.gnu.org id=B68992.170975558212921 (code B ref 68992); Wed, 06 Mar 2024 20:07:02 +0000 Received: (at 68992) by debbugs.gnu.org; 6 Mar 2024 20:06:22 +0000 Received: from localhost ([127.0.0.1]:51629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxWw-0003ML-84 for submit@debbugs.gnu.org; Wed, 06 Mar 2024 15:06:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxWt-0003M7-O7 for 68992@debbugs.gnu.org; Wed, 06 Mar 2024 15:06:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhxWE-0007df-P5; Wed, 06 Mar 2024 15:05:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=jB7EilM5OdqsOUUVW5zWdyE45l72bJUrdxdYEuNIxRU=; b=OcCJOiJApt/mFszk1fJ1 9vGoasU5d1zlD+bb98lATPIGTS96taJrmbOXrcpMZyyzL0PMY9Mq/Ag8oqeBf9Vf3eXeKnfcdhi41 1Skvl9o5qpYyN1x1cIxmGlxuYpJ3tRdzU74T4SOGaMU3NgAsGecA7qkpYTM4Gy4J0Pxxk8fvSRcf6 vL36iggvoRhgJzGcVowoNuDSl4eZYvCymvsZRqq6CZhoWa4tcOn7TO+8omM8Kh6/g8WvdjkKZ2qe2 m9O2S6zERrAHFSxCFUQKkpjEBTjm1fC1ZpSF9va97phGjLkf3/pAXNA3HPMo3yVk2kwTWjvFGaXXO JxjNjBxHaUf1IQ==; From: Arash Esbati In-Reply-To: <93529.1707472929@localhost> (Ikumi Keita's message of "Fri, 09 Feb 2024 19:02:09 +0900") References: <93529.1707472929@localhost> Date: Wed, 06 Mar 2024 21:05:18 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: > Hi Sabarish, > >>>>>> Sabarish V M writes: >> 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} > > This document doesn't typeset for me because my TeX Live 2023 doesn't > have "template" class. After I replaced > \documentclass{template} > with > \documentclass{article} > , I can both typeset and use preview-latex for the files quoted below. > Hence I suppose that the issue isn't related directly to \newcommand and > suspect there is something incompatible with preview-latex in > the non-standard class file template.cls. > > --- foo.tex ---------------------------------------------------------- > \documentclass{article} > \title{Some title} > \author{XXX} > \begin{document} > \maketitle > > \include{symbols} > > 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 } \] > > \end{document} > ---------------------------------------------------------------------- > > --- symbols.tex ------------------------------------------------------ > \newcommand{\kb}{k_{\mathrm{B}}} > \renewcommand{\d}{\mathrm{d}} > > %%% Local Variables: > %%% mode: LaTeX > %%% TeX-master: "foo" > %%% End: > ---------------------------------------------------------------------- No further comments, therefore I'm closing this report. We can reopen if necessary. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 06 15:06:43 2024 Received: (at control) by debbugs.gnu.org; 6 Mar 2024 20:06:43 +0000 Received: from localhost ([127.0.0.1]:51635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxXB-0003N4-Mp for submit@debbugs.gnu.org; Wed, 06 Mar 2024 15:06:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxX5-0003MX-Qn for control@debbugs.gnu.org; Wed, 06 Mar 2024 15:06:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhxWV-0007gW-HN for control@debbugs.gnu.org; Wed, 06 Mar 2024 15:05:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=NVucs4Jq5RoziHTqQ8NboND4CVYhY7lDq+uv3z/4G50=; b=lgMvLGC2bzQLLm 1FjUNYuVY0lfSc5zvzKkln1JdWOoaGW/epTPUBhBSUt+43g29kiSDh3XQbJGFFMVIL12LhfNvH1FJ 8TBl7ycHGBppt5TcJvXpRnc6kIIvO0Pp4IESraMLObaklVNflEix3y0ynfm0ds1WMGKzZxYvgUtV3 SUQdroZYWDgQxysv/+SjUYL7eXDqL5Lw5TZ3FUTQ69/6Lsfe2AUKt9jbKWhaF3f/4ZwbfZHyxoUZV XQzFzoJA623JAdqvRqwr5ifQCyFiDXa8Gah/DYoyGNV9H1snjocG5X0MSTODfmWRVKdlG36JvIPJN c4znKPrM40sxqkvfK3mg==; From: Arash Esbati To: control@debbugs.gnu.org Subject: control message for bug #68992 Date: Wed, 06 Mar 2024 21:05:50 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 68992 unreproducible close 68992 quit From unknown Sat Jun 21 10:42:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68992: 13.3.0; not displaying \newcommand defintions Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 06 Mar 2024 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68992 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: unreproducible To: Sabarish V M Cc: Ikumi Keita , 68992@debbugs.gnu.org Received: via spool by 68992-submit@debbugs.gnu.org id=B68992.170975700726007 (code B ref 68992); Wed, 06 Mar 2024 20:31:01 +0000 Received: (at 68992) by debbugs.gnu.org; 6 Mar 2024 20:30:07 +0000 Received: from localhost ([127.0.0.1]:51700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxtv-0006lP-1W for submit@debbugs.gnu.org; Wed, 06 Mar 2024 15:30:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxtu-0006kU-0q for 68992@debbugs.gnu.org; Wed, 06 Mar 2024 15:30:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhxtH-0007M2-Ed; Wed, 06 Mar 2024 15:29:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=PI0pHF8KRykSkJ0IxRdCx+dQv6iQW3zG6lhMvU33dRI=; b=b7oYUmdKEqZwJSEQ4fNV iGo26aC3lb481ej2LTEs9e65DTQOz3uz6V7iwFx+pTTMkJm5eBc5Kx4F9pbPYfFY6U4bML4s+Qqpk 73oT3QfKzTyYDk78vGq6WCo6L/OacUOnP3Uec+7z8UIqKZz1It4ZMjSqdNmZq6R8Bl/NPleFMK/sT Jyp//a3rqBqSCk8mtiW54TYEvkBe8KZrx9CHaxEaT05CgaK8X/2rL5dh2ulQpDiqQ3FLbiZNrlaNy 3Rtn1hgn3UpvueXCdwVpkrXaANE5tljxDpKbTcG5wnhZGguDnAsZr6C4p/IXcgI2sxUaF69TmVtXV 7CpM6j32ev6z9g==; From: Arash Esbati In-Reply-To: <4C4DC57A-A511-4E53-A2E8-9148AF9A9E6B@gmail.com> (Sabarish V. M.'s message of "Wed, 6 Mar 2024 21:13:30 +0100") References: <93529.1707472929@localhost> <4C4DC57A-A511-4E53-A2E8-9148AF9A9E6B@gmail.com> Date: Wed, 06 Mar 2024 21:29:12 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Sabarish V M writes: > Thank you the reply and support. Apologies for not getting back > earlier. So it turns out that recompiling preview latex for the entire > document is required. I always previewed the file only/ buffer > only. Therefore it never worked. Thanks for your response; so this is sorted out. Best, Arash From unknown Sat Jun 21 10:42:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68992: 13.3.0; not displaying \newcommand defintions Resent-From: Sabarish V M Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 06 Mar 2024 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68992 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: unreproducible To: Arash Esbati Cc: Ikumi Keita , 68992@debbugs.gnu.org Received: via spool by 68992-submit@debbugs.gnu.org id=B68992.170976163122467 (code B ref 68992); Wed, 06 Mar 2024 21:48:02 +0000 Received: (at 68992) by debbugs.gnu.org; 6 Mar 2024 21:47:11 +0000 Received: from localhost ([127.0.0.1]:51803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhz6T-0005qD-TB for submit@debbugs.gnu.org; Wed, 06 Mar 2024 16:47:10 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:45451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxfb-0004Ix-4Z for 68992@debbugs.gnu.org; Wed, 06 Mar 2024 15:15:21 -0500 Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-565ef8af2f5so134210a12.3 for <68992@debbugs.gnu.org>; Wed, 06 Mar 2024 12:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709756022; x=1710360822; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=uhltawUN/ZB+Y0S+GresmyasaJI6fKxT/izPJxy+Fr0=; b=mRzdtrYOIuXEsAlkq7LcvG6+xpbulG5JN9nJNKKQiGv/ZInU5BReWrAaxCY9Xb002k jVkhkbPOcSlCwEMT2zI3rnXzP/MtB+UJwjo3P9bee44eMHtRiQEHyVcEdePTpFnWdWuB lZ+fO2lQ0e73xLT402fE8axtt4igCOWLNh6S+g99Qqsu3buvWtIKtZ3EQYTiE2mceR+Y aTWYtO/Z0WVZRCBsI//Umm6HEqAw3nmBNUaziMrRJKKt7BGFSq3l8Fs5pOFW3H4EkAi9 o8zoandWgdwb0E7bGaTW60jQS98tz0r4BwEvQKMfInF0rJ6R2zwTGSHQGxlbBAs8QK3j gt8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709756022; x=1710360822; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uhltawUN/ZB+Y0S+GresmyasaJI6fKxT/izPJxy+Fr0=; b=W94+ZnVAcugk69TcTG26qgcWKOTuVIZhNepxqXfwT6t+sE22q/+4/u4wkcyLKN/8vx SbNSCjP1DxM+7WnxQ/JBJEkXzHcgHdeSI5BV8LmZj/BBFga8Uigle2DlSJHb6zbcTP8t 2EnafqB/UOiisvENjh9AFRwXajxu5gugoRAzMZsJDrBDezkwXPRgbDXY6p4FXzCUENgh 1LDFP2VL9jqulIHNvDhqcm8J++E83GyJPlE9PusXJ1rNhjuN4j3T9Is2+gnlX+k2lubn 4F6UuXcGl96ttClVdZYAXK/2mm9W/fxoOdQfSDWxWBCrYuzegVse0hLj+ATED6554rQ0 5GHw== X-Forwarded-Encrypted: i=1; AJvYcCXTy8qtjkhiXCD9rzGcUuvwHOUCJjMWjIDdvmEabgXvyF8Li+grzareziF9oRPwRKGBebdHgSVBHCDHh22zQc5RF8k/8ZY= X-Gm-Message-State: AOJu0Yxt8El907pzgop5d5swzh/JFy8FfsQPaEsFy+F8yu1KJ7Ko/dnO kXB4+H3AYBAi6BXK3gFkp8wzjKni5d5QPqh+wJBjPQjNdhUFVJ9T X-Google-Smtp-Source: AGHT+IEONO3ewj87sLByQ88XL7su7KGDTJsEcR6Qi3klfYRmUKALZ5Oo7JI/LFXpmGtPPjHWnoQSRQ== X-Received: by 2002:a05:6402:1c8b:b0:565:b4ca:72f3 with SMTP id cy11-20020a0564021c8b00b00565b4ca72f3mr11043591edb.35.1709756021790; Wed, 06 Mar 2024 12:13:41 -0800 (PST) Received: from smtpclient.apple ([2a00:1f:e680:cd01:413d:ceb:e93d:b425]) by smtp.gmail.com with ESMTPSA id p8-20020a05640243c800b00567fd12c7f8sm564522edc.60.2024.03.06.12.13.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2024 12:13:41 -0800 (PST) From: Sabarish V M Message-Id: <4C4DC57A-A511-4E53-A2E8-9148AF9A9E6B@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_95E6A598-6B2A-4A22-BC21-751A53FAC4D2" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Date: Wed, 6 Mar 2024 21:13:30 +0100 In-Reply-To: References: <93529.1707472929@localhost> X-Mailer: Apple Mail (2.3774.400.31) X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Wed, 06 Mar 2024 16:47:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Apple-Mail=_95E6A598-6B2A-4A22-BC21-751A53FAC4D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello Arash and Ikumi, Thank you the reply and support. Apologies for not getting back earlier. = So it turns out that recompiling preview latex for the entire document = is required. I always previewed the file only/ buffer only. Therefore it = never worked. Best, Sabarish. > On 6. Mar 2024, at 21:05, Arash Esbati wrote: >=20 > Ikumi Keita > writes: >=20 >> Hi Sabarish, >>=20 >>>>>>> Sabarish V M writes: >>> The preview latex package does not render the "\newcommand" macros >>> properly. >>=20 >>> Example, >>=20 >>> \documentclass{template} >>> \title{Some title} >>> \author{XXX} >>> \begin{document} >>> \maketitle >>=20 >>> \include{symbols} % The file contains all the macros defined >>> % It contains, >>> % \newcommand{\kb}{k_{\mathrm{B}}} >>> % \renewcommand{\d}{\mathrm{d}} >>=20 >>> =46rom classical Boltzmann statistics we know that the probability = for finding any >>> particle in a given state $i$ is, >>> \[ \frac{N_i}{N} =3D \frac{\exp \left( - E_i / \kb T \right)}{Z\kb = \d } \] >>> \include{chapters/01.introduction} >>> \include{chapters/appendix} >>=20 >>> \end{document} >>=20 >> This document doesn't typeset for me because my TeX Live 2023 doesn't >> have "template" class. After I replaced >> \documentclass{template} >> with >> \documentclass{article} >> , I can both typeset and use preview-latex for the files quoted = below. >> Hence I suppose that the issue isn't related directly to \newcommand = and >> suspect there is something incompatible with preview-latex in >> the non-standard class file template.cls. >>=20 >> --- foo.tex = ---------------------------------------------------------- >> \documentclass{article} >> \title{Some title} >> \author{XXX} >> \begin{document} >> \maketitle >>=20 >> \include{symbols} >>=20 >> =46rom classical Boltzmann statistics we know that the probability = for finding any >> particle in a given state $i$ is, >> \[ \frac{N_i}{N} =3D \frac{\exp \left( - E_i / \kb T \right)}{Z\kb \d = } \] >>=20 >> \end{document} >> = ---------------------------------------------------------------------- >>=20 >> --- symbols.tex = ------------------------------------------------------ >> \newcommand{\kb}{k_{\mathrm{B}}} >> \renewcommand{\d}{\mathrm{d}} >>=20 >> %%% Local Variables: >> %%% mode: LaTeX >> %%% TeX-master: "foo" >> %%% End: >> = ---------------------------------------------------------------------- >=20 > No further comments, therefore I'm closing this report. We can reopen > if necessary. >=20 > Best, Arash --Apple-Mail=_95E6A598-6B2A-4A22-BC21-751A53FAC4D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hello Arash = and Ikumi,

Thank you the reply and support. Apologies = for not getting back earlier. So it turns out that recompiling preview = latex for the entire document is required. I always previewed the file = only/ buffer only. Therefore it never = worked.

Best,
Sabarish.

On 6. Mar 2024, at 21:05, Arash Esbati = <arash@gnu.org> wrote:

Ikumi Keita <ikumi@ikumi.que.jp> = writes:

Hi Sabarish,

Sabarish= V M <sabarish.science@gmail.com> = writes:
The = preview latex package does not render the "\newcommand" = macros
properly.

Example,

\documentclass{template}
\title{Some = title}
\author{XXX}
\begin{document}
\maketitle
<= br>
\include{symbols} % The file contains all = the macros defined
% It contains,
% = \newcommand{\kb}{k_{\mathrm{B}}}
% = \renewcommand{\d}{\mathrm{d}}

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

\end{document}

This document doesn't = typeset for me because my TeX Live 2023 doesn't
have "template" = class. After I = replaced
\documentclass{template}
with
\documentclass{article}, I can both typeset and use preview-latex for the files quoted = below.
Hence I suppose that the issue isn't related directly to = \newcommand and
suspect there is something incompatible with = preview-latex in
the non-standard class file template.cls.

--- = foo.tex = ----------------------------------------------------------
\documentcla= ss{article}
\title{Some = title}
\author{XXX}
\begin{document}
\maketitle

\include{s= ymbols}

=46rom classical Boltzmann statistics we know that the = probability for finding any
particle in a given state $i$ is,
\[ = \frac{N_i}{N} =3D \frac{\exp \left( - E_i / \kb T \right)}{Z\kb \d } = \]

\end{document}
----------------------------------------------= ------------------------

--- symbols.tex = ------------------------------------------------------
\newcommand{\kb}= {k_{\mathrm{B}}}
\renewcommand{\d}{\mathrm{d}}

%%% Local = Variables:
%%% mode: LaTeX
%%% TeX-master: "foo"
%%% = End:
------------------------------------------------------------------= ----

No = further comments, therefore I'm closing this report.  We can = reopen
if necessary.

Best, = Arash

= --Apple-Mail=_95E6A598-6B2A-4A22-BC21-751A53FAC4D2--