[O] new (LaTeX) exporter and date formatting

2012-05-23 Thread Andreas Leha
Hi all, I am exporting a document containing dates like this inactive one [2011-10-17 Mo]. I do not want to change the displaying of dates in org mode (as that breaks indentation and point movement). But I'd like this to be exported as "Mo, 17.10.2011". How do I do that? I found , | org-e-

Re: [O] How to get "Wrap at Window Edge" in org-mode?

2012-05-23 Thread Carsten Dominik
On May 22, 2012, at 7:21 PM, Bastien wrote: > Hi Marius, > > Marius Hofert writes: > >> I am working with Xubuntu 12.04 on a MacBook Air (4,1) with org-mode version >> 7.8.09. I use the following code to get "Wrap at Window Edge" in >> org-agenda-mode: >> >> , >> | (add-hook 'org-agenda-m

[O] Problem with org-agenda-custom-commands after update to 7.8.10

2012-05-23 Thread Loris Bennett
Hi, I have just updated to 7.8.10 from the last stable version and now find that whereas (tags-todo "+office+CATEGORY=\"task\"|+office+CATEGORY=\"project\"" ((org-agenda-overriding-header "Office TODOs"))) used to work, it now no longer does. The section "Office TODOs" ap

[O] new LaTeX exporter hook

2012-05-23 Thread Andreas Leha
Hi all, the new LaTeX exporter does not seem to "run" the org-export-latex-final-hook. Is there an equivalent? Cheers, Andreas

[O] Problem Installing Info Files

2012-05-23 Thread Ian Barton
When I run make install I am getting the following error: make -C doc install make[1]: Entering directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc' if [ ! -d ~/.emacs.d/src/info ]; then mkdir -p ~/.emacs.d/src/info; else true; fi ; install -p org ~/.emacs.d/src/info install-info --infodir=~

Re: [O] Problem with org-agenda-custom-commands after update to 7.8.10

2012-05-23 Thread Bastien
Hi Loris, "Loris Bennett" writes: > I have just updated to 7.8.10 from the last stable version and now find > that whereas > > (tags-todo "+office+CATEGORY=\"task\"|+office+CATEGORY=\"project\"" > ((org-agenda-overriding-header "Office TODOs"))) > > used to work, it now no

Re: [O] Strange Custom Agenda Problem

2012-05-23 Thread Bastien
Hi Mike, Mike McLean writes: > I have attached a minimal Org Mode setup that replicates this > problem. The files are minimal-org.el and test.org. The lisp file is > the minimum configuration for org-mode and the org-file is a > simplified test file. Thanks a lot for this. I finally fixed th

Re: [O] Strange Custom Agenda Problem

2012-05-23 Thread Bastien
Hi Laurynas, Laurynas Biveinis writes: > I am also experiencing strange issues with custom agenda commands > after I upgraded to 7.8.10 (not sure if from 7.8.09 - I might have > skipped a version or two). > > In my case the negative tag selection stopped working in tags-todo. For > example, > "

Re: [O] Using Org for a dissertation - appendices

2012-05-23 Thread Bastien
Hi Suvayu, suvayu ali writes: > On Mon, May 21, 2012 at 9:08 AM, Henri-Paul Indiogine > wrote: >> The LaTeX export of course does not know the that last chapter should >> contain the appendices.  I have tried to insert several LaTeX commands >> in the orgmode file, but I could not make it work.

Re: [O] Problem Installing Info Files

2012-05-23 Thread Jude DaShiell
Try: sudo make .install-info while in the org directory and see what happens. On Wed, 23 May 2012, Ian Barton wrote: > When I run make install I am getting the following error: > > make -C doc install > make[1]: Entering directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc' > if [ ! -d ~/.emac

Re: [O] Using Org for a dissertation - appendices

2012-05-23 Thread suvayu ali
Hi Bastien, On Wed, May 23, 2012 at 12:19 PM, Bastien wrote: >> >> > > If there is anything useful from the link above that should > be added to Worg, pleas

Re: [O] Problem Installing Info Files

2012-05-23 Thread Ian Barton
On 23/05/12 11:19, Jude DaShiell wrote: Try: sudo make .install-info while in the org directory and see what happens. On Wed, 23 May 2012, Ian Barton wrote: When I run make install I am getting the following error: make -C doc install make[1]: Entering directory `/home/ian/Dropbox/.emacs.d/src

Re: [O] Problem Installing Info Files

2012-05-23 Thread suvayu ali
Hello Ian, On Wed, May 23, 2012 at 12:11 PM, Ian Barton wrote: > from the directory containing org gives the following error: > > ~/.emacs.d/src/info/dir: could not read (No such file or directory) and > could not create (No such file or directory) I think your info setup is a bit different. It

Re: [O] Strange Custom Agenda Problem

2012-05-23 Thread Mike McLean
On May 23, 2012, at 6:17 AM, Bastien wrote: > Hi Mike, > > Mike McLean writes: > >> I have attached a minimal Org Mode setup that replicates this >> problem. The files are minimal-org.el and test.org. The lisp file is >> the minimum configuration for org-mode and the org-file is a >> simplified

Re: [O] new LaTeX exporter hook

2012-05-23 Thread Jambunathan K
Andreas Leha writes: > Hi all, > > the new LaTeX exporter does not seem to "run" the > org-export-latex-final-hook. Is there an equivalent? You are looking for `:filter-final-output' within `org-export-filters-alist'. I have defcustom that runs indent-region on final html output. Here is the

Re: [O] HTML export of inline tasks

2012-05-23 Thread Jambunathan K
Manish writes: > Out of curiosity I tried ODT export and that produces weird results for > inlinetasks. Does it work for you? Provide an example. I will fix it. --

[O] doi proxy , a test patch

2012-05-23 Thread Fabrice Pardo
Hi, My institution library permits direct access to abstracts with pdf contents if we access to article through an address like http://dx.doi.org.my.instituti.on/... instead of http://dx.doi.org/... In the attached patch, I have defined a new variable org-doi-proxy which can be customized by t

Re: [O] Comments break lists when exporting to TeX

2012-05-23 Thread Nicolas Goaziou
Hello, Daniel Schoepe writes: > while trying to include a source file in a list element via #+INCLUDE, I > discovered the following behavior: A comment between two list elements breaks > the list into two lists when exporting. For example: > > * Test > - This is a list element. > # This isn't.

Re: [O] doi proxy , a test patch

2012-05-23 Thread Jambunathan K
Is there a way one can avoid the defcustom and achieve the same effect using link abbreviations? I don't know. (info "(org) Link abbreviations") Fabrice Pardo writes: > Hi, > > My institution library permits direct access to abstracts > with pdf contents if we access to article through an a

Re: [O] Strange Custom Agenda Problem

2012-05-23 Thread Bastien
Mike McLean writes: > Thanks for the fix. You're welcome. > I really need to start leaning the Org-Mode code base, especially > seeing how simple this fix was. The fix was easy but finding the problem was not, because I assumed the existing regexp (prior to commit c50f0c) was okay while it wa

Re: [O] new LaTeX exporter hook

2012-05-23 Thread Nicolas Goaziou
Hello, Jambunathan K writes: > Andreas Leha writes: > >> the new LaTeX exporter does not seem to "run" the >> org-export-latex-final-hook. Is there an equivalent? > > You are looking for `:filter-final-output' within > `org-export-filters-alist'. > > I have defcustom that runs indent-region on

Re: [O] Comments break lists when exporting to TeX

2012-05-23 Thread Daniel Schoepe
On Wed, 23.05.2012 14:21, Nicolas Goaziou wrote: > At the moment you insert text at column 0, the list ends. You can use > inline comments (i.e. #+ This isn't) instead. This however, does not solve my original problem, since it doesn't work with #+INCLUDE (with version 7.8.09): * Test - This w

Re: [O] doi proxy , a test patch

2012-05-23 Thread Christian Moe
I think so. I find DOI links simplify life a great deal in any case: (setq org-link-abbrev-alist '(("doi" . "http://dx.doi.org/";))) e.g. doi:10.1016/j.jphysparis.2011.09.011 (Simply replace "dx.doi.org" with any privileged access point your institution might have) Yours, Christian

[O] Adding Easy Templates

2012-05-23 Thread Daniel E . Doherty
All, I really like the Easy Template facility, and would like to add some of my own. However, I am having trouble with the elisp syntax. I would like to add a couple in my init file, but am having no luck. Here is what I have now: = (eval-after-load 'org (progn

Re: [O] new (LaTeX) exporter and date formatting

2012-05-23 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > I am exporting a document containing dates like this inactive one > [2011-10-17 Mo]. > > I do not want to change the displaying of dates in org mode (as that > breaks indentation and point movement). But I'd like this to be > exported as "Mo, 17.10.2011". How do I

Re: [O] Adding Easy Templates

2012-05-23 Thread Carsten Dominik
Hi Daniel, you need to quote the entire form, i.e. the progn; (eval-after-load 'org '(progn (add-to-list 'org-structure-template-alist '("m" "#+begin_src emacs-lisp\n?\n#+end_src")) (add-to-list 'org-structure-template-alist '("j" "#+begin_quote\

Re: [O] Adding Easy Templates

2012-05-23 Thread Nick Dokos
Daniel E. Doherty wrote: > I have also tried this: > = > (eval-after-load 'org > (progn > (add-to-list 'org-structure-template-alist >'("m" "#+begin_src emacs-lisp\n?\n#+end_src")) > (add-to-list 'org-structure-template-alist >

Re: [O] Problem Installing Info Files

2012-05-23 Thread Ian Barton
On 23/05/12 11:35, suvayu ali wrote: Hello Ian, On Wed, May 23, 2012 at 12:11 PM, Ian Barton wrote: from the directory containing org gives the following error: ~/.emacs.d/src/info/dir: could not read (No such file or directory) and could not create (No such file or directory) I think your

Re: [O] Adding Easy Templates

2012-05-23 Thread Carsten Dominik
On May 23, 2012, at 3:28 PM, Carsten Dominik wrote: > Hi Daniel, > > you need to quote the entire form, i.e. the progn; > > (eval-after-load 'org > '(progn > (add-to-list 'org-structure-template-alist > '("m" "#+begin_src emacs-lisp\n?\n#+end_src")) > (add-to-list 'or

Re: [O] Comments break lists when exporting to TeX

2012-05-23 Thread Nicolas Goaziou
Hello, Daniel Schoepe writes: > * Test > - This will not indent the code properly as a part of the list element > #+INCLUDE foo.c src c > - This will print "#+INCLUDE .." literally: > #+INCLUDE foo.c src c > - This works as expected: > #+BEGIN_SRC c > > #+END_SRC This should be

Re: [O] doi proxy , a test patch

2012-05-23 Thread Fabrice Pardo
Does it really achieve the same effect ? Don't you need to use double square bracket eg [[doi:10.1016/j.jphysparis.2011.09.011]] instead of doi:10.1016/j.jphysparis.2011.09.011 ? If I'm wrong please correct me, I'm a newbie. My proposal is to customize the already defined doi External link, whic

Re: [O] Strange Custom Agenda Problem

2012-05-23 Thread Laurynas Biveinis
2012/5/23 Bastien : >> In my case the negative tag selection stopped working in tags-todo. For >> example, >> "project-somedaymaybe/!TODO" >> works as if it were >> "project+somedaymaybe/!TODO" > > this should be fixed now -- please have a pull and let me know. I did and can confirm the fix. Than

Re: [O] doi proxy , a test patch

2012-05-23 Thread Christian Moe
Uhhh... no, it doesn't. Sorry about the noise! (I've had that customization for a long time, and don't think I noticed that a hardcoded doi link type was introduced, so I didn't even test before posting.) Yours, Christian On 5/23/12 5:12 PM, Fabrice Pardo wrote: Does it really achieve the s

Re: [O] Adding Easy Templates

2012-05-23 Thread Daniel E . Doherty
Gentlemen: For the record, I combined Carsten and Nick's suggestion, so here is what I now have in my init file, and it works: #+begin_src emacs-lisp (eval-after-load 'org '(progn (add-to-list 'org-structure-template-alist '("m" "#+begin_src emacs-lisp\n?\n#+end_sr

Re: [O] doi proxy , a test patch

2012-05-23 Thread Jambunathan K
I know nothing about doi services. From what you say, the proxy servers are not inter-changeable. For the sake of argument - Can a given Org document contain links to two different doi proxies? In that case will a defcustom help. Fabrice Pardo writes: > Does it really achieve the same effec

[O] PATCH: follow timestamp link also in heading

2012-05-23 Thread Ingo Lohmar
Hi there, I stumbled upon the functionality to open the agenda for a timestamp using org-open-at-point. That is really sweet, but as it turns out, it does not work in a headline (as of 7.8.10, with no changes to the relevant code since then). I cannot see a good reason for this, and it is a one-

[O] Comments and control lines (# vs. #+)

2012-05-23 Thread Samuel Wales
The following, which is general and I wrote a long time ago, might also be relevant to the recent thread on comments breaking lists. === There might be really good reasons for the #+ comment convention in Org, but I am not sure what they are. So please bear with me. This list is not complete or

Re: [O] PATCH: follow timestamp link also in heading

2012-05-23 Thread Ingo Lohmar
Dammit. Should work (as in normal text) with inactive timestamps as well! See below. --- a/lisp/org.el +++ b/lisp/org.el @@ -9606,6 +9606,7 @@ (org-remove-occur-highlights nil nil t) (cond ((and (org-at-heading-p) +(not (org-at-timestamp-p t)) (not (org-in-regexp

[O] links in comments and footnotes

2012-05-23 Thread Samuel Wales
Apropos of a recent thread, how do you get links to show in Org files when they are part of comments? They take on comment face at present, making it not possible to determine that they are comments. Same thing with footnotes. Thanks, Samuel -- The Kafka Pandemic: http://thekafkapandemic.blog

Re: [O] links in comments and footnotes

2012-05-23 Thread Samuel Wales
On 5/23/12, Samuel Wales wrote: > making it not possible to determine that they are comments. s/comments/links/ -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Re: [O] links in comments and footnotes

2012-05-23 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > Apropos of a recent thread, how do you get links to show in Org files > when they are part of comments? They take on comment face at present, > making it not possible to determine that they are comments. > > Same thing with footnotes. I'm not sure to understand th

Re: [O] links in comments and footnotes

2012-05-23 Thread Samuel Wales
When I comment something that has a link, the link stops being in link face. When I kill a link and yank it into a footnote, the link stops being in link face. I want that not to happen if possible. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Re: [O] links in comments and footnotes

2012-05-23 Thread Samuel Wales
Click on a link in a comment and you get surprised. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Re: [O] links in comments and footnotes

2012-05-23 Thread Nicolas Goaziou
Samuel Wales writes: > When I comment something that has a link, the link stops being in link > face. That's normal. If it's commented, the link shouldn't be recognized anymore (but I suppose it sill is) > When I kill a link and yank it into a footnote, the link stops being > in link face. Tha

[O] Rounding timeclock and moving to the end of the line

2012-05-23 Thread Kevin Buchs
Hello group. This is my first contribution to this email list. Having a need to do my clocking in 1/4-hour multiples, I went and fully implemented my own solution in org-mode BEFORE I realized that org-mode was already set up to do it - it was just not completely implemented. I needed to change a

[O] Losing tabs when tangling or editing

2012-05-23 Thread Michael Hannon
Greetings.  I was trying to set up a little demo in which I included a Makefile inside a "sh" source-code block in an Org-mode file, then tangled the file and ran "make" on the tangled file (either in the actual shell or in another sh block in Org). It appears that Org is removing tabs when it tan

Re: [O] new (LaTeX) exporter and date formatting

2012-05-23 Thread Andreas Leha
Hi Nicolas, >> I am exporting a document containing dates like this inactive one >> [2011-10-17 Mo]. >> >> I do not want to change the displaying of dates in org mode (as that >> breaks indentation and point movement). But I'd like this to be >> exported as "Mo, 17.10.2011". How do I do that? >>

Re: [O] new LaTeX exporter hook

2012-05-23 Thread Andreas Leha
Hi Jambunathan and Nicolas, >>> the new LaTeX exporter does not seem to "run" the >>> org-export-latex-final-hook. Is there an equivalent? >> >> You are looking for `:filter-final-output' within >> `org-export-filters-alist'. >> [...] > > Example follows: > > #+begin_src emacs-lisp > (defun my

[O] preview latex fragments

2012-05-23 Thread Andreas Leha
Hi all, I experience a problem with the preview of latex fragments: I can not change the foreground color (in org-format-latex-options). On a dark background, the black fragments are barely visible. The settings for background and scale (in the same variable) are honored, though. Is this a bug

Re: [O] Entities

2012-05-23 Thread Nicolas Goaziou
Hello, "Mark E. Shoulson" writes: > There's a small bug in rendering the entities when org-pretty-entities > is on (I get the feeling that org-pretty-entities is not a very > commonly-used feature). The entities \sup1 \sup2 \sup3 and \there4 are > not rendered properly. The regex detecting entit

Re: [O] [PATCH] Re: Can't make org-install.el

2012-05-23 Thread Achim Gratz
Sebastien Vauban writes: > Though, after restarting Emacs, I do have: > > File mode specification error: (void-function org-find-library-dir) Could you please specify how to elicit that particular message from an 'emacs -Q -nw' session? > I see that there is no autoload cookie for it in `org-comp

Re: [O] "Smart" quotes

2012-05-23 Thread Nicolas Goaziou
Hello, "Mark E. Shoulson" writes: > "Smart" quotes can be annoying when they aren't smart enough. But when > they work you can miss them. I'm attaching a patch that defines a > custom variable org-smart-quotes (nil by default), which when non-nil > causes the " and ' characters to display as “s

Re: [O] Problem Installing Info Files

2012-05-23 Thread Achim Gratz
Ian Barton writes: > I have found the problem, the clue was in the error message:) When I > was using Debian/Ubuntu I got fed up of trying to get the info file to > install in the "correct" place. Using a large bit of duck tape, I put > it in: [...] > Since this isn't an info directory it doesn't c

[O] [PATCH] Fix for displaying entities ending in a number

2012-05-23 Thread Mark E. Shoulson
On 05/23/2012 05:53 PM, Nicolas Goaziou wrote: Hello, "Mark E. Shoulson" writes: There's a small bug in rendering the entities when org-pretty-entities is on (I get the feeling that org-pretty-entities is not a very commonly-used feature). The entities \sup1 \sup2 \sup3 and \there4 are not re

[O] [PATCH] Add entities for /, +, _, =

2012-05-23 Thread Mark E. Shoulson
On 05/23/2012 05:53 PM, Nicolas Goaziou wrote: Hello, "Mark E. Shoulson" writes: Also attached is another patch that might or might not be useful. Sometimes it can be a problem when you can't type, say, asterisks around a word when you NEED asterisks around the word, not a boldface word (I'd b

Re: [O] "Smart" quotes

2012-05-23 Thread Mark E. Shoulson
On 05/23/2012 06:17 PM, Nicolas Goaziou wrote: Hello, "Mark E. Shoulson" writes: "Smart" quotes can be annoying when they aren't smart enough. But when they work you can miss them. I'm attaching a patch that defines a custom variable org-smart-quotes (nil by default), which when non-nil caus

Re: [O] makefile regression

2012-05-23 Thread Achim Gratz
Greg Troxel writes: > and it seems recent changes have required beyond-POSIX-make features. GNU make is (and actually always was) required for the Makefile to fully work. > This seems unfortunate; I don't understand why building org has to be so > complicated. If it is complicated, it seems best

[O] Drupal syntax on html-export for image links

2012-05-23 Thread William Crandall
Hello, I'm drafting pages for publication on a Drupal website. I've set up a draft-review cycle using Org-mode and some simplified CSS, for a light-weight type-and-read process. When I'm happy with the text, I'd like to cut-and-paste from the generated html output directly into Drupal. Links to