GNU bug report logs -
#47248
12.3; TeX-output-dir fails for TeX region, view pdf
Previous Next
Reported by: Uwe Brauer <oub <at> mat.ucm.es>
Date: Thu, 18 Mar 2021 21:39:02 UTC
Severity: normal
Tags: notabug
Found in version 12.3
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47248 in the body.
You can then email your comments to 47248 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#47248
; Package
auctex
.
(Thu, 18 Mar 2021 21:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Uwe Brauer <oub <at> mat.ucm.es>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 18 Mar 2021 21:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi
I have not used TeX-region for a while, but now there seems a bug.
With the setting
(setq TeX-output-dir "build"
TeX-region "build/_region_")
There seems a bug, in TeX-region using the view command.
Steps to reproduce the error (see the attached file)
1. Mark say the begin{frame} end{frame}
2. Compile
3. Run either C-c C-v or C-c C-r and chose view,
Then the viewer claims it cannot find the pdf file.
I bisected:
The first commit where the problem occurs is
c955473368fdffa7def3fbf03016fd0615a53528
While
b650ab2847b1a775f36117f0d6077aecfff0419a
Is still ok,
Maybe I should have changed my setting?
Regards
Uwe
Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.6, Xaw3d scroll bars)
of 2020-07-23
Package: 12.3
current state:
==============
(setq
AUCTeX-date "2020-10-18"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("/home/oub/emacs/site-lisp/packages/auctex-git/auctex/style" "auto" "style"
"/home/oub/ALLES/emacs/site-lisp/auctex-private-style")
TeX-auto-save t
TeX-parse-self t
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %(output-dir) %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) %(o-dir) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo %(extraopts) %(o-dir) --html %t" TeX-run-compile nil (texinfo-mode) :help
"Run Makeinfo with HTML output")
("AmSTeX" "amstex %(PDFout) %`%(extraopts) %(output-dir) %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 %(O?aux)" TeX-run-BibTeX nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX")
("Biber" "biber %s %(output-dir)" 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 -o %(O?pdf)" 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 %(O?pdf)" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Convert PostScript file to PDF")
("Glossaries" "makeglossaries %(O?aux)" 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 %(O?idx)" 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 %(O?idx)" 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"))
)
[test-out.tex (text/x-tex, attachment)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47248
; Package
auctex
.
(Fri, 19 Mar 2021 07:46:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 47248 <at> debbugs.gnu.org (full text, mbox):
Hi Uwe,
>>>>> Uwe Brauer <oub <at> mat.ucm.es> writes:
> With the setting
> (setq TeX-output-dir "build"
> TeX-region "build/_region_")
There was a design change in the treatment of region file. Now region
files such as _region_.tex are put in the build directory by default
when `TeX-output-dir' is non-nil. So setting `TeX-region' is no longer
necessary.
Bye,
Ikumi Keita
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#47248
; Package
auctex
.
(Fri, 19 Mar 2021 08:01:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 47248 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "IK" == Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
Hi Ikumi
> Hi Uwe,
>>>>>> Uwe Brauer <oub <at> mat.ucm.es> writes:
>> With the setting
>> (setq TeX-output-dir "build"
>> TeX-region "build/_region_")
> There was a design change in the treatment of region file. Now region
> files such as _region_.tex are put in the build directory by default
> when `TeX-output-dir' is non-nil. So setting `TeX-region' is no longer
> necessary.
Sorry, I should have read your corresponding more carefully. You are
right, I confirm that after deleting the above setting, everything works
as expected.
Regards
Uwe
[smime.p7s (application/pkcs7-signature, attachment)]
Added tag(s) notabug.
Request was from
Ikumi Keita <ikumi <at> ikumi.que.jp>
to
control <at> debbugs.gnu.org
.
(Fri, 19 Mar 2021 08:07:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
47248 <at> debbugs.gnu.org and Uwe Brauer <oub <at> mat.ucm.es>
Request was from
Ikumi Keita <ikumi <at> ikumi.que.jp>
to
control <at> debbugs.gnu.org
.
(Fri, 19 Mar 2021 08:07:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 16 Apr 2021 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 66 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.