From unknown Mon Jun 23 09:38:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25853: [Reftex] Using the keyword label in a tikzpicture enviornment shows up incorrectly in reftex Resent-From: Nishan Singh Mann Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Thu, 23 Feb 2017 22:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25853 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 25853@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14878901121987 (code B ref -1); Thu, 23 Feb 2017 22:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Feb 2017 22:48:32 +0000 Received: from localhost ([127.0.0.1]:53351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch2Bc-0000Vy-DD for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:48:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch21w-0000Hu-Jj for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:38:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch21p-0007By-Ph for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:38:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ch21p-0007Bs-MB for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:38:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch21n-000791-Tl for bug-auctex@gnu.org; Thu, 23 Feb 2017 17:38:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch21m-0007BA-FF for bug-auctex@gnu.org; Thu, 23 Feb 2017 17:38:23 -0500 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:35277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch21m-00079y-AY for bug-auctex@gnu.org; Thu, 23 Feb 2017 17:38:22 -0500 Received: by mail-qk0-x22e.google.com with SMTP id u188so5145497qkc.2 for ; Thu, 23 Feb 2017 14:38:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=kpfXIjUD7qjJIUnm6yL13bRssrp7GUDQbKQYPJCU1XY=; b=kUreYqQUVw7PrgE99FkVgcn3BoL/Ffaq8b53GTKJENXsDkJd8DYbSIZjiuLq2czZAY +neqAqJLdaS3a2Md0nZIi1SlpnrScbe+AgPKePjimH+V+rAayTK2BYbwckrUmbTLwEBD p0XafUufLTu/4O3dwirpWNjOOOA0uXV4rbLYfgJazFgC61m2MKP5jE9XgqVRx+TENXbe tTmTGxZD6sgOvaFzgfLH3iSM06cXjJfQW5y2Rh9Dqq3hsrzJPhR+Z3nLAWzVDhRERUW9 YOht7Ti2MA491GkSSO3Q5hpfWDQ95YD4KygcVbYLZympOitiVIhCLrxmNBSzA2KZND8O Y5Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kpfXIjUD7qjJIUnm6yL13bRssrp7GUDQbKQYPJCU1XY=; b=ROE1GrIh/Y5LfpbWdnYXayqK2UJbVEqE6EsAaJFkj7YRf0j86YyGyFEbvFAs71ioXw CtZSoE3MOBlHt6BleSK0be7oxvbjznlb+FjQk34tYGsYjVs4cTCygzjtFOjAPzrJzzpD aLS3PSlo40fdDD6SHDZ9xtv1V3IKRo0gb2CSsNO/npuGjSO4JS5wMdKgy4kI7oTGXMbY mEIYrm18iTWeeNHK9C8pPD3UjOvjJUjFEzI8yCDlFG5bqdXRkxTnBA+wxX5ZDa8I205R GyDdlf9wjSBdhBa09YGdF/TPUP/1vqoA/uS0TPmFyzDKzlstup31psrxdp0cutdMAu4V 5lYA== X-Gm-Message-State: AMke39kb0cyCrSsNZVhQSvB6ovdRLE8c0MBax5GnUI0KXbeMiRwEH5NjQ921o6jh3vWdFx88oaCIsB5ZxFYdKA== X-Received: by 10.55.165.202 with SMTP id o193mr30485062qke.284.1487889500000; Thu, 23 Feb 2017 14:38:20 -0800 (PST) MIME-Version: 1.0 From: Nishan Singh Mann Date: Thu, 23 Feb 2017 22:38:09 +0000 Message-ID: Content-Type: multipart/alternative; boundary=94eb2c05ef7e1cd85605493a45e2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Thu, 23 Feb 2017 17:48:31 -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: -4.0 (----) --94eb2c05ef7e1cd85605493a45e2 Content-Type: text/plain; charset=UTF-8 When using a tikzpicture enviornment as follows \begin{tikzpicture} \matrix[]{ % First row \node[scale=1.3,label=below:(a)] {\input{./latex/CH4/dishole_schematic}}; & \node[label=below:(b)~$20$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_20}}; & \node[label=below:(c)~$40$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_41}}; \\ % end of row \node[label=below:(d)~$160$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_160}}; & \node[label=below:(e)~$400$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_400}}; & \node[label=below:(f)~$800$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_800}};\\ }; \end{tikzpicture} The label keyword used to label the node is picked up by Reftex as a valid label when the ref command is invoked. Perhaps one can avoid scanning for a 'label' keyword within a tikzpicture environment? Regards, Nishan ------------------------------------------------------------------------ Emacs : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-17 on lgw01-04, modified by Debian Package: 11.90.0 current state: ============== (setq AUCTeX-date "2017-01-11" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/nishan/.emacs.d/elpa/auctex-11.90.0/style" "/home/nishan/.emacs.d/auctex/auto" "/home/nishan/.emacs.d/auctex/style" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master "../../Thesis" TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Convert PostScript file to PDF") ("Index" "makeindex %s" TeX-run-index nil t :help "Run makeindex to create index file") ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")) ) -- Nishan Singh Mann --94eb2c05ef7e1cd85605493a45e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When using a tikzpicture enviornment as follows
=C2=A0 \begin{tikzpicture}
=C2=A0 =C2=A0 \matrix[]{
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 % First row
=C2=A0 =C2=A0 =C2=A0 \node[scale=3D1.3,label= =3Dbelow:(a)] {\input{./latex/CH4/dishole_schematic}}; &
=C2= =A0 =C2=A0 =C2=A0 \node[label=3Dbelow:(b)~$20$~nm] {\includegraphics[scale= =3D0.6]{./figures/CH4/hole_gen_dis_20}}; &
=C2=A0 =C2=A0 =C2= =A0 \node[label=3Dbelow:(c)~$40$~nm] {\includegraphics[scale=3D0.6]{./figur= es/CH4/hole_gen_dis_41}}; \\ % end of row
=C2=A0 =C2=A0 =C2=A0 \n= ode[label=3Dbelow:(d)~$160$~nm] {\includegraphics[scale=3D0.6]{./figures/CH= 4/hole_gen_dis_160}}; &
=C2=A0 =C2=A0 =C2=A0 \node[label=3Dbe= low:(e)~$400$~nm] {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis= _400}}; &
=C2=A0 =C2=A0 =C2=A0 \node[label=3Dbelow:(f)~$800$~= nm] {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_800}};\\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 };
=C2=A0 \end{ti= kzpicture}

The label keyword used to label the nod= e is picked up by Reftex as a
valid label when the ref command is= invoked. Perhaps one can avoid
scanning for a 'label' ke= yword within a tikzpicture environment?

Regards,
Nishan
-------------------------------------------------= -----------------------
Emacs =C2=A0: GNU Emacs 24.5.1 (x86_64-pc= -linux-gnu, GTK+ Version 3.18.9)
=C2=A0of 2016-04-17 on lgw01-04,= modified by Debian
Package: 11.90.0

cur= rent state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
= (setq
=C2=A0AUCTeX-date "2017-01-11"
=C2=A0wi= ndow-system 'x
=C2=A0LaTeX-version "2e"
= =C2=A0TeX-style-path '("~/.emacs.d/auctex" "/home/nishan= /.emacs.d/elpa/auctex-11.90.0/style"
=C2=A0"/home/nishan/.emacs= .d/auctex/auto" "/home/nishan/.emacs.d/auctex/style" "a= uto"
=C2=A0"style")
=C2=A0TeX-auto-save t
<= div>=C2=A0TeX-parse-self t
=C2=A0TeX-master "../../Thesis&qu= ot;
=C2=A0TeX-command-list '(("TeX"
=C2=A0 =C2=A0= "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%&#= 39; %t"
=C2=A0 =C2=A0 TeX-run-TeX nil (plain-tex-mode ams-tex-mode t= exinfo-mode) :help
=C2=A0 =C2=A0 "Run plain TeX")
=C2=A0 =C2= =A0("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (lat= ex-mode doctex-mode) :help
=C2=A0 =C2=A0 "Run LaTeX")
=C2= =A0 =C2=A0("Makeinfo" "makeinfo %(extraopts) %t" TeX-ru= n-compile nil (texinfo-mode)
=C2=A0 =C2=A0 :help "Run Makeinfo with = Info output")
=C2=A0 =C2=A0("Makeinfo HTML" "makeinfo= %(extraopts) --html %t" TeX-run-compile nil
=C2=A0 =C2=A0 (texinfo-= mode) :help "Run Makeinfo with HTML output")
=C2=A0 =C2=A0(&quo= t;AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t&quo= t; TeX-run-TeX nil
=C2=A0 =C2=A0 (ams-tex-mode) :help "Run AMSTeX&qu= ot;)
<= /span> =C2=A0 =C2=A0("ConTeXt" "%(cntxcom) --once --texutil = %(extraopts) %(execopts)%t"
=C2=A0 =C2=A0 TeX-run-TeX nil (context-m= ode) :help "Run ConTeXt once")
=C2=A0 =C2=A0("ConTeXt Full= " "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil
= =C2=A0 =C2=A0 (context-mode) :help "Run ConTeXt until completion"= )
=C2=A0 =C2=A0("BibTeX" "bibtex %s" TeX-run-BibTeX n= il t :help "Run BibTeX")
=C2=A0 =C2=A0("Biber" "= biber %s" TeX-run-Biber nil t :help "Run Biber")
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2=A0 = =C2=A0("View" "%V" TeX-run-discard-or-function t t :hel= p "Run Viewer")
=C2=A0 =C2=A0("Print" "%p" = TeX-run-command t t :help "Print the file")
=C2=A0 =C2=A0("= ;Queue" "%q" TeX-run-background nil t :help "View the p= rinter queue" :visible
=C2=A0 =C2=A0 TeX-queue-command)
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2=A0 = =C2=A0("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t = :help
= =C2=A0 =C2=A0 "Generate PostScript file")
=C2=A0 =C2=A0= ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :he= lp
=C2=A0 =C2=A0 "Convert DVI file to PostScript")
=C2=A0 =C2= =A0("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :he= lp
=C2=A0 =C2=A0 "Convert DVI file to PDF with dvipdfmx")
=
=C2= =A0 =C2=A0("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :h= elp
=C2=A0 =C2=A0 "Convert PostScript file to PDF")
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2=A0 = =C2=A0("Index" "makeindex %s" TeX-run-index nil t :help=
=C2=A0 =C2=A0 "Run makeindex to create index file")
= =C2=A0 = =C2=A0("Xindy" "texindy %s" TeX-run-command nil t :help=
=C2=A0 =C2=A0 "Run xindy to create index file")
=C2=A0 =C2= =A0("Check" "lacheck %s" TeX-run-compile nil (latex-mod= e) :help
=C2=A0 =C2=A0 "Check LaTeX file for correctness")
= =C2=A0 =C2=A0("ChkTeX" "chktex -v6 %s" TeX-run-compile = nil (latex-mode) :help
=C2=A0 =C2=A0 "Check LaTeX file for common mi= stakes")
=C2=A0 =C2=A0("Spell" "(TeX-ispell-document = \"\")" TeX-run-function nil t :help
=C2=A0 =C2=A0 "Sp= ell-check the document")
=C2=A0 =C2=A0("Clean" "TeX-c= lean" TeX-run-function nil t :help
=C2=A0 =C2=A0 "Delete genera= ted intermediate files")
=C2=A0 =C2=A0("Clean All" "(= TeX-clean t)" TeX-run-function nil t :help
=C2=A0 =C2=A0 "Delet= e generated intermediate and output files")
=C2=A0 =C2=A0("Othe= r" "" TeX-run-command t t :help "Run an arbitrary comma= nd"))
=C2=A0)

-- =
Nishan S= ingh Mann
--94eb2c05ef7e1cd85605493a45e2-- From unknown Mon Jun 23 09:38:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25853: [Reftex] Using the keyword label in a tikzpicture enviornment shows up incorrectly in reftex Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 24 Feb 2017 07:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25853 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Nishan Singh Mann Cc: 25853@debbugs.gnu.org Received: via spool by 25853-submit@debbugs.gnu.org id=B25853.148792079328141 (code B ref 25853); Fri, 24 Feb 2017 07:20:02 +0000 Received: (at 25853) by debbugs.gnu.org; 24 Feb 2017 07:19:53 +0000 Received: from localhost ([127.0.0.1]:53477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chAAS-0007Jp-Sj for submit@debbugs.gnu.org; Fri, 24 Feb 2017 02:19:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chAAR-0007Je-Hk for 25853@debbugs.gnu.org; Fri, 24 Feb 2017 02:19:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chAAI-0003p0-FS for 25853@debbugs.gnu.org; Fri, 24 Feb 2017 02:19:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chAAI-0003ow-Bk; Fri, 24 Feb 2017 02:19:42 -0500 Received: from p54ace9b9.dip0.t-ipconnect.de ([84.172.233.185]:61074 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1chAAG-00026R-2w; Fri, 24 Feb 2017 02:19:40 -0500 From: Arash Esbati References: Date: Fri, 24 Feb 2017 08:19:24 +0100 In-Reply-To: (Nishan Singh Mann's message of "Thu, 23 Feb 2017 22:38:09 +0000") Message-ID: <864lzkys1v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) Nishan Singh Mann writes: > When using a tikzpicture enviornment as follows > \begin{tikzpicture} > \matrix[]{ > % First row > \node[scale=3D1.3,label=3Dbelow:(a)] > {\input{./latex/CH4/dishole_schematic}}; & > \node[label=3Dbelow:(b)~$20$~nm] > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_20}}; & > \node[label=3Dbelow:(c)~$40$~nm] > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_41}}; \\ % end = of > row > \node[label=3Dbelow:(d)~$160$~nm] > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_160}}; & > \node[label=3Dbelow:(e)~$400$~nm] > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_400}}; & > \node[label=3Dbelow:(f)~$800$~nm] > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_800}};\\ > }; > \end{tikzpicture} > > The label keyword used to label the node is picked up by Reftex as a > valid label when the ref command is invoked. Perhaps one can avoid > scanning for a 'label' keyword within a tikzpicture environment? RefTeX provides a variable for this purpose: ,----[ C-h v reftex-label-ignored-macros-and-environments RET ] | reftex-label-ignored-macros-and-environments is a variable defined in =E2= =80=98reftex-vars.el=E2=80=99. | Its value is nil |=20 | Documentation: | List of macros and environments to be ignored when searching for labels. | The purpose is to ignore environments and macros that use keyval | style label=3Dfoo arguments, but the label has a different meaning | than a \label{foo}. Standard \label{...} definitions are never | ignored. |=20 | E.g., TikZ defines several macros/environments where [label=3Dfoo] | defines the label to be printed at some node or edge, but it=E2=80=99s | not a label used for referencing. |=20 | Note that this feature is only supported if you are using AUCTeX | and the functions =E2=80=98TeX-current-macro=E2=80=99 and | =E2=80=98LaTeX-current-environment=E2=80=99 are bound. Also note that th= is | feature might slow down the reftex parsing process for large TeX | files. |=20 | You can customize this variable. |=20 | This variable was introduced, or its default value was changed, in | version 24.4 of Emacs. `---- You can customize this variable and add "node" if you want to ignore the macro or "tikzpicture" for the entire environment. Best, Arash From unknown Mon Jun 23 09:38:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25853: [Reftex] Using the keyword label in a tikzpicture enviornment shows up incorrectly in reftex Resent-From: Nishan Singh Mann Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 14 Mar 2017 01:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25853 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Arash Esbati Cc: 25853@debbugs.gnu.org Received: via spool by 25853-submit@debbugs.gnu.org id=B25853.14894536644643 (code B ref 25853); Tue, 14 Mar 2017 01:08:02 +0000 Received: (at 25853) by debbugs.gnu.org; 14 Mar 2017 01:07:44 +0000 Received: from localhost ([127.0.0.1]:54520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnawB-0001Cp-KQ for submit@debbugs.gnu.org; Mon, 13 Mar 2017 21:07:43 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:36167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnawA-0001Cc-GD for 25853@debbugs.gnu.org; Mon, 13 Mar 2017 21:07:42 -0400 Received: by mail-pg0-f43.google.com with SMTP id g2so56967992pge.3 for <25853@debbugs.gnu.org>; Mon, 13 Mar 2017 18:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ml1DeBaDlnWktycrEU/ZOVvy0enOKATpiIVfOld9pWM=; b=qfY1Tra/f5LPn9I88v7xEILSGTyCy/Mi5fWjASmOuXBoAj3/0cMKNS/ugIprJ/TxZ2 HzyLK7OVp3GPb/i/yjYYYS62cknab/wWFpDx+8ShLYtDvEWHshAr1xJTd4qUZOql7PUK vdaY1ZfCwJ80Hd1pdgH2pvS8pSHDnbdx+sWqhO4SNwgk+3ZU+9p3L/TspCZQxB92NkJU p1aRUe035Iq1bpWTXxpRomIJoqwZJT8KywzVFZqOowr9UGOtaWVL69nUVLA76/zmf5r4 p5iVVboyVKrELxWLjAXrnlKTeMc6+0Wpy8Vspii7VYBk3BCLkOAZ+ii21QvGN/2ArRpx Rqgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ml1DeBaDlnWktycrEU/ZOVvy0enOKATpiIVfOld9pWM=; b=OucayLNkPH0mIIBOtC1+WIHbI3hVb+g8x4aibgVzbGEwck/6qnrKUPPPwDzp/6CR52 1a0bZnW3UGYgG3aMrSBUjt1NXcAyoIeM7uJ27fpjZayWqo746LGRTLMwvEQedfahk+Jl uJ4yNnq0AZNSzXtg9F6PSlWLaD81p+JzFzUJBxfu2SgtkleR2WJe5dCLVPkeIWN7Ydty CucQuHPBVdkTu1zEOKATBe82FUP/rudc7xS3bnDifuCIMBCqJ05On8UyK9FdKiB2Ytvd GnfqpLcHz/3i2z8+FjVx9RSibmcvdClpmB74fsHeSAkh/9VC06MR0bQ4zI7z61gnqoxs owfQ== X-Gm-Message-State: AMke39llYzCkPDyzB7/b5DCOMP/yzXTi5QY4KMN3hE+sQLDn67NU2SRM9rjueSNKHq7r5kTW+B4YaMo3Fymz8A== X-Received: by 10.99.55.85 with SMTP id g21mr40951669pgn.65.1489453656763; Mon, 13 Mar 2017 18:07:36 -0700 (PDT) MIME-Version: 1.0 References: <864lzkys1v.fsf@gnu.org> In-Reply-To: <864lzkys1v.fsf@gnu.org> From: Nishan Singh Mann Date: Tue, 14 Mar 2017 01:07:26 +0000 Message-ID: Content-Type: multipart/alternative; boundary=94eb2c13af001ef3ec054aa674bd 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: 0.0 (/) --94eb2c13af001ef3ec054aa674bd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you so much! Adding "node" to the value of a variable works. Regards, Nishan On Fri, 24 Feb 2017 at 02:19 Arash Esbati wrote: > Nishan Singh Mann writes: > > > When using a tikzpicture enviornment as follows > > \begin{tikzpicture} > > \matrix[]{ > > % First row > > \node[scale=3D1.3,label=3Dbelow:(a)] > > {\input{./latex/CH4/dishole_schematic}}; & > > \node[label=3Dbelow:(b)~$20$~nm] > > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_20}}; & > > \node[label=3Dbelow:(c)~$40$~nm] > > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_41}}; \\ % en= d of > > row > > \node[label=3Dbelow:(d)~$160$~nm] > > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_160}}; & > > \node[label=3Dbelow:(e)~$400$~nm] > > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_400}}; & > > \node[label=3Dbelow:(f)~$800$~nm] > > {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_800}};\\ > > }; > > \end{tikzpicture} > > > > The label keyword used to label the node is picked up by Reftex as a > > valid label when the ref command is invoked. Perhaps one can avoid > > scanning for a 'label' keyword within a tikzpicture environment? > > RefTeX provides a variable for this purpose: > > ,----[ C-h v reftex-label-ignored-macros-and-environments RET ] > | reftex-label-ignored-macros-and-environments is a variable defined in > =E2=80=98reftex-vars.el=E2=80=99. > | Its value is nil > | > | Documentation: > | List of macros and environments to be ignored when searching for labels= . > | The purpose is to ignore environments and macros that use keyval > | style label=3Dfoo arguments, but the label has a different meaning > | than a \label{foo}. Standard \label{...} definitions are never > | ignored. > | > | E.g., TikZ defines several macros/environments where [label=3Dfoo] > | defines the label to be printed at some node or edge, but it=E2=80=99s > | not a label used for referencing. > | > | Note that this feature is only supported if you are using AUCTeX > | and the functions =E2=80=98TeX-current-macro=E2=80=99 and > | =E2=80=98LaTeX-current-environment=E2=80=99 are bound. Also note that = this > | feature might slow down the reftex parsing process for large TeX > | files. > | > | You can customize this variable. > | > | This variable was introduced, or its default value was changed, in > | version 24.4 of Emacs. > `---- > > You can customize this variable and add "node" if you want to ignore the > macro or "tikzpicture" for the entire environment. > > Best, Arash > --=20 Nishan Singh Mann --94eb2c13af001ef3ec054aa674bd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you so much! Adding "node" to the value of= a variable works.=C2=A0

Regards,
Nishan
<= br>
On Fri, 24 Feb 2017 at 02:19= Arash Esbati <arash@gnu.org> wr= ote:
Nishan Singh Mann <nishan.singh.mann@gmail.com> writes:

> When using a tikzpicture enviornment as follows
>=C2=A0 =C2=A0\begin{tikzpicture}
>=C2=A0 =C2=A0 =C2=A0\matrix[]{
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0% First row
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\node[scale=3D1.3,label=3Dbelow:(a)]
> {\input{./latex/CH4/dishole_schematic}}; &
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\node[label=3Dbelow:(b)~$20$~nm]
> {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_20}}; &<= br class=3D"gmail_msg"> >=C2=A0 =C2=A0 =C2=A0 =C2=A0\node[label=3Dbelow:(c)~$40$~nm]
> {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_41}}; \\ % e= nd of
> row
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\node[label=3Dbelow:(d)~$160$~nm]
> {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_160}}; &=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\node[label=3Dbelow:(e)~$400$~nm]
> {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_400}}; &=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\node[label=3Dbelow:(f)~$800$~nm]
> {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_800}};\\
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0};
>=C2=A0 =C2=A0\end{tikzpicture}
>
> The label keyword used to label the node is picked up by Reftex as a > valid label when the ref command is invoked. Perhaps one can avoid
> scanning for a 'label' keyword within a tikzpicture environmen= t?

RefTeX provides a variable for this purpose:

,----[ C-h v reftex-label-ignored-macros-and-environments RET ]
| reftex-label-ignored-macros-and-environments is a variable defined in =E2= =80=98reftex-vars.el=E2=80=99.
| Its value is nil
|
| Documentation:
| List of macros and environments to be ignored when searching for labels.<= br class=3D"gmail_msg"> | The purpose is to ignore environments and macros that use keyval
| style label=3Dfoo arguments, but the label has a different meaning
| than a \label{foo}.=C2=A0 Standard \label{...} definitions are never
| ignored.
|
| E.g., TikZ defines several macros/environments where [label=3Dfoo]
| defines the label to be printed at some node or edge, but it=E2=80=99s | not a label used for referencing.
|
| Note that this feature is only supported if you are using AUCTeX
| and the functions =E2=80=98TeX-current-macro=E2=80=99 and
| =E2=80=98LaTeX-current-environment=E2=80=99 are bound.=C2=A0 Also note th= at this
| feature might slow down the reftex parsing process for large TeX
| files.
|
| You can customize this variable.
|
| This variable was introduced, or its default value was changed, in
| version 24.4 of Emacs.
`----

You can customize this variable and add "node" if you want to ign= ore the
macro or "tikzpicture" for the entire environment.

Best, Arash
--
Nishan Singh Mann
--94eb2c13af001ef3ec054aa674bd-- From unknown Mon Jun 23 09:38:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nishan Singh Mann Subject: bug#25853: closed (Re: bug#25853: [Reftex] Using the keyword label in a tikzpicture enviornment shows up incorrectly in reftex) Message-ID: References: <86d1dki5qe.fsf@gnu.org> X-Gnu-PR-Message: they-closed 25853 X-Gnu-PR-Package: auctex Reply-To: 25853@debbugs.gnu.org Date: Tue, 14 Mar 2017 09:23:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1489483383-19819-1" This is a multi-part message in MIME format... ------------=_1489483383-19819-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25853: [Reftex] Using the keyword label in a tikzpicture enviornment shows= up incorrectly in reftex which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 25853@debbugs.gnu.org. --=20 25853: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25853 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1489483383-19819-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25853-done) by debbugs.gnu.org; 14 Mar 2017 09:22:48 +0000 Received: from localhost ([127.0.0.1]:54829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnifI-00058c-6Z for submit@debbugs.gnu.org; Tue, 14 Mar 2017 05:22:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnifH-00058Q-3R for 25853-done@debbugs.gnu.org; Tue, 14 Mar 2017 05:22:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnif7-0000l3-5r for 25853-done@debbugs.gnu.org; Tue, 14 Mar 2017 05:22:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnif7-0000ky-2R; Tue, 14 Mar 2017 05:22:37 -0400 Received: from p54ace62b.dip0.t-ipconnect.de ([84.172.230.43]:60485 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cnif6-00070E-A6; Tue, 14 Mar 2017 05:22:36 -0400 From: Arash Esbati To: Nishan Singh Mann Subject: Re: bug#25853: [Reftex] Using the keyword label in a tikzpicture enviornment shows up incorrectly in reftex References: <864lzkys1v.fsf@gnu.org> Date: Tue, 14 Mar 2017 10:10:17 +0100 In-Reply-To: (Nishan Singh Mann's message of "Tue, 14 Mar 2017 01:07:26 +0000") Message-ID: <86d1dki5qe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 25853-done Cc: 25853-done@debbugs.gnu.org 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: -5.4 (-----) Nishan Singh Mann writes: > Thank you so much! Adding "node" to the value of a variable works. You're welcome. I close this issue. Best, Arash ------------=_1489483383-19819-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 23 Feb 2017 22:48:32 +0000 Received: from localhost ([127.0.0.1]:53351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch2Bc-0000Vy-DD for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:48:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch21w-0000Hu-Jj for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:38:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch21p-0007By-Ph for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:38:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ch21p-0007Bs-MB for submit@debbugs.gnu.org; Thu, 23 Feb 2017 17:38:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch21n-000791-Tl for bug-auctex@gnu.org; Thu, 23 Feb 2017 17:38:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch21m-0007BA-FF for bug-auctex@gnu.org; Thu, 23 Feb 2017 17:38:23 -0500 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:35277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch21m-00079y-AY for bug-auctex@gnu.org; Thu, 23 Feb 2017 17:38:22 -0500 Received: by mail-qk0-x22e.google.com with SMTP id u188so5145497qkc.2 for ; Thu, 23 Feb 2017 14:38:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=kpfXIjUD7qjJIUnm6yL13bRssrp7GUDQbKQYPJCU1XY=; b=kUreYqQUVw7PrgE99FkVgcn3BoL/Ffaq8b53GTKJENXsDkJd8DYbSIZjiuLq2czZAY +neqAqJLdaS3a2Md0nZIi1SlpnrScbe+AgPKePjimH+V+rAayTK2BYbwckrUmbTLwEBD p0XafUufLTu/4O3dwirpWNjOOOA0uXV4rbLYfgJazFgC61m2MKP5jE9XgqVRx+TENXbe tTmTGxZD6sgOvaFzgfLH3iSM06cXjJfQW5y2Rh9Dqq3hsrzJPhR+Z3nLAWzVDhRERUW9 YOht7Ti2MA491GkSSO3Q5hpfWDQ95YD4KygcVbYLZympOitiVIhCLrxmNBSzA2KZND8O Y5Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kpfXIjUD7qjJIUnm6yL13bRssrp7GUDQbKQYPJCU1XY=; b=ROE1GrIh/Y5LfpbWdnYXayqK2UJbVEqE6EsAaJFkj7YRf0j86YyGyFEbvFAs71ioXw CtZSoE3MOBlHt6BleSK0be7oxvbjznlb+FjQk34tYGsYjVs4cTCygzjtFOjAPzrJzzpD aLS3PSlo40fdDD6SHDZ9xtv1V3IKRo0gb2CSsNO/npuGjSO4JS5wMdKgy4kI7oTGXMbY mEIYrm18iTWeeNHK9C8pPD3UjOvjJUjFEzI8yCDlFG5bqdXRkxTnBA+wxX5ZDa8I205R GyDdlf9wjSBdhBa09YGdF/TPUP/1vqoA/uS0TPmFyzDKzlstup31psrxdp0cutdMAu4V 5lYA== X-Gm-Message-State: AMke39kb0cyCrSsNZVhQSvB6ovdRLE8c0MBax5GnUI0KXbeMiRwEH5NjQ921o6jh3vWdFx88oaCIsB5ZxFYdKA== X-Received: by 10.55.165.202 with SMTP id o193mr30485062qke.284.1487889500000; Thu, 23 Feb 2017 14:38:20 -0800 (PST) MIME-Version: 1.0 From: Nishan Singh Mann Date: Thu, 23 Feb 2017 22:38:09 +0000 Message-ID: Subject: [Reftex] Using the keyword label in a tikzpicture enviornment shows up incorrectly in reftex To: bug-auctex@gnu.org Content-Type: multipart/alternative; boundary=94eb2c05ef7e1cd85605493a45e2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 23 Feb 2017 17:48:31 -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: -4.0 (----) --94eb2c05ef7e1cd85605493a45e2 Content-Type: text/plain; charset=UTF-8 When using a tikzpicture enviornment as follows \begin{tikzpicture} \matrix[]{ % First row \node[scale=1.3,label=below:(a)] {\input{./latex/CH4/dishole_schematic}}; & \node[label=below:(b)~$20$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_20}}; & \node[label=below:(c)~$40$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_41}}; \\ % end of row \node[label=below:(d)~$160$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_160}}; & \node[label=below:(e)~$400$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_400}}; & \node[label=below:(f)~$800$~nm] {\includegraphics[scale=0.6]{./figures/CH4/hole_gen_dis_800}};\\ }; \end{tikzpicture} The label keyword used to label the node is picked up by Reftex as a valid label when the ref command is invoked. Perhaps one can avoid scanning for a 'label' keyword within a tikzpicture environment? Regards, Nishan ------------------------------------------------------------------------ Emacs : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-17 on lgw01-04, modified by Debian Package: 11.90.0 current state: ============== (setq AUCTeX-date "2017-01-11" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/nishan/.emacs.d/elpa/auctex-11.90.0/style" "/home/nishan/.emacs.d/auctex/auto" "/home/nishan/.emacs.d/auctex/style" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master "../../Thesis" TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Convert PostScript file to PDF") ("Index" "makeindex %s" TeX-run-index nil t :help "Run makeindex to create index file") ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")) ) -- Nishan Singh Mann --94eb2c05ef7e1cd85605493a45e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When using a tikzpicture enviornment as follows
=C2=A0 \begin{tikzpicture}
=C2=A0 =C2=A0 \matrix[]{
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 % First row
=C2=A0 =C2=A0 =C2=A0 \node[scale=3D1.3,label= =3Dbelow:(a)] {\input{./latex/CH4/dishole_schematic}}; &
=C2= =A0 =C2=A0 =C2=A0 \node[label=3Dbelow:(b)~$20$~nm] {\includegraphics[scale= =3D0.6]{./figures/CH4/hole_gen_dis_20}}; &
=C2=A0 =C2=A0 =C2= =A0 \node[label=3Dbelow:(c)~$40$~nm] {\includegraphics[scale=3D0.6]{./figur= es/CH4/hole_gen_dis_41}}; \\ % end of row
=C2=A0 =C2=A0 =C2=A0 \n= ode[label=3Dbelow:(d)~$160$~nm] {\includegraphics[scale=3D0.6]{./figures/CH= 4/hole_gen_dis_160}}; &
=C2=A0 =C2=A0 =C2=A0 \node[label=3Dbe= low:(e)~$400$~nm] {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis= _400}}; &
=C2=A0 =C2=A0 =C2=A0 \node[label=3Dbelow:(f)~$800$~= nm] {\includegraphics[scale=3D0.6]{./figures/CH4/hole_gen_dis_800}};\\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 };
=C2=A0 \end{ti= kzpicture}

The label keyword used to label the nod= e is picked up by Reftex as a
valid label when the ref command is= invoked. Perhaps one can avoid
scanning for a 'label' ke= yword within a tikzpicture environment?

Regards,
Nishan
-------------------------------------------------= -----------------------
Emacs =C2=A0: GNU Emacs 24.5.1 (x86_64-pc= -linux-gnu, GTK+ Version 3.18.9)
=C2=A0of 2016-04-17 on lgw01-04,= modified by Debian
Package: 11.90.0

cur= rent state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
= (setq
=C2=A0AUCTeX-date "2017-01-11"
=C2=A0wi= ndow-system 'x
=C2=A0LaTeX-version "2e"
= =C2=A0TeX-style-path '("~/.emacs.d/auctex" "/home/nishan= /.emacs.d/elpa/auctex-11.90.0/style"
=C2=A0"/home/nishan/.emacs= .d/auctex/auto" "/home/nishan/.emacs.d/auctex/style" "a= uto"
=C2=A0"style")
=C2=A0TeX-auto-save t
<= div>=C2=A0TeX-parse-self t
=C2=A0TeX-master "../../Thesis&qu= ot;
=C2=A0TeX-command-list '(("TeX"
=C2=A0 =C2=A0= "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%&#= 39; %t"
=C2=A0 =C2=A0 TeX-run-TeX nil (plain-tex-mode ams-tex-mode t= exinfo-mode) :help
=C2=A0 =C2=A0 "Run plain TeX")
=C2=A0 =C2= =A0("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (lat= ex-mode doctex-mode) :help
=C2=A0 =C2=A0 "Run LaTeX")
=C2= =A0 =C2=A0("Makeinfo" "makeinfo %(extraopts) %t" TeX-ru= n-compile nil (texinfo-mode)
=C2=A0 =C2=A0 :help "Run Makeinfo with = Info output")
=C2=A0 =C2=A0("Makeinfo HTML" "makeinfo= %(extraopts) --html %t" TeX-run-compile nil
=C2=A0 =C2=A0 (texinfo-= mode) :help "Run Makeinfo with HTML output")
=C2=A0 =C2=A0(&quo= t;AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t&quo= t; TeX-run-TeX nil
=C2=A0 =C2=A0 (ams-tex-mode) :help "Run AMSTeX&qu= ot;)
<= /span> =C2=A0 =C2=A0("ConTeXt" "%(cntxcom) --once --texutil = %(extraopts) %(execopts)%t"
=C2=A0 =C2=A0 TeX-run-TeX nil (context-m= ode) :help "Run ConTeXt once")
=C2=A0 =C2=A0("ConTeXt Full= " "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil
= =C2=A0 =C2=A0 (context-mode) :help "Run ConTeXt until completion"= )
=C2=A0 =C2=A0("BibTeX" "bibtex %s" TeX-run-BibTeX n= il t :help "Run BibTeX")
=C2=A0 =C2=A0("Biber" "= biber %s" TeX-run-Biber nil t :help "Run Biber")
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2=A0 = =C2=A0("View" "%V" TeX-run-discard-or-function t t :hel= p "Run Viewer")
=C2=A0 =C2=A0("Print" "%p" = TeX-run-command t t :help "Print the file")
=C2=A0 =C2=A0("= ;Queue" "%q" TeX-run-background nil t :help "View the p= rinter queue" :visible
=C2=A0 =C2=A0 TeX-queue-command)
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2=A0 = =C2=A0("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t = :help
= =C2=A0 =C2=A0 "Generate PostScript file")
=C2=A0 =C2=A0= ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :he= lp
=C2=A0 =C2=A0 "Convert DVI file to PostScript")
=C2=A0 =C2= =A0("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :he= lp
=C2=A0 =C2=A0 "Convert DVI file to PDF with dvipdfmx")
=
=C2= =A0 =C2=A0("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :h= elp
=C2=A0 =C2=A0 "Convert PostScript file to PDF")
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2=A0 = =C2=A0("Index" "makeindex %s" TeX-run-index nil t :help=
=C2=A0 =C2=A0 "Run makeindex to create index file")
= =C2=A0 = =C2=A0("Xindy" "texindy %s" TeX-run-command nil t :help=
=C2=A0 =C2=A0 "Run xindy to create index file")
=C2=A0 =C2= =A0("Check" "lacheck %s" TeX-run-compile nil (latex-mod= e) :help
=C2=A0 =C2=A0 "Check LaTeX file for correctness")
= =C2=A0 =C2=A0("ChkTeX" "chktex -v6 %s" TeX-run-compile = nil (latex-mode) :help
=C2=A0 =C2=A0 "Check LaTeX file for common mi= stakes")
=C2=A0 =C2=A0("Spell" "(TeX-ispell-document = \"\")" TeX-run-function nil t :help
=C2=A0 =C2=A0 "Sp= ell-check the document")
=C2=A0 =C2=A0("Clean" "TeX-c= lean" TeX-run-function nil t :help
=C2=A0 =C2=A0 "Delete genera= ted intermediate files")
=C2=A0 =C2=A0("Clean All" "(= TeX-clean t)" TeX-run-function nil t :help
=C2=A0 =C2=A0 "Delet= e generated intermediate and output files")
=C2=A0 =C2=A0("Othe= r" "" TeX-run-command t t :help "Run an arbitrary comma= nd"))
=C2=A0)

-- =
Nishan S= ingh Mann
--94eb2c05ef7e1cd85605493a45e2-- ------------=_1489483383-19819-1--