Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Giuseppe Lipari
Dear Bastien, thanks for the response. I did some debugging, but I am not an expert of elisp and org-mode. Anyway, this is what I found: I put a breakpoint in fuinction org-latex-src-block() which receives src-block as parameter. This parameter contains field language already set to c++\"-std=c++

Re: [O] [bug][ox-latex] Captions in equations

2014-01-20 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> OK. I can prepare a patch. > > Great. Thank you. > >> In LaTeX the floating would be kind of odd, I think. At the very >> least math floats shouldn't be Figure or Tables (IMO); unfortunately >> the Internets seem to suggest that you usua

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Jambunathan K
regcl writes: > I am looking for advice regarding how to write medical journal > articles using org-mode. > > My primary motivations are the desire to ... automate the flow of data > from computation to publication, avoid clerical errors, speed up the > conversion of computational results to manu

Re: [O] [bug][ox-latex] Captions in equations

2014-01-20 Thread Rasmus
Hi Vladimir, Vladimir Lomov writes: >>> IMHO, this is wrong approach. >> I don't understand. > As I said, this is IMHO. I just didn't understand that sentence. I was not disputing your opinion. >>> I would consider this example as a special way to generate a matrix >>> when exporting to LaT

[O] still prob on .emacs (win / linux)

2014-01-20 Thread Renato Pontefice
Hi, I still have some prob, on my init.el/.emacs file on a Dropbox folder. Actually, my init.el on windos, is this: __ ;; -*- mode: elisp -*- (load " C:/Documents and Settings/renatop/Documenti/Dropbox/Documenti/emacs_prof/.emacs") __

Re: [O] still prob on .emacs (win / linux)

2014-01-20 Thread Bastien
Hi Renato, Renato Pontefice writes: > I still have some prob, on my init.el/.emacs file on a Dropbox > folder. Please ask such questions on the Emacs Help mailing: https://lists.gnu.org/mailman/listinfo/help-gnu-emacs This is where general questions about Emacs are answered, and you will find

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Bastien
henry atting writes: > Maybe it says it's still a long way to go ;) > > cd gnus_git && grep defcustom lisp/*.el | wc -l > > 1204 Mhhh... that's somehow comforting (but I don't know how!) -- Bastien

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Bastien
M writes: > p.s. for a new user, the large choice of options can really be quite > confusing Indeed. We always need more tutorials and more structure in Worg. I may help with a fresh tutorial at some point, but I need time. -- Bastien

Re: [O] using lightbox plugins in HTML export

2014-01-20 Thread Bastien
Hi Peter, Peter Salazar writes: > Alternatively, how do I specify the LaTeX image on one line, and the > HTML image as an on a different line, such that > the link doesn't appear in the LaTeX export and the image doesn't get > duplicated in the HTML export? #+ATTR_LaTeX: :width 300px #+ATTR_HT

Re: [O] org export for both latex and beamer, a recipe?

2014-01-20 Thread Bastien
Hi Joseph, Joseph Vidal-Rosset writes: > It's very nice that an org file can be exported both to a .tex file with > article class as well as to beamer class. > > Here is my question: does anyone knows how mixing in the same org file > what is supposed to be in the paper.tex and what is only fo

Re: [O] Automatically add a repeater when scheduling

2014-01-20 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa writes: > This might be a good feature and I might looking into creating a new > version that does this automatically, since I use the current day > agenda view as my next actions list, and use it to automatically > carry tasks to the following day, so the +1d

Re: [O] How to include past deadlines and scheduled TODOs in an Agenda?

2014-01-20 Thread Bastien
Hi Martin, "Martin Beck" writes: > (agenda "" ((org-agenda-overriding-header "Critical Now") > (org-agenda-entry-types (quote (:deadline :deadline*))) > (org-agenda-sorting-strategy (quote (deadline-down priority-down))) > (org-agenda-time-grid nil) (org-deadline-warning-days 0) > (org-agenda-sp

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 12:17 , Bastien wrote: > M writes: > >> p.s. for a new user, the large choice of options can really be >> quite confusing > > Indeed. We always need more tutorials and more structure in Worg. True. But Is there a table with all the

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Bastien
Rainer M Krug writes: > True. But Is there a table with all the variables, in the form of: > > | Variable | *short* description | link to manual | Not exactly this, but there is http://orgmode.org/worg/doc.html (This is for "options", i.e. user variables, not all variables.) > This might be us

Re: [O] org-tag-alist and org-tag-persistent-alist

2014-01-20 Thread Bastien
Hi Giovanni, giovanni bono writes: > i would appreciate help in understanding the difference between > `org-tag-alist' and `org-tag-persistent-alist'. org-tag-alist goes with the #+TAGS in-buffer option. Inserting #+TAGS then completing by hitting TAB will complete using org-tag-alist, not org-

Re: [O] worg questions

2014-01-20 Thread Bastien
Hi Ian, Ian Kelling writes: > I pushed some formatting changes to worg, in contrib/org-drill.org. I > got messages when I did, "remote: worg publish process 5487". And it > mentioned many files, but not the file I edited. Its been a few hours, > when will this change propogate on the site? Look

Re: [O] org export for both latex and beamer, a recipe?

2014-01-20 Thread Nicolas Goaziou
Hello, Bastien writes: > ox-beamer.el could have an option so that plain lists are always > converted as dynamic lists (using the <1-> <2-> syntax) -- one problem > would be solved, at least. This is already possible on a case by case basis : - @@beamer:<1->@@ Item - @@beamer:<2->@@ ... and

Re: [O] org export for both latex and beamer, a recipe?

2014-01-20 Thread Bastien
Nicolas Goaziou writes: > This is already possible on a case by case basis : > > - @@beamer:<1->@@ Item > - @@beamer:<2->@@ ... > > and as a frame property: > > * Headline > :PROPERTIES: > :BEAMER_ACT: [+-] > :END: > > - item > - item Great! Thanks for this :) -- Bast

[O] Still have some problem in org-publish-project

2014-01-20 Thread Ming Lu
Dear All: When I do *org-publish-project* command, the error message occurs like this: Symbol' function definition is void: org-export-as-html I just update my org-mode to the newest using:* package-install org .* My *.emacs *file is very simple: -- (add-to-list 'lo

Re: [O] Still have some problem in org-publish-project

2014-01-20 Thread Ming Lu
Sorry, the email display has some problem. Here is my publish setup: (require 'org-publish) (setq org-publish-project-alist '( ;;first, the notes component ("org-notes" :base-directory "~/Documents/org/notes/" :base-extension "org" :publishing-directory "~/Documents/org/publish/" :recurs

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Hello, Giuseppe Lipari writes: > thanks for the response. I did some debugging, but I am not an expert of > elisp and org-mode. Anyway, this is what I found: > > I put a breakpoint in fuinction org-latex-src-block() which receives > src-block as parameter. This parameter contains field language

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Nicolas Goaziou writes: > I think the following patch fixes the issue. I'll let Eric decide if it > has to be applied or not. The test is wrong. Corrected version follows. -- Nicolas Goaziou >From 26d72c6452864be2acb165e087ea5387fb3f6457 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mo

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Nicolas Goaziou writes: > Nicolas Goaziou writes: > >> I think the following patch fixes the issue. I'll let Eric decide if it >> has to be applied or not. > > The test is wrong. Corrected version follows. Ah well. This is getting embarrassing. Third, and hopefully last, attempt. -- Nicolas G

[O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a document in which I use :session for creating R graphs. These look like: #+begin_src R :file Cor

Re: [O] Still have some problem in org-publish-project

2014-01-20 Thread Nick Dokos
Ming Lu writes: > Sorry, the email display has some problem. Here is my publish setup: > > (require 'org-publish) > (setq org-publish-project-alist >       '( > ;;first, the notes component > ("org-notes" > :base-directory "~/Documents/org/notes/" > :base-extension "org" > :publishing-directory "

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Giuseppe Lipari
Dear Nicolas, I applied your patch to the latest version (from git) and now it works! Well done, thanks a lot! Giuseppe 2014/1/20 Nicolas Goaziou > Nicolas Goaziou writes: > > > Nicolas Goaziou writes: > > > >> I think the following patch fixes the issue. I'll let Eric decide if it > >> ha

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Andreas Leha
Rainer M Krug writes: > Hi > > I have two suggestions which are liked to each other. They are based > on R code blocks, but the should be useful for other languages as well. > > I have a document in which I use :session for creating R graphs. These > look like: > > #+begin_src R :file Correlation

[O] [babel] Using :prologue and :epilogue with unbalanced brackets

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I would like to use :prologue and :epilogue to enclose the code block in a local({}) block, i.e. * test #+begin_src R :prologue local({ :epilogue }) qwerty <- "test" #+end_src But the problem seems to be the unbalanced brackets, and everything

Re: [O] org-store-link without having to press Enter?

2014-01-20 Thread Bastien
Nick Dokos writes: >> What do you and others think? > > Much better! I've now pushed this patch in master. Sébastien, please test C-c M-l to insert the last stored link and let us know what you think. Thanks, -- Bastien

Re: [O] Filter for recursive counting (org-hierarchical-todo-statistics)

2014-01-20 Thread Bastien
Hi Fletcher, Fletcher Charest writes: > Okay, actually, after using this solution, there is just one thing I > think that could be considered a bug (not very problematic though). I just pushed a fix for this in master. (The reason I'm pushing it to master instead of maint is that the maint bra

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 15:00 , Andreas Leha wrote: > Rainer M Krug writes: > >> Hi >> >> I have two suggestions which are liked to each other. They are >> based on R code blocks, but the should be useful for other >> languages as well. >> >> I have a doc

Re: [O] Making org-agenda-list hide items scheduled for the future

2014-01-20 Thread Fabrice Niessen
Hello Nick, Nick Dokos wrote: > "Fabrice Niessen" writes: >> Michael Hoffman wrote: >>> I use the weekly/daily agenda and want to be able to use the SCHEDULED >>> keyword >>> to hide items until the scheduled time comes up. I don't want to think about >>> them until then. How can I set up org-ag

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
Rainer M Krug writes: > On 01/20/14, 15:00 , Andreas Leha wrote: >> Rainer M Krug writes: >> >>> Hi >>> >>> I have two suggestions which are liked to each other. They are >>> based on R code blocks, but the should be useful for other >>> languages as well. >>> >>> I have a document in which I us

Re: [O] [babel] Using :prologue and :epilogue with unbalanced brackets

2014-01-20 Thread Eric Schulte
Rainer M Krug writes: > Hi > > I would like to use :prologue and :epilogue to enclose the code block > in a local({}) block, i.e. > > * test > #+begin_src R :prologue local({ :epilogue }) > qwerty <- "test" > #+end_src > I tried wrapping the prologue and epilogue values in quotes so that they

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Eric Schulte
Nicolas Goaziou writes: > Nicolas Goaziou writes: > >> Nicolas Goaziou writes: >> >>> I think the following patch fixes the issue. I'll let Eric decide if it >>> has to be applied or not. >> >> The test is wrong. Corrected version follows. > > Ah well. This is getting embarrassing. Third, and h

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > This patch looks fine to me. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-20 Thread Eric Schulte
Nick Daly writes: > Hi folks, I have a situation where I have many named code snippets > currently available in external files, and would like to tangle them > into an Org mode file. Is it currently possible to tangle included > files? If not, could that feature be added to a new version of Org

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-20 Thread Eric Schulte
Nick Daly writes: > Hi folks, I have a situation where I have many named code snippets > currently available in external files, and would like to tangle them > into an Org mode file. Is it currently possible to tangle included > files? If not, could that feature be added to a new version of Org

Re: [O] How to signal end of a section or subsection

2014-01-20 Thread Skip Collins
Several requests have been made over the years for a way to end a subsection without starting a new new higher level section. This is possible with plain lists: a blank line ends the list. Some other syntax would have to be added to org to allow this for sections. I would love to see something like

[O] bug#16506: 24.3; Raw Org hyperlink markup exported to DocBook footnotes

2014-01-20 Thread Bastien
Hi Am, Am Turnip writes: > 24.3; Raw Org hyperlink markup exported to DocBook footnotes The latest Emacs version does not come with a Org->DocBook exporter. The way to produce a DocBook document from an Org file is to export it as .texi, then to use makeinfo --docbook from the .texi file. You

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 16:28 , Eric Schulte wrote: > Rainer M Krug writes: > >> On 01/20/14, 15:00 , Andreas Leha wrote: >>> Rainer M Krug writes: >>> Hi I have two suggestions which are liked to each other. They are based on R code bl

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Erik Hetzner
At Mon, 20 Jan 2014 02:54:08 -0500, regcl wrote: > > > I am looking for advice regarding how to write medical journal > articles using org-mode. > > My primary motivations are the desire to ... automate the flow of data > from computation to publication, avoid clerical errors, speed up the > con

[O] Error when unfolding trees and when mobileorg push

2014-01-20 Thread JBash
Orgmode list, I am getting the following error when unfolding certain trees (I believe this is only trees that have the PROPERTIES tag added automatically by mobileorg), and also when pushing files for mobileorg. My search for this in the archives has not turned up anything as yet, and as my lisp

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Achim Gratz
Bastien writes: >> The first question is what do we want contrib to be? > > So let's start with this one. […] You didn't answer the question of what you want contrib to be or I'm too dense to find where. You keep talking about an Org ELPA that doesn't exist and about your expectation of unspeci

Re: [O] Error when unfolding trees and when mobileorg push

2014-01-20 Thread Nicolas Goaziou
Hello, JBash writes: > I am getting the following error when unfolding certain trees (I believe > this is only trees that have the PROPERTIES tag added automatically by > mobileorg), and also when pushing files for mobileorg. My search for this > in the archives has not turned up anything as ye

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Bastien
Achim Gratz writes: > You didn't answer the question of what you want contrib to be or I'm too > dense to find where. I want contributed Org libraries to be maintained in a separate Git repository the same what the GNU ELPA packages are maintained in their own repository, outside Emacs. > You k

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
> > I will check it a little bit longer and see that I can display the > error message in the dummy graphic. Should have it by tomorrow. > Sounds good. Alternately, maybe you could get the R process to fail and print an error to STDERR so that the export will stop immediately and inform the user

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread regcl
Erik Hetzner writes: > At Mon, 20 Jan 2014 02:54:08 -0500, > regcl wrote: >> >> 3) How do I get references into MS word? >> > Hi George, > > For question 3, you might have a look at pandoc > (http://johnmacfarlane.net/pandoc/), which can convert from markdown > to docx (MS Word) with citation s

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Achim Gratz
Bastien writes: > Achim Gratz writes: > >> You didn't answer the question of what you want contrib to be or I'm too >> dense to find where. > > I want contributed Org libraries to be maintained in a separate Git > repository the same what the GNU ELPA packages are maintained in their > own reposit

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Jambunathan K
regcl writes: > org > latex > pandoc > docx ? Too many moving parts. Each part coming from different manufacturers. The components will rub against each other and the resulting heat may vaporize the lubricant. Pick a workflow that has minimum dependencies - even if that means throwing Emacs

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Bastien
Achim Gratz writes: > So, the in-core exporters don't need to > be discovered, but the contrib exporters all need their own ELPA > package? You state it very well. In-core exporters are what people expect to be included in Emacs, easily activated without downloading and installing any new libra

Re: [O] Unable to push to org-mobile

2014-01-20 Thread Dror Atariah
I'm sorry I keep bugging with this... ;) On Dec 14, 2013, at 22:06 PM, Nick Dokos wrote: > Nick Dokos writes: > >> Dror Atariah writes: >> >>> 2. What's next? I believe this is a bug... How can I report it? >> >> Consider it reported - thanks for checking it. I'll push the proposed fix >> l

Re: [O] Error when unfolding trees and when mobileorg push

2014-01-20 Thread JBash
Thanks Nicolas. The problem I had with unfolding is now gone. However, when pushing to mobileorg, I now am getting: Symbol's function definition is void: avl-tree-mapc Thanks, Jerry On Mon, Jan 20, 2014 at 1:08 PM, Nicolas Goaziou wrote: > Hello, > > JBash writes: > > > I am getting the fol

Re: [O] Unable to push to org-mobile

2014-01-20 Thread Nick Dokos
Dror Atariah writes: > I'm sorry I keep bugging with this... ;) > > On Dec 14, 2013, at 22:06 PM, Nick Dokos wrote: > >> Nick Dokos writes: >> >>> Dror Atariah writes: >>> 2. What's next? I believe this is a bug... How can I report it? >>> >>> Consider it reported - thanks for checking

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-20 Thread Alan Schmitt
Memnon Anon writes: > Okay. As I said, I found this the only one conflicting with org (or > other packages). Just remember to require icicles at the very end of > your config, and everything should work. I found that "C-`" (which I use to jump to errors when compiling in latex) also conflicts.

[O] (i/a)spell in org-mode - ignore links?

2014-01-20 Thread John Kitchin
does anyone do spell checking with ispell or aspell in org-mode? I was wondering if there was a way to get it to ignore links, latex markup, etc... John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon Unive

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Rasmus
Bastien writes: > Achim Gratz writes: > >> So, the in-core exporters don't need to >> be discovered, but the contrib exporters all need their own ELPA >> package? > > You state it very well. > > In-core exporters are what people expect to be included in Emacs, > easily activated without download

Re: [O] Citations and references in ODT

2014-01-20 Thread Aric Gregson
--On January 19, 2014 11:16:53 AM +0530 Jambunathan K wrote: Are you still stuck here or you made some repairs and stuck elsewhere. ... IMO, starting from scratch (i.e., an empty .emacs) and installing Org via M-x list-packages is a sure way to have a working setup with minimal fuss. Yes,

Re: [O] Italicise block of text

2014-01-20 Thread Samuel Wales
Dunno if this makes sense, but now that we have @@html: ... @@ etc., I wonder if it is worth considering @@italic: ... @@, or @@emphasis /: ... @@, or @@emphasis italic: ... @@. Or $[emphasis :beg "/"] ... $[emphasis :end] as previously discussed. === Samuel -- The Kafka Pandemic: http://theka

Re: [O] M-right does not demote some subheadings in a region

2014-01-20 Thread Samuel Wales
Thanks for the explanation. On 1/19/14, Bastien wrote: >> Why does folding affect semantics? -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Eric Schulte
>> >> My suggestion is to get rid of the contrib/ directory and to have >> a separate Git repository with libraries available from Org ELPA. >> If I understand correctly you are suggesting two thing. 1. We remove the contrib/ directory, and host the contributed packages in a single new org-con

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Erik Hetzner
At Mon, 20 Jan 2014 14:04:24 -0500, regcl wrote: > > Erik Hetzner writes: > > > At Mon, 20 Jan 2014 02:54:08 -0500, > > regcl wrote: > >> > >> 3) How do I get references into MS word? > >> > > Hi George, > > > > For question 3, you might have a look at pandoc > > (http://johnmacfarlane.net/pan

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Aric
Jambunathan K gmail.com> writes: > regcl channing.harvard.edu> writes: > > > org > latex > pandoc > docx ? > > Too many moving parts. I agree. I tried this with a relatively simple export, albeit with tables and figures and references, and pandoc choked on the latex and I was not able to f