Re: [O] Worg 404 Not Found

2011-03-01 Thread Sébastien Vauban
Hi Jason,

Jason Dunsmore wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 The file http://orgmode.org/worg/sources/emacs.el, referenced in
 http://orgmode.org/worg/worg-setup.html, is not found on Worg.

 Fixed it.  Thanks.

Seen it. Thanks.

Though, for my understanding, why don't we find these files under our Worg
local copy?  Are there other missing files and directories, that aren't part
of the Worg project?

Best regards,
  Seb

-- 
Sébastien Vauban


___
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


[O] Re: unicode chars in org-emphasis-regexp-components

2011-03-01 Thread Eric Abrahamsen
On Sun, Feb 27 2011, Bastien wrote:

 Hi Eric,

 but I really don't know how to go about setting this variable properly
 with setq.

 Well, C-h v org-emphasis-regexp-components RET is quite informative.
 Don't be afraid by this meduse-like list of strings... these are just
 four strings and a number :)

Okay, I was getting confused by the escaped double quotes. I've set it
properly, so far as I can tell, but it's still failing to recognize
emphasis markers when they're next to my unicode characters,
specifically—the m-dash and ellipsis…

Is this somehow debuggable, say in an elisp REPL using internal
functions? Can I provide any more useful information?

Eric


___
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


[O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Eric S Fraga
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 On Mon, 28 Feb 2011 12:45:36 -0800
 Suvayu Ali fatkasuvayu+li...@gmail.com wrote:

 Thank you for this nice idea. I tried it, but every time I (without
 the -interaction nonstopmode option) the pdflatex process stops at
 this:

 Strangely, with -interaction nonstopmode using the shell script trick
 gives me perfect results! I guess I can keep using this until the real
 issue is resolved.

Well, not so strange:  if the error (iint redefined) is not one that
actually affects your latex code, then telling latex to not stop on
errors allows it to create your pdf file.  more importantly, it is able
to generate the information that bibtex subsequently needs to generate
the bibliography.

Anyway, I'm glad I could help!  See my other email on how to solve the
original problem.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.555.gfcf66)

___
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


Re: [O] Re: view in browser

2011-03-01 Thread Eric S Fraga
Nick Dokos n...@dokosmarshall.org writes:

 Eric S Fraga e.fr...@ucl.ac.uk wrote:

 skip scp0...@gmail.com writes:
 
  I used to be able to do C-x C-e b to view the org file in a browser.
  Now it just generates the file but not
  open the browser. Same with PDF. Don't know what changed, but how do I
  get back the functionality? Thanks.
 
 Assuming you meant =C-c C-e b=, this does not work for me either;
 however, =C-c C-e d= does work and opens the PDF in docview.  For
 symmetry, I would have liked =b= to open my html in emacs w3m, I guess?
 

 As I mentioned, C-c C-e b works fine for me: Org-mode version 7.4
 (release_7.4.530.g3c69).

And it does not work for me with a later version of org mode!

Thanks for the explanation on how the browser to use is identified; I
know this already (although I must admit it was not the most
straightforward thing to figure out initially...).  I have my settings
specified to use x-www-browser by default.  

My point above was simply that the actual results are not symmetrical:
as C-c C-e d uses docview to show the PDF despite my mailcap etc
pointing to the use of apvlv for viewing PDF documents.  I don't believe
I have set anything anywhere to tell org to use docview mode.

In any case, it's easy enough for me to open the PDF in Emacs w3m (C-c
C-e p followed by direct invocation of w3m).

[...]

 As for opening it in emacs w3m, I don't know how to do that.

It's one of the options for the browse-url options.

Thanks again,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.555.gfcf66)

___
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


[O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Eric S Fraga
Thomas S. Dye t...@tsdye.com writes:

 Aloha Suvayu,

 I haven't looked into this in depth, but I think your problem might
 come from loading amssymb and amsmath.  LaTeX is complaining that
 something is already defined; the AMS packages are a prime suspect
 here.  Perhaps you could inhibit amssymb?

 All the best,
 Tom

Suvayu,

I think this is indeed the problem.  I had this problem a month or so
ago (search the mailing list!).  My solution is to add this to my
.emacs:

--8---cut here---start-8---
;; to fix problems with amsmath conflicting with wasysym:
;;
;; From: Lawrence Mitchell we...@gmx.li
;; Subject: [Orgmode] Re: [bug] latex export ignores 
org-export-latex-default-packages-alist?
;; To: emacs-orgmode@gnu.org
;; Date: Wed, 26 Jan 2011 16:01:52 +
(add-to-list 'org-export-latex-packages-alist '( amsmath t))
(setcar (rassoc '(wasysym t) org-export-latex-default-packages-alist) 
integrals)
--8---cut here---end---8---

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.555.gfcf66)

___
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


Re: [O] making flexible table formulas

2011-03-01 Thread Carsten Dominik

On 28.2.2011, at 18:35, Rustom Mody wrote:

 When using orgmode for hacking on data in a table (org a la spreadsheet)  I 
 have this situation
 Say I am concentrating on column 2 and I want the bottom cell to be the sum 
 of the above cells
 For a 7 row table with 8th row having the total I get
 
   #+TBLFM: @8$2=vsum(@1$2..@7$2)
 
 But now I have a problem: If say I add a row to the table then the next time 
 I recompute the formula(s) the ninth row is not affected and the 8th row 
 which is now data gets overwritten with a computation.

Hi Rustom,

in addition to the excellent advice you have already gotten in this thread,
I would like to add the following piece of information (if only to make
the thread a more complete online reference):

Apparently you have been inserting new rows with normal editing commands like
RET or `C-o'.  If you use Org's special commands to insert new rows, for example
M-S-down on the last row, the row references in the formula will be adjusted
to

 @9$2=vsum(@1$2..@7$2)

So you see that the @8 has become a @9.  However, the @7 has not been
adjusted because Org has no way of telling what you meant.  So even if
you write your formula with @8$2=, you should use relative references to
refer to the fields when summing:

@8$2==vsum(@1$2..@-1$2)


Anyhow, the methods proposed by Nick and Luke are much better in this case.

Hope this helps

- Carsten


 
 So basically I want the @1 and @7 which are hardcoded above to be replaced by 
 something to the effect: everything above... and the @8$2 should be 
 something to the tune of bottom of $2
 
 I guess this may not be a reasonable request -- but with org you never know 
 :-) so asking if there is some way.
 ___
 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


___
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


[O] [babel][PATCH] ERT as external library deprecated.

2011-03-01 Thread Martyn Jago

Hi

The ERT library is now a part of EMACS. As a result the ERT library
files currently loaded as a sub-module have been deleted on Github. 

This change modifies .gitmodule to avoid attempting to load ERT.
Changes have been made to testing/README.org to suit.

An insertion has been made to testing/README.org to point out that the
library-of-babel.org file needs ingesting (including a source block to
do so) to enable some tests to pass, and the ERT reference now points
to the included ERT info help pages.

Broken dependencies in testing/org-test.el have been removed.

I have also temporarily commented out a small number of broken tests
which between them cause ERT to go off into the weeds and delete a large
section of babel.org. This means that all tests currently pass.

I will investigate the breakages and hopefully provide fixes.

Hope this helps

Martyn
 
From c4772a9786371c006a2637528a25414033d208c9 Mon Sep 17 00:00:00 2001
From: Martyn Jago martyn.j...@btinternet.com
Date: Tue, 1 Mar 2011 07:34:55 +
Subject: [PATCH 1/3] Changes to suit latest ert structure. ERT is now a part of EMACS and the source of the ERT git submodule is deprecated, as are some files within. Changes testing/README and .gitmodules to suit.

---
 .gitmodules |3 ---
 testing/README.org  |   17 ++---
 testing/ert |1 -
 testing/lisp/test-ob-exp.el |9 +
 testing/org-test.el |6 +-
 5 files changed, 12 insertions(+), 24 deletions(-)
 delete mode 16 testing/ert

diff --git a/.gitmodules b/.gitmodules
index 3c493aa..400e7cc 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,3 @@
 [submodule testing/jump]
 	path = testing/jump
 	url = git://github.com/eschulte/jump.el.git
-[submodule testing/ert]
-	path = testing/ert
-	url = http://github.com/ohler/ert.git
diff --git a/testing/README.org b/testing/README.org
index f374a48..2d38df9 100644
--- a/testing/README.org
+++ b/testing/README.org
@@ -4,10 +4,11 @@
 The following instructions describe how to get started using the
 Org-mode test framework.
 
-1) Install the ERT and jump.el testing dependencies which are included
-   as git submodules in the org-mode repository.  To do so run the
-   following git submodule commands from inside the base of the
-   Org-mode directory (or just execute the following code block).
+1) Install the jump.el testing dependency which is included as a git
+   submodule in the org-mode repository.  To do so run the following
+   git submodule commands from inside the base of the Org-mode
+   directory (or just execute the following code block).
+
#+begin_src sh
  cd ..
  git submodule init
@@ -26,13 +27,7 @@ Org-mode test framework.
prefix argument, and the corresponding test file will be stubbed
out if it doesn't already exist.
 
-4) Review the ERT documentation, to do this run =makeinfo= in the
-   =testing/ert= directory,
-   #+begin_src sh
- cd ert
- makeinfo ert.texinfo
-   #+end_src
-   then browse the [[elisp:(info (expand-file-name ert/ert.info))][resulting info file]].
+4) [[info:ert#Top][Review the ERT documentation]] 
 
 5) A number of org-mode-specific functions and macros are provided in
=org-test.el= see the [[file:org-test.el::%3B%3B%3B%20Functions%20for%20writing%20tests][;;; Functions for Writing Tests]] subsection of
diff --git a/testing/ert b/testing/ert
deleted file mode 16
index 87b475f..000
--- a/testing/ert
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 87b475f856ab6eab479b439b911c5e0c23918a36
diff --git a/testing/lisp/test-ob-exp.el b/testing/lisp/test-ob-exp.el
index 6c7c514..ee982dc 100644
--- a/testing/lisp/test-ob-exp.el
+++ b/testing/lisp/test-ob-exp.el
@@ -95,10 +95,11 @@ elements in the final html.
   (should (string-match pre.*[^\000]*/pre html))
   (should (string-match table.*[^\000]*/table html)
 
-(ert-deftest ob-exp/export-subtree ()
-  (org-test-at-id 5daa4d03-e3ea-46b7-b093-62c1b7632df3
-(org-mark-subtree)
-(org-export-as-latex nil)))
+;; TODO
+;; (ert-deftest ob-exp/export-subtree ()
+;;   (org-test-at-id 5daa4d03-e3ea-46b7-b093-62c1b7632df3
+;; (org-mark-subtree)
+;; (org-export-as-latex nil)))
 
 (provide 'test-ob-exp)
 
diff --git a/testing/org-test.el b/testing/org-test.el
index 07456db..8601ee8 100644
--- a/testing/org-test.el
+++ b/testing/org-test.el
@@ -32,12 +32,8 @@
 		   (cons
 		(expand-file-name jump org-test-dir)
 		load-path
-  (require 'ert-batch)
   (require 'ert)
-  (require 'ert-exp)
-  (require 'ert-exp-t)
-  (require 'ert-run)
-  (require 'ert-ui)
+  (require 'ert-x)
   (require 'jump)
   (require 'which-func)
   (require 'org))
-- 
1.7.2.3


---
Org-mode version 7.4 (release_7.4.558.g1e39)
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.0)
 of 2011-02-25 
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org

[O] export to latex broken

2011-03-01 Thread suvayu ali
Hi,

I think this commit broke latex export.

$ git log -1 1f78ceb
commit 1f78cebdf46b2d9c435312c3fbcad05986e21cc3
Author: Nicolas Goaziou n.goaz...@gmail.com
Date:   Mon Feb 28 11:04:46 2011 +0100

org-latex: fix export with various values for `org-list-ending-method'

* lisp/org-latex.el (org-export-latex-lists): make sure markers used
  for export are taken into account by temporarily setting an
  appropriate value for `org-list-ending-method'.

Emacs (24) hangs with a message saying Applying style hooks in the
minibuffer and the cpu usage shoots up and I have to kill emacs. Can
someone else confirm this?

-- 
Suvayu

Open source is the future. It sets us free.

___
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


[O] Re: export to latex broken

2011-03-01 Thread Nicolas
Hello,

suvayu ali fatkasuvayu+li...@gmail.com writes:

 Emacs (24) hangs with a message saying Applying style hooks in the
 minibuffer and the cpu usage shoots up and I have to kill emacs. Can
 someone else confirm this?

I've pushed a fix in master. Is it fixed now?


Regards,

-- 
Nicolas

___
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


[O] Re: export to latex broken

2011-03-01 Thread Suvayu Ali
Hi Nicolas,

On Tue, 01 Mar 2011 12:24:22 +0100
Nicolas n.goaz...@gmail.com wrote:

 Hello,
 
 suvayu ali fatkasuvayu+li...@gmail.com writes:
 
  Emacs (24) hangs with a message saying Applying style hooks in the
  minibuffer and the cpu usage shoots up and I have to kill emacs. Can
  someone else confirm this?
 
 I've pushed a fix in master. Is it fixed now?
 

Yes its fixed now! Thanks a lot. :)

However after I sent my previous email I noticed a separate bug was
introduced in a commit somewhere between the previous commit I mentioned
and

commit d3432917ed8f95af0ce76127e632052fc7430439
Merge: 82ac473 6489346
Author: Carsten Dominik carsten.domi...@gmail.com
Date:   Tue Feb 22 21:44:46 2011 +0100

Merge branch 'master' of orgmode.org:org-mode

All babel source blocks are quoted inside a verbatim environment when
exported to latex. I haven't narrowed down the commit yet though.

 
 Regards,
 

-- 
Suvayu

Open source is the future. It sets us free.

___
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


[O] Re: export to latex broken

2011-03-01 Thread Nicolas
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 However after I sent my previous email I noticed a separate bug was
 introduced in a commit somewhere between the previous commit I mentioned
 and

 [...]

 All babel source blocks are quoted inside a verbatim environment when
 exported to latex. I haven't narrowed down the commit yet though.

IMO, you shouldn't bother trying to find the commit that introduced the
error (the one you cited earlier was actually wrong). It's better to
provide a test file, and some pertinent configuration variables.

Regards,

-- 
Nicolas

___
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


[O] Re: export to latex broken

2011-03-01 Thread Suvayu Ali
Hi,

On Tue, 1 Mar 2011 03:35:59 -0800
Suvayu Ali fatkasuvayu+li...@gmail.com wrote:

 However after I sent my previous email I noticed a separate bug was
 introduced in a commit somewhere between the previous commit I
 mentioned and
 
 commit d3432917ed8f95af0ce76127e632052fc7430439
 Merge: 82ac473 6489346
 Author: Carsten Dominik carsten.domi...@gmail.com
 Date:   Tue Feb 22 21:44:46 2011 +0100
 
 Merge branch 'master' of orgmode.org:org-mode
 
 All babel source blocks are quoted inside a verbatim environment when
 exported to latex. I haven't narrowed down the commit yet though.

I think I found the commit. This is the first time I used bisect, so
might be wrong. This is the output after git bisecting.


563994842d44f049c98ef0dcf7be94006ce1d9ee is the first bad commit
commit 563994842d44f049c98ef0dcf7be94006ce1d9ee
Author: Eric Schulte schulte.e...@gmail.com
Date:   Sun Feb 27 11:01:56 2011 -0700

ob-exp: better caching on export

  - calling org-babel-process-params on the parameters before the
hash is calculated
  - calculating the hash before the noweb references are expanded

* lisp/ob-exp.el (org-babel-exp-src-block): When block will
eventually be evaluated, pre-calculate the hash before noweb
expansion, and expand the parameters before hash calculation.
  (org-babel-exp-do-export): Pass pre-calculated hash through to
  `org-babel-exp-results'.
  (org-babel-exp-results): Compare pre-calculated hash to results
hash.

:04 04 aec4ecc417ed47e5c6366aac8f58c5309883b6ba
5a12d34f528ae400514d109f7783cf40ec7ee0a4 M  lisp

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.

___
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


[O] Re: export to latex broken

2011-03-01 Thread Suvayu Ali
Hi Nicolas,

On Tue, 01 Mar 2011 12:42:44 +0100
Nicolas n.goaz...@gmail.com wrote:

 Suvayu Ali fatkasuvayu+li...@gmail.com writes:
 
  However after I sent my previous email I noticed a separate bug was
  introduced in a commit somewhere between the previous commit I
  mentioned and
 
  [...]
 
  All babel source blocks are quoted inside a verbatim environment
  when exported to latex. I haven't narrowed down the commit yet
  though.
 
 IMO, you shouldn't bother trying to find the commit that introduced
 the error (the one you cited earlier was actually wrong). It's better
 to provide a test file, and some pertinent configuration variables.
 

I have attached a test file and the exported tex file. I don't have any
customisations for latex export.

I hope this helps.

 Regards,
 



-- 
Suvayu

Open source is the future. It sets us free.
* Testing \LaTeX{} export

  #+begin_src latex
\begin{equation}
\label{eq:symgrp}
SU(3) \times SU(2) \times U(1)
\end{equation}
  #+end_src
% Created 2011-03-01 Tue 03:56
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}
\begin{document}



\title{test}
\author{Suvayu Ali}
\date{01 March 2011}
\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{Testing \LaTeX{} export}
\label{sec-1}



\begin{verbatim}
   \begin{equation}
   \label{eq:symgrp}
   SU(3) \times SU(2) \times U(1)
   \end{equation}
\end{verbatim}

\end{document}___
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


[O] exporting tables ignores empty lines in the tables

2011-03-01 Thread Eric S Fraga
Hello,

I have searched for a variable that may affect the following behaviour
but have not found one.  I have a table where I have intentionally left
a whole row empty (to be filled in by hand in a hard copy, say).
However, the table, when exported to latex/pdf, excludes any empty
lines.

For instance, this table

#+begin_src org
  | item | cost |
  |--+--|
  | stamp| 65p  |
  |  |  |
  | envelope | 20p  |
#+end_src

generates the following latex:

#+begin_src latex
\begin{tabular}{ll}
 itemcost  \\
\hline
 stamp   65p   \\
 envelope20p   \\
\end{tabular}
#+end_src

Can anybody point me in the right direction or is it not possible to
export (to latex) empty lines in tables?

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.562.gc895)

___
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


Re: [O] Re: [Orgmode] Splitting mailing list

2011-03-01 Thread Bastien
Hi Nick,

Nick Dokos nicholas.do...@hp.com writes:

 But this is the second time that I have had to defend keeping the tag
 and I hope that the rest of you will sympathise with my reasons for
 keeping the tag.

Be reassured: at least I do.  Hope we can move forward now. 

-- 
 Bastien

___
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


Re: [O] Let's stick to one list for now

2011-03-01 Thread Bastien
Another issue with splitting is the problem of archiving.

Looking for problems, solutions, hacks and code in one single mailing
list has proven very useful so far -- I want to keep that.

Thanks,

-- 
 Bastien

___
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


Re: [O] Worg 404 Not Found

2011-03-01 Thread Bastien
Hi Sébastien,

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Though, for my understanding, why don't we find these files under our Worg
 local copy?  

emacs.el is an exception -- it a symbolic link to /home/emacs/.emacs.el
on the server.  So it's normal you don't have *this* file.  You have all
others files.

 Are there other missing files and directories, that aren't part
 of the Worg project?

Nope.

Best,

-- 
 Bastien

___
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


[O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Suvayu Ali
Hi Tom and Eric,

On Tue, 01 Mar 2011 08:52:44 +
Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Thomas S. Dye t...@tsdye.com writes:
 
  Aloha Suvayu,
 
  I haven't looked into this in depth, but I think your problem might
  come from loading amssymb and amsmath.  LaTeX is complaining that
  something is already defined; the AMS packages are a prime suspect
  here.  Perhaps you could inhibit amssymb?
 
  All the best,
  Tom
 
 Suvayu,
 
 I think this is indeed the problem.  I had this problem a month or so
 ago (search the mailing list!).  My solution is to add this to my
 .emacs:
 
 --8---cut here---start-8---
 (add-to-list 'org-export-latex-packages-alist '( amsmath t))
 (setcar (rassoc '(wasysym t)
 org-export-latex-default-packages-alist)  integrals)
 --8---cut here---end---8---
 

Thanks a lot, that worked like a charm. :)

Although I get perfect results using the Fedora 13 provided texlive
(2007), I noticed I get that old error again (quoted below) when I use
the texlive 2010 install from CTAN. Maybe some problem in my setup. I
will use my distribution provided texlive for now.

Thanks again for being so patient and helping with my issues. :)

 bibtex: Not writing to /home/jallad/org/masters-thesis/msthesis.blg 
 (openout_any = p).
 I couldn't open file name `/home/jallad/org/masters-thesis/msthesis.blg'

-- 
Suvayu

Open source is the future. It sets us free.

___
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


Re: [O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Carsten Dominik
Hi Eric,  Thomas,

is there a problem in the default setup of LaTeX export that needs to be 
addressed?

- Carsten

On Mar 1, 2011, at 9:52 AM, Eric S Fraga wrote:

 Thomas S. Dye t...@tsdye.com writes:
 
 Aloha Suvayu,
 
 I haven't looked into this in depth, but I think your problem might
 come from loading amssymb and amsmath.  LaTeX is complaining that
 something is already defined; the AMS packages are a prime suspect
 here.  Perhaps you could inhibit amssymb?
 
 All the best,
 Tom
 
 Suvayu,
 
 I think this is indeed the problem.  I had this problem a month or so
 ago (search the mailing list!).  My solution is to add this to my
 .emacs:
 
 --8---cut here---start-8---
 ;; to fix problems with amsmath conflicting with wasysym:
 ;;
 ;; From: Lawrence Mitchell we...@gmx.li
 ;; Subject: [Orgmode] Re: [bug] latex export ignores 
 org-export-latex-default-packages-alist?
 ;; To: emacs-orgmode@gnu.org
 ;; Date: Wed, 26 Jan 2011 16:01:52 +
 (add-to-list 'org-export-latex-packages-alist '( amsmath t))
 (setcar (rassoc '(wasysym t) org-export-latex-default-packages-alist)   
 integrals)
 --8---cut here---end---8---
 
 -- 
 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
 : using Org-mode version 7.4 (release_7.4.555.gfcf66)
 
 ___
 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

- Carsten




___
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


[O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Eric S Fraga
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

[...]

 Although I get perfect results using the Fedora 13 provided texlive
 (2007), I noticed I get that old error again (quoted below) when I use
 the texlive 2010 install from CTAN. Maybe some problem in my setup. I
 will use my distribution provided texlive for now.

 Thanks again for being so patient and helping with my issues. :)

 bibtex: Not writing to /home/jallad/org/masters-thesis/msthesis.blg 
 (openout_any = p).
 I couldn't open file name `/home/jallad/org/masters-thesis/msthesis.blg'

Sorry; this I cannot help with much as I'm not sure what is happening
here and I've never run into this before.

Are there any problems with that file (e.g. read only mode)?  Is the
file there?  If so, what happens if you remove it?  It should be created
automatically by bibtex.

Have you tried searching the web with that error message (e.g. google
bibtex openout_any)?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.562.gc895)

___
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


Re: [O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Eric S Fraga
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Eric,  Thomas,

 is there a problem in the default setup of LaTeX export that needs to be 
 addressed?

 - Carsten

Not as such in the default.  

The issue arises when one wants to extend the defaults to include the
amsmath package.  This conflicts with the wasysym package included by
default by org.  Both packages define the =\iint= symbol and latex
doesn't allow for such clashes nicely.

The suggested fix is to use this magic (to me) code suggested by
Lawrence Mitchell earlier this year:

--8---cut here---start-8---
;; to fix problems with amsmath conflicting with wasysym:
;;
;; From: Lawrence Mitchell we...@gmx.li
;; Subject: [Orgmode] Re: [bug] latex export ignores 
org-export-latex-default-packages-alist?
;; To: emacs-orgmode@gnu.org
;; Date: Wed, 26 Jan 2011 16:01:52 +
(add-to-list 'org-export-latex-packages-alist '( amsmath t))
(setcar (rassoc '(wasysym t) org-export-latex-default-packages-alist) 
integrals)
--8---cut here---end---8---

modifying, I guess, what is actually loaded from wasysym.  I've not
delved more into this but Lawrence may be able to help here?

Thanks,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.562.gc895)

___
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


[O] Re: [Orgmode] 6th todo keyword bug

2011-03-01 Thread Bastien
Hi Samuel,

Samuel Wales samolog...@gmail.com writes:

 If the first word of a headline is the same as a todo keyword except
 for being non-uppercase, it will not be exported.

I cannot reproduce it.  

What is the value of `org-export-with-todo-keywords'?  

Can you send an example?

Thanks,

-- 
 Bastien

___
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


[O] Table rows and ranges as LHS of formulas

2011-03-01 Thread Carsten Dominik
Hi everyone,

A frequently requested feature for tables has been to
be able to define row formulas in a way similar to column
formulas.  The patch below allows things like 

   @3=
   @2$2..@5$7=
   @I$2..@II$4=

as the left hand side for table formulas in order to
write a formula that is valid for an entire column or
for a rectangular section in a table.

Note that in contrast to column formulas, @3= will not
automatically skip a header column or field formulas in the
same row.  In fact, making both a range formula and a field
point to the same field is forbidden and throws an error.
So to have a formula apply to all but the first column, use
something like this:

@3$2..@3$8=

Testing is welcome, but I am confident that this works
pretty well.

Bastien, please let me know if you want to have this integrated
before the release, then I will do so.



0001-Implement-table-formulas-that-apply-to-field-ranges.patch
Description: Binary data
___
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


[O] Re: [Orgmode] Startup page

2011-03-01 Thread Konrad Hinsen
On 27 Feb, 2011, at 2:36 , Matthew Sauer wrote:

 As a relatively newer emacs and org-mode user I have found it very 
 interesting to see what people have in their .emacs file.   This has spawned 
 my curiosity, what do you have for a startup page?  Do you just have it go to 
 the scratch buffer, the standard page or something else?  Maybe a custom 
 designed page with links or something else?  Might be something interesting 
 to share on worg as well if you have a unique start page for emacs.

My Emacs starts up showing two windows:

1) An org-mode file that contains links to everything I am currently working 
on, and which I change as projects start and end. This gives me instant access 
to almost everything I need.

2) A buffer containing my agenda and to-do list.

Translated to .emacs, this means:

(find-file ~/org/current.org)
(split-window-vertically)
(org-agenda nil g)

Konrad.


___
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


[O] RE: [Orgmode] Re: org-babel-read should have option NOT to interpret as elisp

2011-03-01 Thread Vladimir Alexiev
 I've applied the patch
 attached to my previous email and unless there is a real push-back ...

Could you add handling of quoted strings?
And most importantly, document all of this in (org)var.
Here is a merged dscription:

If a value starts with one of ('` it is read as an emacs lisp sexp.
If it starts with  then it's read as a quoted string: start/end quotes are 
stripped, \ and \\ are unescaped
   (this is useful for embedding leading/trailing whitespace in strings).
If it looks like a number, it's read as a number.
Else it's read as a literal string, without any quotation or escaping.
(Please note that | in tables is always interpreted as column separator and 
currently there is no way to quote it)


___
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


[O] Tagging

2011-03-01 Thread Florian Blank
Hallo,

I'm quite new in org-mode. So I'm sorry to ask maybe an easy question, i 
absolutly do not find the solution for my problem. Even if I'm thinking, that 
org-mode ist the most sympatic and efficent way to work for me. But to the 
problem.

I want to use org-mode to organize excerpts. So my biggest Problem at the 
moment si, 

a) how to sum up multiple files und subfolders in an (root-)folder for a search 
on the tags, (and produce an file with an output)

b) how to extract the used tags of an given root-folder to a list
(buffer, file)

By the way: Not realy a big question to me at the moment, but I was wondering 
if der is any possibillity to handle bibtex files (*.bib)
like

@BOOK{Metaphysik_Rapp_1996,
  title = {Aristoteles Metaphysik, Die Substanzbücher {(Z,} Ē, {TH)}},
  publisher = {Akademie Verl.},
  year = {1996},
  author = {Christof Rapp},
  address = {Berlin},
  isbn = {9783050028651},
  keywords = {Metaphysik, Aristoteles, Substanz, ousia},
  lccn = {},
  owner = {schlaubi},
}

For example, that it ist possible to include in an tag-search the values of
 keywords = {xxx} of an given bibtex-file (database-file).

Thank you for your time,

Florian Blank.

___
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


[O] Re: Table rows and ranges as LHS of formulas

2011-03-01 Thread Carsten Dominik

On Mar 1, 2011, at 3:28 PM, Carsten Dominik wrote:

 Hi everyone,
 
 A frequently requested feature for tables has been to
 be able to define row formulas in a way similar to column
 formulas.  The patch below allows things like 
 
   @3=
   @2$2..@5$7=
   @I$2..@II$4=
 
 as the left hand side for table formulas in order to
 write a formula that is valid for an entire column or

s/column/row/

 for a rectangular section in a table.
 
 Note that in contrast to column formulas, @3= will not
 automatically skip a header column or field formulas in the
 same row.  In fact, making both a range formula and a field
 point to the same field is forbidden and throws an error.
 So to have a formula apply to all but the first column, use
 something like this:
 
@3$2..@3$8=
 
 Testing is welcome, but I am confident that this works
 pretty well.
 
 Bastien, please let me know if you want to have this integrated
 before the release, then I will do so.
 
 0001-Implement-table-formulas-that-apply-to-field-ranges.patch

- Carsten




___
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


[O] rownames in matlab or octave.

2011-03-01 Thread Piter_
Hi all.
Is is possible to output result from matlab source code with row
(column) names, or it works only in R.
Thanks.
Petro.

___
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


[O] [bug] infinite loop exporting to latex with lists

2011-03-01 Thread Eric S Fraga
Hello,

with the following simple file,

--8---cut here---start-8---
* A question

For this project:

1. Draw a graph.


--8---cut here---end---8---

I get an infinite loop (i.e. emacs hangs until C-g) when I try to export
this to latex.  Using debug on quit, I find it always hangs in
=org-list-context=.  Help!

I cannot think of anything I have changed etc.  It only happens where
there is a list and this list can be any length = 1.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.562.gc895)

___
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


[O] [bug] infinite loop exporting to latex with lists

2011-03-01 Thread Eric S Fraga
Hello,

with the following simple file,

--8---cut here---start-8---
* A question

For this project:

1. Draw a graph.


--8---cut here---end---8---

I get an infinite loop (i.e. emacs hangs until C-g) when I try to export
this to latex.  Using debug on quit, I find it always hangs in
=org-list-context=.  Help!

I cannot think of anything I have changed etc.  It only happens where
there is a list and this list can be any length = 1.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.562.gc895)

___
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


Re: [O] [bug] infinite loop exporting to latex with lists

2011-03-01 Thread Nick Dokos
Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Hello,
 
 with the following simple file,
 
 * A question
 
 For this project:
 
 1. Draw a graph.
 
 
 
 I get an infinite loop (i.e. emacs hangs until C-g) when I try to export
 this to latex.  Using debug on quit, I find it always hangs in
 =org-list-context=.  Help!
 
 I cannot think of anything I have changed etc.  It only happens where
 there is a list and this list can be any length = 1.
 

Suvayu reported a hang earlier today and Nicolas pushed a fix - maybe
try pulling latest?

Nick

___
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


Re: [O] Tagging

2011-03-01 Thread John Hendy
Hi,

On Tue, Mar 1, 2011 at 6:24 AM, Florian Blank 
bl...@informatik.uni-muenchen.de wrote:

 Hallo,

 I'm quite new in org-mode. So I'm sorry to ask maybe an easy question, i
 absolutly do not find the solution for my problem. Even if I'm thinking,
 that org-mode ist the most sympatic and efficent way to work for me. But to
 the problem.

 I want to use org-mode to organize excerpts. So my biggest Problem at the
 moment si,

 a) how to sum up multiple files und subfolders in an (root-)folder for a
 search on the tags, (and produce an file with an output)


While it might not be the best looking output, you can use agenda for
something like this. I don't know if you have familiarity with agenda or
not, so assuming you don't, the process would be like so:
- add your various files to your agenda list (visit the file and do C-c [)
covered here: http://orgmode.org/manual/Agenda-files.html#Agenda-files

- run agenda with M-x org-agenda or add this to .emacs
,-
| global-set-key \C-ca 'org-agenda)
`-
and then use C-c a.

- choose the m option for 'Match a tags/prop/todo query'

- type in your tag and observe the output. When I do this and insert a tag I
know exists all over, the resulting agenda view produces a list like so:
,-
| Filename:  Headline-where-tag-occurs   :tag-I-searched:
| Filename:  Headline-where-tag-occurs2   :tag-I-searched:
| ...
`-

- you can then write this list using C-x C-w to a file. Others may be able
to comment on more advanced exporting; I haven't used this feature yet
(other than knowing it exists) -- there may be a way to export to another
org file. Otherwise, you could run some sed commands and insert stars at the
beginning of each list or change : into : | to make an org table from
the output. I think once you have your exported list, you should be able to
do something with it to make it usable, hopefully.


 b) how to extract the used tags of an given root-folder to a list
 (buffer, file)


I'll let someone else handle this... I was thinking 'grep ':.*:' files' but
that isn't working so hot...


 By the way: Not realy a big question to me at the moment, but I was
 wondering if der is any possibillity to handle bibtex files (*.bib)
 like

 @BOOK{Metaphysik_Rapp_1996,
  title = {Aristoteles Metaphysik, Die Substanzbücher {(Z,} Ē, {TH)}},
  publisher = {Akademie Verl.},
  year = {1996},
  author = {Christof Rapp},
  address = {Berlin},
  isbn = {9783050028651},
  keywords = {Metaphysik, Aristoteles, Substanz, ousia},
  lccn = {},
  owner = {schlaubi},
 }

 For example, that it ist possible to include in an tag-search the values of
  keywords = {xxx} of an given bibtex-file (database-file).

 Thank you for your time,

 Florian Blank.

 ___
 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

___
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


Re: [O] Worg 404 Not Found

2011-03-01 Thread Sébastien Vauban
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 Though, for my understanding, why don't we find these files under our Worg
 local copy?

 emacs.el is an exception -- it a symbolic link to /home/emacs/.emacs.el on
 the server. So it's normal you don't have *this* file. You have all others
 files.

 Are there other missing files and directories, that aren't part
 of the Worg project?

 Nope.

Are we suppose to be able to read the file ~/.emacs-custom.el referenced on
line #1?

In any case, http://orgmode.org/worg/sources/.emacs-custom.el is as well not
found. But, maybe, that's intended, then?

Best regards,
  Seb

-- 
Sébastien Vauban


___
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


[O] Keep a file out of the mobile org org-mobile-files list

2011-03-01 Thread Marcelo de Moraes Serpa
Hello list,

I have a specific org file that I wound't like to have on my mobile
device (iPhone) and I know that org by defaults adds all the files
from org-agenda-files.

The manual says:

This operation copies all files currently listed in org-mobile-files
to the directory org-mobile-directory. By default this list contains
all agenda files (as listed in org-agenda-files), but additional files
can be included by customizing org-mobiles-files. File names will be
staged with paths relative to org-directory, so all files should be
inside this directory

Does that mean that, if no org-mobile-files is defined, org will use
org-agenda-files, and if it is, then it will use the list in
org-mobile-files?

The thing is that, one of the files that are added to the agenda
contains lots of sensitive information, and I wouldn't way to carry it
around on the iPhone.

Thanks in advance,

Marcelo.

___
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


Re: [O] Worg 404 Not Found

2011-03-01 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 In any case, http://orgmode.org/worg/sources/.emacs-custom.el is as well not
 found. 

I just added it.

-- 
 Bastien

___
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


Re: [O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Thomas S. Dye

Aloha Carsten,

Does Org-mode use the wasysym package for its integral symbols?  If  
not, potential clashes with the amsmath package could be avoided by  
loading it with the nointegrals option:  \loadpackage[nointegrals] 
{wasysym}.  This is a fairly standard way to load wasysym (which I  
should have recalled for Suvayu's recent problem, thanks Eric for  
remembering).


All the best,
Tom

Hi Eric,  Thomas,

is there a problem in the default setup of LaTeX export that needs  
to be

addressed?

- Carsten


___
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


Re: [O] Re: [Orgmode] [PATCH] Allow inclusion of author's email in LaTeX export

2011-03-01 Thread Bastien
Hi Hsiu-Khuern,

Hsiu-Khuern Tang tan...@gmail.com writes:

 I updated to the latest git version, but I'm still getting unescaped
 underscores in the \thanks{} argument.  

I pushed another fix, please check again.

-- 
 Bastien

___
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


[O] Re: [Orgmode] 6th todo keyword bug

2011-03-01 Thread Samuel Wales
Hi Bastien,

On 2011-03-01, Bastien b...@altern.org wrote:
 What is the value of `org-export-with-todo-keywords'?

nil


 Can you send an example?

*** org
* Question about something
* question about something

Have QUESTION as a todo kw.

Samuel

-- 
The Kafka Pandemic:
http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support the Whittemore-Peterson Institute (WPI)
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

___
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


Re: [O] RE: [Orgmode] Re: org-babel-read should have option NOT to interpret as elisp

2011-03-01 Thread Eric Schulte
Vladimir Alexiev vladi...@sirma.bg writes:

 I've applied the patch
 attached to my previous email and unless there is a real push-back ...

 Could you add handling of quoted strings?

I believe quoted strings are already handled, e.g.,

#+results: elisp-looking-table
| 1 | (a b c)   |
| 2 | (a b c) |

#+headers: :var without=elisp-looking-table[0,1]
#+headers::var with=elisp-looking-table[1,1]
#+begin_src perl
  $with, $without
#+end_src

#+results:
: (a b c)
: (a b c)

 
 And most importantly, document all of this in (org)var.  Here is a
 merged dscription:


Thanks for the reminder, I have  updated the documentation.

Best -- Eric


 If a value starts with one of ('` it is read as an emacs lisp sexp.
 If it starts with  then it's read as a quoted string: start/end
 quotes are stripped, \ and \\ are unescaped (this is useful for
 embedding leading/trailing whitespace in strings).  If it looks like a
 number, it's read as a number.  Else it's read as a literal string,
 without any quotation or escaping.  (Please note that | in tables is
 always interpreted as column separator and currently there is no way
 to quote it)


 ___
 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

___
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


[O] Re: [Orgmode] Possible Calc support for Org-Babel?

2011-03-01 Thread Eric Schulte
Eric S Fraga e.fr...@ucl.ac.uk writes:

 Eric Schulte schulte.e...@gmail.com writes:

 Eric S Fraga e.fr...@ucl.ac.uk writes:

 [...]


 Further on this, any suggestions on how to pass a vector variable to
 calc using babel?  I tried

 #+begin-src org
   #+begin_src calc :var y=[1 2 3]
 3 y
   #+end_src
 #+end_src

 but get an error that says

 : Bad format in variable contents: Expected a number

 I've tried putting the vector in quotes but that doesn't help either.
 Is this maybe not possible?


 With the newest version of Org-mode, I'm now getting the following
 output.

 #+begin_src calc :var y=[1 2 3]
   3 y
 #+end_src
 #+results:
 : (3, 6)

 Does this look correct?

 Best -- Eric

 This does not look correct: assuming my knowledge of calc is correct,
 the result should be the scalar 3 multiplied by each of the vector
 elements.  I don't understand how =(3, 6)= can be the output of =3 y=...

 The strange thing is that this doesn't work at all for me (with git as
 of a few minutes ago): I still get the error message

 : byte-code: Bad format in variable contents: Expected a number

 However, if I put the vector in double quotes, it works:

   #+begin_src calc :var y=[1 2 3]
 3 y
   #+end_src

   #+results:
   : [3, 6, 9]

 *but* if I subsequently remove the double quotes, it doesn't work and if
 put them back, it no longer works either.  I am confused...  there's
 like a hysteresis loop in org babel :(

 Any suggestions on how to debug this are welcome, of course.

Oh, I just got an even stranger result, with the latest from git...

#+begin_src calc :var y=[1 2 3]
  3 y
#+end_src

#+results:
: 3 hline

something is most certainly wrong...

Alright, I've made two changes, first, it is now possible to pass elisp
vectors through to code blocks, e.g.,

#+begin_src emacs-lisp :var data=[1 2 3]
  (elt data 1)
#+end_src

#+results:
: 2

Second, I've added a slightly hackey but seemingly necessary
post-processing step to a call to calc-eval in ob-calc to remove quotes
from vectors.  This allows vector processing to take place---at least as
far as my limited calc knowledge is concerned.  For example;

#+begin_src calc :var y=[1 2 3]
  3 y
#+end_src

#+results:
: [3, 6, 9]

Hope this helps -- Cheers -- Eric

___
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


Re: [O] [babel][PATCH] ERT as external library deprecated.

2011-03-01 Thread Eric Schulte
Hi Martyn,

Thanks for the patch, I have just applied it.

Best -- Eric

Martyn Jago martyn.j...@btinternet.com writes:

 Hi

 The ERT library is now a part of EMACS. As a result the ERT library
 files currently loaded as a sub-module have been deleted on Github. 

 This change modifies .gitmodule to avoid attempting to load ERT.
 Changes have been made to testing/README.org to suit.

 An insertion has been made to testing/README.org to point out that the
 library-of-babel.org file needs ingesting (including a source block to
 do so) to enable some tests to pass, and the ERT reference now points
 to the included ERT info help pages.

 Broken dependencies in testing/org-test.el have been removed.

 I have also temporarily commented out a small number of broken tests
 which between them cause ERT to go off into the weeds and delete a large
 section of babel.org. This means that all tests currently pass.

 I will investigate the breakages and hopefully provide fixes.

 Hope this helps

 Martyn
  


 ---
 Org-mode version 7.4 (release_7.4.558.g1e39)
 GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.0)
  of 2011-02-25 
 ___
 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

___
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


[O] Re: [Orgmode] [babel] [PATCH]

2011-03-01 Thread Eric Schulte
Martyn Jago martyn.j...@btinternet.com writes:

 Eric Schulte schulte.e...@gmail.com writes:

 Hi Eric

 Hi Martyn,

 Thanks for this patch and for the very nice test file, I've just applied
 it along with a related patch in org-exp-blocks.el.

 Even with the patch applied I am still seeing undesirable behavior when
 exporting the test file.  I believe this is due to upstream processing
 of the blocks by the rest of org-mode, as the buffer *after* org-mode
 processing looks like this [1]

 Thanks -- Eric


 Thanks. That works great. One thing - I'm not seeing any undesirable
 behaviour that you mentioned - am I missing something?


I don't have time to test this out again right now, but if you see no
smoke, I'm happy to call no fire. :)


   git format-patch -o ~/Desktop/ HEAD~1

 Thanks for the tip - also, apologies for the 'too short' title (hope I
 didn't start anything ;) - I'm still getting used to gnus!

 One other thing, I've just been trying to get the tests running, and
 most of them are, but the noweb test is failing and I don't understand
 why. Has the noweb argument changed in any way...

 This doesn't expand on export to html and therefore fails the tests...


I don't believe that there have been any recent changes to the noweb
syntax, and the example below should indeed expand---and does for me
when interactively evaluated.  I'm not sure what needs to be changed for
the test to pass...

Also, I'm really pleased that you are looking into the test suite.  I do
believe that a well maintained test suite would be a huge boon, both for
Babel and for Org-mode at large, however, recently I have only had
enough time to respond to issues raised on the mailing list, and haven't
had the time needed to maintain the test suite---I know, I should be
responding to mailing list issues by writing tests for all of the new
development, but it hasn't yet integrated into my work flow.

Best -- Eric



 #+source: noweb-example
 #+begin_src emacs-lisp
   (message expanded)
 #+end_src

 #+begin_src emacs-lisp :noweb yes
   ;; noweb-yes-start
   noweb-example
   ;; noweb-yes-end
 #+end_src


 Regards

 Martyn


 will output a patch file to your desktop holding your last committed
 change.  This would allow me to more easily apply your patches, and will
 ensure that you get authorship credit in the git logs.

 Martyn Jago martyn.j...@btinternet.com writes:

 Hi Babel

 [...]

 ___
 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

 Footnotes: 
 [1]  buffer *after* org-mode processing
 ,
 | ** new block regexp tests
 | *** Block 1 (Exports OK)
 | 
 | #+BEGIN_SRC sh :tangle test-out
 | Block 1
 | #+END_SRC
 | 
 | *** Block 2 (Exports OK - double blank line no white-space in Block)
 | 
 | #+BEGIN_SRC sh :tangle test-out
 | 
 | 
 | #+END_SRC
 | 
 | *** Block 3 (Fails - single blank line no white-space in Block)
 | 
 | #+BEGIN_SRC sh :tangle test-out
 | 
 | #+END_SRC
 | 
 | *** Block 4 (Gets consumed by previous Block)
 | 
 | #+BEGIN_SRC sh :tangle test-out
 | Block 4
 | #+END_SRC
 | 
 | *** Block 5 (Fails - no lines in Block)
 | 
 | #+BEGIN_SRC sh :tangle test-out
 | #+END_SRC
 | 
 | *** Block 6 (Gets consumed by previous Block
 | 
 | #+BEGIN_SRC sh :tangle test-out
 | Block 6
 | #+END_SRC
 `



 ---
 Org-mode version 7.4 (release_7.4.529.gb23d)
 GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.0)
  of 2011-02-25 

___
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


Re: [O] Re: [Orgmode] A way to export agenda with links into org-files to html ?

2011-03-01 Thread Bastien
Hi Hrvoje,

Hrvoje Niksic hnik...@xemacs.org writes:

 This are the typical text properties for an Org-mode link:

   face org-link
   help-echoLINK: http://bonjour.fr;
   mouse-face   highlight

 These three properties (face, help-echo, mouse-face) are general, which
 would require htmlize to deduce URLs from them much like it now deduces
 URLs by examining buffer text.  I would like to offer a better
 alternative.

 What I had in mind is a general property that marks a URI reference.
 For example, a `uri-ref' property could refer to the URI that would
 cause htmlize to generate an a href=... link, `browse-url' to react
 to mouse clicks to that area, etc.  The property value would typically
 be a string containing the URI, but could also be a plist describing the
 reference.

 ;; just the URI
 (put-text-property beg end 'uri-ref http://bonjour.fr;)

I see.  So (thing-at-point 'url) would return the url/uri depending on
that 'uri-ref property.  But as far as I've understood, thing-at-point
does not rely on properties -- am I wrong?

Unless such a property can be used with thing-at-point (for `browse-url'
and other commands), I'd rather put the burden of finding the proper ref
to htmlize, based on the help-echo area... 

What do you think?

-- 
 Bastien

___
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


Re: [O] Re: unicode chars in org-emphasis-regexp-components

2011-03-01 Thread Bastien
Hi Eric,

Eric Abrahamsen e...@ericabrahamsen.net writes:

 Okay, I was getting confused by the escaped double quotes. I've set it
 properly, so far as I can tell, but it's still failing to recognize
 emphasis markers when they're next to my unicode characters,
 specifically—the m-dash and ellipsis…

 Is this somehow debuggable, say in an elisp REPL using internal
 functions? Can I provide any more useful information?

Yes - you may share the new value of org-emphasis-regexp-components
(with unicode characters) so that we can try ourselves.  Should be a
matter of using the right representation of these chars when setting 
the variable.

Thanks,

-- 
 Bastien

___
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


[O] Re: [BABEL] [BUG] Property :exports: both ignored when exporting subtree

2011-03-01 Thread Eric Schulte

 OK - further test:

 after an update this morning to Org-mode version 7.4
 (release_7.4.553.g83b7) even the export of the whole document top pdf,
 does not include the graphs. In contrast, when using 7.01g with the
 same emacs.org file, the export of the complete document includes the
 graphs, although on 7.01g, no subtree export does include an graph.


Hi Rainer,

So you want the Org-mode syntax text returned by R, to be interpreted as
Org-mode and then further processed by the latex exporter to convert the
|name|[[./pdf1.pdf]]| line into a latex table with an embedded graph?

In that case you should add the :results raw header argument to your
code block so that the results of the code block are not escaped.

Best -- Eric


 With Org-mode version 7.4 (release_7.4.553.g83b7), no export of any
 subtree included any graph.

 I attach my (longish) emacs.org file ant the init.el, but I do not
 think there is a problem in there.

 Cheers,

 Rainer



 Cheers,

 Rainer

 * Her it does not work
 :PROPERTIES:
 :tangle: no
 :results: output org
 :exports: both
 :END:
 ** R code graph
 #+begin_src R
   pdf(pdf1.pdf)
   plot(runif(100))
   dev.off()

   cat(
       \n|--|--|\n,
       |name|[[./pdf1.pdf]]|\n,
       |--|--|\n
       )
 #+end_src


 * Here it works
 :PROPERTIES:
 :tangle: no
 :results: output org
 :exports: both
 :END:
 ** R code graph
 #+begin_src R :exports both
   pdf(pdf1.pdf)
   plot(runif(100))
   dev.off()

   cat(
       \n|--|--|\n,
       |name|[[./pdf1.pdf]]|\n,
       |--|--|\n
       )
 #+end_src


___
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


[O] [Accepted] [O,babel] ERT as external library deprecated.

2011-03-01 Thread Bastien Guerry
Patch 639 (http://patchwork.newartisans.com/patch/639/) is now Accepted.

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C87pqqb2k5t.fsf%40btinternet.com%3E

Here is the original message containing the patch:

 Content-Type: text/plain; charset=utf-8
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Subject: [O,babel] ERT as external library deprecated.
 Date: Tue, 01 Mar 2011 15:46:06 -
 From: Martyn Jago martyn.j...@btinternet.com
 X-Patchwork-Id: 639
 Message-Id: 87pqqb2k5t@btinternet.com
 To: emacs-orgmode@gnu.org
 
 Hi
 
 The ERT library is now a part of EMACS. As a result the ERT library
 files currently loaded as a sub-module have been deleted on Github. 
 
 This change modifies .gitmodule to avoid attempting to load ERT.
 Changes have been made to testing/README.org to suit.
 
 An insertion has been made to testing/README.org to point out that the
 library-of-babel.org file needs ingesting (including a source block to
 do so) to enable some tests to pass, and the ERT reference now points
 to the included ERT info help pages.
 
 Broken dependencies in testing/org-test.el have been removed.
 
 I have also temporarily commented out a small number of broken tests
 which between them cause ERT to go off into the weeds and delete a large
 section of babel.org. This means that all tests currently pass.
 
 I will investigate the breakages and hopefully provide fixes.
 
 Hope this helps
 
 Martyn
 
 ---
 Org-mode version 7.4 (release_7.4.558.g1e39)
 GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.0)
  of 2011-02-25
 
 From c4772a9786371c006a2637528a25414033d208c9 Mon Sep 17 00:00:00 2001
 From: Martyn Jago martyn.j...@btinternet.com
 Date: Tue, 1 Mar 2011 07:34:55 +
 Subject: [PATCH 1/3] Changes to suit latest ert structure. ERT is now a part 
 of EMACS and the source of the ERT git submodule is deprecated, as are some 
 files within. Changes testing/README and .gitmodules to suit.
 
 ---
  .gitmodules |3 ---
  testing/README.org  |   17 ++---
  testing/ert |1 -
  testing/lisp/test-ob-exp.el |9 +
  testing/org-test.el |6 +-
  5 files changed, 12 insertions(+), 24 deletions(-)
  delete mode 16 testing/ert
 
 diff --git a/.gitmodules b/.gitmodules
 index 3c493aa..400e7cc 100644
 --- a/.gitmodules
 +++ b/.gitmodules
 @@ -1,6 +1,3 @@
  [submodule testing/jump]
   path = testing/jump
   url = git://github.com/eschulte/jump.el.git
 -[submodule testing/ert]
 - path = testing/ert
 - url = http://github.com/ohler/ert.git
 diff --git a/testing/README.org b/testing/README.org
 index f374a48..2d38df9 100644
 --- a/testing/README.org
 +++ b/testing/README.org
 @@ -4,10 +4,11 @@
  The following instructions describe how to get started using the
  Org-mode test framework.
  
 -1) Install the ERT and jump.el testing dependencies which are included
 -   as git submodules in the org-mode repository.  To do so run the
 -   following git submodule commands from inside the base of the
 -   Org-mode directory (or just execute the following code block).
 +1) Install the jump.el testing dependency which is included as a git
 +   submodule in the org-mode repository.  To do so run the following
 +   git submodule commands from inside the base of the Org-mode
 +   directory (or just execute the following code block).
 +
 #+begin_src sh
   cd ..
   git submodule init
 @@ -26,13 +27,7 @@ Org-mode test framework.
 prefix argument, and the corresponding test file will be stubbed
 out if it doesn't already exist.
  
 -4) Review the ERT documentation, to do this run =makeinfo= in the
 -   =testing/ert= directory,
 -   #+begin_src sh
 - cd ert
 - makeinfo ert.texinfo
 -   #+end_src
 -   then browse the [[elisp:(info (expand-file-name 
 ert/ert.info))][resulting info file]].
 +4) [[info:ert#Top][Review the ERT documentation]] 
  
  5) A number of org-mode-specific functions and macros are provided in
 =org-test.el= see the 
 [[file:org-test.el::%3B%3B%3B%20Functions%20for%20writing%20tests][;;; 
 Functions for Writing Tests]] subsection of
 diff --git a/testing/ert b/testing/ert
 deleted file mode 16
 index 87b475f..000
 --- a/testing/ert
 +++ /dev/null
 @@ -1 +0,0 @@
 -Subproject commit 87b475f856ab6eab479b439b911c5e0c23918a36
 diff --git a/testing/lisp/test-ob-exp.el b/testing/lisp/test-ob-exp.el
 index 6c7c514..ee982dc 100644
 --- a/testing/lisp/test-ob-exp.el
 +++ b/testing/lisp/test-ob-exp.el
 @@ -95,10 +95,11 @@ elements in the final html.
(should (string-match pre.*[^\000]*/pre html))
(should (string-match table.*[^\000]*/table html)
  
 -(ert-deftest ob-exp/export-subtree ()
 -  (org-test-at-id 5daa4d03-e3ea-46b7-b093-62c1b7632df3
 -(org-mark-subtree)
 -(org-export-as-latex nil)))
 +;; TODO
 +;; (ert-deftest ob-exp/export-subtree ()
 +;;   (org-test-at-id 

[O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Suvayu Ali
Hi Eric and others,

On Tue, 01 Mar 2011 12:51:22 +
Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Suvayu Ali fatkasuvayu+li...@gmail.com writes:
 
 [...]
 
  Although I get perfect results using the Fedora 13 provided texlive
  (2007), I noticed I get that old error again (quoted below) when I
  use the texlive 2010 install from CTAN. Maybe some problem in my
  setup. I will use my distribution provided texlive for now.
 
  Thanks again for being so patient and helping with my issues. :)
 
  bibtex: Not writing
  to /home/jallad/org/masters-thesis/msthesis.blg (openout_any = p).
  I couldn't open file name
  `/home/jallad/org/masters-thesis/msthesis.blg'
 
 Sorry; this I cannot help with much as I'm not sure what is happening
 here and I've never run into this before.
 
 Are there any problems with that file (e.g. read only mode)?  Is the
 file there?  If so, what happens if you remove it?  It should be
 created automatically by bibtex.
 

This happens with a clean working directory.

 Have you tried searching the web with that error message (e.g. google
 bibtex openout_any)?
 

I found a recent (Jan 2010) discussion about this. There was a change in
behaviour for bibtex in the latest texlive build which leads to this
behaviour. You can follow the discussion in this thread[1]. The TeX
developers expect external tools like org and other editor plugins to
adapt to this change. I think this is why I was having problems in the
first place, not sure how this can be resolved though. If we find a
solution it would be worth a mention on Worg.

[1] http://web.archiveorange.com/archive/v/VBuN9l7WNXs4SXOn6Kxh

-- 
Suvayu

Open source is the future. It sets us free.

___
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


[O] Re: [PATCH] Re: [BUG] htmlp and latexp

2011-03-01 Thread Bastien
Hi Dan,

Dan Davison dandavis...@gmail.com writes:

 Here's a patch. I note that Eric S pointed out in a separate thread that
 org-current-export-file can be used for a similar purpose.

Thanks a lot for the patch.  I applied a generalized version of it,
using `org-export-current-backend' whenever possible - see last git
repository.

Now one can use `org-export-current-backend' anytime during export
to check the current export backend.

This also reduces the amount of variable we need to pass to the
function.  I've been through the functions which had a backend
variable and I think it's safe to always dismiss such a variable
and use `org-export-current-backend'.

Best,

-- 
 Bastien

___
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


Re: [O] Re: [Orgmode] [PATCH] Allow inclusion of author's email in LaTeX export

2011-03-01 Thread Hsiu-Khuern Tang
On Tue, Mar 1, 2011 at 9:36 AM, Bastien b...@altern.org wrote:
 Hi Hsiu-Khuern,

 Hsiu-Khuern Tang tan...@gmail.com writes:

 I updated to the latest git version, but I'm still getting unescaped
 underscores in the \thanks{} argument.

 I pushed another fix, please check again.

 --
  Bastien


Yes, works now, thanks!

-- 
Hsiu-Khuern.

___
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


Re: [O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote:
 
 Does Org-mode use the wasysym package for its integral symbols?  If
 not, potential clashes with the amsmath package could be avoided by
 loading it with the nointegrals option: \loadpackage
 [nointegrals]{wasysym}.  This is a fairly standard way to load wasysym
 (which I should have recalled for Suvayu's recent problem, thanks Eric
 for remembering).
 

That's very nice - thanks! I believe wasysym was introduced for its misc
symbols, not the integrals - if one needs integrals, then presumably
amsmath is the way to go, so [nointegrals] looks indeed like the right
way to go.

Nick



___
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


[O] Re: [PATCH] Re: [BUG] htmlp and latexp

2011-03-01 Thread Bastien
Hi Dan,

Dan Davison dandavis...@gmail.com writes:

 Incidentally, I would suggest that org-current-export-file and
 org-current-export-dir are renamed so that they are within the
 org-export-* namespace. 

Agreed.  Please provide a patch if you have time.

 There are other areas of Org where I think the
 naming should be standardised, notably in org-src.el: the distinction
 between org-src-* and org-edit-src-* is unclear IMO. 

I leave this decision to Erik, this is *his* namespace :)

 I think this is
 kind of important, because in learning emacs one does makes use of these
 namespace conventions, e.g. C-h v initial-letters TAB. 

I agree.

 How much change
 would there be if we demanded that *all* variables defined in org-foo.el
 are named within the org-foo-* namespace?

I don't know.  Let's undertake this work progressively.

-- 
 Bastien

___
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


[O] Re: [Orgmode] Possible Calc support for Org-Babel?

2011-03-01 Thread Eric S Fraga
Eric Schulte schulte.e...@gmail.com writes:

[...]

 Alright, I've made two changes, first, it is now possible to pass elisp
 vectors through to code blocks, e.g.,

 #+begin_src emacs-lisp :var data=[1 2 3]
   (elt data 1)
 #+end_src
 #+results:
 : 2

 Second, I've added a slightly hackey but seemingly necessary
 post-processing step to a call to calc-eval in ob-calc to remove quotes
 from vectors.  This allows vector processing to take place---at least as
 far as my limited calc knowledge is concerned.  For example;

 #+begin_src calc :var y=[1 2 3]
   3 y
 #+end_src
 #+results:
 : [3, 6, 9]

 Hope this helps -- Cheers -- Eric

It does indeed.  It all seems to work just fine now.

I don't necessarily know much more emacs calc than you but the little I
know seems to work just fine.  It's such a powerful package sitting
there mostly idle and org babel is probably the best way to release it
for general use!  Especially for inline calculations...  Time to re-read
the calc manual again and play.

Thanks,
eric

-- 
Eric S Fraga (: http://www.homepages.ucl.ac.uk/~ucecesf/ :)

___
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


[O] Re: [Orgmode] 2nd clone of Org-mode for Vim

2011-03-01 Thread Jan Christoph Ebersbach
Hi Bastian,

Thanks for your reply. I definitively want to do some screencasts, too.
The next thing for me is to define a number of milestones for the
project.

Btw, are you a vim user or have you used Herbert's VimOrganizer?

Greetings,

Jan Christoph

On Sat 26-02-2011 17:27 +0100, Bastien wrote:

 Hi Jan,

 Jan Christoph Ebersbach j...@e-jc.de writes:

  If you are interested, you can access the code at
  https://github.com/jceb/vim-orgmode or send an e-mail if you have
  any further questions.

 I haven't tested it yet, but it's great to have so many clones.

 What would be useful for us poor emacs-only users would be to have a
 screencast demonstrating the functionalities you implemented.  It will
 let us know where you are and where you go.  Herbert's screencasts
 were quite useful in that regard.

 Thanks!


-- 
Jan Christoph Ebersbach
But by the grace of God I am what I am. 1. Cor 15,10


signature.asc
Description: Digital signature
___
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


[O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Eric S Fraga
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

[...]

 Have you tried searching the web with that error message (e.g. google
 bibtex openout_any)?
 

 I found a recent (Jan 2010) discussion about this. There was a change in
 behaviour for bibtex in the latest texlive build which leads to this
 behaviour. You can follow the discussion in this thread[1]. The TeX
 developers expect external tools like org and other editor plugins to
 adapt to this change. I think this is why I was having problems in the
 first place, not sure how this can be resolved though. If we find a
 solution it would be worth a mention on Worg.

 [1] http://web.archiveorange.com/archive/v/VBuN9l7WNXs4SXOn6Kxh

Ah, very interesting.  What I don't understand is why this is affecting
you.  I can see it affecting you if the aux file cannot be found but not
if the first pdflatex step worked okay.  Do you still have the problem
if the first step worked?

If so, and if you still have the sh file I sent to the list yesterday,
can you add the following line to the top:

echo 'Invoked in dir ' $PWD

and post the output (the first few lines only) of the export to PDF when
you get the error with bibtex?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.576.g99675.dirty)

___
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


[O] Re: Possible Calc support for Org-Babel?

2011-03-01 Thread orgm...@h-rd.org

Hi,

addition of babel support for calc is nice.  However calc also has  
embedded mode.  that means active calc documents can easily be  
embedded in org documents (and also latex, ...).  It is different from  
babel, but in some instances it may work better.





___
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


[O] [bug] error in html export: backend not defined

2011-03-01 Thread Eric S Fraga
Hi,

I notice that there has been a recent commit which affects export of org
files.   I have just needed to export an org file to HTML and get the
following error:

: if: Symbol's value as variable is void: backend

The backtrace is:

,
| Debugger entered--Lisp error: (void-variable backend)
|   (eq backend (quote html))
|   (if (eq backend (quote html)) (progn (org-exp-bibtex-docites [...]
|   (when (eq backend (quote html)) (org-exp-bibtex-docites [...]
|   (save-window-excursion (setq oebp-cite-plist [...]
|   org-export-bibtex-preprocess()
|   run-hooks(org-export-preprocess-hook)
|   org-export-preprocess-string( [...] )
|   org-export-as-html(nil)
|   call-interactively(org-export-as-html)
|   org-export(nil)
|   call-interactively(org-export nil nil)
`

For now, I am going to disable the invocation of the bibtex
preprocessing as this appears to be the only place that =backend=
appears.

thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.576.g99675.dirty)

___
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


[O] Re: [Orgmode] customising org-latex-to-pdf-process for bibtex

2011-03-01 Thread Suvayu Ali
Hi Eric,

On Tue, 01 Mar 2011 20:41:20 +
Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Ah, very interesting.  What I don't understand is why this is
 affecting you.  I can see it affecting you if the aux file cannot be
 found but not if the first pdflatex step worked okay.  Do you still
 have the problem if the first step worked?
 

Before the first pdflatex run the working directory seems correct:

 Invoked in dir  /home/jallad/org/masters-thesis

In the output for this run I see some lines like these:

 [6]
 No file msthesis.bbl.
 [7] (./msthesis.aux)

I guess that means the .aux files are created?

 If so, and if you still have the sh file I sent to the list yesterday,
 can you add the following line to the top:
 
 echo 'Invoked in dir ' $PWD
 
 and post the output (the first few lines only) of the export to PDF
 when you get the error with bibtex?

Despite the above, for bibtex I get the following:

 - running bibtex next
 
 Invoked in dir  /home/jallad/org/masters-thesis
 
 bibtex: Not writing to /home/jallad/org/masters-thesis/msthesis.blg
 (openout_any = p). I couldn't open file name
 `/home/jallad/org/masters-thesis/msthesis.blg'


Explicitly calling the texlive 2007 bibtex resolves the problem.

As per one of Tom's suggestions earlier in the thread, if I set

(setq org-export-pdf-remove-logfiles nil)

I can see the .aux files present after the final pdflatex run. Not
sure why bibtex overlooks that since the working directory seems
correct.

-- 
Suvayu

Open source is the future. It sets us free.

___
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


Re: [O] [bug] error in html export: backend not defined

2011-03-01 Thread Nick Dokos
Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Hi,
 
 I notice that there has been a recent commit which affects export of org
 files.   I have just needed to export an org file to HTML and get the
 following error:
 
 : if: Symbol's value as variable is void: backend
 
 The backtrace is:
 
 ,
 | Debugger entered--Lisp error: (void-variable backend)
 |   (eq backend (quote html))
 |   (if (eq backend (quote html)) (progn (org-exp-bibtex-docites [...]
 |   (when (eq backend (quote html)) (org-exp-bibtex-docites [...]
 |   (save-window-excursion (setq oebp-cite-plist [...]
 |   org-export-bibtex-preprocess()
 |   run-hooks(org-export-preprocess-hook)
 |   org-export-preprocess-string( [...] )
 |   org-export-as-html(nil)
 |   call-interactively(org-export-as-html)
 |   org-export(nil)
 |   call-interactively(org-export nil nil)
 `
 
 For now, I am going to disable the invocation of the bibtex
 preprocessing as this appears to be the only place that =backend=
 appears.
 

It's likely that the only thing needed is to rename backend to
org-export-current-backend in contrib/lisp/org-exp-bibtex.el.
See commit 99675ffead44e32f4959909a657b88831fe33703.

Nick

___
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


[O] Simple Indentation question: indentation behaviour changed some time ago.

2011-03-01 Thread Rainer Stengele
Hi all,

I remember once I had this

* headline
  - item
TEXT
^

cursor on first T of TEXT and pressing TAB I got:

* headline
  - item
TEXT

nowadays I get

* headline
  - item
  TEXT


I checked the org-*indent* variables but could not find a matching variable.
How can I configure the old behaviour?

Thanks Rainer


___
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


[O] in-buffer completion question

2011-03-01 Thread henry atting
Let's say I am in an orgmode buffer, more precisely I
opened a file with org-contacts.
My first entry is:

** Mr.X
:PROPERTIES:
:EMAIL:  m...@mail.me
:END:

Then I want to create a new entry. Of course I am to
lazy to type ´:PROPERTIES:´ so I type ´:PR´ then hit
M-TAB. But instead of the word being completed I get
´There is no completion of PR´. 

Okay, but I can see that actually there is one, it's in the
buffer. I read that the new orgmode completion method
is derived from the method John Wiegley has implemented.
In ledger-mode however M-Tab not only completes the
unfinished word but lets me cycle through the alternatives
given in the current buffer.
So, that is what I would expect in orgmode too...

henry

-- 
http://literaturlatenight.de


___
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


[O] Macro expansion in included files

2011-03-01 Thread Benny Simonsen
Hi

I would like to use macros in files that I include in another file.
The problem is that the macros don't expand in included files. Is
there something I have missed or?

Example
main.org:
= main.org START 
#+TITLE: Mainpage
#+MACRO: MacM @strong$1@/strong

{{{MacM(Main)}}}

#+INCLUDE: sub.org
= main.org END 

= sub.org START 
#+TITLE: Subpage
#+MACRO: Mac @strong$1@/strong

{{{MacM(Sub)}}}

{{{Mac(Sub)}}}

* Subpage title
content
= sub.org END 

I export to html e.g. via:
org-export-as-html-to-buffer on main.org

The result is
{{{MacM(Main)}}} is expanded as expected but the {{{Mac*(Sub)}}} isn't expanded.

Best regards
Benny

___
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


Re: [O] in-buffer completion question

2011-03-01 Thread Erik Iverson

Not really answering your question, but you do
know about C-c C-x p  to set properties?

henry atting wrote:

Let's say I am in an orgmode buffer, more precisely I
opened a file with org-contacts.
My first entry is:

** Mr.X
:PROPERTIES:
:EMAIL:  m...@mail.me
:END:

Then I want to create a new entry. Of course I am to
lazy to type ´:PROPERTIES:´ so I type ´:PR´ then hit
M-TAB. But instead of the word being completed I get
´There is no completion of PR´. 


Okay, but I can see that actually there is one, it's in the
buffer. I read that the new orgmode completion method
is derived from the method John Wiegley has implemented.
In ledger-mode however M-Tab not only completes the
unfinished word but lets me cycle through the alternatives
given in the current buffer.
So, that is what I would expect in orgmode too...

henry



___
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


Re: [O] in-buffer completion question

2011-03-01 Thread Carsten Dominik

On 1.3.2011, at 22:56, henry atting wrote:

 Let's say I am in an orgmode buffer, more precisely I
 opened a file with org-contacts.
 My first entry is:
 
 ** Mr.X
 :PROPERTIES:
 :EMAIL:  m...@mail.me
 :END:
 
 Then I want to create a new entry. Of course I am to
 lazy to type ´:PROPERTIES:´ so I type ´:PR´ then hit
 M-TAB. But instead of the word being completed I get
 ´There is no completion of PR´. 
 
 Okay, but I can see that actually there is one, it's in the
 buffer. I read that the new orgmode completion method
 is derived from the method John Wiegley has implemented.
 In ledger-mode however M-Tab not only completes the
 unfinished word but lets me cycle through the alternatives
 given in the current buffer.
 So, that is what I would expect in orgmode too...

Dynamic completion based on buffer contents is a standard Emacs feature
which is normally bound to M-/
Maybe ledger.el falls back onto dynamic completion when there is nothing
else to complete?  Org-mode used to fall back onto hippie-expand.  But
I see now that this has fallen through when we moved to pcomplete.
Maybe this can be put back in?

- Carsten

 
 henry
 
 -- 
 http://literaturlatenight.de
 
 
 ___
 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


___
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


[O] mobile org problems

2011-03-01 Thread Richard Riley

I am using an scpc tramp url for my moble org directory. When I do a
mobile push, why does emacs or mobileorg keep asking me for to select
coding system (default raw)? Also, why does it delete/chmod the
mobileorg.org file on my webdav server? After the initial push/pull the
next push then fails after I sync from my iphone - the iPhone uses
webdav to connect which recreate mobileorg.org(or any org files) with
permissions 640 and owned by www-data and not my user - the www-data
group cant write to it next time I try to push.

Any pointers or commenst from other mobileorg/webdav users appreciated.



___
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


[O] Re: Simple Indentation question: indentation behaviour changed some time ago.

2011-03-01 Thread Nicolas
Hello,

Rainer Stengele rainer.steng...@online.de writes:

 * headline
   - item
 TEXT
 ^

 cursor on first T of TEXT and pressing TAB I got:

 * headline
   - item
 TEXT

 nowadays I get

 * headline
   - item
   TEXT

 I checked the org-*indent* variables but could not find a matching variable.
 How can I configure the old behaviour?

You can set `org-list-ending-method' to 'regexp, meaning that you will
need to provide two blank lines (that's configurable though, see
`org-empty-line-terminates-plain-lists' and `org-list-end-regexp') to end
a list.

Otherwise, lists are determined by indentation, so, in your example,
TEXT end the list as it is less indented than any of its items. Thus,
when pressing TAB, Org indent the line accordingly, that is as a line
belonging to the headline but not to the list.

Also note that, if TEXT isn't already typed, you can use C-j after
item to stay inside list and go on typing.

Regards,


-- 
Nicolas

___
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


[O] Re: [PATCH] Re: [BUG] htmlp and latexp

2011-03-01 Thread Dan Davison
Bastien b...@altern.org writes:

 Hi Dan,

 Dan Davison dandavis...@gmail.com writes:

 Incidentally, I would suggest that org-current-export-file and
 org-current-export-dir are renamed so that they are within the
 org-export-* namespace.

 Agreed.  Please provide a patch if you have time.

OK.


 There are other areas of Org where I think the
 naming should be standardised, notably in org-src.el: the distinction
 between org-src-* and org-edit-src-* is unclear IMO.

 I leave this decision to Erik, this is *his* namespace :)

I'm not sure this is Eric's task,

git blame lisp/org-src.el | cut -d' ' -f 3 | sort | uniq -c
352 Davison
434 Dominik
  3 Guerry
  9 Rooke
  9 Schulte
  5 Sperber

but Carsten may have a view. I also want to change the customize group of a
lot of those
variables: a lot of the org-src-* and org-edit-src-* variables are filed
in Customize under

Org Structure - Org Edit Structure

which has to be one of the least intuitive things in the whole of Org!

There's a question of whether we have an Org Src customize group in
addition to the Babel customize group, and how we keep them distinct. In
fact, that may be what has prevented this from being sorted out thus
far.

Dan


 I think this is
 kind of important, because in learning emacs one does makes use of these
 namespace conventions, e.g. C-h v initial-letters TAB.

 I agree.

 How much change
 would there be if we demanded that *all* variables defined in org-foo.el
 are named within the org-foo-* namespace?

 I don't know.  Let's undertake this work progressively.
___
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


Re: [O] Re: unicode chars in org-emphasis-regexp-components

2011-03-01 Thread Eric Abrahamsen


On Wed, Mar 02 2011, Bastien wrote:
 Hi Eric,

 Eric Abrahamsen e...@ericabrahamsen.net writes:

 Okay, I was getting confused by the escaped double quotes. I've set it
 properly, so far as I can tell, but it's still failing to recognize
 emphasis markers when they're next to my unicode characters,
 specifically—the m-dash and ellipsis…

 Is this somehow debuggable, say in an elisp REPL using internal
 functions? Can I provide any more useful information?

 Yes - you may share the new value of org-emphasis-regexp-components
 (with unicode characters) so that we can try ourselves.  Should be a
 matter of using the right representation of these chars when setting 
 the variable.

Here goes. Hopefully the tabs and newlines and invisible characters and
whatnot will come through properly. I expect gnus will try to strip
unprintable characters. At any rate, all I've added is the m-dash and
ellipsis to the first two strings (and changed the number of allowed
newlines to 5).

org-emphasis-regexp-components
(  ('\{…— …—-   .,:!?;'\)}\\ 
,\' . 5)


Thanks!

___
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


[O] Re: HTML export options are being ignored

2011-03-01 Thread Cássio Koshikumo
Indeed, I can set the postamble to nil to remove everything after the content.
Thanks for that!

Still, it's strange that the #+OPTIONS line is no longer functional. I took a
look at the code, but I don't really understand it yet. I'll look again later.

At Sat, 26 Feb 2011 08:34:11 +0530,
Jambunathan K wrote:
 
 Cássio Koshikumo ckoshik...@gmail.com writes:
 
  Hi all,
 
  I think there's a bug with the html exporter. With this OPTIONS line:
 
  #+OPTIONS: num:nil author:nil creator:nil timestamp:nil toc:nil
 
  I get rid of the numbering and the TOC, but still get the creator, the
  timestamp and the author lines at the end of the page. Exporting to ASCII 
  seem
  to exclude them properly.
 
 May be you need to fiddle with postamble related options ...
 
 Jambunathan K.
 
 
 ___
 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
 

___
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


[O] [babel][bug] Export latex table using noweb suddenly broken?

2011-03-01 Thread Jeff Horn
Hey orgsters,

A sample document like the one below was compiling fine on an older
git commit, say about 10 days ago. Now, the tabular environment is
wrapped in latex verbatim. It's as if it is no longer respecting the
:noweb header.

- begin org doc --
#+TITLE: Table Export Test

* Endogenizing Policy
Test table export.
#+source: tab-export
#+begin_src latex :exports results :results latex :noweb yes
  \begin{table}[htb!]
  \centering
  booktabs(table=tab-test,align=,env=tabular)
  \end{table}
 #+end_src
** Tables :noexport:
#+tblname: tab-test
| Expectation  | Pre-policy
  | Post-policy
| Cycle Summary  |
|--+-++|
| Larger gov't sector  | $\downarrow C$, $\downarrow U$, $\uparrow K$,
$\uparrow Y$  | $\downarrow C$, $\downarrow U$, $\downarrow K$,
$\downarrow Y$ | SR $\uparrow Y$, LR $\downarrow Y$ |
| Smaller gov't sector | $\uparrow C$, $\uparrow U$,  $\downarrow K$,
$\downarrow Y$ | $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow
Y$ | SR $\downarrow Y$, LR $\uparrow Y$ |
-- end org doc --

Can anyone else confirm?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
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


RE: [O] RE: [Orgmode] Re: org-babel-read should have option NOT to interpret as elisp

2011-03-01 Thread Vladimir Alexiev
 I believe quoted strings are already handled, e.g.,
 #+results:
 : (a b c)

They are not. This leaves the quotes as part of the string.

Please add a second usage to the description:

(this is useful for having leading/trailing whitespace in a string,
or having a leading ('` yet preventing the emacs lisp treatment)


___
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