emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Guilherme Passos <gpp_92@hotmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: BUG - ox-latex - bib expansion bug and documentation error
Date: Wed, 10 Jul 2019 17:32:58 +0000	[thread overview]
Message-ID: <FR1P15201MB22937883B348522180546116FCF00@FR1P15201MB2293.LAMP152.PROD.OUTLOOK.COM> (raw)

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

Hi,

In ox-latex.el, line 1189, org-latex-pdf-process uses '(%bib %b) for expanding the bibliography. However, this incorrectly expands as '(BIBFILEib 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

[-- Attachment #2: Type: text/html, Size: 1179 bytes --]

             reply	other threads:[~2019-07-10 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 17:32 Guilherme Passos [this message]
2019-07-11  4:07 ` BUG - ox-latex - bib expansion bug and documentation error Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FR1P15201MB22937883B348522180546116FCF00@FR1P15201MB2293.LAMP152.PROD.OUTLOOK.COM \
    --to=gpp_92@hotmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).