Re: [O] Problems with org-bibtex

2013-11-21 Thread Sean O'Halpin
Hi, I was just trying the same thing (prompted by the recent discussion). It turned out I had to #+begin_src emacs-lisp (bibtex-set-dialect) #+end_src first. Regards, Sean On Thu, Nov 21, 2013 at 3:55 AM, Marvin Doyley wrote: > Hi there, > > I have decided to give org-bibtex a try. I have

Re: [O] Problems with org-bibtex

2013-11-21 Thread Christopher Witte
I have found that opening a (any) bibtex file fixes this for the session. I have no idea why though. Chris. On 21 November 2013 09:25, Sean O'Halpin wrote: > Hi, > > I was just trying the same thing (prompted by the recent discussion). > It turned out I had to > > #+begin_src emacs-lisp > (b

[O] [Babel] [Bug] Cache

2013-11-21 Thread Sebastien Vauban
Hello Eric, IIRC, some time ago, a bug involving the computation of the hash (when option cache is enabled) and NoWeb code blocks. I remember that it had been fixed. However, the following example shows it's not (true anymore): --8<---cut here---start->8--- #+

Re: [O] \newpage in HTML export

2013-11-21 Thread Suvayu Ali
On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: > Suvayu Ali writes: > > > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: > >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: > >> > > >> > That works. But that means I need both #+HTML: and #+Latex: fo

Re: [O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Yujie Wen
Hi, Eric, You can derive a new back-end from existing ones. Please consult org export reference documentation . Yujie 2013/11/22 Eric Schulte > Hi, > > I'd like to add a new option to the LaTeX backend from a contrib/ > package so that

Re: [O] Is it possible to specify the starting number of headings at exporting

2013-11-21 Thread Yujie Wen
Hi, Jambunathan and Nick Yes, I prefer the separated org files be exported to several HTMLs, but with continuous heading numbering. Not that re-including them and export into one HTML. :) Thanks for your suggestions. Yujie 2013/11/21 Nick Dokos > Yujie Wen writes: > > > I am wondering wh

Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-21 Thread Nicolas Goaziou
Hello, Christian Moe writes: > The two examples below illustrate an odd ODT export failure that occurs in > restricted circumstances: only when the target of the link is on a > higher level of the tree than the link. > > * This fails > > ** A subheader > > This paragraph is bookmarked. <> > >

Re: [O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > I'd like to add a new option to the LaTeX backend from a contrib/ > package so that it can be set with a #+ keyword. Is this possible? If > so how would one go about making this change. If not what's the best > way to add a new optional value to an existing backe

[O] imaxima babel

2013-11-21 Thread yggdrasil
Hi, Is there a way to evaluate imaxima source code in org-mode to display the latex output inline in the org-buffer? I have found in [1] how to evaluate maxima code, but I don't understand if and how to adopt it to get the nice latex/pdf output. Any pointers appreciated, or just whether it is poss

Re: [O] imaxima babel

2013-11-21 Thread Rüdiger Sonderfeld
TeX output is a feature of Maxima. See (info "(maxima) Functions and Variables for TeX Output") E.g. #+name: solve-maxima #+header: :exports results #+begin_src maxima :results output tex(exp(-x)/x); #+end_src #+RESULTS: solve-maxima : $${{e^ {- x }}\over{x}}$$ On Thursday 21 November 2013

Re: [O] tricky odt export needs

2013-11-21 Thread Christian Moe
Hi, Dan, Is this the message you get? No such file: /[path]/OpenDocument export failed: FIXME? Does the error always occur when you have my filter set, and never when you don't? Does it matter whether you're restricting export to subtrees? After some more testing, I'm seeing the above error m

Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-21 Thread Alexander Vorobiev
Hi Bastien, The patch doesn't work unfortunately. I stepped through x-get-selection-value in w32-common-fns.el and the correct value from the clipboard gets assigned to x-last-selected-text but then the function just returns nil (line 120). I would say x-last-selected text needs to be used somehow

Re: [O] Is it possible to repeat a block of org-mode text on export, maybe with replacement?

2013-11-21 Thread Gary Oberbrunner
Thanks everyone! Much appreciated. I think I can get what I want by fiddling with these. Thomas, I'm not sure why but yours comes out with weird indentation which makes the first line not part of the list. Eric, yours doesn't seem to create a proper numbered list at all, but is otherwise just wh

Re: [O] habit-only agenda that doesn't remove tasks when done?

2013-11-21 Thread Christopher Allan Webber
noo...@noorul.com writes: > Christopher Allan Webber writes: > >> Hello, >> >> I'd like to have a habit-only agenda view, if possible, that looks a bit >> like: >> >> >> Morning habits >> -- >> >> life: TODO Shave [ * * ** !] habit::morning: >> rsi: TO

Re: [O] tricky odt export needs

2013-11-21 Thread Suvayu Ali
On Thu, Nov 21, 2013 at 11:34:55AM -0500, Dan Griswold wrote: > On Wed, Nov 20, 2013 at 4:33 PM, Christian Moe wrote: > > > > > Well, here's one way to get those page references, using filters: > > > > (defun my-odt-filter-pagerefs (text backend info) > >"Make page references, not textual

Re: [O] \newpage in HTML export

2013-11-21 Thread Eric Abrahamsen
Suvayu Ali writes: > On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: >> Suvayu Ali writes: >> >> > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >> >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: >> >> > >> >> > That works. But that means I need

Re: [O] \newpage in HTML export

2013-11-21 Thread Jambunathan K
Eric Abrahamsen writes: > Emacs already has the concept of the page-delimiter (defaults to ^L), > for page-related commands. I once floated the idea of making a > page-break a full org element, that could be handled differently by > different backends. You are not alone. The ODT model would be

Re: [O] Refresh buffer properties and local variables

2013-11-21 Thread Thomas S. Dye
Nick Dokos writes: > Bastien writes: > >> Looks good, please push! >> > > Pushed to master (I hope...) Let me know if there is a problem. Thanks Nick. After a pull this morning, my file's local variables aren't lost when I refresh buffer properties. All the best, Tom -- Thomas S. Dye http://

Re: [O] Links to headings not generated in Tables

2013-11-21 Thread Nick Dokos
Luke Crook writes: > Nicolas Goaziou gmail.com> writes: > >> >> Hello, >> >> Luke Crook balooga.com> writes: >> >> > Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version. >> >> OK. Then could you provide an ECM? I'm unable to reproduce the problem. >> >> Regards, >> > > > Hi

Re: [O] Refresh buffer properties and local variables

2013-11-21 Thread Nick Dokos
Bastien writes: > Looks good, please push! > Pushed to master (I hope...) Let me know if there is a problem. -- Nick

[O] Is it possible to specify the starting number of headings at exporting

2013-11-21 Thread Yujie Wen
Hi, there, I am wondering whether it is possible to define the starting number of headings when exporting org-mode files. The problem is that, I had a long Org file that I want to separate it into several small ones, each will be exported to a HTML file. But if so, every exported HTML will ha

Re: [O] [ANN] Improved Flyspell check

2013-11-21 Thread Rasmus
Nicolas Goaziou writes: > Nicolas Goaziou writes: > > Updated patch. I've been using this patch without issues for at least two week. I haven't experienced any slowdowns over wcheck other than that associated with the design of Flyspell (e.g. flyspell-buffer moves the cursor over all words).

Re: [O] Problems with org-bibtex

2013-11-21 Thread Jambunathan K
Marvin Doyley writes: > Symbol's function definition is void: bibtex-beginning-of-entry Whenever you get an error, do M-x toggle-debug-on-error and post the *Backtrace* buffer. I am still surprised why (even) regulars in this list fail to do it.

Re: [O] Problems with org-bibtex

2013-11-21 Thread Marvin Doyley
Hi there, I found the bug. It turned out that an old copy of bibtex.el was the culprit, deleting this fixed the problem. Thanks again for all your help. Cheers, M On Thu, Nov 21, 2013 at 10:12 AM, Marvin Doyley wrote: > Hi Chris, > That didn't work either. > > When I did > #+begin_src emacs-

[O] rainbow parenthesis with org babel for reveal.js export

2013-11-21 Thread bernard
Dear list, I am currently very happy to use orgmode and org-reveal [0] to create slide for my lessons about programming. I enjoy using src block to have automatic syntax highlighting for the code fragments. However, I now have the joy to teach a lisp variant (Clojure) for which I have some syntact

Re: [O] Is it possible to specify the starting number of headings at exporting

2013-11-21 Thread Jambunathan K
(info "(org) Include files") Yujie Wen writes: > Hi, there, > > I am wondering whether it is possible to define the starting number of > headings when exporting org-mode files. > > The problem is that, I had a long Org file that I want to separate it > into several small ones, each will be ex

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Alan L Tyree
On 20/11/13 17:27, Jambunathan K wrote: Alan L Tyree writes: What I mean is to enter something like \cite{mann82} in the text and have it spit out (Mann 1982) in each and every export as well as constructing an entry for the bibliography. (For benefit of others) ox-jabref.el and JabRef can s

Re: [O] rainbow parenthesis with org babel for reveal.js export

2013-11-21 Thread Eric Schulte
Hi Bernard, Org-mode uses htmlize.el [1] to fontify source code blocks. Htmlize directly converts an Emacs buffer to HTML, so if you are exporting from a buffer in which parenthesis are colorized, then the exported HTML should be colorized as well. If not then this is a question for htmlize and/

[O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-21 Thread Christian Moe
The two examples below illustrate an odd ODT export failure that occurs in restricted circumstances: only when the target of the link is on a higher level of the tree than the link. * This fails ** A subheader This paragraph is bookmarked. <> When I try to export this subtree to ODT (`C-c C-

Re: [O] Problems with org-bibtex

2013-11-21 Thread Marvin Doyley
Hi Chris, That didn't work either. When I did #+begin_src emacs-lisp (bibtex-set-dialect) #+end_src I got the following error Debugger entered--Lisp error: (void-function bibtex-set-dialect) (bibtex-set-dialect) (progn (bibtex-set-dialect)) eval((progn (bibtex-set-dialect))) org-babel-e

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Jambunathan K
Alan L Tyree writes: > What I mean is to enter something like \cite{mann82} in the text and > have it spit out (Mann 1982) in each and every export as well as > constructing an entry for the bibliography. (For benefit of others) ox-jabref.el and JabRef can spit things out in different formats.

Re: [O] Is it possible to specify the starting number of headings at exporting

2013-11-21 Thread Nick Dokos
Yujie Wen writes: >   I am wondering whether it is possible to define the starting number > of headings when exporting org-mode files. > >   The problem is that, I had a long Org file that I want to separate > it into several small ones, each will be exported to a HTML file. But > if so, every ex

Re: [O] rainbow parenthesis with org babel for reveal.js export

2013-11-21 Thread bernard
Eric Schulte gmail.com> writes: > Org-mode uses htmlize.el [1] to fontify source code blocks. Htmlize > directly converts an Emacs buffer to HTML, so if you are exporting from > a buffer in which parenthesis are colorized, then the exported HTML > should be colorized as well.[…] Thanks for the

[O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Eric Schulte
Hi, I'd like to add a new option to the LaTeX backend from a contrib/ package so that it can be set with a #+ keyword. Is this possible? If so how would one go about making this change. If not what's the best way to add a new optional value to an existing backend (to be used by a new link expor

Re: [O] Problems with org-bibtex

2013-11-21 Thread Nick Dokos
Marvin Doyley writes: > Hi Chris, > That didn't work either. > > When I did > #+begin_src emacs-lisp >   (bibtex-set-dialect) > #+end_src > > I got the following error > Debugger entered--Lisp error: (void-function bibtex-set-dialect) >   (bibtex-set-dialect) Try (require 'bibtex) That

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
Well, as you can see with my exchange with Suvayu I got past the error. Yet I still have a strange problem. Your solution works on a small test file, but not on my large (~ 13k words) document. The conversion of "text" to "page" just doesn't happen. I do have a special style file, so I thought tha

Re: [O] tricky odt export needs

2013-11-21 Thread Christian Moe
Dan Griswold writes: > Well, as you can see with my exchange with Suvayu I got past the error. Yet > I still have a strange problem. Your solution works on a small test file, > but not on my large (~ 13k words) document. The conversion of "text" to > "page" just doesn't happen. Odd. The document

Re: [O] Links to headings not generated in Tables

2013-11-21 Thread Luke Crook
Nicolas Goaziou gmail.com> writes: > > Hello, > > Luke Crook balooga.com> writes: > > > Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version. > > OK. Then could you provide an ECM? I'm unable to reproduce the problem. > > Regards, > Hi Nicolas, The first two work correctly

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Eric Schulte
Richard Lawrence writes: > Eric Schulte writes: > >> Ian Barton writes: >> >>> On 19/11/13 01:40, Christopher W. Ryan wrote: Not sure "citational" is even a word, but hopefully it conveys my meaning! I've been using LaTeX for academic writing and reading for quite some time,

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
On Thu, Nov 21, 2013 at 11:38 AM, Suvayu Ali wrote: > First I would check the Output buffer. That should have more > information on why the export failed. > Thanks Suvayu. There was no Output buffer, only a few error messages in the *Messages* buffer (and these are of dubious relevance.) But it

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
On Wed, Nov 20, 2013 at 4:33 PM, Christian Moe wrote: > > Well, here's one way to get those page references, using filters: > > (defun my-odt-filter-pagerefs (text backend info) >"Make page references, not textual references in ODT export." >(when (org-export-derived-backend-p back

Re: [O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Eric Schulte
Yujie Wen writes: > Hi, Eric, > > You can derive a new back-end from existing ones. Please consult org > export reference > documentation > . > > Yujie > Yes, I've done this before, however I'm hoping to modify an existing backend. Best,

Re: [O] imaxima babel

2013-11-21 Thread Eric Schulte
Changing ":results output" to ":results output latex" in Rüdiger's nice example below would probably be an improvement. Best, Rüdiger Sonderfeld writes: > TeX output is a feature of Maxima. See > (info "(maxima) Functions and Variables for TeX Output") > > E.g. > > #+name: solve-maxima > #+hea

Re: [O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Eric Schulte writes: > >> I'd like to add a new option to the LaTeX backend from a contrib/ >> package so that it can be set with a #+ keyword. Is this possible? If >> so how would one go about making this change. If not what's the best >> way to add a new

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Eric Schulte
Alan L Tyree writes: > On 20/11/13 17:27, Jambunathan K wrote: >> Alan L Tyree writes: >> >>> What I mean is to enter something like \cite{mann82} in the text and >>> have it spit out (Mann 1982) in each and every export as well as >>> constructing an entry for the bibliography. >> (For benefit

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Eric Schulte
> In the mean time I just pushed up a small change to this file which > will resolve cite: links and export them correctly to LaTeX. > I just reverted my addition to org-bibtex-extras.el as it looks like ox-bibtex.el (also in contrib) already handles cite: links on export. Best, -- Eric Schulte

Re: [O] Show TODO item in table of contents

2013-11-21 Thread Bernt Hansen
Nicolas Goaziou writes: > Hello, > > Bastien writes: > >> Nicolas Goaziou writes: >> In html export include todo state words in table of contents. >>> >>> Would the following patch do the job? >> >> It does for me! Thanks > > Applied then. > > > Regards, Hi Nicolas, This patch 4c94c4d

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Alan L Tyree
On 22/11/13 15:04, Eric Schulte wrote: Alan L Tyree writes: On 20/11/13 17:27, Jambunathan K wrote: Alan L Tyree writes: What I mean is to enter something like \cite{mann82} in the text and have it spit out (Mann 1982) in each and every export as well as constructing an entry for the bibli

[O] [PATCH] Re: \newpage in HTML export

2013-11-21 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Suvayu Ali writes: > >> On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: >>> Suvayu Ali writes: >>> >>> > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >>> >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: >>> >> > >>> >>