Re: [O] Can I wrap a Babel call inside a macro?

2014-01-24 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > I did the following test, not fully successfull: > > #+name: current-time > #+begin_src sh > echo "$(date '+%Y%m%d.%H%M')" > #+end_src > > #+results: current-time > : 20140123.2339 > > Date/time: > #+CALL: current-time() > > #+results: > : 20140123.2339 > >

Re: [O] using lightbox plugins in HTML export

2014-01-24 Thread Peter Salazar
Good idea, that would be great! On Thu, Jan 23, 2014 at 2:33 AM, Bastien wrote: > Hi Peter, > > Peter Salazar writes: > > > Thanks for the response. That ATTR_HTML comes in very handy. I made > > one adjustment to your code, and it totally worked! Amazing! > > > > Here it is in full: > > > > #

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

2014-01-24 Thread Bastien
Hi Thomas, t...@tsdye.com (Thomas S. Dye) writes: > I just checked the Org mode manual and found that it has several entries > that consist of `C-c' followed by a punctuation character. Can we list them in this thread to discuss how bad the situation is for each of these keybindings? > In my qu

Re: [O] LaTeX export: list with non-optional argument

2014-01-24 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > How can a pass a non-optional argument to a special list in LaTeX > export? You can't. See below. > The 'currvita' LaTeX package comes with the environment 'cvlist'. This > cvlist is to be used like this: > > \begin{cvlist}{Personal Information} > \item[Date of

Re: [O] Can I wrap a Babel call inside a macro?

2014-01-24 Thread Nicolas Goaziou
Nicolas Goaziou writes: >> The current date and time is: >> {{{ct}}}. BTW, the period seems dubious here. -- Nicolas Goaziou

Re: [O] LaTeX export: list with non-optional argument

2014-01-24 Thread Andreas Leha
Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> How can a pass a non-optional argument to a special list in LaTeX >> export? > > You can't. See below. > >> The 'currvita' LaTeX package comes with the environment 'cvlist'. This >> cvlist is to be used like this: >> >> \begin{cvlis

[O] Simple quote becomes double in LaTeX export

2014-01-24 Thread Sebastien Vauban
Hello, With a text in French, and Babel present in my list of LaTeX classes, the following title gets its simple quote converted to a double one: --8<---cut here---start->8--- #+TITLE: Notes sur l'/elevator pitch/ #+LANGUAGE: fr * Objectif Ceci est l'obj

Re: [O] Can I wrap a Babel call inside a macro?

2014-01-24 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: > Nicolas Goaziou writes: > >>> The current date and time is: >>> {{{ct}}}. > > BTW, the period seems dubious here. What do you mean? That, because the macro will ultimately make a Babel call, it can't be inserted inline in some text, right? I'd have to wr

Re: [O] Can I wrap a Babel call inside a macro?

2014-01-24 Thread Nicolas Goaziou
"Sebastien Vauban" writes: >> Nicolas Goaziou writes: >> The current date and time is: {{{ct}}}. >> >> BTW, the period seems dubious here. > > What do you mean? That, because the macro will ultimately make a Babel > call, it can't be inserted inline in some text, right? Correct. Af

Re: [O] orgstruct-mode taking over C-c C-f

2014-01-24 Thread Eric Abrahamsen
Bastien writes: > Hi Eric, > > Eric Abrahamsen writes: > >> I'm not sure how this is supposed to work, so I'm not quite sure what >> the proper solution is... > > This should now be fixed, please test and report any problem. > > Thanks, It's still doing it! I should be seeing why for myself, if

[O] : Shouldn't commit b6448c4225bc83299da1bd08c2d2e8b77e0bcd13 be in maint?

2014-01-24 Thread Miguel Ruiz
Shouldn't commit b6448c4225bc83299da1bd08c2d2e8b77e0bcd13 (Fix "Marker points into wrong buffer" error) be in maint? It works for me in emacs 24.3 and in 24.3.50 (as of today, 20130124). It's going to prevent errors in emacs 24.4 candidates. Miguel.

Re: [O] : Shouldn't commit b6448c4225bc83299da1bd08c2d2e8b77e0bcd13 be in maint?

2014-01-24 Thread Bastien
Miguel Ruiz writes: > Shouldn't commit b6448c4225bc83299da1bd08c2d2e8b77e0bcd13 (Fix > "Marker points into wrong buffer" error) be in maint? Indeed, done, thanks. -- Bastien

Re: [O] orgstruct-mode taking over C-c C-f

2014-01-24 Thread Bastien
Eric Abrahamsen writes: > It's still doing it! I should be seeing why for myself, if you don't get > to this for a couple of days I hope I'll have time... Did you recompiled Org? -- Bastien

[O] [PATCH] Improve message when file to include is missing

2014-01-24 Thread Sebastien Vauban
Hello, When a SETUPFILE is missing, there is an error or message generated, but we don't know in which file the bad reference is -- when all those files are loaded during the agenda generation. Hence, a better message, specifying where to go and look for the bad link. Best regards, Seb >From

Re: [O] Can I wrap a Babel call inside a macro?

2014-01-24 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: > "Sebastien Vauban" writes: >>> Nicolas Goaziou writes: >>> > The current date and time is: > {{{ct}}}. >>> >>> BTW, the period seems dubious here. >> >> What do you mean? That, because the macro will ultimately make a Babel >> call, it can't be ins

[O] how to set a block of description...

2014-01-24 Thread Renato Pontefice
I have send this mail (by mistake) to the emacs list. But this is for Org-mode list... Hi, I have this scenario (i.e.): * issue 1 this is the thescription of issue 1 I would, using C-c C-t, tu set things as DONE (adding the date and time) But I could do that just for the text * issue 1, not for

Re: [O] orgstruct-mode taking over C-c C-f

2014-01-24 Thread Malcolm Purvis
> "Bastien" == Bastien writes: Bastien> Did you recompiled Org? I can confirm that the problem still exists with a freshly compiled version of the latest mainline (240329465b466584f4bf80f24eb881fb3c9285cf). Also the alias org-set-transient-map doesn't seem to be called, so I still get the

Re: [O] [PATCH] Improve message when file to include is missing

2014-01-24 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > When a SETUPFILE is missing, there is an error or message generated, but > we don't know in which file the bad reference is -- when all those files > are loaded during the agenda generation. > > Hence, a better message, specifying where to go and look for th

Re: [O] how to set a block of description...

2014-01-24 Thread Bastien
Please do not post questions on both help-gnu-emacs and emacs-orgmode lists. I replied on help-gnu-emacs and would have replied here if I had known. Ask Org questions here and general Emacs questions there. -- Bastien

Re: [O] how to set a block of description to set as done...

2014-01-24 Thread Renato Pontefice
Thank you Bastien, So, I have to organize in a different way my notes...Any sudgestion? Renato 2014/1/24 Bastien > Hi Renato, > > Renato Pontefice writes: > > > I have this scenario (i.e.): > > > > * issue 1 > > this is the thescription of issue 1 > > > > I would, using C-c C-t, tu set things

Re: [O] [PATCH] Improve message when file to include is missing

2014-01-24 Thread Bastien
"Sebastien Vauban" writes: > When a SETUPFILE is missing, there is an error or message generated, but > we don't know in which file the bad reference is -- when all those files > are loaded during the agenda generation. > > Hence, a better message, specifying where to go and look for the bad >

Re: [O] orgstruct-mode taking over C-c C-f

2014-01-24 Thread Bastien
Malcolm Purvis writes: >> "Bastien" == Bastien writes: > > Bastien> Did you recompiled Org? > > I can confirm that the problem still exists with a freshly compiled > version of the latest mainline > (240329465b466584f4bf80f24eb881fb3c9285cf). > > Also the alias org-set-transient-map doesn't

Re: [O] [PATCH] Improve message when file to include is missing

2014-01-24 Thread Bastien
Nicolas Goaziou writes: > What if `buffer-file-name' returns nil? Sure, the problem won't happen > during agenda generation, but `org-file-contents' is used elsewhere. > > Also, it is better to use: > > (buffer-file-name (buffer-base-buffer)) > > since the current buffer may be an indirect on

[O] Every-day TODO's only showing in agenda for today and tomorrow, but how?

2014-01-24 Thread Sharon Kimble
I have this as a TODO - ** TODO google for getting smartd running persistently and giving reports regularly too. SCHEDULED: <2014-01-23 Thu +1d> How do I get it so that it only shows in the AGENDA for today and tomorrow please? Currently its showing for today, and every other day, until the cow

Re: [O] Every-day TODO's only showing in agenda for today and tomorrow, but how?

2014-01-24 Thread Bastien
Hi Sharon, Sharon Kimble writes: > I have this as a TODO - > ** TODO google for getting smartd running persistently and giving > reports regularly too. > SCHEDULED: <2014-01-23 Thu +1d> > > How do I get it so that it only shows in the AGENDA for today and > tomorrow please? Currently its showi

[O] Naming a table produced by a CALL

2014-01-24 Thread Loris Bennett
Hi, I have a CALL which produces a table, which just gets the keyword RESULT. I would like to plot the data in the table with R and so would like to refer to the data in the table. It seems I need to need to replace RESULT by NAME in org-babel-results-keyword, but how do I pass the actual name?

[O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-24 Thread Peter Davis
I'm trying to get org-article working so I can create PDFs with something other than Computer Modern, but I keep getting the error Unknown LaTeX class `org-article' when I use this in the file: #+LaTeX_CLASS: org-article #+LaTeX_CLASS_OPTIONS: [article,letterpaper,times,12pt,listings-bw,mic

Re: [O] how to set a block of description to set as done...

2014-01-24 Thread Alexander Baier
On 2014-01-24 12:14 Renato Pontefice wrote: > Thank you Bastien, > So, I have to organize in a different way my notes...Any sudgestion? Why exactly do you want to set the headline and its _description_ as DONE? Marking a headline as done, also indicates (at least to me) the body text after this as

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-24 Thread Michael Strey
Peter, p...@pfdstudio.com writes: > Other ideas? Did you check the availability of org-article.cls in the TeX tree using `kpsewhich org-article.cls'? Do you have an entry for "org-article" in org-export-latex-classes? -- Michael

Re: [O] Naming a table produced by a CALL

2014-01-24 Thread Andreas Leha
"Loris Bennett" writes: > Hi, > > I have a CALL which produces a table, which just gets the keyword > RESULT. I would like to plot the data in the table with R and so would > like to refer to the data in the table. > > It seems I need to need to replace RESULT by NAME in > org-babel-results-keyw

Re: [O] how to set a block of description to set as done...

2014-01-24 Thread Sebastien Vauban
Alexander Baier wrote: > On 2014-01-24 12:14 Renato Pontefice wrote: >> Thank you Bastien, >> So, I have to organize in a different way my notes...Any sudgestion? > > Why exactly do you want to set the headline and its _description_ as > DONE? Marking a headline as done, also indicates (at least to

[O] How to use ox-bibtex

2014-01-24 Thread o.castillo.felis...@gmail.com
Dear community, I'm using org-mode to draft most of my activities, and day after day I get closer to managing my paper writing. Nonetheless, there is a point still drives me crazy. All over the web I find post about using such or what tool to get emacs org-mode to work with Bibtex... all of them

Re: [O] Naming a table produced by a CALL

2014-01-24 Thread Loris Bennett
Andreas Leha writes: > "Loris Bennett" writes: > >> Hi, >> >> I have a CALL which produces a table, which just gets the keyword >> RESULT. I would like to plot the data in the table with R and so would >> like to refer to the data in the table. >> >> It seems I need to need to replace RESULT by

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-24 Thread Peter Davis
On Fri, Jan 24, 2014 at 01:58:19PM +0100, Michael Strey wrote: > Peter, > > p...@pfdstudio.com writes: > > > Other ideas? > > Did you check the availability of org-article.cls in the TeX tree > using `kpsewhich org-article.cls'? Yes, I get: [pdavismbp15:~] pdavis% kpsewhich org-article.cls /us

[O] do not display certain TAGs in agenda

2014-01-24 Thread David Belohrad
Dear all, here is the stuff: I have lots of tags in particular todos. When displayed in the agenda, they look e.g. as this one: CPSupgrade: NEXT asssembly of the fbct bodies on the vacuum chambers :2013:MARS:#CPSUpgrade:REFILABLE::@Me:@John: Now, tags MARS, 2013 and REFILABLE are 'common' tag

[O] problem with imagemagick or dvipng

2014-01-24 Thread Joseph Vidal-Rosset
Hello the list, When I try to get png image of formulas in exporting to html , I get under each png image a strange message "plain definitionremarkplain" which breaks the text. I cannot succeed to understand where is the problem. Suggestions ? Best wishes, Jo.

[O] Link to using calc in embedded mode with org-mode broken

2014-01-24 Thread Christopher Witte
Hi, In the orgmode manual section *15.10.1 Packages that Org cooperates with* http://orgmode.org/manual/Cooperation.html the link to using calc's embedded mode with org-mode is broken http://orgmode.org/calc/Embedded-Mode.html#Embedded-Mode Does anyone know what happened to that page? Cheers, Ch

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-24 Thread Eric S Fraga
Peter Davis writes: [...] >> Do you have an entry for "org-article" in org-export-latex-classes? > > Yes, like this: > > (add-to-list 'org-export-latex-classes > '("org-article" what version of org are you using? in org v8, this variable has been renamed to org-LaTeX-classes. HTH, e

Re: [O] Aligned glosses in orgmode (for export to odt/doc)

2014-01-24 Thread Jambunathan K
Edit it so that it has no borders. Ignore the above suggestion. It is too tedious. I have flushed out a fix as part of the following ELPA tar http://repo.or.cz/w/org-mode/org-kjn.git/blob_plain/master:/org-odt-20140124.tar With this fix, the behaviour of the rules in the ODT table will b

[O] Creating a help system with org mode

2014-01-24 Thread von Hercynius
Hello, I'm at a business that wants to create an on-line help system in order to describe all their daily practices. I'm suggesting org mode at the tool. I'm an org mode beginner, but as I understand I can create knowledge base entries or issues or help topic entries as individual files. These top

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-24 Thread Peter Davis
On Fri, Jan 24, 2014 at 04:32:38PM +, Eric S Fraga wrote: > Peter Davis writes: > > [...] > > >> Do you have an entry for "org-article" in org-export-latex-classes? > > > > Yes, like this: > > > > (add-to-list 'org-export-latex-classes > > '("org-article" > > what version of org a

Re: [O] best way of customizing generated css to match bootstrap css

2014-01-24 Thread Mehul Sanghvi
Thanks. That helps a lot and gives me some other ideas as well. cheers, mehul On Fri, Jan 24, 2014 at 12:00 AM, Peter Salazar wrote: > Here you go. > https://github.com/petersalazar/org-tocify > > Again, it's not very bootstrapish aside from Toficy, which uses Bootstrap > colors and f

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

2014-01-24 Thread Michael Hoffman
On 01/20/2014 10:24 AM, Fabrice Niessen wrote: 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

Re: [O] best way of customizing generated css to match bootstrap css

2014-01-24 Thread Peter Salazar
Great, keep me posted! I'm interested in other ways to incorporate javascript/jQuery plugins into org HTML export (dynamic navigation, lightbox and image handling, etc). So far I've incorporated Tocify, lightbox, and inline modal footnotes. Let me know what you come up with! On Fri, Jan 24, 201

Re: [O] Creating a help system with org mode

2014-01-24 Thread von Hercynius
Actually, I might like to have a "knowledge base" article-style help system, each entry generated by org mode as a single web page, the search engine utilizing Google custom search engine just for my help site. Isn't this what WORG is doing? On Fri, Jan 24, 2014 at 2:14 PM, John Hendy wrote: >

Re: [O] Creating a help system with org mode

2014-01-24 Thread John Hendy
On Fri, Jan 24, 2014 at 3:02 PM, von Hercynius wrote: > Actually, I might like to have a "knowledge base" article-style help > system, each entry generated by org mode as a single web page, the search > engine utilizing Google custom search engine just for my help site. Isn't > this what WORG is d

Re: [O] do not display certain TAGs in agenda

2014-01-24 Thread Bastien
Hi David, David Belohrad writes: > Now, tags MARS, 2013 and REFILABLE are 'common' tags I use when > filtering for them, but generally I don't want to see them in the > agenda. I'd like to see only tags starting with '#' or '@' as those > identify to me projects and people involved. If I would b

Re: [O] Link to using calc in embedded mode with org-mode broken

2014-01-24 Thread Bastien
Hi Christopher, Christopher Witte writes: > In the orgmode manual section 15.10.1 Packages that Org cooperates > with http://orgmode.org/manual/Cooperation.html > the link to using calc's embedded mode with org-mode is broken http:/ > /orgmode.org/calc/Embedded-Mode.html#Embedded-Mode  > > Does

[O] Narrowing vs indirect buffer

2014-01-24 Thread Alan L Tyree
Two separate commands serve much the same purpose from the author's point of view: - C-c C-x b (org-tree-to-indirect-buffer) opens an indirect buffer for the subtree - C-x n s (org-narrow-to-subtree) narrows the existing buffer to the subtree Both of these "hoist" the subtree outline to f

[O] Importing from LaTeX

2014-01-24 Thread William Denton
I have a couple of big files that I'd like to move from LaTeX to Org, and wondered if there's already an easier way to manage this than to do a bunch of tedious searching and replacing on \section and \begin{quote} and the like. I found this thread in the list archives, from about three years

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-24 Thread Peter Davis
On Fri, Jan 24, 2014 at 01:54:20PM -0500, Peter Davis wrote: > On Fri, Jan 24, 2014 at 04:32:38PM +, Eric S Fraga wrote: > > Peter Davis writes: > > > > [...] > > > > >> Do you have an entry for "org-article" in org-export-latex-classes? > > > > > > Yes, like this: > > > > > > (add-to-list '

Re: [O] Importing from LaTeX

2014-01-24 Thread Anthony Lander
Hi William, Take a look at pandoc (http://johnmacfarlane.net/pandoc/). It reads and writes several markup formats, including LaTeX and org. Hope this helps, -Anthony On Fri, Jan 24, 2014 at 7:09 PM, William Denton wrote: > I have a couple of big files that I'd like to move from LaTeX to Org

Re: [O] Importing from LaTeX

2014-01-24 Thread William Denton
On 24 January 2014, Anthony Lander wrote: Take a look at pandoc (http://johnmacfarlane.net/pandoc/). It reads and writes several markup formats, including LaTeX and org. Thanks! I completely forgot about pandoc. $ pandoc --no-wrap foo.latex -o foo.org did the job beautifully (once I'd conve

Re: [O] Narrowing vs indirect buffer

2014-01-24 Thread Bastien
Alan L Tyree writes: > Is there any preference (so far as org is concerned)? Are there any > "gotchas" that I should note? Just a personal preference: I use narrowing because I don't like multiplying buffers. -- Bastien

Re: [O] orgstruct-mode taking over C-c C-f

2014-01-24 Thread Eric Abrahamsen
Bastien writes: > Malcolm Purvis writes: > >>> "Bastien" == Bastien writes: >> >> Bastien> Did you recompiled Org? >> >> I can confirm that the problem still exists with a freshly compiled >> version of the latest mainline >> (240329465b466584f4bf80f24eb881fb3c9285cf). >> >> Also the alias

[O] Cursor jumps unexpectedly when calling org-agenda-todo

2014-01-24 Thread Matt Lundin
Hi Bastien, Commit e5259962f61c398d84d43d33c29a6f021c9b326a introduced a change (perhaps unintentional) in the function org-agenda-todo. Line 8870 added another... (setq col (current-column)) Is this supposed to be there? The problem is that this is called in the actual org buffer at the locati

Re: [O] Narrowing vs indirect buffer

2014-01-24 Thread Alan L Tyree
Bastien writes: > Alan L Tyree writes: > >> Is there any preference (so far as org is concerned)? Are there any >> "gotchas" that I should note? > > Just a personal preference: I use narrowing because I don't like > multiplying buffers. Thanks Bastien. I like narrowing a lot better but only just

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

2014-01-24 Thread Thomas S. Dye
Aloha Bastien, Bastien writes: > Hi Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> I just checked the Org mode manual and found that it has several entries >> that consist of `C-c' followed by a punctuation character. > > Can we list them in this thread to discuss how bad the situation

Re: [O] Org release 8.2.5g (minor release from maint)

2014-01-24 Thread Achim Gratz
Achim Gratz writes: […] > in the second or the cdr of the second element of pre-info might > directly get the new value spliced in depending on whether the original > value is used someplace else. Splicing seems slightly more elegant than list construction, but pre-info needs to be preserved. Eri