Received: (at submit) by debbugs.gnu.org; 17 Nov 2019 19:57:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 14:57:51 2019 Received: from localhost ([127.0.0.1]:42709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iWQgB-0006bd-2v for submit <at> debbugs.gnu.org; Sun, 17 Nov 2019 14:57:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:34727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg9-0006bV-Cb for submit <at> debbugs.gnu.org; Sun, 17 Nov 2019 14:57:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57094) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg7-0001jO-AQ for bug-auctex@HIDDEN; Sun, 17 Nov 2019 14:57:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,FILL_THIS_FORM, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg5-0002qK-AB for bug-auctex@HIDDEN; Sun, 17 Nov 2019 14:57:47 -0500 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]:42865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <gusbrs.2016@HIDDEN>) id 1iWQg5-0002p0-22 for bug-auctex@HIDDEN; Sun, 17 Nov 2019 14:57:45 -0500 Received: by mail-qt1-x844.google.com with SMTP id t20so17715605qtn.9 for <bug-auctex@HIDDEN>; Sun, 17 Nov 2019 11:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:message-id:date:mime-version :content-transfer-encoding; bh=SJg4Y/vrc6pl7eAEWmsVOyADSfNaZn72I5k1Np/pXx4=; b=Ppew1GbFyAY1lbrSnTwJJuPuw0Tjd76+895SZpipDuiOkSa6NAfRClaCGso9mLqZnk mn9pN/PJhQQqhKO26Om6HUu0kmAdhgYIrYuCEz7FNF7Vmn4nrHoyGY28HmvYN9EWwQK+ /2mUpRtOQ+7FqHYxuXCHs0oZuWKhN9MQhpDB40eSWhMWFu9gD4J2os584b5uHM9n7Pzw WFTTVH1/PSssdUXFMyxe73Zaq3XoakD4jtUBuY1ENIrigqkLFxV/3TdgIT3RTPP+XoQx rJxgmZmwdFYLszD/dAZ64u7JS4Obs8KYh3An1qeZ+Cob0eckiQUMUN6j+feN9CQOVclu 8Kmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:message-id :date:mime-version:content-transfer-encoding; bh=SJg4Y/vrc6pl7eAEWmsVOyADSfNaZn72I5k1Np/pXx4=; b=h2w6kECl4BAB4O9mj1CgrMRfKOubPcF+MF1i4og/mNQcNsbYudtIvMeJAXo4a9i7Yq FJ8EhYMBIqa46WADnIea11wX/VBy+d0SaZib4S+jGs9BYNqHzvB4LEReg0YkAVhwYofT yhjA0cGNDOz1C0uCjx7BPBR3/cszsy27RBUtZpU4t8vAVR/v/3JiOiRYVrIxxl7hEi9Y DeIQfbmVngALm7HrtuiCbHlTK5LROk8vA2HOq1pOoJ1DBDTwElDQ+bKTA8/G5oCcIh/E 6hAbAkkq8GzPe5q9rWnMFF4XClMT2caeLnYycPTHewA9kKdfFuK6H4ZwJXeqFgCyeZod FkgA== X-Gm-Message-State: APjAAAX/jW9cFf8SXVdpEIC+Fqf9OBVIBw1K951QcuNSmGL9qxQHMANR Hp9z0QizWlhbLHt0TPmgcOT9jK/9NI8= X-Google-Smtp-Source: APXvYqzBBL9jajW30COQSL5Fcc1ApeI2AuKNlmEJPoDMf/E5u5Z2GcP9bpIkXuT4ijFBzSBXGRZ09Q== X-Received: by 2002:aed:2ac2:: with SMTP id t60mr24234899qtd.376.1574020662109; Sun, 17 Nov 2019 11:57:42 -0800 (PST) Received: from gusbrs-laptop ([179.178.160.106]) by smtp.gmail.com with ESMTPSA id w30sm9371408qtc.47.2019.11.17.11.57.39 for <bug-auctex@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Nov 2019 11:57:41 -0800 (PST) User-agent: mu4e 1.2.0; emacs 26.3 From: Gustavo Barros <gusbrs.2016@HIDDEN> To: bug-auctex@HIDDEN Subject: 12.2.0; reftex-create-bibtex-file and biblatex Message-ID: <87tv72i8iw.fsf@HIDDEN> Date: Sun, 17 Nov 2019 16:57:37 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::844 X-Spam-Score: 0.9 (/) 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.1 (--) Hi all, `reftex-create-bibtex-file' is a neat RefTeX utility, but it doesn=E2=80=99= t=20 seem to handle some peculiarities of `biblatex', namely: - `reftex-all-used-citation-keys', the auxiliary function used by=20 `reftex-create-bibtex-file' to generate the list of entries cited in=20 the document, does not include entries cited in qualified citation=20 lists. - `reftex-create-bibtex-file' handles the traditional BibTeX `crossref'=20 and `string' fields, but biblatex extends data inheritance and entry=20 cross-reference with such fields as `xref', `xdata' and `set', which=20 are not taken care of. A MWE which illustrates these cases is: #+begin_export latex \documentclass{article} \usepackage[minxrefs=3D1]{biblatex} \usepackage{filecontents} \begin{filecontents}{mwe_bib.bib} @article{sigfridsson, author =3D {Sigfridsson, Emma and Ryde, Ulf}, title =3D {Comparison of methods for deriving atomic charges from= =20 the electrostatic potential and moments}, journaltitle =3D {Journal of Computational Chemistry}, date =3D 1998, volume =3D 19, number =3D 4, pages =3D {377-395}, doi =3D=20 {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P}, } @article{reese, author =3D {Reese, Trevor R.}, title =3D {Georgia in {Anglo-Spanish} Diplomacy, 1736--1739}, journaltitle =3D {William and Mary Quarterly}, date =3D 1958, series =3D 3, volume =3D 15, pages =3D {168-190}, } @book{companion, author =3D {Goossens, Michel and Mittelbach, Frank and Samarin,=20 Alexander}, title =3D {The {LaTeX} Companion}, date =3D 1994, edition =3D 1, publisher =3D {Addison-Wesley}, location =3D {Reading, Mass.}, pagetotal =3D 528, } @incollection{westfahl:space, author =3D {Westfahl, Gary}, title =3D {The True Frontier}, subtitle =3D {Confronting and Avoiding the Realities of Space in=20 {American} Science Fiction Films}, pages =3D {55-65}, xref =3D {westfahl:frontier}, } @collection{westfahl:frontier, editor =3D {Westfahl, Gary}, title =3D {Space and Beyond}, date =3D 2000, subtitle =3D {The Frontier Theme in Science Fiction}, publisher =3D {Greenwood}, location =3D {Westport, Conn. and London}, } @xdata{hup, publisher =3D {Harvard University Press}, location =3D {Cambridge, Mass.}, } @incollection{pines, author =3D {Pines, Shlomo}, editor =3D {Twersky, Isadore}, title =3D {The Limitations of Human Knowledge According to=20 {Al-Farabi}, {ibn Bajja}, and {Maimonides}}, date =3D 1979, booktitle =3D {Studies in Medieval {Jewish} History and Literature}, xdata =3D {hup}, pages =3D {82-109}, shorttitle =3D {Limitations of Human Knowledge}, } @set{stdmodel, entryset =3D {glashow,weinberg,salam}, annotation =3D {A \texttt{set} with three members discussing the=20 standard model of particle physics.}, } @article{glashow, author =3D {Glashow, Sheldon}, title =3D {Partial Symmetries of Weak Interactions}, journaltitle =3D {Nucl.~Phys.}, date =3D 1961, volume =3D 22, pages =3D {579-588}, } @article{weinberg, author =3D {Weinberg, Steven}, title =3D {A Model of Leptons}, journaltitle =3D {Phys.~Rev.~Lett.}, date =3D 1967, volume =3D 19, pages =3D {1264-1266}, } @inproceedings{salam, author =3D {Salam, Abdus}, editor =3D {Svartholm, Nils}, title =3D {Weak and Electromagnetic Interactions}, date =3D 1968, booktitle =3D {Elementary particle theory}, booksubtitle =3D {Relativistic groups and analyticity}, booktitleaddon=3D {Proceedings of the {Eighth Nobel Symposium}}, eventdate =3D {1968-05-19/1968-05-25}, venue =3D {Aspen{\"a}sgarden, Lerum}, publisher =3D {Almquist \& Wiksell}, location =3D {Stockholm}, pages =3D {367-377}, } \end{filecontents} \addbibresource{mwe_bib.bib} \begin{document} % Entries cited in qualified citation lists are missing in the file=20 generated by `reftex-create-bibtex-file'. \cites(See, for example)()[45]{sigfridsson}[67]{reese}[24]{companion}. \textcites(See, for=20 example)()[45]{sigfridsson}[67]{reese}[24]{companion}. \parencites(See, for=20 example)()[45]{sigfridsson}[67]{reese}[24]{companion}. % Entry `westfahl:space' xref's entry `westfahl:frontier'. The latter=20 should be included in the bibliography, given option `minxrefs=3D1', but= =20 it is missing in the file generated by `reftex-create-bibtex-file'. \cite{westfahl:space}. % Entry `pines' uses xdata from entry `hup', but the latter is missing=20 in the file generated by `reftex-create-bibtex-file'. \cite{pines}. % Set `stdmodel' is composed by entries `glashow', `weinberg' and=20 `salam', wich are missing in the file generated by=20 `reftex-create-bibtex-file'. \cite{stdmodel}. \printbibliography{} \end{document} #+end_export The content of the file generated by `reftex-create-bibtex-file' on the=20 above MWE is: #+begin_example @incollection{westfahl:space, author =3D {Westfahl, Gary}, title =3D {The True Frontier}, subtitle =3D {Confronting and Avoiding the Realities of Space in=20 {American} Science Fiction Films}, pages =3D {55-65}, xref =3D {westfahl:frontier}, } @incollection{pines, author =3D {Pines, Shlomo}, editor =3D {Twersky, Isadore}, title =3D {The Limitations of Human Knowledge According to=20 {Al-Farabi}, {ibn Bajja}, and {Maimonides}}, date =3D 1979, booktitle =3D {Studies in Medieval {Jewish} History and Literature}, xdata =3D {hup}, pages =3D {82-109}, shorttitle =3D {Limitations of Human Knowledge}, } @set{stdmodel, entryset =3D {glashow,weinberg,salam}, annotation =3D {A \texttt{set} with three members discussing the=20 standard model of particle physics.}, } #+end_example However, all the entries initially provided are required for the MWE to=20 work correctly. Best regards, Gustavo Barros. Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version=20 3.22.30) of 2019-11-11 Package: 12.2.0 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-date "2019-10-31" window-system 'x LaTeX-version "2e" TeX-style-path '("/home/gustavo/.emacs.d/auctex" "/home/gustavo/.emacs.d/elpa/auctex-12.2.0/style" "/home/gustavo/.emacs.d/AUCTeX/auto" "/home/gustavo/.emacs.d/AUCTeX/style" ".auctex-auto" "auctex-style") TeX-auto-save t TeX-parse-self t TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts)=20 %S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode=20 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"=20 TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info=20 output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts)=20 %S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts)=20 %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt=20 once") ("ConTeXt Full" "%(cntxcom) %(extraopts)=20 %(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=20 "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the=20 file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible=20 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=20 nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary\n=20 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=20 (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil=20 (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")"=20 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=20 :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an=20 arbitrary command") ("make4odt" "make4ht -f odt %t" TeX-run-TeX nil=20 (latex-mode)) ("make4html" "make4ht -uf html5+tidy %t" TeX-run-TeX=20 nil (latex-mode)) ("Arara" "arara --verbose %s" TeX-run-TeX nil t=20 :help "Run Arara.") ) )
Gustavo Barros <gusbrs.2016@HIDDEN>
:bug-auctex@HIDDEN
.
Full text available.bug-auctex@HIDDEN
:bug#38249
; Package auctex
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.