Re: [O] Getting checkboxes in HTML output?

2013-12-02 Thread Sebastien Vauban
Hello, Carsten Dominik wrote: I agree, but couldn't think of any other way. There are 3 other unicode options: 1. A box with an X (☒ U+2612 BALLOT BOX WITH X) 2. A bare (unboxed) X (✗ U+2717 BALLOT X) 3 A bare checkmark (✓ U+2713 CHECK MARK) I also found this character:

Re: [O] How do I specify the language for a :results code block

2013-12-02 Thread Alan Schmitt
t...@tsdye.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: I tried this alternate approach, to directly generate the block: #+name: fetchcoq2 #+BEGIN_SRC sh :exports none :results raw :var f=demo.v echo #+BEGIN_SRC coq head $f echo echo #+END_SRC #+END_SRC #+call:

Re: [O] Cannot generate latex preview images

2013-12-02 Thread Alan Schmitt
n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: The reason I have xltxtra is because I add it to the latex packages to use for export: (add-to-list 'org-latex-packages-alist '( xltxtra t))

[O] org-indent-mode corrupted most of a big org file

2013-12-02 Thread Rainer Stengele
All, last week I played around with org-indent-mode in my biggest (37.000 lines) org file. 3 days later I detected that most of the file was corrupted. WHy so late? Using the agenda I only saw the todos and did not recognise the corrupted structures. Most * items had been placed at the

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-02 Thread Sebastien Vauban
Rainer Stengele wrote: last week I played around with org-indent-mode in my biggest (37.000 lines) org file. 3 days later I detected that most of the file was corrupted. WHy so late? Using the agenda I only saw the todos and did not recognise the corrupted structures. Most * items had been

Re: [O] Latex Missing number, treated as zero.

2013-12-02 Thread Ian Barton
On 01/12/13 20:23, Michael Strey wrote: Hi Ian, li...@wilkesley.net writes: This is a Latex problem, but I am hoping someone here can trow some light on it. No, it's not a LaTeX problem. \documentclass{scrlttr2} \usepackage[english]{babel} [NO-DEFAULT-PACKAGES] This line is no valid

Re: [O] How do I specify the language for a :results code block

2013-12-02 Thread Sebastien Vauban
Alan Schmitt wrote: t...@tsdye.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: I tried this alternate approach, to directly generate the block: #+name: fetchcoq2 #+BEGIN_SRC sh :exports none :results raw :var f=demo.v echo #+BEGIN_SRC coq head $f echo echo #+END_SRC

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-02 Thread Carsten Dominik
On Dec 2, 2013, at 12:31 PM, Sebastien Vauban sva-n...@mygooglest.com wrote: Rainer Stengele wrote: last week I played around with org-indent-mode in my biggest (37.000 lines) org file. 3 days later I detected that most of the file was corrupted. WHy so late? Using the agenda I only saw

Re: [O] org habit consistency graph

2013-12-02 Thread Alan Schmitt
henders...@gmail.com writes: I'm trying to setup habit tracking on org but can't see any consistency graph. I have setup a simple TODO item and set the style as habit by using C-c C-x p (org-set-property). * TODO exercise SCHEDULED: 2013-12-03 Tue .+1d - State DONE from TODO

Re: [O] Latex Missing number, treated as zero.

2013-12-02 Thread Alan Schmitt
li...@wilkesley.net writes: Here is what I have in this variable for my letter class: , | (letter_private \\documentclass[fontsize=11pt,strey_privat]{scrlttr2}\n\\LoadLetterOption{DIN}\n[NO-DEFAULT-PACKAGES]\n[PACKAGES]\n[EXTRA] | (\\section{%s} . \\section*{%s}) |

Re: [O] How do I specify the language for a :results code block

2013-12-02 Thread Alan Schmitt
Hi Sébastien, sva-n...@mygooglest.com writes: Exporting if the result is not in the buffer is fine. I tried adding a :results replace as inner header argument to the call line and to the fetchcoq block, but it does not change anything. How can I tell the call line to replace the results

Re: [O] Latex Missing number, treated as zero.

2013-12-02 Thread Sebastien Vauban
Alan Schmitt wrote: I think this letter class is wrong. Here is mine for beamer (note the \[ before the options to be substituted by the export process): (add-to-list 'org-latex-classes '(beamer \\documentclass[presentation]{beamer} \[DEFAULT-PACKAGES]

[O] Org-mode in windows fires Tramp without any intervention

2013-12-02 Thread Toni Cebrián
;. I don't even have the (require 'tramp) in my init.el file so this is something the Org mode plugging is doing by itself. By the way, the org mode version I have is org-20131202 from elpa and Emacs is 24.3.1 for Windows. Do you know where to look or what to try? This same Org file, the same init.el

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-02 Thread Alexander Baier
On 13-12-02 12:21 Rainer Stengele wrote: All, last week I played around with org-indent-mode in my biggest (37.000 lines) org file. 3 days later I detected that most of the file was corrupted. WHy so late? Using the agenda I only saw the todos and did not recognise the corrupted

Re: [O] [Babel] [Bug] Cache

2013-12-02 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Sebastien Vauban sva-n...@mygooglest.com writes: IIRC, some time ago, a bug involving the computation of the hash (when option cache is enabled) and NoWeb code blocks. I remember that it had been fixed. However, the following example shows it's not (true

[O] [babel] Output table

2013-12-02 Thread Sebastien Vauban
Hello, I'm trying to generate R graphs from lines found in the *Messages* buffer with the following code of mine: #+begin_src emacs-lisp :results output table (setq txt nil) (with-current-buffer *Messages* (goto-char (point-min)) (while (re-search-forward ^Retrieving

[O] Export issues

2013-12-02 Thread Sam Flint
When I go to export a document to pdf, using C-c C-e, I get an error: Symbol's function definition is void: org-export-dispatch This diff should fix it: diff --git a/lisp/org.el b/lisp/org.el index c0c51c4..888478a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19231,7 +19231,7 @@

Re: [O] Export issues

2013-12-02 Thread Jambunathan K
M-x locate-library org-loaddefs M-x locate-library ox M-x org-version M-x list-load-path-shadows (and check for org.el and ox.el) and output. All those commands will tell you that something is wrong in your setup. Sam Flint swfl...@flintfam.org writes: When I go to export a document to

Re: [O] Getting checkboxes in HTML output?

2013-12-02 Thread Peter Davis
I've now changed ox-html.el to include this: (defun org-html-checkbox (checkbox) Format CHECKBOX into HTML. (case checkbox (on #9746;) (off #9744;) (trans #9745;) (t ))) This is sort of close to using [ ] for unchecked [/] for partially checked [X] for checked To my aging

Re: [O] How do I specify the language for a :results code block

2013-12-02 Thread Thomas S. Dye
Aloha Alan, Alan Schmitt alan.schm...@polytechnique.org writes: Unfortunately, if I export this, the code is duplicated. Here is the generated html, for instance: Yes, the code is partially duplicated when I run it. It looks to me as if the problem stems from :results raw and the fact that

Re: [O] How do I specify the language for a :results code block

2013-12-02 Thread Sean O'Halpin
Hi, Taking a slightly different approach, you could use the :post header argument to wrap the results in a source block. See http://orgmode.org/org.html#post (from which the example below is derived). For example, you could use something like this: #+OPTIONS: d:RESULTS * Example

Re: [O] [babel] Output table

2013-12-02 Thread Eric Schulte
Sebastien Vauban sva-n...@mygooglest.com writes: Hello, I'm trying to generate R graphs from lines found in the *Messages* buffer with the following code of mine: #+begin_src emacs-lisp :results output table (setq txt nil) (with-current-buffer *Messages* (goto-char (point-min))

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-02 Thread Nicolas Richard
Alexander Baier lexi.ba...@gmail.com writes: (setq backup-by-copying t ; don't use symlinks Thanks for sharing your setup, I think I'll use a similar one. Just a comment though on the above line : that comment is misleading because emacs is not going to make a backup by making a symlink

Re: [O] Bugs in org-drill

2013-12-02 Thread Lukas Fuernkranz
Hi, On Mon, May 20, 2013 at 8:53 PM, Lukas Fuernkranz lukas.fuernkr...@gmail.com wrote: On Tue, May 14, 2013 at 5:19 PM, Ivan Kanis ban...@kanis.fr wrote: I tried 1.8 two weeks ago. I got two bugs in org-drill: [...] I also encountered problem 1 and opened a bug report:

[O] Bug: Bad ODT files when including multiple images [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]

2013-12-02 Thread Enrico Scholz
Hi, org-mode generates ODT files which can not be opened by libreoffice-4.1.3.2 when more than one image is included. E.g. running (org-export-as-odt) on test.org --- * Test [[file:s01.png]] [[file:s01.png]] - and trying to open it with 'oowrite test.odt' gives a Read-Error/Error

[O] Exporting to HTML, LaTeX header is not recovered in the Org buffer

2013-12-02 Thread Mosè Giordano
Hi folks, in order to export to HTML LaTeX fragments (not necessarily math fragments) as PNG pictures, I set --8---cut here---start-8--- #+LATEX_HEADER: \newenvironment{dummy}{}{} #+OPTIONS: tex:dvipng --8---cut

Re: [O] org habit consistency graph

2013-12-02 Thread Chris Henderson
Tried that and it didn't work. Here's my agenda view (still no graph) by doing C-a a a: Week-agenda (W49): Monday 2 December 2013 W49 Tuesday 3 December 2013 Wednesday 4 December 2013 Thursday5 December 2013 Friday 6 December 2013 Saturday7 December 2013 Sunday 8

Re: [O] Bug: Bad ODT files when including multiple images [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]

2013-12-02 Thread Jambunathan K
7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)] The exporter(s) are re-written. You should be using Org-8.*. Use Elpa M-x list-packages and install the org package. or install from tar file or git. orgmode.org/worg has instructions on how to use the new

[O] How to export all content of a sparse tree to a separate buffer/file?

2013-12-02 Thread Subhan Tindall
I'm looking for a relatively straightforward way to export content from one org file to a separate org file or org-mode buffer. I've got the org exporter bit working I can create the sparse tree based on a given tag with no problem. But, when I export it using 'visible only' what I get is

Re: [O] [babel] Output table

2013-12-02 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Sebastien Vauban sva-n...@mygooglest.com writes: I'm trying to generate R graphs from lines found in the *Messages* buffer with the following code of mine: #+begin_src emacs-lisp :results output table (setq txt nil) (with-current-buffer *Messages*

[O] Search to show only trees with no recent clock entries

2013-12-02 Thread Subhan Tindall
Looking for a search to show only first-level trees that meet the following criteria: all clock entries under the heading are older than a given date (IE 2 weeks ago) clock entries may be under several different sub-headings, at levels ranging from * to ONLY level-1 entries meeting this

Re: [O] Bug: Bad ODT files when including multiple images [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]

2013-12-02 Thread Enrico Scholz
Jambunathan K kjambunat...@gmail.com writes: M-x list-packages and install the org package. this seems to be completely broken: export by C-c C-e o o fails with | OpenDocument export failed: Invalid function: org-with-silent-modifications If problem persists with new exporter, let me

Re: [O] Getting checkboxes in HTML output?

2013-12-02 Thread Nick Dokos
Peter Davis p...@pfdstudio.com writes: I've now changed ox-html.el to include this: As an FYI: you don't need to change ox-html.el. You can just load a file containing the redefinition *after* you've loaded ox-html. Something like this (untested): (eval-after-load ox-html (defun

[O] Babel python question: use of ipython and %cpaste

2013-12-02 Thread Arun Persaud
Hi being able to use python as a source block is great, but I often stumble over the fact that when using sessions you have to treat empty lines in a special way (i.e. as the end of an indentation block). I was wondering if it would be easy to create an ipython mode, something like #+BEGIN_SRC

[O] words starting with call_ confuse C-c C-c and export

2013-12-02 Thread Daniel Clemente
Hi, with org-mode from today on Emacs 23.4.1 and with this 2-line file: - [ ] call_me - [ ] try funcall_lambda (maybe) 1. Go to the „me“ and press C-c C-c. You get „C-c C-c can do nothing useful at this location“. I expected to switch the checkbox. 2. Go to the „maybe“ and press C-c C-c. I