Re: [O] Exporting source code blocks as LaTeX figures

2013-05-20 Thread Thomas S. Dye
Aloha James, James Harkins jamshar...@gmail.com writes: On Sat, May 18, 2013 at 3:39 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: instead? I.e., why don't you apply caption to src block? You can tweak the position of the caption with captionpos option in listings environment. Wow, I

Re: [O] Exporting source code blocks as LaTeX figures

2013-05-20 Thread James Harkins
On Mon, May 20, 2013 at 2:30 PM, Thomas S. Dye t...@tsdye.com wrote: Then the next problem... I'm going to have some figures that need to span two columns. According to [1], I should use \begin{figure*} ... \end{figure*}. Is there a way to do that using a special block? (First guess,

Re: [O] Bug: html quoting tags are transformed after exporting [8.0.2 (8.0.2-10-g3e1d83-elpa @ d:/SDTs/Emacs/lisp/org/)]

2013-05-20 Thread Kelvin Hu
Hi, Thanks for your quick replies, I have not subscribed the org mailing list yet, so I had to search this mailing list and then found your nice solution, and sorry for the late reply. Usually I read org manual through org mode's official website, seems now the description of html quoting(

Re: [O] CDLaTeX (4.0) not working in Org mode (8.0.3)?

2013-05-20 Thread Longmin WANG
On Mon, May 20, 2013 at 11:14 AM, Omid omidl...@gmail.com wrote: I see the following strange behavior from Org-CDLaTeX (OCDL). Outside a * heading it works. Inside a * heading (or anything under that) it does NOT work. What can be causing this? Here is a minimal example: # Org CDLaTeX

Re: [O] Exporting source code blocks as LaTeX figures

2013-05-20 Thread Nicolas Goaziou
Hello, James Harkins jamshar...@gmail.com writes: The other reference to multicolumn is for table export, and this isn't a table either. So I think, as currently designed, :multicolumn simply doesn't apply. Correct. The first attached patch implements :float multicolumn and :float figure

Re: [O] CDLaTeX (4.0) not working in Org mode (8.0.3)?

2013-05-20 Thread Omid
Thanks. I confirm that this in fact solves the problem. On Mon, May 20, 2013 at 3:57 AM, Longmin WANG longminw...@gmail.com wrote: On Mon, May 20, 2013 at 11:14 AM, Omid omidl...@gmail.com wrote: I see the following strange behavior from Org-CDLaTeX (OCDL). Outside a * heading it works.

Re: [O] Org 8.0 HTML Export

2013-05-20 Thread Suvayu Ali
Hi Scott, On Sun, May 19, 2013 at 09:08:18PM -0400, Scott Randby wrote: I'm working on switching to 8.0 and I'm having a few difficulties. I use my own style sheet for web pages, and I figured out that I needed to change #+STYLE: to #+HTML_HEAD: in order to use my style sheet. However, I

Re: [O] Org-mode styled beamer presentations

2013-05-20 Thread Suvayu Ali
Hi Marcin and Rasmus, On Mon, May 20, 2013 at 02:33:13AM +0200, Rasmus wrote: Marcin Borkowski mb...@wmi.amu.edu.pl writes: https://twitter.com/marcin_mbork/status/335890494980767746 http://mbork.pl/2013-05-18_A_presentation_on_LaTeX_editing_%28en%29 https://github.com/mbork/beamerorgtheme

[O] [patch] ox-latex.el: support for pgf files

2013-05-20 Thread Rasmus
This patch adds support for pgf files. pgf is the machine upon which tikz is build. For instance matplotlib (of Python) and printpgf (of Octave) both produces pgf files. It's just a question of recognizing the extension. With this patch the following document exports correctly: #+TITLE: PGF

Re: [O] [patch] ox-latex.el: support for pgf files

2013-05-20 Thread Rasmus
Rasmus ras...@gmx.us writes: For instance matplotlib (of Python) and printpgf (of Octave) both produces pgf files. Looking over files, printpgf actually produces TiKZ and /not/ pgf files, it seems. My apology. (But matplotlib does use pgf). –Rasmus -- I almost cut my hair, it happened

Re: [O] Build fail with emacs 24.3.1

2013-05-20 Thread Bastien
Hi Achim, Achim Gratz strom...@nexgo.de writes: Bastien writes: Aside from the issue of whether using macros here is needed or appropriate, I can't find anything wrong with the macros or their use so far. If that upholds, the test not working points to a rather substantial bug in either

[O] Possible bug with new exporter and org-babel

2013-05-20 Thread giles
I came across this issue whilst trying to use or to generate some release notes in a prettier format. Start with an org file consisting of only two lines: * Noddy call_req() Then export to LaTeX C-c C-e l o This fails with the message: org-babel-ref-resolve: Reference 'req' not found in this

Re: [O] Org 8.0 HTML Export

2013-05-20 Thread Scott Randby
On 05/20/2013 05:22 AM, Suvayu Ali wrote: Hi Scott, On Sun, May 19, 2013 at 09:08:18PM -0400, Scott Randby wrote: I'm working on switching to 8.0 and I'm having a few difficulties. I use my own style sheet for web pages, and I figured out that I needed to change #+STYLE: to #+HTML_HEAD: in

[O] Switch org-agenda-get-* defuns to operate on date ranges

2013-05-20 Thread Jonas Hörsch
hello everyone, i've just started to use calfw to get a nice calendar-like display of my agenda. unfortunately i was slighly dismayed at the build-up speed easily exceeding a few seconds on my not so packed schedule. profiling into the code i found that the problem mainly is: there exists only

Re: [O] Tbl: precision for cells

2013-05-20 Thread Darlan Cavalcante Moreira
If everything fail you can always process the table with babel to create a new table the way you like. You could add a function for that to the library of babel to have it always available. It is less convenient then a format specifier for the whole table as you want, but it is a very powerful

Re: [O] Possible bug with new exporter and org-babel

2013-05-20 Thread Eric Schulte
Where *is* req defined? So far the behavior you describe seems expected. Thanks, gi...@pexip.com writes: I came across this issue whilst trying to use or to generate some release notes in a prettier format. Start with an org file consisting of only two lines: * Noddy call_req() Then

Re: [O] Possible bug with new exporter and org-babel

2013-05-20 Thread giles
Eric Schulte schulte.e...@gmail.com writes: Where *is* req defined? So far the behavior you describe seems expected. Sorry for the ambiguity - req isn't defined! Let me explain a little more clearly: I'm trying to generate some release notes using org-mode, pulling data from the github issue

Re: [O] [patch] ox-koma-letter.el: credit [1/4]

2013-05-20 Thread Alan Schmitt
Rasmus writes: This one just updates the credit: most importantly with Viktor. This is a great idea, however you seem to have forgotten the patch. Alan

Re: [O] [patch] ox-koma-letter.el: subject changes [2/4]

2013-05-20 Thread Alan Schmitt
Hello Rasmus, Rasmus writes: This could be a problematic change. It changes the way :with-subject works. I've added changes to allow the subject style to be choose as a radio list with customize. The reason is that LaTeX becomes unhappy if it is not a supported value. If #+OPTIONS

Re: [O] [patch] ox-koma-letter.el: credit [1/4]

2013-05-20 Thread Rasmus
Alan Schmitt alan.schm...@polytechnique.org writes: Rasmus writes: This one just updates the credit: most importantly with Viktor. This is a great idea, however you seem to have forgotten the patch. Right. Need to figure out that git email program . . . -- ⠠⠵From

Re: [O] [patch] ox-koma-letter.el: credit [3/4]

2013-05-20 Thread Alan Schmitt
Hello again, Rasmus writes: This is probably the most fun change. It adds special tags PS, ENCL, CC, AFTER_CLOSING as in my last patch set, but it uses heading this time. E.g. ENCLs are under the heading * ENCL :ENCL:. This was suggested by Nicolas, and it's nicer. The ideas comes from

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread John Hendy
On Wed, May 15, 2013 at 2:54 AM, Christian Moe m...@christianmoe.com wrote: Hi, My user input is partially to blame for this, I think. See toward the end of this thread: http://comments.gmane.org/gmane.emacs.orgmode/69794 I was under the impression that the behavior of M-RET had changed,

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread John Hendy
On Mon, May 20, 2013 at 10:54 AM, John Hendy jw.he...@gmail.com wrote: On Wed, May 15, 2013 at 2:54 AM, Christian Moe m...@christianmoe.com wrote: Hi, My user input is partially to blame for this, I think. See toward the end of this thread:

Re: [O] [patch] ox-koma-letter.el: credit [1/4]

2013-05-20 Thread Alan Schmitt
Rasmus writes: Alan Schmitt alan.schm...@polytechnique.org writes: Rasmus writes: This one just updates the credit: most importantly with Viktor. This is a great idea, however you seem to have forgotten the patch. Right. Need to figure out that git email program . . . I applied it. I

[O] Counter-intuitive behavior of org-insert-heading

2013-05-20 Thread Matt Lundin
The following commit introduced a bug in org-insert-heading. commit 3449c6d001b8d261b104bc9dd42bf1290d74bc0b Author: Bastien Guerry b...@altern.org Date: Thu Apr 11 00:35:31 2013 +0200 org.el (org-insert-heading): Convert the current line into a headline * org.el

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread Matt Lundin
John Hendy jw.he...@gmail.com writes: On Wed, May 15, 2013 at 2:54 AM, Christian Moe m...@christianmoe.com wrote: I've been following this thread and there has been some great discussion about future plans for re-write and context-sensitive functionality. In the mean time, can we revert the

Re: [O] Possible bug with new exporter and org-babel

2013-05-20 Thread Eric Schulte
gi...@pexip.com writes: Eric Schulte schulte.e...@gmail.com writes: Where *is* req defined? So far the behavior you describe seems expected. Sorry for the ambiguity - req isn't defined! Let me explain a little more clearly: I'm trying to generate some release notes using org-mode,

Re: [O] RFQ - new contribution - org-screenshot.el

2013-05-20 Thread François Pinard
Max Mikhanosha m...@openchat.com writes: [...] (require 'org-screenshot) [...] Thanks, Max, for sharing this! :-) François P.S. I appreciate the org-screenshot-image-directory function: by making it easy to override, the feature has been immediately useful to me.

Re: [O] Possible bug with new exporter and org-babel

2013-05-20 Thread giles
Eric Schulte schulte.e...@gmail.com writes: Oh, I understand now, thanks for explaining. I think I talk minimal example a little too far! In any event: is there a way I can include the phrase call_req() in the plain body of my document? Ideally without escaping it, but so so be it. You

Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-20 Thread Daniel F
It's strange that you say that link is not up-to date (altho I can see that the version you've linked to is also linked from the main page), because it says here: http://orgmode.org/manual/index.html#Top This manual is for Org version 8.0.3 (release_8.0.3). Is it possible to maybe put some sort

Re: [O] [patch] ox-koma-letter.el: subject changes [2/4]

2013-05-20 Thread Rasmus
This could be a problematic change. It changes the way :with-subject works. I've added changes to allow the subject style to be choose as a radio list with customize. The reason is that LaTeX becomes unhappy if it is not a supported value. If #+OPTIONS subject:t the default is used. If

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread John Hendy
On Mon, May 20, 2013 at 11:14 AM, Matt Lundin m...@imapmail.org wrote: John Hendy jw.he...@gmail.com writes: On Wed, May 15, 2013 at 2:54 AM, Christian Moe m...@christianmoe.com wrote: I've been following this thread and there has been some great discussion about future plans for re-write

Re: [O] RFQ - new contribution - org-screenshot.el

2013-05-20 Thread Russell Adams
On Thu, May 16, 2013 at 11:21:56PM -0400, Max Mikhanosha wrote: Hi All, I've been writing some documentation in OrgMode with screenshots, and as with any screenshot taking, it takes a while to get one just right. Max, I use this for all screenshots. This inserts a link named by buffer with a

Re: [O] Bugs in org-drill

2013-05-20 Thread Lukas Fuernkranz
Hi, 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: 1) When doing the quizz for some cards I get prompted for a date. 2) More annoying I got entries pushed for review in 8000 days. 1 is a nuisance, 2 made me

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-05-20 Thread John Hendy
On Mon, May 20, 2013 at 5:15 PM, John Hendy jw.he...@gmail.com wrote: Sorry for the long title, but that's the summary! I fired up a fresh Emacs session and used =C-a s search-term RET= to navigate to a headline in the results by putting the cursor on the line and pressing RET. The file text

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-05-20 Thread John Hendy
On Mon, May 20, 2013 at 5:15 PM, John Hendy jw.he...@gmail.com wrote: Sorry for the long title, but that's the summary! I fired up a fresh Emacs session and used =C-a s search-term RET= to navigate to a headline in the results by putting the cursor on the line and pressing RET. The file text

[O] TOC in HTML export - how to change formatting of ToDo levels?

2013-05-20 Thread David Rogoff
Hi all. I've just started diving back into org-mode. I'm mostly using it for ToDo / Status tracking. I've been trying to change the format of the TOC entries with little success. I've figured out how to use org-export-html-style to change the CSS markup for my customized ToDo levels, but

Re: [O] Exporting source code blocks as LaTeX figures

2013-05-20 Thread James Harkins
On May 20, 2013 4:54 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, James Harkins jamshar...@gmail.com writes: The other reference to multicolumn is for table export, and this isn't a table either. So I think, as currently designed, :multicolumn simply doesn't apply. Correct.

Re: [O] RFQ - new contribution - org-screenshot.el

2013-05-20 Thread Max Mikhanosha
At Mon, 20 May 2013 13:45:48 -0500, Russell Adams wrote: I use this for all screenshots. This inserts a link named by buffer with a timestamp appended using the Imagemagick import utility, where I can just click a window or drag an area. (defun org-screenshot () Take a screenshot into a

[O] patch for htmlize.el

2013-05-20 Thread Eric Schulte
Hi, I'd like to commit the following patch which improves htmlize's handling of svg image overlays. I couldn't find an upstream for htmlize, is it appropriate to patch htmlize in the Org-mode source tree? Thanks, From 4611b177def45bf23c2cfb1caf0b12baa5e0e91b Mon Sep 17 00:00:00 2001 From: Eric

[O] Effort entry and confusing effort estimates

2013-05-20 Thread Ken Mankoff
Hi, I'm looking into effort and time tracking and have a few questions about efforts, 1) What is the difference between C-c C-x C-e and C-c C-x e? When I set an effort while clocked in, C-c C-x C-e asks for an effort and formats it in a format I understand such as 00:30 or 1d. When not clocked

Re: [O] RFQ - new contribution - org-screenshot.el

2013-05-20 Thread Russell Adams
On Mon, May 20, 2013 at 08:14:16PM -0400, Max Mikhanosha wrote: To me the most useful feature is actually screenshot rotation shortcuts, that cycle image before point, with other files in the `(org-screenshot-image-directory)'. That is useful! Taking screenshot itself and inserting link is

Re: [O] GFDL

2013-05-20 Thread Ben Finney
Carsten Dominik carsten.domi...@gmail.com writes: I have asked RMS about this, and he says that the [GNU FDL] license should be present in printed versions of the document. I find it very hard to believe that this must be the case. That matches my understanding. It may be hard to believe that

[O] Customizing Org 8.0 Export

2013-05-20 Thread Scott Randby
First, I am using Org version 8.0.3-140-g84bae8. I'm having some weird customization issues that I don't know how to resolve. When Emacs is started, not all the org variables are visible or available for customization. Here is an example involving HTML export customization. 1. Start Emacs 2.

Re: [O] Effort entry and confusing effort estimates

2013-05-20 Thread Ken Mankoff
Doh. I get the math now. 3d is 3*8h = 1d. Ok. Confusing but I get it. But I'm still confused what 'org-set-effort' expects/interprets compared to 'org-clock-modify-effort-estimate'. Any clarification will be much appreciated. Thanks, -k. On Mon, May 20, 2013 at 8:32 PM, Ken Mankoff

Re: [O] Customizing Org 8.0 Export

2013-05-20 Thread John Hendy
On May 20, 2013 9:03 PM, Scott Randby sran...@gmail.com wrote: First, I am using Org version 8.0.3-140-g84bae8. I'm having some weird customization issues that I don't know how to resolve. When Emacs is started, not all the org variables are visible or available for customization. Here is