From: Ken Mankoff <mankoff@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: bibliography as part of the source document?
Date: Tue, 14 Jun 2016 21:29:00 -0500 [thread overview]
Message-ID: <m2wplrkwwj.fsf@x-128-101-83-174.eduroam.wireless.umn.edu> (raw)
In-Reply-To: <87lh29ymd8.fsf@skimble.plus.com>
On 2016-06-13 at 13:28, Sharon Kimble <boudiccas@skimble.plus.com> wrote:
> Ken Mankoff <mankoff@gmail.com> writes:
>> On 2016-06-13 at 13:07, Sharon Kimble <boudiccas@skimble.plus.com> wrote:
>>> I'm trying to have all my information for a org-mode document
>>> exported to latex contained within the source document. Specifically
>>> having the bibliography within the source document.
>>>
>>> But how do I do it? I've tried googling but haven't turned up
>>> anything useful. Can you help please?
>>
>> What about putting the BibTeX contents in the Org file. Tangle on
>> export to Bib file.
>>
>
> Yes, that's what I'm trying to do, but how do I tangle it?
I don't know how to tell Org to tangle-on-export with an argument or a setting, but it can evaluate code blocks on export, and one of those can do the tangling for you. The following might work?
#+begin_src emacs-lisp :exports none
(org-babel-goto-named-src-block "bibtex")
(org-babel-tangle)
#+end_src
#+begin_src bibtex :tangle file.bib
bib contents go here
#+end_src
-k.
next prev parent reply other threads:[~2016-06-15 2:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 18:07 bibliography as part of the source document? Sharon Kimble
2016-06-13 18:11 ` Ken Mankoff
2016-06-13 18:28 ` Sharon Kimble
2016-06-15 2:29 ` Ken Mankoff [this message]
2016-06-15 12:25 ` Ken Mankoff
2016-06-15 12:41 ` John Kitchin
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=m2wplrkwwj.fsf@x-128-101-83-174.eduroam.wireless.umn.edu \
--to=mankoff@gmail.com \
--cc=boudiccas@skimble.plus.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).