Re: [O] color header based on priority/tags rather than level

2014-01-14 Thread Sebastien Vauban
David Rees wrote: Is there way to set the color/face of a header line based on priority/tags rather than level? Maybe a way of setting a hook method that takes header line info and returns color/face info? I've found that I can use org-priority-face to color the priority cookie and I can use

[O] Change section (headings) numbering style

2014-01-14 Thread Axel E. Retif
Greetings! I need to change the numbering style of the first level sections (*) in the exported html file. Right now they are exported as 1 First section ;; for * First section 1.1 First subsection ;; for ** First subsection etc. For the first part of the document

Re: [O] Change section (headings) numbering style

2014-01-14 Thread Sebastien Vauban
Axel E. Retif wrote: I need to change the numbering style of the first level sections (*) in the exported html file. Right now they are exported as 1 First section ;; for * First section 1.1 First subsection ;; for ** First subsection etc. For the first part of the

Re: [O] Citations and references in ODT

2014-01-14 Thread Jambunathan K
I have introduced a new variable `org-odt-cite-regexp'. You can use M-x customize-variable to change the default settings. [1, 4] I would like to (eventually) add support for prenote and postnote options for ODT export [2]. These intext options could be quite useful when citation references

Re: [O] wide images in LaTex and HTML export

2014-01-14 Thread Peter Salazar
Thanks! That works great, though I'm finding that setting the width manually gets it wider than \pagewidth: #+begin_center #+ATTR_LATEX: :height 10in :options angle=90 [[./profit-and-loss-monthly.jpg]] #+end_center On Mon, Jan 13, 2014 at 10:03 AM, John Hendy jw.he...@gmail.com wrote: On

Re: [O] Citations and references in ODT

2014-01-14 Thread Jambunathan K
Aric Gregson aorc...@mac.com writes: Ken Mankoff mank...@gmail.com writes: I find the ODT export very useful. Working on another document imported from LaTeX I have a lot of \citep{} and \citet{} in addition to \cite{}. Is it possible for ox-jabref.el to support this even if it does not

Re: [O] Change section (headings) numbering style

2014-01-14 Thread Axel E. Retif
On 01/14/2014 02:39 AM, Sebastien Vauban wrote: Axel E. Retif wrote: I need to change the numbering style [from arabic to Alpha] of the first level sections (*) in the exported html file. [...] AFAICT, this is not possible right now. Though, you have a fallback in the name of jQuery, for

Re: [O] color header based on priority/tags rather than level

2014-01-14 Thread Bastien
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Once again, not what you're looking for, but John Wiegley once shared his code to highlight agenda lines depending of a tag (home, work, etc.). (font-lock-add-keywords 'org-mode '((^.*:write:.*$ .

Re: [O] Org Export to ODT Problem Files

2014-01-14 Thread Jambunathan K
Aric Gregson aorc...@mac.com writes: 4. Figure and table references are by section, sort of like old fashioned latex. For me, I am not writing a book or anything very long, just manuscripts. Thus, I would prefer just to label each figure in order and each table in order. I would therefore

Re: [O] No ODT export option

2014-01-14 Thread Jambunathan K
Debian lags quite a bit (from few months to years). It is difficult to say what version they are packaging. The best and easiest way to install latest Org would be to via GNU ELPA or Org ELPA. See http://orgmode.org/elpa.html. M-x list-packages Once you insall the package, restart Emacs

Re: [O] working on cloud

2014-01-14 Thread Nick Dokos
Renato Pontefice renato.pontef...@gmail.com writes: Ok! Can I set this variable? Or Do I have to run emacs with -u ? TIA Renato 2014/1/13 Bastien b...@gnu.org Renato Pontefice renato.pontef...@gmail.com writes: How do you obtain that? C-h v user-init-file RET

Re: [O] Change section (headings) numbering style

2014-01-14 Thread Vladimir Lomov
Hello, ** Axel E. Retif [2014-01-14 02:36:30 -0600]: Greetings! I need to change the numbering style of the first level sections (*) in the exported html file. Right now they are exported as 1 First section ;; for * First section 1.1 First subsection ;; for ** First

Re: [O] working on cloud

2014-01-14 Thread Alexander Baier
On 2014-01-14 13:24 Nick Dokos wrote: b) asking your questions on the emacs IRC channel (somebody else will have to provide a reference to that though - I don't know what it is off the top of my head.) #emacs on freenode. HTH, -- Alexander Baier

[O] python :session does return

2014-01-14 Thread Ken Mankoff
I've seen various historical issues with :session but it seems I may have a different problem. This is the latest org in emacs 24.3. If I do not have :session, then everything works just fine. If I C-c C-c in the following code: #+BEGIN_SRC python :session transect import numpy as np x =

[O] colorize html output when batch exporting

2014-01-14 Thread Alan Schmitt
Hello, I'm trying to batch export a file, and I don't seem to have colorization working. Reading the documentation a bit, I found this information: , | org-html-htmlize-output-type is a variable defined in `ox-html.el'. | Its value is inline-css | | Documentation: | Output type to be used

[O] feature request: reloading settings in an org file should reload file local variables

2014-01-14 Thread Eric S Fraga
Hello, I constantly run into an annoying side effect of org's handling of settings in a document. When writing a document for export, usually to LaTeX, I find myself playing around with the document wide setting variables, e.g. #+options: toc:nil #+latex_header: \usepackage{tikz} and

Re: [O] feature request: reloading settings in an org file should reload file local variables

2014-01-14 Thread Carsten Dominik
Hi Eric, On Jan 14, 2014, at 3:03 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Hello, I constantly run into an annoying side effect of org's handling of settings in a document. When writing a document for export, usually to LaTeX, I find myself playing around with the document wide setting

Re: [O] Sh-ALT-RightArrow behavior has changed to demote only first subheader when subheaders collapsed

2014-01-14 Thread Bastien
Hi Susan, this is now fixed in maint. Thanks a lot for reporting this bug! -- Bastien

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

2014-01-14 Thread Ken Mankoff
I just re-watched the Carsten Google Tech Talk from 2008. He explains that Org was created as a hybrid note taker and TODO list, and that the TODOs should be embedded in the text. This leads me to a strange situation and I hope list members can explain how they deal with it. * ONE:

Re: [O] tooltips

2014-01-14 Thread Bastien
Hi Rustom, Rustom Mody rustompm...@gmail.com writes: I was wondering if org-mode html generation has some automatic way of generating tooltips. Something along the lines that instead of generating a footnote, a footnote should generate a tooltip. The html would be something like this:

Re: [O] Adding a new column in the agenda view

2014-01-14 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com writes: I'd like to add a new column to display some information about the scheduled item in the agenda. Take the following screenshot: https:// www.dropbox.com/s/gkcnbjrivhvql46/orgmode.jpg I'd like to add a colum there that shows the

Re: [O] python :session does return

2014-01-14 Thread Ken Mankoff
On Tue, 14 Jan 2014, Ken Mankoff wrote: I've seen various historical issues with :session but it seems I may have a different problem. This is the latest org in emacs 24.3. If I do not have :session, then everything works just fine. If I C-c C-c in the following code: #+BEGIN_SRC python

Re: [O] feature request: reloading settings in an org file should reload file local variables

2014-01-14 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, On Jan 14, 2014, at 3:03 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Hello, I constantly run into an annoying side effect of org's handling of settings in a document. When writing a document for export, usually to LaTeX, I find

[O] [BUG, PATCH] org-indent-mode not correctly deactivated

2014-01-14 Thread Bastien
With a file like , | #+STARTUP: indent | | * Heading | ** Subheading ` org-mode will correctly use org-indent-mode when displaying it. Now edit the file to deactivate org-indent: , | #+STARTUP: noindent | | * Heading | ** Subheading ` Go to #+STARTUP and hit C-c C-c :

Re: [O] feature request: reloading settings in an org file should reload file local variables

2014-01-14 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes: Could you try the following patch? I just tried this and it does the right thing. -- Bastien

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

2014-01-14 Thread Fletcher Charest
Hi, Okay, actually, after using this solution, there is just one thing I think that could be considered a bug (not very problematic though). Consider the following subtree: * TOCOMPLETE Project A [0/3] ** TOCOMPLETE Subproject[0/2] *** TODO Task 1 *** TODO Task 2 ** TODO Task I excluded the

[O] subtree export title w/ tags

2014-01-14 Thread Robert Klein
Hi, when I subtree (html-)export a text where the headline has a tag, the title of the exported document includes the tag, e.g. #+begin_src org ** headline :mytag: bla bla bla #+end_src results in #+begin_src html ... titleheadline

Re: [O] subtree export title w/ tags

2014-01-14 Thread Bastien
Hi Robert, Robert Klein rokl...@roklein.de writes: Is there something I can do, so the tag doesn't end up in the title? You can add the :EXPORT_TITLE: property in the subtree. Still, I think tags should be removed from the title by default, I will look into this. HTH, -- Bastien

Re: [O] python :session does return

2014-01-14 Thread Nick Dokos
Ken Mankoff mank...@gmail.com writes: On Tue, 14 Jan 2014, Ken Mankoff wrote: I've seen various historical issues with :session but it seems I may have a different problem. This is the latest org in emacs 24.3. If I do not have :session, then everything works just fine. If I C-c C-c in

Re: [O] tooltips

2014-01-14 Thread Christian Moe
Bastien writes: Instead of changing the current HTML, I'd rather go and find a solution where some javascript can display the tooltip. E.g.: --- $(document).ready(fntooltips); function fntooltips() { $(.footnum).each( function () { $([href='# + this.id + '])

Re: [O] python :session does return

2014-01-14 Thread Ken Mankoff
On Tue, Jan 14, 2014 at 11:32 AM, Nick Dokos ndo...@gmail.com wrote: Ken Mankoff mank...@gmail.com writes: On Tue, 14 Jan 2014, Ken Mankoff wrote: I've seen various historical issues with :session but it seems I may have a different problem. This is the latest org in emacs 24.3. If I

Re: [O] python :session does return

2014-01-14 Thread Nick Dokos
Ken Mankoff mank...@gmail.com writes: On Tue, Jan 14, 2014 at 11:32 AM, Nick Dokos ndo...@gmail.com wrote: Ken Mankoff mank...@gmail.com writes: On Tue, 14 Jan 2014, Ken Mankoff wrote: I've seen various historical issues with :session but it seems I may have a

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

2014-01-14 Thread Eric S Fraga
Ken Mankoff mank...@gmail.com writes: I just re-watched the Carsten Google Tech Talk from 2008. He explains Great talk that was! Changed my life. that Org was created as a hybrid note taker and TODO list, and that the TODOs should be embedded in the text. This leads me to a strange

Re: [O] Bug: Export to Latex - Incorrect output for list items starting with left bracket [8.2.3c (8.2.3c-elpa @ /Users/jdegenhardt/.emacs.d/elpa/org-20131115/)]

2014-01-14 Thread Eric S Fraga
Hello and apologies for jumping uninvited into this thread. I very often make use of the [] feature in itemised lists to change individual bullet points, for instance. I would not like this feature to disappear: it would break many of my documents, especially my beamer presentations. In fact, I

Re: [O] python :session does return

2014-01-14 Thread Ken Mankoff
On Tue, 14 Jan 2014, Nick Dokos wrote: When I do use IPython, :results output doesn't show print statement. The plain x showing up in the output goes away if I use :results output. I'm not talking about the hang: that's a problem (although I can't reproduce it, so it may -or may not - be

Re: [O] colorize html output when batch exporting

2014-01-14 Thread Rick Frankel
On 2014-01-14 08:45, Alan Schmitt wrote: Hello, I'm trying to batch export a file, and I don't seem to have colorization working. Reading the documentation a bit, I found this information: Following these instructions, I set up this variable in the init.el called upon batch exporting, among

Re: [O] tooltips

2014-01-14 Thread Rustom Mody
On Tue, Jan 14, 2014 at 11:16 PM, Christian Moe m...@christianmoe.com wrote: Bastien writes: Instead of changing the current HTML, I'd rather go and find a solution where some javascript can display the tooltip. E.g.: --- $(document).ready(fntooltips); function fntooltips() {

[O] Italicise block of text

2014-01-14 Thread Roger Mason
Hello, Is there a way to italicise a block of text rather that just single words? (org-mode 8.0.3). Thanks, Roger

Re: [O] Bug: Export to Latex - Incorrect output for list items starting with left bracket [8.2.3c (8.2.3c-elpa @ /Users/jdegenhardt/.emacs.d/elpa/org-20131115/)]

2014-01-14 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I very often make use of the [] feature in itemised lists to change individual bullet points, for instance. I would not like this feature to disappear: it would break many of my documents, especially my beamer presentations. I sometimes use

[O] Buffer local alias?

2014-01-14 Thread Thomas S. Dye
Aloha all, My evolving reproducible research documents make use of Dan Davison's idea recently re-introduced by Seb Vauban: * Local variables :noexport: # Local Variables: # eval: (org-sbe setup-common-lisp) # End: Here, the source code

Re: [O] tooltips

2014-01-14 Thread Bastien
Christian Moe m...@christianmoe.com writes: $(document).ready(fntooltips); function fntooltips() { $(.footnum).each( function () { $([href='# + this.id + ']) .attr(title, this.parentNode.parentNode.textContent); } ) }

[O] Angular brackets break LaTex environment in html-export

2014-01-14 Thread Axel
Hi, When I use angular brackets in a LaTeX environment, sometimes they break the mathjax-rendering when exported to html/Rhtml (See example below). Export into LaTeX-pdf works fine in all cases, but export into html fails without whitespaces. Is this due to interference with the timestamps

Re: [O] Citations and references in ODT

2014-01-14 Thread Aric Gregson
Jambunathan K kjambunat...@gmail.com writes: This will be an one-off change, so I am hesitant to consider this. ... I am interested in considering all suggestions or use-cases that extends or improves upon the current practice. Clearly for me, this would not be a one off change... Thanks,

Re: [O] Citations and references in ODT

2014-01-14 Thread Aric Gregson
Jambunathan K kjambunat...@gmail.com writes: C-h v org-version org-version is a variable defined in `org.el'. Its value is 8.2.5c M-x find-library org-loaddefs ;;; org-loaddefs.el --- autogenerated file, do not edit ;; ;;; Code: ;;;### (autoloads (org-babel-mark-block

Re: [O] Org Export to ODT Problem Files

2014-01-14 Thread Aric Gregson
Jambunathan K kjambunat...@gmail.com writes: You are looking for this (custom-set-variables '(org-odt-display-outline-level 0)) Thanks, Aric

[O] Local variables and babel

2014-01-14 Thread Thomas S. Dye
Aloha all, Impressed by the many problems described on the ML that are caused by a setting in .emacs, I've slowly been working to make my configuration buffer local, using source code blocks stored in my local library of babel or placed in a noexport section of the Org mode file and then

Re: [O] Buffer local alias?

2014-01-14 Thread Nick Dokos
t...@tsdye.com (Thomas S. Dye) writes: Aloha all, My evolving reproducible research documents make use of Dan Davison's idea recently re-introduced by Seb Vauban: * Local variables :noexport: # Local Variables: # eval: (org-sbe

Re: [O] Buffer local alias?

2014-01-14 Thread Bastien
Nick Dokos ndo...@gmail.com writes: Use fboundp, instead of boundp: the latter checks the variable binding slot, whereas the former checks the function binding slot. Also, I thought sbe was unknown enough to rename it directly instead of creating an alias. If many people are using sbe, maybe

Re: [O] Angular brackets break LaTex environment in html-export

2014-01-14 Thread Nick Dokos
Axel axel.krin...@tu-dresden.de writes: Hi, When I use angular brackets in a LaTeX environment, sometimes they break the mathjax-rendering when exported to html/Rhtml (See example below). Export into LaTeX-pdf works fine in all cases, but export into html fails without whitespaces. Is

Re: [O] feature request: reloading settings in an org file should reload file local variables

2014-01-14 Thread Carsten Dominik
On 14 Jan 2014, at 16:33, Nick Dokos ndo...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, On Jan 14, 2014, at 3:03 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Hello, I constantly run into an annoying side effect of org's handling of settings in a

Re: [O] Bug: Export to Latex - Incorrect output for list items starting with left bracket [8.2.3c (8.2.3c-elpa @ /Users/jdegenhardt/.emacs.d/elpa/org-20131115/)]

2014-01-14 Thread Eric S Fraga
Nicolas Goaziou n.goaz...@gmail.com writes: [...] I sometimes use this feature, too. But, admittedly, it is a hack. I guess it depends on the definition of /hack/... I think of it as a feature of lists in LaTeX. Whether this is view extends to org is of course open to debate. [...]

Re: [O] feature request: reloading settings in an org file should reload file local variables

2014-01-14 Thread Eric S Fraga
Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, [...] Could you try the following patch? - Carsten Seems to work just fine! Thanks. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.5d-479-g8694aa

[O] Changing behaviour of {:} in column view?

2014-01-14 Thread Luke Crook
In column view, org-mode sums 3xSubtasks each having an effort of 1d as 1d 0:00. Is there a way to change the sum to display this as 3d? /Luke

Re: [O] Change section (headings) numbering style

2014-01-14 Thread Axel E. Retif
On 01/14/2014 06:43 AM, Vladimir Lomov wrote: Hello, ** Axel E. Retif [2014-01-14 02:36:30 -0600]: I need to change the numbering style of the first level sections (*) in the exported html file. [...] I can suggest CSS way to accomplish this. I checked that it works with firefox, but not

Re: [O] Buffer local alias?

2014-01-14 Thread Thomas S. Dye
Bastien b...@gnu.org writes: Nick Dokos ndo...@gmail.com writes: Use fboundp, instead of boundp: the latter checks the variable binding slot, whereas the former checks the function binding slot. Also, I thought sbe was unknown enough to rename it directly instead of creating an alias. If

Re: [O] Local variables and babel

2014-01-14 Thread Michael Albinus
t...@tsdye.com (Thomas S. Dye) writes: Aloha all, Hi, This led me to try to incorporate some of the file-specific setup steps into the local variables as well. For instance, in a file where I'm working with Common Lisp source code blocks and a graph library, I have this: # eval:

Re: [O] [poll] Fontify code in code blocks

2014-01-14 Thread Bastien
Hi Sébastien, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: I think this overall results of the poll is quite clear, no? Well, I think we should wait for Carsten's vote on this. Carsten, do you think `org-src-fontify-natively' should be set to `t' by default for

Re: [O] [poll] Fontify code in code blocks

2014-01-14 Thread Bastien
When `org-src-fontify-natively' will be `t' by default, it will be important to keep the distinction between source blocks and HTML/LaTeX blocks. So HTML blocks should remain unfontified by default, just to mark the difference with active source blocks. I still think an option to highlight

Re: [O] Bug: Export to Latex - Incorrect output for list items starting with left bracket [8.2.3c (8.2.3c-elpa @ /Users/jdegenhardt/.emacs.d/elpa/org-20131115/)]

2014-01-14 Thread Nicolas Goaziou
Eric S Fraga e.fr...@ucl.ac.uk writes: I guess it depends on the definition of /hack/... I think of it as a feature of lists in LaTeX. Whether this is view extends to org is of course open to debate. I was only talking about Org. The problem there is that a square bracket at the beginning

Re: [O] File mode specification error: (error :END: line missing at position 63362)

2014-01-14 Thread Bastien
Hi Martin, maybe you can use this helper function: (defun bzg-find-corrupted-property-drawers () Find corrupted property drawers. (interactive) (let (msgs) (save-excursion (goto-char (point-min)) (while (search-forward :PROPERTIES: nil t) (let ((search-end

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

2014-01-14 Thread Sebastien Vauban
Hello, I'd like to use org-store-link in a piece of code. However, it currently requires the user to select some link from a list of store links. If I always want to select the last one -- that is, the default option --, how can I bypass the required RET? I can do this: (execute-kbd-macro

Re: [O] Buffer local alias?

2014-01-14 Thread Andreas Leha
t...@tsdye.com (Thomas S. Dye) writes: Bastien b...@gnu.org writes: Nick Dokos ndo...@gmail.com writes: Use fboundp, instead of boundp: the latter checks the variable binding slot, whereas the former checks the function binding slot. Also, I thought sbe was unknown enough to rename it

Re: [O] Change section (headings) numbering style

2014-01-14 Thread Axel E. Retif
On 01/14/2014 06:43 AM, Vladimir Lomov wrote: [...] I can suggest CSS way to accomplish this. [...] It works! Thank you very much! I have to export separately the arabic-numbered and alpha-numbered parts, but that's all right. Thanks again! Axel

Re: [O] Italicise block of text

2014-01-14 Thread Alexander Baier
On 2014-01-14 19:45 Roger Mason wrote: Hello, Is there a way to italicise a block of text rather that just single words? (org-mode 8.0.3). Thanks, Roger Does this work? /This is a block of text./ /This is a block of text./ /This is a block of text./ HTH, -- Alexander Baier

Re: [O] python :session does return

2014-01-14 Thread John Hendy
On Tue, Jan 14, 2014 at 7:38 AM, Ken Mankoff mank...@gmail.com wrote: I've seen various historical issues with :session but it seems I may have a different problem. This is the latest org in emacs 24.3. If I do not have :session, then everything works just fine. This sounded familiar to me,

Re: [O] Angular brackets break LaTex environment in html-export

2014-01-14 Thread Vladimir Lomov
Hello, ** Axel [2014-01-14 20:00:58 +0100]: Hi, When I use angular brackets in a LaTeX environment, sometimes they break the mathjax-rendering when exported to html/Rhtml (See example below). Export into LaTeX-pdf works fine in all cases, but export into html fails without whitespaces. Is

Re: [O] Buffer local alias?

2014-01-14 Thread Thomas S. Dye
Aloha Andreas, Andreas Leha andreas.l...@med.uni-goettingen.de writes: I am not as organized as Tom is. So the chances to use my up-to-date orgmode and successfully export any of my org documents from a year ago (they are almost all 'Literate Programming' documents and, thus, maybe more

[O] [PATCH] Fix org-outline-overlay-data marker insertion-type

2014-01-14 Thread Sylvain Chouleur
Hi all, here is a patch that fixes outline visibility saving. The root issue I've found is that when you call org-babel-execute-subtree on a folded outline, the result is shown visible so the visibility property is not well kept. The root cause is the markers used by org-outline-overlay-data to

[O] using lightbox plugins in HTML export

2014-01-14 Thread Peter Salazar
Does anyone know of a lightbox-style plug-in that will work with org-mode HTML export that will automatically, on click, expand images to fill the screen, i.e. one doesn't require me to manually add an href and rel=lightbox manually to each image? (Most lightbox-style plugins require you to not

Re: [O] Adding a new column in the agenda view

2014-01-14 Thread Marcelo de Moraes Serpa
Thanks Bastien! Is org-agenda-filter-by-top-headline a new func? I can't find it in org 7.9.4. Thanks, On Tue, Jan 14, 2014 at 9:26 AM, Bastien b...@gnu.org wrote: Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com writes: I'd like to add a new column to display some information

[O] Automatically add a repeater when scheduling

2014-01-14 Thread Marcelo de Moraes Serpa
Hey list, Does org allow automatically adding a repeater (say, +1d) to a schedule when adding it with C-c C-s? If not, I think it wouldn't be so hard to monkeypatch the method to do so, would it? Thanks, -- Marcelo.

[O] Add legacy time tracking as CLOCK entries

2014-01-14 Thread Richard Walker
Hi, while I've been using org-mode for some time, I'm now working on a project where I've decided to use the time-tracking functions. But I've got some legacy time on the project that I would like to incorporate. I.e., I have in my (paper) log book a record of (say) half an hour spent on a certain