Re: [O] bibliography as part of the source document?

2016-06-15 Thread John Kitchin
You might checkout the function at the end of this org-ref issue: https://github.com/jkitchin/org-ref/issues/176 It provides a way to extract all bibtex src blocks to a file and is a bit different than using org-babel-tangle. Ken Mankoff writes: > On 2016-06-14 at 21:29, Ken Mankoff

Re: [O] bibliography as part of the source document?

2016-06-15 Thread Ken Mankoff
On 2016-06-14 at 21:29, Ken Mankoff wrote: > 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

Re: [O] bibliography as part of the source document?

2016-06-14 Thread Ken Mankoff
On 2016-06-13 at 13:28, Sharon Kimble wrote: > Ken Mankoff writes: >> On 2016-06-13 at 13:07, Sharon Kimble wrote: >>> I'm trying to have all my information for a org-mode document >>> exported to latex contained within

Re: [O] bibliography as part of the source document?

2016-06-13 Thread Sharon Kimble
Ken Mankoff writes: > On 2016-06-13 at 13:07, Sharon Kimble 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

Re: [O] bibliography as part of the source document?

2016-06-13 Thread Ken Mankoff
On 2016-06-13 at 13:07, Sharon Kimble 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

Re: [O] #+BIBLIOGRAPHY multiple entries

2014-11-23 Thread Andreas Kiermeier
Hi Johnny, ​ On 24 November 2014 at 08:08, yggdra...@gmx.co.uk wrote: I use #+BIBLIOGRAPHY mybibliographyfile plain which works, but #+BIBLIOGRAPHY myfirstbibliographyfile mysecondbibliographyfile plain does not. Instead of #+BIBLIOGRAPHY I tend to use #+LATEX:

Re: [O] Bibliography woes!

2014-05-06 Thread Rainer M Krug
Ken Mankoff mank...@gmail.com writes: On 2014-05-05 at 19:39, John Hendy wrote: If this works, someone can chime in regarding how to modify Org so that it will run the necessary biber/biblatex commands so you don't have to jump to a command line every time. Or perhaps that's a one time thing

Re: [O] Bibliography woes!

2014-05-06 Thread Ken Mankoff
On 2014-05-06 at 03:33, Rainer M Krug wrote: Ken Mankoff mank...@gmail.com writes: I've found latexmk to be the best tool for compiling LaTeX documents. This sounds very interesting. Could you please provide some details on how you use latexmk? Do you use any special options? My

Re: [O] Bibliography woes!

2014-05-06 Thread Rainer M Krug
Ken Mankoff mank...@gmail.com writes: On 2014-05-06 at 03:33, Rainer M Krug wrote: Ken Mankoff mank...@gmail.com writes: I've found latexmk to be the best tool for compiling LaTeX documents. This sounds very interesting. Could you please provide some details on how you use latexmk? Do you

Re: [O] Bibliography woes! SOLVED.

2014-05-06 Thread Sharon Kimble
John. Thank you for a most informative and useful post. Using your method I've just created the cat.org with 14 bibliographic records! I've amended it slightly, which I'll document in line. John Hendy jw.he...@gmail.com writes: On Mon, May 5, 2014 at 5:23 PM, Sharon Kimble

Re: [O] Bibliography woes!

2014-05-05 Thread Vikas Rawal
I'm having no success in getting the bibliography to display in my document, so these are my relevant settings - ╭ │#+LaTeX_HEADER: \usepackage{biblatex} │#+LaTeX_HEADER: \bibliography{/home/boudiccas/.emacs.d/research/references.bib} │#+LaTeX_HEADER: \bibliography{references} ╰

Re: [O] Bibliography woes!

2014-05-05 Thread Leonard Avery Randall
Hi, Sharon Kimble wrote: But page 3 of what? input line 139 of what? Page 3 of the PDF and input line 139 of the .tex file. It all looks okay to me, except I cant see what the latex warnings relate to. Any ideas folks please? The most likely problem is that you have you have not

Re: [O] Bibliography woes!

2014-05-05 Thread Sharon Kimble
Leonard Avery Randall leonard.a.rand...@gmail.com writes: Hi, Sharon Kimble wrote: But page 3 of what? input line 139 of what? Page 3 of the PDF and input line 139 of the .tex file. It all looks okay to me, except I cant see what the latex warnings relate to. Any

Re: [O] Bibliography woes!

2014-05-05 Thread Vikas Rawal
Any ideas please folks, or some code to try please? I use #+LATEX_HEADER: \usepackage[citestyle=authoryear-icomp,bibstyle=authoryear,hyperref=true,backref=true,maxcitenames=3,url=true,backend=biber,natbib=true]{biblatex} Can you try this, and if it works, modify as you prefer. Also, as

Re: [O] Bibliography woes!

2014-05-05 Thread Leonard Avery Randall
Hi Sharon, Your setup seems to only call bibtex once. I find that with biblatex this is usually not enough to resolve references. I would call bibtex a second time after the second run of biblatex. All best, Leonard

Re: [O] Bibliography woes!

2014-05-05 Thread Sharon Kimble
Vikas Rawal vikasli...@agrarianresearch.org writes: Any ideas please folks, or some code to try please? I use #+LATEX_HEADER: \usepackage

Re: [O] Bibliography woes!

2014-05-05 Thread Eric S Fraga
On Monday, 5 May 2014 at 18:08, Sharon Kimble wrote: [...] How do I do it from the command-line please? Using what commands? I can do it from inside org-mode, and I've created a test file and bib references, details now. Sharon, have you not seen my other email? Your problem is the actual

Re: [O] Bibliography woes!

2014-05-05 Thread Sharon Kimble
Eric S Fraga e.fr...@ucl.ac.uk writes: On Monday, 5 May 2014 at 18:08, Sharon Kimble wrote: [...] How do I do it from the command-line please? Using what commands? I can do it from inside org-mode, and I've created a test file and bib references, details now. Sharon, have you not seen

Re: [O] Bibliography woes!

2014-05-05 Thread Leonard Avery Randall
Hi, As Henry just noted, one of your main problem is your bibtex key. It should not contain spaces, commas, backslashes, semicolons, or other special characters that might mess up the syntax of the bibtex file. A common convention is to use author:year or if you have many articles by the same

Re: [O] Bibliography woes!

2014-05-05 Thread Ken Mankoff
On 2014-05-05 at 19:39, John Hendy wrote: If this works, someone can chime in regarding how to modify Org so that it will run the necessary biber/biblatex commands so you don't have to jump to a command line every time. Or perhaps that's a one time thing -- maybe as long as biber generates

Re: [O] Bibliography and ODT

2013-07-14 Thread Christian Moe
Hi, What seems to work for most people is exporting to latex, running bibtex, and using one of these tools to convert to ODT: - TeX4ht (the usual recommendation) - Pandoc or to convert to a format that ODT imports reasonably well: - LaTeX2RTF (and import RTF into LibreOffice) - LaTeX2HTML

Re: [O] Bibliography and ODT

2013-07-14 Thread Roger Mason
hello Christian, On 07/14/2013 05:07 PM, Christian Moe wrote: Hi, What seems to work for most people is exporting to latex, running bibtex, and using one of these tools to convert to ODT: - TeX4ht (the usual recommendation) - Pandoc or to convert to a format that ODT imports reasonably well:

Re: [O] Bibliography

2013-05-16 Thread Vikas Rawal
at the keyword please. Here's a new take on the problem. You need to use latest maint (or master) revision. What do you think? I have been trying ox-bibtex.el. One problem I have is that the \cite{key} does not put a number with a link to the citation, but puts [key] in place of the

Re: [O] Bibliography

2013-05-16 Thread Nicolas Goaziou
Hello, Vikas Rawal vikasli...@agrarianresearch.org writes: I have been trying ox-bibtex.el. One problem I have is that the \cite{key} does not put a number with a link to the citation, but puts [key] in place of the number. I have tried different styles, but nothing seems to work. See,

Re: [O] Bibliography

2013-05-16 Thread Nicolas Goaziou
Hello, Fabrice Popineau fabrice.popin...@supelec.fr writes: It defnitely helps a lot with Org-LaTeX files (scientific papers). There is one thing that is not taken into account and I wonder if there is an Org solution for it. In laTeX you can use \cite{foo1999, foo2002} . I don't think that

Re: [O] Bibliography

2013-05-16 Thread Vikas Rawal
See, for example, http://www.indianstatistics.org/education.html. \cite{vikaseducation2011} shows up as [vikaseducation2011] instead of [1]. Any idea why this is happening? Yes: code typo. Here's an update. Thanks. Vikas

Re: [O] Bibliography

2013-05-14 Thread Fabrice Popineau
It defnitely helps a lot with Org-LaTeX files (scientific papers). There is one thing that is not taken into account and I wonder if there is an Org solution for it. In laTeX you can use \cite{foo1999, foo2002} . I don't think that current links in Org allow this and I don't see an easy way for

Re: [O] Bibliography

2013-05-12 Thread Nicolas Goaziou
Hello, Vikas Rawal vikasli...@agrarianresearch.org writes: Actually, ox-html.el also tries to do something with bibliographies, which introduces the duplication. We should decide if the code handling them should be in contrib/ or in the various export back-ends. Since HTML handling

Re: [O] Bibliography

2013-05-12 Thread Vikas Rawal
By the way, where should the bibliography be inserted: at the keyword or at the end of the document (in both HTML and LaTeX)? at the keyword please. Here's a new take on the problem. You need to use latest maint (or master) revision. What do you think? This works fine except that I

Re: [O] Bibliography

2013-05-12 Thread Vikas Rawal
This works fine except that I can't place it at the keyword. How does one do it? I thought having a line say [BIBLIOGRAPHY] would work but it does not. Figured it myself. Placing the line '#+BIBLIOGRAPHY: blah blah...' at the right place did it. Thanks again, Vikas

Re: [O] Bibliography

2013-05-11 Thread Rafael
Vikas Rawal vikasli...@agrarianresearch.org writes: Note for Mac OSX users:. I am using Ubuntu Precise, not OSX, and TeXlive 2012, not 2010, and I got the Executing bibtex2html failed when testing this also (even without limit:t). The only way I can imagine to work around was to first run the

Re: [O] Bibliography

2013-05-10 Thread Vikas Rawal
Note for Mac OSX users:. I am using Ubuntu Precise, not OSX, and TeXlive 2012, not 2010, and I got the Executing bibtex2html failed when testing this also (even without limit:t). The only way I can imagine to work around was to first run the recommended 'export TMPDIR=.' in a terminal, and

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
Yes please. I am waiting for something that will export bibtex to html. With the old exporter, org-exp-bibtex used bibtex2html to achieve it. But nothing similar is possible with the new exporter. I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework.

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework. Would you mind testing it? I am attaching my test files. I have following problems. 1. When I use limit:t, I get an error: if: Executing bibtex2html failed 2. The bibliography is inserted in the

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework. Would you mind testing it? A big thank you! Here is a quick comment. More to follow. If an org file, say temp.org, refers to a bibtex file called foo.bib, ox-bibtex creates two files: foo.html

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
I am attaching my test files. I have following problems. Sorry, forgot to attach my files. Here they are. Vikas #+TITLE: Statistics on Indian Economy and Society #+LINK_UP: data.html #+LINK_HOME: index.html #+OPTIONS: num:nil toc:nil #+HTML_HEAD:link rel=stylesheet type=text/css

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework. Would you mind testing it? In the latex export, the bibliography is added before the main content of the org file. The tex file shows following lines inserted before the main content rather than after.

Re: [O] Bibliography

2013-05-09 Thread Rafael
Vikas Rawal vikasli...@agrarianresearch.org writes: I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework. Would you mind testing it? I am attaching my test files. I have following problems. 1. When I use limit:t, I get an error: if: Executing

Re: [O] Bibliography

2013-05-09 Thread Nicolas Goaziou
Hello, Vikas Rawal vikasli...@agrarianresearch.org writes: I am attaching my test files. I have following problems. 1. When I use limit:t, I get an error: if: Executing bibtex2html failed OK, I'll have a look at it. 2. The bibliography is inserted in the exported html file above the main

Re: [O] Bibliography

2013-05-09 Thread Fabrice Popineau
Hi Nicolas, Thanks a lot for taking quickly of this bib issue. 2013/5/9 Nicolas Goaziou n.goaz...@gmail.com Hello, Vikas Rawal vikasli...@agrarianresearch.org writes: 2. The bibliography is inserted in the exported html file above the main body of org file as well as below the main

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
Actually, ox-html.el also tries to do something with bibliographies, which introduces the duplication. We should decide if the code handling them should be in contrib/ or in the various export back-ends. Since HTML handling requires external programs, I lean towards the former. I agree.

Re: [O] Bibliography

2013-05-07 Thread Nicolas Goaziou
Hello, Vikas Rawal vikasli...@agrarianresearch.org writes: My only concern is about users expecting the keyword to be recognized in other back-ends. Yes please. I am waiting for something that will export bibtex to html. With the old exporter, org-exp-bibtex used bibtex2html to achieve it.

Re: [O] Bibliography

2013-05-06 Thread Suvayu Ali
On Mon, May 06, 2013 at 04:26:16PM +0200, Fabrice Popineau wrote: Is it me or is it normal that the: #+Bibliography: foo plain line is not exported by the LaTeX backend? I assume that: \bibliography{foo} \bibliographystyle{plain} is a decent way to handle it. Sometime back there was

Re: [O] Bibliography

2013-05-06 Thread Fabrice Popineau
Sure, I remember this thread and it is clear that the problem is very different when it is for LaTeX of for and HTML backend. However, Reftex is provided with Emacs, and it is also integrated to Org mode. So I was trying to solve my simple problem about the bibliography keyword this way:

Re: [O] Bibliography

2013-05-06 Thread Nicolas Goaziou
Hello, Fabrice Popineau fabrice.popin...@supelec.fr writes: Sure, I remember this thread and it is clear that the problem is very different when it is for LaTeX of for and HTML backend. However, Reftex is provided with Emacs, and it is also integrated to Org mode. Since it is back-end

Re: [O] Bibliography

2013-05-06 Thread Fabrice Popineau
Since it is back-end dependent, why don't you use: #+latex: \bibliography{...}\bibilographystyle{...} instead? To avoid duplication. Org-bibtex/reftex need the line: #+bibliography: foo plain You need to set `ad-return-value' somewhere, don't you? :-) This is what I was looking

Re: [O] Bibliography

2013-05-06 Thread Nicolas Goaziou
Fabrice Popineau fabrice.popin...@supelec.fr writes: Since it is back-end dependent, why don't you use: #+latex: \bibliography{...}\bibilographystyle{...} instead? To avoid duplication. Org-bibtex/reftex need the line: #+bibliography: foo plain OK. Then, it may indeed be wise to

Re: [O] Bibliography

2013-05-06 Thread Vikas Rawal
My only concern is about users expecting the keyword to be recognized in other back-ends. Yes please. I am waiting for something that will export bibtex to html. With the old exporter, org-exp-bibtex used bibtex2html to achieve it. But nothing similar is possible with the new exporter. Vikas