[O] export: inserting text between source and its results

2012-06-08 Thread Alan Schmitt
Hello, I'm writing a presentation with some source code blocks. At the moment I can easily evaluate them and have them display in a pretty way (using the :results code flag). For instance, the following Evaluating #+name: with_example #+begin_src js :results code output :exports both var

Re: [O] Variable naming (old vs new exporter)

2012-06-08 Thread Sebastien Vauban
Hi Nicolas, Nicolas Goaziou wrote: Sebastien Vauban writes: A quick question about the future of the exporters: when the new exporter will be (more) integrated into Org, - will the old ones be removed? Yes. - will the packages be renamed? Yes. - will the variables be renamed (for

Re: [O] export: inserting text between source and its results

2012-06-08 Thread Sebastien Vauban
Hello Alan, Alan Schmitt wrote: Now I would like to insert some text between the source part and the result part. For this it seems that I need to use a call No, simply use named code blocks, and put #+results: the-name-I-choose wherever you want the results to be located. That way, you can

Re: [O] Org variables in LaTeX - how?

2012-06-08 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/06/12 16:59, Mikhail Titov wrote: -Original Message- From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- bounces+mlt=gmx...@gnu.org] On Behalf Of Rainer M Krug Sent: Thursday, June 07, 2012 6:32 AM To:

Re: [O] org-e-html: Including ATTR_HTML: title=hover text

2012-06-08 Thread Nicolas Goaziou
Hello, William Crandall bc3141...@gmail.com writes: ATTR_HTML is only for paragraphs, not links. This puzzles me, because (1) the old exporter works fine on links that are inside paragraphs, as my example showed, and (2) the Manual says ATTR_HTML lines are for links: That's a major change

Re: [O] export: inserting text between source and its results

2012-06-08 Thread Alan Schmitt
On 8 juin 2012, at 10:57, Sebastien Vauban wrote: Hello Alan, Alan Schmitt wrote: Now I would like to insert some text between the source part and the result part. For this it seems that I need to use a call No, simply use named code blocks, and put #+results: the-name-I-choose wherever

Re: [O] Updating orgmode

2012-06-08 Thread Jonathan Leech-Pepin
Hello, I had a similar issue when setting up Org on a Debian system lately. For some reason Emacs was not adding a =subdirs.el= file to =/usr/share/emacs/site-lisp/=. Including the following provided the desired result: ,---(/usr/share/emacs/site-lisp/subdirs.el)--- | ;; -*-

Re: [O] Updating orgmode

2012-06-08 Thread Memnon Anon
Michael Welle mwe012...@gmx.net writes: You might use 'M-x find-library' and at the prompt type 'org.el' to discover which version is loaded by Emacs. Also useful: M-x list-load-path-shadows hth Memnon

Re: [O] [BUG?] Strange effect of noweb name collision on LaTeX export

2012-06-08 Thread Eric Schulte
Ethan Ligon li...@are.berkeley.edu writes: #+TITLE: Example of name collision bug #+AUTHOR: #+EMAIL: #+DATE: 2012-06-07 Thu #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t * Figure and trivial code reference Here we have a figure. This example works as

Re: [O] [BUG?] Strange effect of noweb name collision on LaTeX export

2012-06-08 Thread Ethan Ligon
On Fri, Jun 8, 2012 at 8:13 AM, Eric Schulte eric.schu...@gmx.com wrote: Ethan Ligon li...@are.berkeley.edu writes: #+TITLE:       Example of name collision bug #+AUTHOR: #+EMAIL: #+DATE:      2012-06-07 Thu #+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t * Figure and

[O] Bug: Line breaks in exported LaTeX code [7.8.11]

2012-06-08 Thread Uffe Høgsbro Thygesen
Greetings Orgs When exporting an .org file to LaTeX, no line breaks are inserted into the LaTeX source code. With default options from a fresh install, the LaTeX code will not compile, because documentclass information appears on the first line of the LaTeX source, which is a comment: % Created

[O] Error while editing sh source code.

2012-06-08 Thread Diep Pham Van
I want to write some shell script in my org file, so I add these line in it. #+name: random line #+begin_src sh cat filename.txt | sort --random-sort | sed -e '1!d' #+end_src But when I put cursor in src block and press `C-c '`, emacs show that error: byte-code: Language mode

Re: [O] Variable naming (old vs new exporter)

2012-06-08 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: On 6/7/12, Nicolas Goaziou n.goaz...@gmail.com wrote: No. When they are ready, they will completely replace old exporters. Only old exporters with no equivalent back-end for new export engine will be preserved. Here is my earlier question

Re: [O] org-e-html: Including ATTR_HTML: title=hover text

2012-06-08 Thread William Crandall
Hello Nicolas, Yes, thanks for explanation and code update. It works as you describe, as you can see below. This is a change; now all links within a paragraph are given (inherit) the same ATTR_HTML. Is it possible with the new exporter to add ATTR_HTML attributes to individual link elements?

[O] continuing org-clock after accidental emacs-kill

2012-06-08 Thread Mehul Sanghvi
I was clocked-in and I absentmindedly quit out of emacs without doing a clock-out. How do I get the clock working and picking up from where it left off ? Or have I lost what I had for today ? -- Mehul N. Sanghvi email: mehul.sang...@gmail.com

Re: [O] Error while editing sh source code.

2012-06-08 Thread Eric Schulte
Diep Pham Van i...@favadi.com writes: I want to write some shell script in my org file, so I add these line in it. #+name: random line #+begin_src sh cat filename.txt | sort --random-sort | sed -e '1!d' #+end_src But when I put cursor in src block and press `C-c '`, emacs

Re: [O] continuing org-clock after accidental emacs-kill

2012-06-08 Thread John Wiegley
Mehul Sanghvi mehul.sang...@gmail.com writes: I was clocked-in and I absentmindedly quit out of emacs without doing a clock-out. How do I get the clock working and picking up from where it left off ? Or have I lost what I had for today ? Type M-x org-resolve-clocks. John

Re: [O] continuing org-clock after accidental emacs-kill

2012-06-08 Thread Sebastien Vauban
Hi, John Wiegley wrote: Mehul Sanghvi mehul.sang...@gmail.com writes: I was clocked-in and I absentmindedly quit out of emacs without doing a clock-out. How do I get the clock working and picking up from where it left off ? Or have I lost what I had for today ? Type M-x

Re: [O] continuing org-clock after accidental emacs-kill

2012-06-08 Thread Bernt Hansen
Mehul Sanghvi mehul.sang...@gmail.com writes: I was clocked-in and I absentmindedly quit out of emacs without doing a clock-out. How do I get the clock working and picking up from where it left off ? Or have I lost what I had for today ? I have the following settings in my .emacs

[O] Using: org-e-html-special-string-regexps

2012-06-08 Thread William Crandall
Hello Jambunathan, I tried your suggestion of swapping -org-e-html-special-string-regexps- for -org-export-html-special-string-regexps- to add my own strings. I want this for an mdash; between words /without/ any spaces; the \mdash entity requires spaces. Results: The old exporter works

Re: [O] org-e-html: Including ATTR_HTML: title=hover text

2012-06-08 Thread Nicolas Goaziou
Hello, William Crandall bc3141...@gmail.com writes: This is a change; now all links within a paragraph are given (inherit) the same ATTR_HTML. Indeed. Is it possible with the new exporter to add ATTR_HTML attributes to individual link elements? No, it isn't possible to control individual

Re: [O] Using: org-e-html-special-string-regexps

2012-06-08 Thread Nicolas Goaziou
Hello, William Crandall bc3141...@gmail.com writes: I want this for an mdash; between words /without/ any spaces; the \mdash entity requires spaces. You may use \mdash{} like in: a\mdash{}b Regards, -- Nicolas Goaziou

Re: [O] Using: org-e-html-special-string-regexps

2012-06-08 Thread William Crandall
So you can! Splendid. Thanks, -BC On Fri, Jun 8, 2012 at 3:38 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, William Crandall bc3141...@gmail.com writes: I want this for an mdash; between words /without/ any spaces; the \mdash entity requires spaces. You may use \mdash{} like

Re: [O] org-e-html: Including ATTR_HTML: title=hover text

2012-06-08 Thread William Crandall
Ah, that is a pity. Seems like a step back, in allowable specificity. As it was possible in the old. You mentioned before using filters. I take it these are the ones described in org-export-filters.el (line 1775), The Filter System. Has anyone written up any worked examples of these? And, is