emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode and citations
@ 2010-04-03  2:57 John Hendy
  2010-04-04 15:41 ` Matt Lundin
  0 siblings, 1 reply; 2+ messages in thread
From: John Hendy @ 2010-04-03  2:57 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 3406 bytes --]

Hi,


Just finishing up a report and was taking care of the citations. I've been
using C-c C-x f and it's been awesome... until I go to export to LaTeX when
everything falls apart. Footnotes in my document came during unordered list
items (bullets) and the LaTeX export had all kinds of mismatched brackets
that I haven't been able to sort through. Is there a better way? Here's an
example of what I'm experiencing:

------
\item Through further research, it turns out that World Choice Travel is
    exactly how FHTM is generating income from Travelocity\footnote{Office
of the State Auditor, State of Montana
\end{itemize}

\end{itemize}
(2010). \emph{Temporary Cease and Desist Order and Opportunity for Hearing}
(SEC-2010-12), 29. \href{
http://www.sao.mt.gov/legal/securities/S10_HITECH%20Cease%20and%20Desist.pdf}{http://www.sao.mt.gov}
}
\begin{itemize}
\item \textbf{Magazines.com:} 35\% on all sales\footnote{Magazines.com
(2009). \emph{Sales Affiliate Information}. Retrieved
\end{itemize}
31 March 2010 from \href{
http://www.magazines.com/affiliate/index}{http://www.magazines.com} }
------

So... (2010). \emph... should be after 'State of Montana' on one item rather
than made to be in between an \end{itemize} and \begin{itemize} (no man's
land, that is). Same thing with the last line '31 March...': that should
have come after 'Retrieved' two lines above.

I have found all kinds of references, but nothing that lays things out play
by play. I would prefer to have org-mode integration so that I don't put in
bib info in the tex file, change something, and have to do it all over again
when I re-export.

So, I can find some info about Bibtex and Reftex but in my opinion it's just
not very helpful. Even the bibtex.org website seems difficult to me. I
copied their examples exactly and end up with 'Blablabla said Nobody ~[?]'
and some weird stuff at the bottom. I have also found Mario's Brain Dump (
http://www.mfasold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/)
which only says to put these lines in an org-mode file:

\bibliographystyle{plain}
\bibliography{ProbePosition}

I have also found this:
http://www.hep.manchester.ac.uk/u/jenny/jcwdocs/latex/bibtexbasics.html
and this: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg02317.html

Usually I just get something like no bibliography found, 'some references
were undefined' when exporting from LaTeX mode with C-c C-c, or at one point
got 'Wrong type argument stringp, nil when trying this:
http://article.gmane.org/gmane.emacs.orgmode/2406/match=bibliography

I completely admit that I might be stupid about not finding some obvious
information, but it's really been challenging!

Is there any sort of 'quick' way to use bibtex or reftex in org-mode?
Googling doesn't get me hits on the org-mode manual.

I would also accept user suggestions of how to use bibtex/reftex with
org-mode, but more of a 'from scratch' method. I have looked and looked and
could tell you:
- bibtex and reftex exist (but not really what the difference is)
- what bibtex file formats are like and what classes work with the various
source types (i have the manual)
- that there seems to be a way to use this in org-mode
- that those who use it really like it

But not much else.

As an alternative, is there a way to:
- fix my issue above?
- use endnotes instead of footnotes via this method?

Many thanks for sparing my hair.


John

[-- Attachment #1.2: Type: text/html, Size: 4292 bytes --]

[-- Attachment #2: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Org-mode and citations
  2010-04-03  2:57 Org-mode and citations John Hendy
@ 2010-04-04 15:41 ` Matt Lundin
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2010-04-04 15:41 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

John Hendy <jw.hendy@gmail.com> writes:

> Just finishing up a report and was taking care of the citations. I've
> been using C-c C-x f and it's been awesome... until I go to export to
> LaTeX when everything falls apart. Footnotes in my document came during
> unordered list items (bullets) and the LaTeX export had all kinds of
> mismatched brackets that I haven't been able to sort through. Is there
> a better way? Here's an example of what I'm experiencing:
>
> ------
> \item Through further research, it turns out that World Choice Travel
> is
>     exactly how FHTM is generating income from Travelocity\footnote
> {Office of the State Auditor, State of Montana
> \end{itemize}
>
> \end{itemize}
> (2010). \emph{Temporary Cease and Desist Order and Opportunity for
> Hearing}
> (SEC-2010-12), 29. \href{http://www.sao.mt.gov/legal/securities/
> S10_HITECH%20Cease%20and%20Desist.pdf}{http://www.sao.mt.gov} }
> \begin{itemize}
> \item \textbf{Magazines.com:} 35\% on all sales\footnote{Magazines.com
> (2009). \emph{Sales Affiliate Information}. Retrieved
> \end{itemize}
> 31 March 2010 from \href{http://www.magazines.com/affiliate/index}
> {http://www.magazines.com} }
> ------

Can you please provide the source file you used to produce this output?
I cannot replicate this problem.

Here, the following tree...

--8<---------------cut here---------------start------------->8---
* Testing

 - hello[1]

   - A sub point[2] with some /emphasis afterwards/.

 - goodbye[3]

[1] A footnote.

[2] The sub-point footnote.

[3] Another footnote.
--8<---------------cut here---------------end--------------->8---

exports correctly as...

--8<---------------cut here---------------start------------->8---
\begin{itemize}
\item hello\footnote{A footnote. }

\begin{itemize}
\item A sub point\footnote{The sub-point footnote. } with some \emph{emphasis afterwards}.
\end{itemize}

\item goodbye\footnote{Another footnote. }
\end{itemize}
--8<---------------cut here---------------end--------------->8---

>
> So... (2010). \emph... should be after 'State of Montana' on one item
> rather than made to be in between an \end{itemize} and \begin{itemize}
> (no man's land, that is). Same thing with the last line '31 March...':
> that should have come after 'Retrieved' two lines above.

Are you sure that your plain lists are indented properly?

> So, I can find some info about Bibtex and Reftex but in my opinion it's
> just not very helpful. Even the bibtex.org website seems difficult to
> me. 

I'm not sure I understand your questions about BibTeX or how they relate
to the example above. 

There is ample material on-line for learning BibTeX, but mastering it
requires some patient reading and practice. The short answer: BibTeX is
a file format for storing bibliographical data as well as a program for
formatting BibTeX data for LaTeX processing. Reftex is an emacs mode
(written by Carsten) that, among other things, makes it easy to enter
cite macros and reference keys in a LaTeX file (or, if you'd like, an
org file). Most instructions you'll find on integrating BibTeX with
org-mode presuppose a working familiarity with BibTeX and reftex. For a
quick overview, the Wikipedia article on BibTeX is a good place to
start.[fn:1]

Best,
Matt

Footnotes:

[fn:1] http://en.wikipedia.org/wiki/Bibtex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-04 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-03  2:57 Org-mode and citations John Hendy
2010-04-04 15:41 ` Matt Lundin

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).