From: tsd@tsdye.com (Thomas S. Dye)
To: Alan L Tyree <alantyree@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bibliographic references
Date: Fri, 16 Dec 2011 12:28:36 -1000 [thread overview]
Message-ID: <m1pqfocfsb.fsf@tsdye.com> (raw)
In-Reply-To: <1324071794.3325.1@windy> (Alan L. Tyree's message of "Sat, 17 Dec 2011 08:43:14 +1100")
Alan L Tyree <alantyree@gmail.com> writes:
> I feel like this should be googleable, but I'm not having much luck.
>
> As Eric mentioned in a recent post, one of the nice things about
> writing in org is that there is no need to worry about output format.
>
> Except in one thing: How do I deal with bibliographic citations so that
> the output is sensible in the different formats? How do I get \cite
> {key} to export properly in XHTML and odt as well as in LaTeX?
>
> Sorry if this is obvious to everybody else -- I'm stymied.
>
> Cheers,
> Alan
Aloha Alan,
IIUC, your immediate question has to do with making an in-text citation
look right in different output formats. This can be accomplished with
the extended link syntax. A basic setup that only includes LaTeX export
can be found here:
http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17-2
For the other export formats you'll need to add (eq format 'html) ...,
etc.
Of course, this just handles the in-text part for formats other than
LaTeX. LaTeX uses bibtex or biblatex to compile the list of
references. I don't know how to accomplish this in ODT. For html, I
export from Org-mode to LaTeX, then use tex4ht to convert to html. This
leverages the bibtex capabilities and yields nicely formatted
bibliographies in html.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
next prev parent reply other threads:[~2011-12-16 22:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 21:43 Bibliographic references Alan L Tyree
2011-12-16 22:03 ` Nick Dokos
2011-12-16 22:28 ` Thomas S. Dye [this message]
2011-12-16 23:08 ` Nick Dokos
2011-12-16 23:59 ` Alan L Tyree
2011-12-17 0:25 ` Thomas S. Dye
2011-12-17 0:42 ` Alan L Tyree
2011-12-17 1:21 ` Thomas S. Dye
2011-12-17 2:31 ` Alan L Tyree
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1pqfocfsb.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=alantyree@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.