emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: customising org-latex-to-pdf-process for bibtex
Date: Mon, 28 Feb 2011 16:06:06 +0000	[thread overview]
Message-ID: <877hck5ekx.fsf@ucl.ac.uk> (raw)
In-Reply-To: <20110225181003.35eab1c7@bhishma.homelinux.net> (Suvayu Ali's message of "Fri, 25 Feb 2011 18:10:03 -0800")

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

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

[...]

>
> Does that say anything to you? How do I capture the output from bibtex?
> I presumed it is being overwritten by subsequent pdflatex runs. So I
> removed the later pdflatex runs from the variable and that gives me
> this output in the "*Org PDF LaTeX Output*" buffer.

[...]

You could try creating a shell script (such as attached) which invokes
both pdflatex and bibtex and tell org to use that command for exporting
to pdf instead.  Then all the output should come out to the screen.

I've tried this and all the output (3 pdflatex and 1 bibtex invocations)
comes out into the =*Org PDF Latex Output*= buffer.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org 2 pdf shell scripts --]
[-- Type: text/x-sh, Size: 331 bytes --]

#!/bin/sh -f
# first argument should be base latex file name
F=$1
echo 'Using ' $F
echo '--------------------------------- running pdflatex first'
pdflatex $F
echo '--------------------------------- running bibtex next'
bibtex  $F
echo '--------------------------------- running pdflatex again (and again)'
pdflatex $F
pdflatex $F

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.529.gb23d.dirty)

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2011-02-28 18:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25 23:30 customising org-latex-to-pdf-process for bibtex suvayu ali
2011-02-26  0:23 ` Eric S Fraga
2011-02-26  2:18   ` Suvayu Ali
2011-02-28  9:23     ` Eric S Fraga
     [not found] ` <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com>
2011-02-26  2:10   ` Suvayu Ali
     [not found]     ` <192D7D99-6918-424A-A047-6D6D1C1AF1DA@tsdye.com>
2011-02-26  2:48       ` Suvayu Ali
2011-02-28 16:06     ` Eric S Fraga [this message]
2011-02-28 20:45       ` Suvayu Ali
2011-02-28 20:51         ` Suvayu Ali
2011-03-01  8:54           ` Eric S Fraga
2011-03-01  4:31         ` Thomas S. Dye
2011-03-01  8:52           ` Eric S Fraga
2011-03-01 12:26             ` Suvayu Ali
2011-03-01 12:51               ` Eric S Fraga
2011-03-01 18:43                 ` Suvayu Ali
2011-03-01 20:41                   ` Eric S Fraga
2011-03-01 21:32                     ` Suvayu Ali
2011-03-02  6:55                       ` Eric S Fraga
2011-03-01 12:33             ` Carsten Dominik
2011-03-01 12:49               ` Eric S Fraga

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=877hck5ekx.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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).