From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guilherme Passos Subject: BUG - ox-latex - bib expansion bug and documentation error Date: Wed, 10 Jul 2019 17:32:58 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_FR1P15201MB22937883B348522180546116FCF00FR1P15201MB2293_" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51556) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlGSj-00023t-SX for emacs-orgmode@gnu.org; Wed, 10 Jul 2019 13:33:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlGSi-0001PX-Ra for emacs-orgmode@gnu.org; Wed, 10 Jul 2019 13:33:01 -0400 Received: from mail-oln040092009056.outbound.protection.outlook.com ([40.92.9.56]:1280 helo=NAM04-BN3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hlGSi-0001MY-FG for emacs-orgmode@gnu.org; Wed, 10 Jul 2019 13:33:00 -0400 Content-Language: pt-BR List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --_000_FR1P15201MB22937883B348522180546116FCF00FR1P15201MB2293_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, In ox-latex.el, line 1189, org-latex-pdf-process uses '(%bib %b) for expand= ing the bibliography. However, this incorrectly expands as '(BIBFILEib BIBF= ILE), instead of '(BIBPROCESS BIBFILE) as intended, defining the process of= calling the bibliography. As can be seen in line 3635, the correct command for the bibprocess is %B, = not %bib. The documentation is also wrong in lines 1137 and 1160 for saying that %bib= is the correct command. The only thing necessary is to replace %bib with %B in those lines. See lines: 1137, 1160, 1189 Should I send a patch? Best, Guilherme --_000_FR1P15201MB22937883B348522180546116FCF00FR1P15201MB2293_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

In ox-latex.el, line 1189, org-latex-pdf-process uses '(%bib %b)= for expanding the bibliography. However, this incorrectly expands as '(BIB= FILEib BIBFILE), instead of '(BIBPROCESS BIBFILE) as intended, defining the= process of calling the bibliography.

As can be seen in line 3635, the correct command for the bibprocess is= %B, not %bib.
The documentation is also wrong in lines 1137 and 1160 for saying that= %bib is the correct command.

The only thing necessary is to replace %bib with %B in those lines.
See lines: 1137, 1160, 1189

Should I send a patch?

Best,
Guilherme
--_000_FR1P15201MB22937883B348522180546116FCF00FR1P15201MB2293_--