[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 >

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 vari

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

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: emacs

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

2012-06-08 Thread Nicolas Goaziou
Hello, William Crandall 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 from previous

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-choos

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)--- | ;; -*- no-byte-

Re: [O] Updating orgmode

2012-06-08 Thread Memnon Anon
Michael Welle 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 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 expected; we

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 wrote: > Ethan Ligon 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 >>

[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 `sh

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

2012-06-08 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > On 6/7/12, Nicolas Goaziou 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 on this topic and Bastien's ans

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? Th

[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 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 show tha

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

2012-06-08 Thread John Wiegley
> Mehul Sanghvi 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 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. And f

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

2012-06-08 Thread Bernt Hansen
Mehul Sanghvi 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 --8<---cut her

[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 — between words /without/ any spaces; the \mdash entity requires spaces. Results: The old exporter works as exp

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

2012-06-08 Thread Nicolas Goaziou
Hello, William Crandall 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 link elements wi

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

2012-06-08 Thread Nicolas Goaziou
Hello, William Crandall writes: > I want this for an — 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 wrote: > Hello, > > William Crandall writes: > >> I want this for an — between words /without/ >> any spaces; the \mdash entity requires spaces. > > You may use \mdash{} like in: > >  a\mdash{}b > > > Regards, >

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, i

[O] autotagging based on buffer content

2012-06-08 Thread Richard Riley
Hi, I just thought Id ask this again Does anyone have the solution or elisp skills for a system built into templates to auto tag based on source buffer contents? This would be immensely useful I think. (previously asked here: http://comments.gmane.org/gmane.emacs.orgmode/55137) Ideally, for exa