Re: [O] what's wrong with this sbe?

2012-03-05 Thread Myles English
>> On Mon, 05 Mar 2012 07:34:49 -0700, Eric Schulte said: > Myles English writes: >> Hi, >> >> Please could tell me where I am going wrong with this? I just >> can't get the source block to put a result in the table. [etc] > Hi Miles,

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Myles English
>> On Mon, 05 Mar 2012 17:09:48 +, Myles English said: >> On Mon, 05 Mar 2012 07:34:49 -0700, Eric Schulte said: >> Myles English writes: >>> Hi, >>> >>> Please could tell me where I am going wrong with this? I just >>> c

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Myles English
Thanks Seb, * TODO Fix the word wrapping in my emails :gnus: >> On Mon, 05 Mar 2012 15:09:49 +0100, Sebastien Vauban said: > Hi Myles, Myles English wrote: >> Please could tell me where I am going wrong with this? I just >> can't get the sourc

[O] what's wrong with this sbe?

2012-03-05 Thread Myles English
Hi, Please could tell me where I am going wrong with this? I just can't get the source block to put a result in the table. #+name: workingDays #+BEGIN_SRC emacs-lisp :var hms="0" (require 'org-timer) (/ (org-timer-hms-to-secs hms) (* 60 60 8)) #+END_SRC #+call: workingDays(hms="236:30:00") #+

[O] enhancement request: {est+} summary type for HH:MM properties

2012-02-23 Thread Myles English
Hello, Please would someone have a look at this enhancement request? Given a columns definition like this: #+COLUMNS: %50ITEM %5Effort(Hours est.){est+} if the property :Effort: contains time values in HH:MM format then the {est+} summary type doesn't work because it requires a real number ('1

Re: [O] can inline tasks export to latex via batch?

2012-02-22 Thread Myles English
>> On Wed, 22 Feb 2012 00:52:06 +, Myles English said: > On 21 February 2012 18:18, Jambunathan K wrote: >>> Does anyone know if I can export inline tasks to latex using --batch >>> from bash? When passed as the --funcall option, org-export-as-ascii >&

Re: [O] can inline tasks export to latex via batch?

2012-02-21 Thread Myles English
On 21 February 2012 18:18, Jambunathan K wrote: > A few hours ago, Myles wrote: >> Hello, >> >> Does anyone know if I can export inline tasks to latex using --batch >> from bash?  When passed as the --funcall option, org-export-as-ascii >> will export inline tasks but org-export-as-latex-batch won'

[O] can inline tasks export to latex via batch?

2012-02-21 Thread Myles English
Hello, Does anyone know if I can export inline tasks to latex using --batch from bash? When passed as the --funcall option, org-export-as-ascii will export inline tasks but org-export-as-latex-batch won't. Setting file level options don't appear to help. A minimal example follows. Emacs 23.4.1

Re: [O] [Feature Request] Show properties in agenda

2012-02-02 Thread Myles English
Tomas, >> On Thu, 2 Feb 2012 00:01:38 -0300, Tomas Grigera said: > I wrote a custom agenda command that puts a property of my choice in > place of :CATEGORY:. I'm far from an elisp hacker so I expect it is > rather clumsy, and it would need tweaking to do exactly what you > want, but I ca

Re: [O] reftex setup problem

2011-12-15 Thread Myles English
>> On Thu, 15 Dec 2011 13:16:08 +0100, nikolai stenfors said: > Yes, After reading the reftex manual once again, I managed to insert > bibtex-references in to my org-file and stepwise, as you suggested, > export them via aux to pdf. Glad you were able to fix it. It would be nice if it ran:

Re: [O] reftex setup problem

2011-12-14 Thread Myles English
Nikolai, I'm guessing, but you could try finding the .aux file, run bibtex on it then try the latex export again. Myles >> On Wed, 14 Dec 2011 14:28:01 +0100, nikolai stenfors said: > Hi, Problems incorporating references/citations in .org-files. > I have set up a refs.bib-file for my ref

emacs-orgmode@gnu.org

2011-11-04 Thread Myles English
If an org file contains a latex equation with a '&' in it then when it is exported to odt it makes dodgy xml. Unzipping the odt, opening the content.xml and doing M-x rng-first-error gives the message: `&' that is not markup must be entered as `&' To reproduce, insert this: \begin{equation} \d

Re: [O] [odt] regression in using an equation sourced via latex_header

2011-11-03 Thread Myles English
>> On Wed, 02 Nov 2011 21:38:42 +, Myles English said: >> On Wed, 02 Nov 2011 00:44:57 +0530, Jambunathan K said: >>> 2. mathml - You need to register your command file with -ncf >>> argument. >>> >>> For example, if I put the mystyle.

Re: [O] [odt] regression in using an equation sourced via latex_header

2011-11-02 Thread Myles English
>> On Wed, 02 Nov 2011 00:44:57 +0530, Jambunathan K said: >> 2. mathml - You need to register your command file with -ncf >> argument. >> >> For example, if I put the mystyle.tex in the same directory as >> exported .org file and add the -ncf argument to the converter as >> below >

Re: [O] [odt] equation labels

2011-11-02 Thread Myles English
>> On Wed, 02 Nov 2011 23:51:31 +0530, Jambunathan K said: >> >> There is (git from a couple of days ago) a problem with referring >> >> to equations containing an underscore in the label, I am fairly >> >> sure it was allowed before, e.g.: >> >> >> >> #+LABEL: Equation:new_eq \begin{eq

Re: [O] [odt] equation labels

2011-11-02 Thread Myles English
Nick, >> On Wed, 02 Nov 2011 09:38:20 -0400, Nick Dokos said: > Myles English wrote: >> >> There is (git from a couple of days ago) a problem with referring >> to equations containing an underscore in the label, I am fairly >> sure it was allowed

Re: [O] [odt] equation labels

2011-11-02 Thread Myles English
Jambunathan, >> On Wed, 02 Nov 2011 01:09:41 +0530, Jambunathan K said: > Myles > (I have read the followup post to this set of questions) > Myles English writes: >>>> On Mon, 31 Oct 2011 03:41:18 +0530, Jambunathan K said: >> >> &

[O] [odt] regression in using an equation sourced via latex_header

2011-11-01 Thread Myles English
Hello, If I have a latex file mystyle.tex that contains: \newcommand{\myBigEquation}{b=23} and then have this in my org file: #+LATEX_HEADER: \usepackage{/path/to/mystyle} I can use it conveniently like this: \begin{equation} \myBigEquation \end{equation} and that exports fine to pdf b

Re: [O] [odt] equation labels

2011-11-01 Thread Myles English
>> On Mon, 31 Oct 2011 11:54:35 +, Myles English said: >> On Mon, 31 Oct 2011 03:41:18 +0530, Jambunathan K said: >> Myles English writes: >>> I have found that Equations become labelled as Figures in the >>> version I am using: >>>

Re: [O] [odt] equation labels

2011-10-31 Thread Myles English
>> On Mon, 31 Oct 2011 03:41:18 +0530, Jambunathan K said: > Myles English writes: >> I have found that Equations become labelled as Figures in the >> version I am using: >> >> emacs 23.3.1 org-mode from git commit 71f1c1be (Oct 26) The test >>

[O] [odt] equation labels

2011-10-27 Thread Myles English
Hello {Jambunathan}, I have found that Equations become labelled as Figures in the version I am using: emacs 23.3.1 org-mode from git commit 71f1c1be (Oct 26) (?I'm not sure if it is the most recent version of contrib/org-odt as the README.org says "This release is is as good as org-20110613" e

Re: [O] sbe with :file header arg?

2011-10-10 Thread Myles English
Hi Eric, >> On Fri, 07 Oct 2011 12:22:13 -0600, Eric Schulte said: > Myles English writes: >> I would like to make one plot per row of a table. This is useful >> because the contents of the row may be parameters in an R session, >> and a link to the resul

[O] sbe with :file header arg?

2011-10-07 Thread Myles English
Hello, I think I have one case of strange behaviour and one feature request, if it isn't already possible. I would like to make one plot per row of a table. This is useful because the contents of the row may be parameters in an R session, and a link to the resulting plot can be put in the last c

Re: [O] wrong python version with :session

2011-09-06 Thread Myles English
Just ignore this thread, the issue was dealt with in an identical one, also started by me! >> On Mon, 05 Sep 2011 17:00:13 +0100, Myles English said: > Hello, When a python source block has a :session header argument, > the python version selected does not appear to respect

[O] wrong python version with :session

2011-09-06 Thread Myles English
Hello, When a python source block has a :session header argument, the python version selected does not appear to respect the value of the variable org-babel-python-command. In my .emacs: (require 'org-install) (org-babel-do-load-languages 'org-babel-load-languages '((python . t) )) (setq org

Re: [O] wrong python version when using :session

2011-09-05 Thread Myles English
Eric, >> On Mon, 05 Sep 2011 11:35:37 -0600, Eric Schulte said: > Hi Myles, The `org-babel-python-command' variable is used to decide > which python executable is used to run non-interactive python code. > Session evaluation is performed using the interactive python mode > defined in the

[O] wrong python version when using :session

2011-09-05 Thread Myles English
Hello, When a python source block has a :session header argument, the python version selected does not appear to respect the value of the variable org-babel-python-command. Starting emacs with this in the init file (.emacs): (require 'org-install) (org-babel-do-load-languages 'org-babel-load-

Re: [O] [odt] equation labels

2011-08-31 Thread Myles English
>> On Wed, 31 Aug 2011 12:09:58 +0100, Myles English said: >> I have added support for honoring captions, label and attributes >> for images that are dervied from latex fragments. Checkout the git >> repo and let me know if there are any rough edges that ne

Re: [O] [odt] equation labels

2011-08-31 Thread Myles English
Jambunathan, >> On Sun, 28 Aug 2011 03:32:10 +0530, Jambunathan K said: > Myles >> Does anyone know how to cause a label such as "Figure 1." in the >> odt (for the resulting png), and set the caption for an equation >> such as: >> >> #+CAPTION: some caption #+LABEL: eqn:psychrometr

[O] [odt] equation labels

2011-08-23 Thread Myles English
Hello, I am using the excellent org-odt, so thanks to Jambunathan K, and everyone who has ever contributed to orgmode. This may be quite simple so I am asking before making an minimal example. Does anyone know how to cause a label such as "Figure 1." in the odt (for the resulting png), and set

[O] Bug: babel sql: no results are returned if the first would be NULL [7.5]

2011-04-05 Thread Myles English
Hello, When returning results from a postgresql database, if the first value is NULL then no results are returned. Versions: orgmode git commit c01c2ad Fri Mar 18, postgresql 9.0.3. This works as expected: #+begin_src sql :engine postgresql :cmdline -d postgres SELECT 1 as A, NULL as B; #+end_s

Re: [O] babel R: should/does order of parameters matter?

2011-03-29 Thread Myles English
Eric, On 23 March 2011 03:03, Eric Schulte wrote: > I believe the problem here is that your :var header argument syntax is > wrong.  A :var header argument must have a name, and equals sign, and an > assignment for the variable, e.g. > > #+begin_src sh :var name="eric" >  echo $name > #+end_src >

[O] babel R: should/does order of parameters matter?

2011-03-20 Thread Myles English
Hello, First of all thanks very much for all the very well explained help given in previous threads I have started. Now, I have found different results arise from a difference in position of parameters (I'm using commit c01c2ad Fri Mar 18, R version 2.12.20, Feb 25): #+TBLNAME: data | x | param

[Orgmode] python :session and org_babel_python_eoe

2011-02-10 Thread Myles English
Hello, Is this behaviour expected?: #+begin_src python :session import sys #+end_src #+results: But in the python interpreter there is this: """ >>> import sys open('/home/myles/tmp/scratch/python-4938gzQ', 'w').write(str(_)) 'org_babel_python_eoe' >>> >>> >>> Traceback (most recent call l

Re: [Orgmode] Re: return link to :file when using #+call

2011-01-22 Thread Myles English
ow, > the file name is repeated because both the code block and the call > line need to know the file name to create the file and the link > respectively. > > Cheers -- Eric > > Myles English writes: > > > Myles English gmail.com> writes: > > >

[Orgmode] Re: return link to :file when using #+call

2011-01-01 Thread Myles English
Myles English gmail.com> writes: > #+source: foo() > #+begin_src R :file bar.png > plot(1,1) > #+end_src This works but I have to repeat the filename: #+call: foo[:file baz.png]() :file baz.png #+results: foo[:file baz.png]() [[file:baz

[Orgmode] return link to :file when using #+call

2010-12-31 Thread Myles English
Hello all, Please could someone show me how to get an org link to the file in the results when using #+call with an R source block? This is the test I am using: #+source: foo() #+begin_src R :file bar.png plot(1,1) #+end_src #+results: foo() [[file:bar.png]] ( so that works fine ) #+call: foo[

<    1   2   3