Re: [O] org-babel, python, encoding and table

2013-05-08 Thread Andreas Röhler
Am 07.05.2013 22:05, schrieb Nick Dokos: Andreas Röhler andreas.roeh...@easy-emacs.de writes: So it's up to choose the Python default interpreter. Unfortunatly (org-babel-do-load-languages 'org-babel-load-languages '((python3 . t))) seems not working. The language is still python

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef @ MY-PATH/)]

2013-05-08 Thread Andreas Röhler
org-babel-python-mode was python3

Re: [O] Extending ODT export

2013-05-08 Thread Andreas Leha
Hi all, Takaaki ISHIKAWA tak...@ieee.org writes: Dear Julian, Sorry, the code is an old setting for the previous org. Please try org-odt-preferred-output-format. #+BEGIN_SRC emacs-lisp (setq org-odt-preferred-output-format pdf) (setq org-odt-convert-processes

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef @ MY-PATH/)]

2013-05-08 Thread Andreas Röhler
Am 08.05.2013 09:12, schrieb Andreas Röhler: org-babel-python-mode was python3 e, org-babel-python-command

Re: [O] Exporting visible items not behaving as expected

2013-05-08 Thread Nicolas Goaziou
Hello, Cameron Desautels cam...@gmail.com writes: I'm having a bit of trouble with exports. My understanding is that I should be able to create a sparse tree from a tag (C-c / m tag-name RET) and then export only the visible items (C-c C-e C-v t A) to get an export of just the items with

Re: [O] org-babel, python, encoding and table

2013-05-08 Thread Andreas Röhler
Am 07.05.2013 18:41, schrieb Eric Schulte: #+NAME: test2 #+begin_src python :results value :preamble # -*- coding: utf-8 -*- :return a a = ( ( é, a ), ( a, à ) ) b = é #+end_src #+RESULTS: test2 | \303\251 | a| | a| \303\240 | Maybe this isn't an execution problem, but is

Re: [O] Problem with Google Calendar Synchronization

2013-05-08 Thread Eric S Fraga
Guido Van Hoecke gui...@gmail.com writes: Hi, Thank you guys for your help. Got gawk from macports. Glad you got it. I did make use of whatever GNU awk provided and did not try to keep to vanilla awk. Sorry about that! Hitting data error now: gawk: ./importGoogleCalendar.awk:143:

[O] Org LaTeX export not setting default title?

2013-05-08 Thread Daniel E . Doherty
All, I just upgraded to 8.02, so I am trying out the new exporter. Nice. A little nit. When I export a minimal org file, it should use the name of the file or buffer as the title if I set nothing in #+TITLE:, but it seems not to. Here it a minimal Org file named 'Junk.org':

Re: [O] another example

2013-05-08 Thread Uwe Brauer
rasmus == rasmus Rasmus writes: Uwe Brauer o...@mat.ucm.es writes: Look the following examples \begin{displaymath} Xs,δ:=Hs,δ× Hs,δ+1× Hs,δ+1× Hs+1,δ+2 \end{displaymath} org-preview-latex-fragment does not work, change displaymath for equation, again

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef @ MY-PATH/)]

2013-05-08 Thread Eric Schulte
Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 08.05.2013 09:12, schrieb Andreas Röhler: org-babel-python-mode was python3 e, org-babel-python-command I can't reproduce this problem. After evaluating the following (setq org-babel-python-command python3) The utf-8

Re: [O] using gnuplot's splot and every commands on org-mode table data

2013-05-08 Thread Eric Schulte
Paul Stansell paulstans...@gmail.com writes: Hi Eric, If I change your example org file a little by adding row and column names to the table as in the attached file I get the following behaviour that I don't understand: if I execute C-c on the shell function the file /tmp/data.gnuplot has

Re: [O] using gnuplot's splot and every commands on org-mode table data

2013-05-08 Thread Eric Schulte
Paul Stansell paulstans...@gmail.com writes: Hi Eric, My view is that the removal of ''s will always be preferable for gnuplot as it uses what it calls datablocks which are delimited by blank lines (see, for example, http://gnuplot.sourceforge.net/docs_4.2/node121.html and

Re: [O] Org LaTeX export not setting default title?

2013-05-08 Thread Jay Kerns
Hi Dan, On Wed, May 8, 2013 at 6:06 AM, Daniel E. Doherty ded-...@ddoherty.net wrote: All, I just upgraded to 8.02, so I am trying out the new exporter. Nice. A little nit. When I export a minimal org file, it should use the name of the file or buffer as the title if I set nothing in

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef @ MY-PATH/)]

2013-05-08 Thread Andreas Röhler
Am 08.05.2013 14:40, schrieb Eric Schulte: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 08.05.2013 09:12, schrieb Andreas Röhler: org-babel-python-mode was python3 e, org-babel-python-command I can't reproduce this problem. After evaluating the following (setq

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef at MY-PATH/)]

2013-05-08 Thread Roland Donat
hmm, indeed, shows up nicely now. Please close, cheers, Andreas That's right, it works with python3 but that is not the case with python2... Cheers, Roland.

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef at MY-PATH/)]

2013-05-08 Thread Andreas Röhler
Am 08.05.2013 15:20, schrieb Roland Donat: hmm, indeed, shows up nicely now. Please close, cheers, Andreas That's right, it works with python3 but that is not the case with python2... Cheers, Roland. python2 fails here already with a common shell, independently from Emacs. OTOH that

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef at MY-PATH/)]

2013-05-08 Thread Roland Donat
Andreas Röhler andreas.roehler at easy-emacs.de writes: Am 08.05.2013 15:20, schrieb Roland Donat: hmm, indeed, shows up nicely now. Please close, cheers, Andreas That's right, it works with python3 but that is not the case with python2... Cheers, Roland.

Re: [O] Org LaTeX export not setting default title?

2013-05-08 Thread Nicolas Goaziou
Hello, Daniel E. Doherty ded-...@ddoherty.net writes: A little nit. When I export a minimal org file, it should use the name of the file or buffer as the title if I set nothing in #+TITLE:, but it seems not to. It should be fixed in maint. Thank you for reporting this. Regards, --

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef at MY-PATH/)]

2013-05-08 Thread Andreas Röhler
Am 08.05.2013 16:02, schrieb Roland Donat: Andreas Röhler andreas.roehler at easy-emacs.de writes: Am 08.05.2013 15:20, schrieb Roland Donat: hmm, indeed, shows up nicely now. Please close, cheers, Andreas That's right, it works with python3 but that is not the case with python2...

Re: [O] using gnuplot's splot and every commands on org-mode table data

2013-05-08 Thread Paul Stansell
Hi Eric, It seems to be the first hline that causes the problem. For example, if the table data in splot.org is replaced by #+name: data || x | |+---| | r1 | 1 | it gets exported correctly as x r1 1 by both the shell and gnuplot commands. However, if the data is

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef at MY-PATH/)]

2013-05-08 Thread Andreas Röhler
Am 08.05.2013 16:02, schrieb Roland Donat: Andreas Röhler andreas.roehler at easy-emacs.de writes: Am 08.05.2013 15:20, schrieb Roland Donat: hmm, indeed, shows up nicely now. Please close, cheers, Andreas That's right, it works with python3 but that is not the case with python2...

Re: [O] using gnuplot's splot and every commands on org-mode table data

2013-05-08 Thread Paul Stansell
Hi Eric, In your last example are you illustrating the case of a data file with missing data? Replacing s with blank space in your example doesn't really break the plot, it's just that gnuplot interprets the first column of data as 1 2 3 16 6 7 4 9 and the second as 2 4 8 16 8 4 2 Gnuplot

Re: [O] Problem with Google Calendar Synchronization

2013-05-08 Thread Guido Van Hoecke
Eric S Fraga e.fr...@ucl.ac.uk writes: Guido Van Hoecke gui...@gmail.com writes: Hi, Thank you guys for your help. Got gawk from macports. Glad you got it. I did make use of whatever GNU awk provided and did not try to keep to vanilla awk. Sorry about that! No prob at all! Hitting

Re: [O] disable tangling for an entire section?

2013-05-08 Thread Bill White
On Tue May 07 2013 at 07:23, Sebastien Vauban sva-n...@mygooglest.com wrote: Christian Moe wrote: Bill White writes: Is there a simple way to disable tangling for an entire section's code blocks? Or to put it a different way, can tangling be toggled at the section level and not just the

[O] Change title and export filename based on code value?

2013-05-08 Thread Gary Oberbrunner
I'd like to change the title of my report, and the exported pdf filename, based on a value I can change in the org-mode source. I have a source block like this: #+NAME: reporttype #+BEGIN_SRC elisp :results value silent :exports results Foo #+END_SRC I figured out how to do the title: #+TITLE

Re: [O] Bug: Python SRC exec tuple fails [7.9.3f (release_7.9.3f-17-g7524ef at MY-PATH/)]

2013-05-08 Thread Roland Donat
Yes, you're right Andreas. It fails to show the accented characters if you try to print the entire tuple. It fails too if you evaluate a[0][0] in your interpreter. You should see : a[0][0] '\xc3\xa9' But print a[0][0] gives the expected answer 'é' So, based on your successful

[O] Possible bug report - error with time string recognition in clocktable

2013-05-08 Thread Subhan Tindall
The following clocktable line: #+BEGIN: clocktable :tstart -7d :tend now #+END: errors out on the tstart tend times According to all the documentation I can find, these are both valid 'special' time strings. Attempts to evaluate the clocktable with C-c C-c give the error: Updating dynamic

Re: [O] INCLUDE directives in new org-mode

2013-05-08 Thread Tim
#+INCLUDE: date.org I changed this to #+INCLUDE: date.org * this is a test --- date.org {{{date(%d %b %Y)}}} You want: {{{time(%d %b %Y)}}} I made this change as well, however the same results. Any thing in the included file is copied verbatim... -Tim

Re: [O] INCLUDE directives in new org-mode

2013-05-08 Thread Tim
At Tue, 07 May 2013 16:14:19 +0200, Nicolas Goaziou wrote: Hello, Wiskey 5 Alpha wiskey5al...@gmail.com writes: I am trying to use the #+INCLUDE directives to have template information for a series of orgmode files that I want to export. Prior to upgrading to v8, the below

[O] bug#14374: Possibly incorrect custom :types

2013-05-08 Thread Glenn Morris
Package: org-mode cus-test.el suggests the following variables may have incorrect custom :types. (There may be some false positives.) This refers to Org mode in current Emacs trunk. Eg, org-footnote-auto-adjust does not have nil as an option. org-refile-target-verify-function