Re: [O] Embedding diagrams in Org

2015-02-19 Thread Sebastien Vauban
Hello Andreas, Andreas Leha wrote: I also use tikz in my org files. I just include a slightly more involved version of Eric's example to show some of the beauty of org. This includes a caption for the diagram, and different output formats for different export routes. #+LATEX_HEADER:

Re: [O] Embedding diagrams in Org

2015-02-19 Thread Sebastien Vauban
Eric S Fraga wrote: I do wonder, however, why we need to turn languages on or off? It would be nice if org-babel would do this automatically when a language specific src block is encountered... That'd make some sense, indeed... Kind of autoloads for all the languages... Best regards, Seb

Re: [O] key binding for org-inlinetask-insert-task has gone missing?

2015-02-19 Thread Eric S Fraga
On Thursday, 19 Feb 2015 at 17:59, Rasmus wrote: Eric S Fraga e.fr...@ucl.ac.uk writes: Hello all, Please ignore my previous email. I have rebuilt org and restarted emacs and everything is back to normal. I don't know why a particular key binding disappeared but maybe it was a cosmic ray

Re: [O] [RFC] [PATCH] Changes to Tag groups - allow nesting and regexps

2015-02-19 Thread Gustav Wikström
Hi again! The FSA-assignment is now complete. New patches are attached and comments below. On Sat, Jan 31, 2015 at 9:41 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: I suppose an FSF-assignment signature is needed before it can be included. Indeed. Marked as done now, as stated above

Re: [O] [bug] org time stamp can't read time

2015-02-19 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: When I call org-time-stamp (C-c .) from Emacs -q and give a time such as 11:00 and nothing else I get 2015-02-19. I would expect something like 2015-02-19 11:00, as in v8.2. Fixed in 38ab8b2af360085370eee5342e20827a3fb976e3. Thank you. Regards, --

[O] Org-pomodoro showing number of pomodoros

2015-02-19 Thread Renger van Nieuwkoop
Hi I just started using org-pomodoro and have one question: How can I see the number of pomodoros I finished during the day? Cheers Renger _ Renger van Nieuwkoop Swiss Federal Institute of Technology Zurich

[O] External compilation

2015-02-19 Thread Rasmus
Hi, I want to translate some documents to pdf. I'm currently doing it with something like this OX-FUN= emacs --batch --no-init-file --load conf.el $1 --funcall $2 --kill OX-LATEX = $(call OX-FUN, $1, org-latex-export-to-pdf) But this is very limiting (I am told) as it require me

Re: [O] [patch, ox-latex] better hyperref and title options

2015-02-19 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: So irrespective of this, here's an updated patch that uses secondary-string parsing. Should I add it to master before or after I get done with this moving description and keywords? You can go ahead, after fixing some minor typos. Thanks. * ox-latex.el

Re: [O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: This is a feature. A caption implies, at least, a table environment. Except when it doesn't¹ ... That's your problem since Org didn't request the minipage in the first place. You don't want a caption but still

Re: [O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Consider this example: #+ATTR_LATEX: :environment nil :center nil :caption cap | t | Exporting to latex, it produces: \begin{table}[htb] cap \begin{tabular}{l} \toprule t\\ \bottomrule \end{tabular} \end{table}

[O] bug#19887: 24.4; Cannot kill buffer; Wrong type argument: overlayp, nil

2015-02-19 Thread Eli Zaretskii
From: Damian Nadales damian.nada...@asml.com Date: Tue, 17 Feb 2015 16:04:54 + Running Emacs 24.4, compiled from source I found I cannot kill a buffer when performing these steps: - Run emacs –Q - Create an org-mode file (i.e. ``myorgfile.org``) - Insert the following text: o

Re: [O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: This is a feature. A caption implies, at least, a table environment. Except when it doesn't¹ ... And in this case I told Org that it doesn't by specifying :environment nil. :environment should be stronger than :caption. The real usecase is

Re: [O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Again, this is the user's problem. But it could be reasonable to use captionof when no environment is explicitly required. Do you consider it explicit when no environment is specified? I would /only/ use capt-of when :environment is nil. IOW

Re: [O] Embedding diagrams in Org

2015-02-19 Thread Eric S Fraga
On Wednesday, 18 Feb 2015 at 19:37, Andreas Leha wrote: [...] I also use tikz in my org files. I just include a slightly more involved version of Eric's example to show some of the beauty of org. Thanks for adding to the example. Your by-backend function looks useful. Would you post it to

Re: [O] How to get a column correctly formatted in Babel + R (w/ or w/o name)?

2015-02-19 Thread Charles C. Berry
On Thu, 19 Feb 2015, Sebastien Vauban wrote: #+PROPERTY: session *R* * Source #+name: table | ID | User1 | User2 | |-+---+---| | 26/0163 | lrp | nil | | 37/0001 | nil | nil | | 37/0003 | nil | nil | [snip] * First column (with name) When I try to get

Re: [O] [patch, ox-latex] better hyperref and title options

2015-02-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: So irrespective of this, here's an updated patch that uses secondary-string parsing. Should I add it to master before or after I get done with this moving description and keywords? You can go ahead, after fixing

[O] Publishing orgmode files

2015-02-19 Thread Xavier Maillard
Hello, I am trying to publish my org project but I am lost in the way I can tweak my projects. Is there some good tutorial I can follow step by step in order to publish several files at once ? My site tree is like this: web/ ├── Makefile ├── css │   └── style.css ├── gnupg.org ├── header │  

Re: [O] Citation syntax: a revised proposal

2015-02-19 Thread Melanie Bacou
Just want to point out RMarkdown/Pandoc implementation of bibliographies and citations here http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html One useful option is a `csl: biomed-central.csl` option in the preamble. --Mel. On 2/19/2015 12:06 PM, Richard Lawrence wrote:

Re: [O] ox-html: stand-alone export option?

2015-02-19 Thread Melanie Bacou
Hi Rasmus, see below. On 2/18/2015 5:39 AM, Rasmus wrote: Hi Melanie, Melanie Bacou m...@mbacou.com writes: I'm using ox-html to work on shared documents with my collaborators. We're working off a Dropbox account and converting our org files to HTML periodically. Cool. Problem with all

[O] bug#19887: 24.4; Cannot kill buffer; Wrong type argument: overlayp, nil

2015-02-19 Thread Damian Nadales
I cannot reproduce this. I tried both Emacs 24.4 and the pretest of 24.5. In both cases, Emacs asks me whether to kill a buffer that is modified, and once I answer YES, the buffer is killed. [Damian Nadales] That's weird. Which buffer are you killing, the Org buffer, or the new buffer that

Re: [O] Citation syntax: a revised proposal

2015-02-19 Thread Nicolas Goaziou
Richard Lawrence richard.lawre...@berkeley.edu writes: Ah, OK, I think I see...so this is basically the second option, with users interpreting subtypes via a separate protocol, instead of via filters. Right? Correct. What about this concern, then? But that kind of situation is exactly

[O] How to get a column correctly formatted in Babel + R (w/ or w/o name)?

2015-02-19 Thread Sebastien Vauban
#+PROPERTY: session *R* * Source #+name: table | ID | User1 | User2 | |-+---+---| | 26/0163 | lrp | nil | | 37/0001 | nil | nil | | 37/0003 | nil | nil | #+begin_src R :var df=table :colnames yes df #+end_src #+results: | ID | User1 | User2 |

Re: [O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Do you consider it explicit when no environment is specified? I would /only/ use capt-of when :environment is nil. I think you are confusing :environment and :float. :environment cannot be nil. ‘:environment’ Environment used for the table. It can be

Re: [O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Do you consider it explicit when no environment is specified? I would /only/ use capt-of when :environment is nil. I think you are confusing :environment and :float. :environment cannot be nil. I think you are right. We could use captof with

Re: [O] External compilation

2015-02-19 Thread Rasmus
Sebastien Vauban sva-n...@mygooglest.com writes: One side question. I guess that you meant --kill-emacs above (I don't see any function called kill); but, anyway, why do you need to kill Emacs? Isn't that redundant with the --batch option? Googles told me to put it there. I obeyed. In my

Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links

2015-02-19 Thread Suvayu Ali
On 19 February 2015 at 06:24, Kyle Meyer k...@kyleam.com wrote: Rasmus ras...@gmx.us wrote: Kyle Meyer k...@kyleam.com writes: remove description words like Paredit lets you do with S-expressions. I've put these Paredit-inspired slurping and barfing commands for Org link descriptions in

Re: [O] External compilation

2015-02-19 Thread Sebastien Vauban
Rasmus wrote: Sebastien Vauban writes: One side question. I guess that you meant --kill-emacs above (I don't see any function called kill); but, anyway, why do you need to kill Emacs? Isn't that redundant with the --batch option? Googles told me to put it there. I obeyed. In my

Re: [O] External compilation

2015-02-19 Thread Sebastien Vauban
Hi Rasmus, Rasmus wrote: I want to translate some documents to pdf. I'm currently doing it with something like this OX-FUN= emacs --batch --no-init-file --load conf.el $1 --funcall $2 --kill OX-LATEX = $(call OX-FUN, $1, org-latex-export-to-pdf) One side question. I guess

[O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Rasmus
Hi, Consider this example: #+ATTR_LATEX: :environment nil :center nil :caption cap | t | Exporting to latex, it produces: \begin{table}[htb] cap \begin{tabular}{l} \toprule t\\ \bottomrule \end{tabular} \end{table} I'd expect: cap \begin{tabular}{l}

Re: [O] key binding for org-inlinetask-insert-task has gone missing?

2015-02-19 Thread Rasmus
Eric S Fraga e.fr...@ucl.ac.uk writes: Hello all, Please ignore my previous email. I have rebuilt org and restarted emacs and everything is back to normal. I don't know why a particular key binding disappeared but maybe it was a cosmic ray incident :) [[http://xkcd.com/378/]] For what

Re: [O] Citation syntax: a revised proposal

2015-02-19 Thread Richard Lawrence
Nicolas Goaziou m...@nicolasgoaziou.fr writes: I wasn't clear. Subtype should be interpreted by back-ends means it has no impact on syntax. However a user should be able to dictate what the back-end should do with it, much like `org-add-link-type'. A new library, e.g. org-cite.el would

Re: [O] [ox-latex, bug?] :caption forces environment

2015-02-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: We could use captof with a caption and :float nil. You would also be able to do this with the awful float-package using the H :placement, though I guess it's still a float (so I don't know if it would work in e.g. minipage). AFAIK, we use float

Re: [O] [patch, ox-latex] better hyperref and title options

2015-02-19 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Pushed. Thank you. Regards,

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-19 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Oh, I pushed this by accident (damn). Should I revert it? http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=14a9510ce1b5535906ceb6a93238e132964fd45f No, but you cannot let cl-loop and cl-incf in the code, since we still support Emacs 23. Regards,

Re: [O] Parent path for links

2015-02-19 Thread Kyle Meyer
Christian Wittern cwitt...@gmail.com wrote: [...] Look at Section 4.6 Link Abbreviations in the manual. What you would want to do is having #+LINK: wp ~/working/project in your header, than you can reference it as [[wp:your-project.org]] instead of [[~/working/project/your-project.org]].

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Yuri Niyazov
It's not called image.dll, which may be a source of confusion. Here are the instructions specifically for PNG images. For each type, a different DLL is required: http://stackoverflow.com/questions/2650041/emacs-under-windows-and-png-files On Thu, Feb 19, 2015 at 3:19 PM, Herbert Sitz

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: Oh, I pushed this by accident (damn). Should I revert it? http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=14a9510ce1b5535906ceb6a93238e132964fd45f No, but you cannot let cl-loop and cl-incf in the code, since

Re: [O] Parent path for links

2015-02-19 Thread Christian Wittern
On 2015-02-19 10:55, Giacomo M wrote: What happens is that in project.org http://project.org I end up specifying a lot of links all starting with ~/working/project/. This is useful as I can directly jump from organization to action, or just to switch in a quicker way across project files. I

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: E.g. org-latex--find-verb-separator or org-get-outline-path also uses cl-loop (or at least loop which is an alias for cl-loop). `loop' is fine. `cl-loop' is not, at least in Org 8.3. The same goes for `incf'

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Ben
You can download the corresponding dlls from ezwinports [fn:1] http://sourceforge.net/projects/ezwinports/files/ and put them into emacs's `bin` directory. There are some instructions in the Image support part on page [fn:2] https://ftp.gnu.org/gnu/emacs/windows/. [fn:1]

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Ista Zahn
You could use http://vgoulet.act.ulaval.ca/en/emacs/windows/ which comes bundled with image support (and other stuff that you may or may not want). On Feb 19, 2015 6:20 PM, Herbert Sitz hes...@gmail.com wrote: I'm trying to use inline images on Windows and (I think?) I've gotten to the point

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Herbert Sitz
Ben yfefyf at gmail.com writes: You can download the corresponding dlls from ezwinports [fn:1] and put them into emacs's `bin` directory. There are some instructions in the Image support part on page [fn:2]. [fn:1] http://sourceforge.net/projects/ezwinports/files/ [fn:2]

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-19 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: E.g. org-latex--find-verb-separator or org-get-outline-path also uses cl-loop (or at least loop which is an alias for cl-loop). `loop' is fine. `cl-loop' is not, at least in Org 8.3. The same goes for `incf' instead of `cl-incf'. Regards,

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-19 Thread Rasmus
Rasmus ras...@gmx.us writes: This is exactly what we want: indent (non empty) lines starting in [BEG ; END[. Or am I missing something? OK, the missing key is org-indent-line-to. It works better in this case and I can use end. Another option: when ENV is inserted the first time, store

[O] how to get images support in Emacs on Windows?

2015-02-19 Thread Herbert Sitz
I'm trying to use inline images on Windows and (I think?) I've gotten to the point where I understand that this is not available with the standard GNU Emacs installation on Windows. My understanding is that I need an image.dll that I can put in the bin directory. I think that comes as part of