GNU bug report logs - #45990
13.0.3; Skim does not open PDF file at correct line (same command works fine from command line)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: Richard Stanton <rhstanton@HIDDEN>; dated Tue, 19 Jan 2021 18:26:02 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jan 2021 18:25:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 19 13:25:48 2021
Received: from localhost ([127.0.0.1]:51680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l1vhL-0005QY-TX
	for submit <at> debbugs.gnu.org; Tue, 19 Jan 2021 13:25:48 -0500
Received: from lists.gnu.org ([209.51.188.17]:37506)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rhstanton@HIDDEN>) id 1l1vhJ-0005QN-08
 for submit <at> debbugs.gnu.org; Tue, 19 Jan 2021 13:25:45 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:48020)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rhstanton@HIDDEN>)
 id 1l1vhG-0003Db-Fj
 for bug-auctex@HIDDEN; Tue, 19 Jan 2021 13:25:44 -0500
Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:35529)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rhstanton@HIDDEN>)
 id 1l1vhC-0008W1-Bu
 for bug-auctex@HIDDEN; Tue, 19 Jan 2021 13:25:41 -0500
Received: by mail-pl1-x632.google.com with SMTP id g3so11005568plp.2
 for <bug-auctex@HIDDEN>; Tue, 19 Jan 2021 10:25:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=berkeley-edu.20150623.gappssmtp.com; s=20150623;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=2NDNqw6le9WBpGAwdlzKqSuDRTYz0l2XhOKLFZ1N6tQ=;
 b=mW7qPT+7RByR68N1rr/YzKICjHUmAhdqOrqW31dOnS9xWezfowfpUt5Bsx3/GwIjEc
 1r/wGZuBc2aNLZ1GYWmzcmsWFemO8d9ZAfdDLE2OOTSd5ZTBcLy4EeWrr9sPa1GKEXIu
 f/HnCre0Jw34oWqFVR02GQRiCpS5j7gLaPKgJB+r2PDAGvK8a1g3toRqVUGE7vlf9J5X
 pMiWAVEpD4vlz0tJFAVw56p3+Ilsza56lOx2UgGSq0pr72LYv02IKsjnLFunpov7B6w+
 1L0em6KVlqsr+PfclwDSBBMVHnJyRxbuiL3666hfdNEgUCjyTUXRmv2A5o+5OaDkqZFD
 3QPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=2NDNqw6le9WBpGAwdlzKqSuDRTYz0l2XhOKLFZ1N6tQ=;
 b=f0SHIWymU/aPaNI14BvXn0Uha44KslK8tEwVPrFf2Li+kEBfOdEm8QkJLucf4+5V1g
 +0dBgwXE2Wd6pH1spSP+k2FSQ2AJQCFb0BmERShFlA4ogdXgwl9eM76a3bSSk/vfOckv
 uDjmZVDZu8seFW7ktg7Tw3HZyXDXOuqXccH+ayM+rvBAfAiR0m1ZPTkIedofx+BI5Blu
 rckyAvaP50AxctkoNvu07c3Bi+YjggoFBBtoRQfntVz7r8LsKWRMB7dVf2kEGpOZ2bQM
 xszLDi9oidLP8TamcGJSonU5JKmfO9fYzFxgFswFTPUfb9uj5IPp1lekjDZAAdy9ulv/
 Ldog==
X-Gm-Message-State: AOAM533k7dgLuZYBjmWgMXFscSsw+QOBbzYN+rcXFnZmb1Xd1uJmX7+p
 8DFRgftvXBMlAEi1roYP53OsxG+QYkBy4w==
X-Google-Smtp-Source: ABdhPJxqIkSIPV+gN6PkheB9ievLxBYd1AUpNUaKp/uLJF9+9mgqhO6dM2s0qavjkI1L3YS7YoMVtg==
X-Received: by 2002:a17:902:6a87:b029:da:e253:dd6a with SMTP id
 n7-20020a1709026a87b02900dae253dd6amr5703954plk.81.1611080734367; 
 Tue, 19 Jan 2021 10:25:34 -0800 (PST)
Received: from ?IPv6:2607:f140:800:1::1297? ([2607:f140:800:1::1297])
 by smtp.gmail.com with ESMTPSA id o1sm18697319pgq.1.2021.01.19.10.25.32
 for <bug-auctex@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 19 Jan 2021 10:25:33 -0800 (PST)
From: Richard Stanton <rhstanton@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Subject: 13.0.3; Skim does not open PDF file at correct line (same command
 works fine from command line)
Message-Id: <C8B89E23-1217-4E99-A0D2-75E0B7DAF2DE@HIDDEN>
Date: Tue, 19 Jan 2021 10:25:32 -0800
To: bug-auctex@HIDDEN
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Received-SPF: pass client-ip=2607:f8b0:4864:20::632;
 envelope-from=rhstanton@HIDDEN; helo=mail-pl1-x632.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Running AUC-TeX 13.0.3 on MacOS Catalina, I cannot get Skim to open the =
file at the line number I ask for. Neither does forward search work, =
though reverse search works fine.

Here=E2=80=99s the relevant portion of my setup:

(setq TeX-view-program-selection '((output-pdf "PDF Viewer")))
(setq TeX-view-program-list
      '(("PDF Viewer" =
"/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n %o =
%b")))

In my custom variables, I also have

 '(LaTeX-command "latex -synctex=3D1")
 '(TeX-PDF-mode t)
 '(TeX-source-correlate-method 'synctex)=20
 '(TeX-source-correlate-mode t)
 '(TeX-source-correlate-start-server t)

When I type C-c C-c View, the mini buffer displays (for example) the =
command

/Applications/Skim.app/Contents/SharedSupport/displayline -b -g 358 =
main.pdf main.tex

When I accept this command, Skim displays the correct PDF file, but just =
shows the first page, not the page containing line 358.=20

Interestingly, if I go to the command line and run the exact same =
command from the TeX file directory,

/Applications/Skim.app/Contents/SharedSupport/displayline -b -g 358 =
main.pdf main.tex

Skim opens at the correct page with the correct line highlighted. I=E2=80=99=
m not sure why I should get different behavior from the same command.

In case it matters, I=E2=80=99m running Skim version 1.6.

Thanks for any suggestions.

Richard Stanton

=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94

Emacs  : GNU Emacs 27.1 (build 1, x86_64-apple-darwin19.6.0, Carbon =
Version 162 AppKit 1894.6)
 of 2020-11-16
Package: 13.0.3

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
 AUCTeX-date "2021-01-08"
 window-system 'mac
 LaTeX-version "2e"
 TeX-style-path '("/usr/local/var/auctex" =
"/Users/stanton/.emacs.d/straight/build/auctex/style"
                  "/Users/stanton/.emacs.d/auctex/auto" =
"/Users/stanton/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("latexmk" "latexmk -pdf %s" TeX-run-TeX nil t :help =
"Run latexmk on file")
                    ("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
                     (plain-tex-mode latex-mode doctex-mode ams-tex-mode =
texinfo-mode context-mode) :help "Run BibTeX")
                    ("Biber" "biber %s" TeX-run-Biber nil =
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :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
                     (plain-tex-mode latex-mode doctex-mode ams-tex-mode =
texinfo-mode) :help "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
                     (plain-tex-mode latex-mode doctex-mode ams-tex-mode =
texinfo-mode) :help "Convert DVI file to PostScript")
                    ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil
                     (plain-tex-mode latex-mode doctex-mode ams-tex-mode =
texinfo-mode) :help
                     "Convert DVI file to PDF with dvipdfmx")
                    ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil =
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
                     :help "Convert PostScript file to PDF")
                    ("Glossaries" "makeglossaries %s" TeX-run-command =
nil
                     (plain-tex-mode latex-mode doctex-mode ams-tex-mode =
texinfo-mode) :help
                     "Run makeglossaries to create glossary\n     file")
                    ("Index" "makeindex %s" TeX-run-index nil =
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
                     :help "Run makeindex to create index file")
                    ("upMendex" "upmendex %s" TeX-run-index t =
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
                     :help "Run upmendex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil =
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
                     :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"))
 )





Acknowledgement sent to Richard Stanton <rhstanton@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#45990; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 19 Jan 2021 18:30:02 UTC

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