Re: [O] batch compiling problem
Apparently fixed in Org-mode version 8.3beta (release_8.3beta-1288-ga98553)
[O] batch compiling problem
Hi, as of recently I cannot convert org files to html on the commandline (though converting flawlessly works within emacs). Org-mode version 8.3beta (release_8.3beta-1274-gc76fef The error message is: Symbol's value as variable is void: cl-struct-cl-structure-object-tags Makefile:10: recipe for target 'sheet' failed make: *** [sheet] Error 255 The according makefile recipe is: sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish touch $(HOME)/misc/horg/ledger-queries.org emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish "org")' And the batch file: --8<---cut here---start->8--- ;; -*- mode: emacs-lisp -*- (let* ((my-lisp-dir "~/dummy_layer/rechner/emacs+/") (default-directory my-lisp-dir) (orig-load-path load-path)) (setq load-path (cons my-lisp-dir nil)) (normal-top-level-add-subdirs-to-load-path) (nconc load-path orig-load-path)) (require 'org) ;;setup (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (dot . t) (ledger . t) (shell . t) (gnuplot . t) (latex . t))) ;; I don't want to be prompted on every code block evaluation (setq org-confirm-babel-evaluate nil) (setq org-export-allow-BIND t org-export-creator-info nil org-html-creator-string "" org-html-date-format-string "%d/%m/%Y %R" org-html-postamble nil) (setq org-publish-project-alist '(("org" :base-directory "~/misc/horg/" :publishing-directory "~/misc/public" :section-numbers nil ; :table-of-contents t ; :html-preamble nil :publishing-function org-html-publish-to-html :style "") ("org-static" :base-directory "~/misc/horg/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/misc/public/" :recursive t :publishing-function org-publish-attachment ) )) ;(org-src-fontify-natively t) --8<---cut here---end--->8--- henry
Re: [O] orgmode batch publishing failure
> henry atting writes: > >> org-mode version 8.3beta (release_8.3beta-581-g0e52f0) >> >> After updating orgmode from git batch publishing does not work anymore, >> the error message says: >> >> Autoloading failed to define function time-add >> >> The according part of Makefile >> >> >> sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish >> touch $(HOME)/misc/horg/ledger-queries.org >> emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish >> "org")' >> > > For problems like this, I try doing it without --batch. Start emacs: > > emacs -Q -l $(HOME)/.org_batch_publish > > turn on debug-on-error and then eval (org-publish "org"). This worked flawlessly without any error... > time-add is defined in time-date.el which is required by org.el, so I'm > not sure why you are getting this. The backtrace (assuming you get one) > might shed some more light. > > There have been situations where I get the error with --batch but not > without. These cases are more difficult to debug unfortunately. > I could not track down the exact cause of this misbehaviour but I did assume that it had something to with my migration from emacs 24* to 25*, most probably some wrong lisp/etc directories. I removed everything and built emacs anew, now it works again as expected. > Nick Thanks, henry
[O] orgmode batch publishing failure
org-mode version 8.3beta (release_8.3beta-581-g0e52f0) After updating orgmode from git batch publishing does not work anymore, the error message says: Autoloading failed to define function time-add The according part of Makefile --8<---cut here---start->8--- sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish touch $(HOME)/misc/horg/ledger-queries.org emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish "org")' --8<---cut here---end--->8--- .org_batch_publish --8<---cut here---start->8--- ;; -*- mode: emacs-lisp -*- (let* ((my-lisp-dir "~/dummy_layer/rechner/emacs+/") (default-directory my-lisp-dir) (orig-load-path load-path)) (setq load-path (cons my-lisp-dir nil)) (normal-top-level-add-subdirs-to-load-path) (nconc load-path orig-load-path)) (require 'org) ;;setup (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (dot . t) (ditaa . t) (awk . t) (ledger . t) (python . t) (shell . t) (gnuplot . t) (latex . t))) ;; I don't want to be prompted on every code block evaluation (setq org-confirm-babel-evaluate nil) (setq org-export-allow-BIND t org-export-creator-info nil org-html-creator-string "" org-html-date-format-string "%d/%m/%Y %R" org-html-postamble nil) (setq org-publish-project-alist '(("org" :base-directory "~/misc/horg/" :publishing-directory "~/misc/public" :section-numbers nil ; :table-of-contents t ; :html-preamble nil :publishing-function org-html-publish-to-html :style "") ("org-static" :base-directory "~/misc/horg/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/misc/public/" :recursive t :publishing-function org-publish-attachment ) )) --8<---cut here---end--->8---
Re: [O] org-export and browse-url-browser-function
> Hi Henry, > > henry atting writes: > >> What I really would appreciate is if orgmode took care of >> `browse-url-browser-function' (which is set to `browse-url-firefox'.) >> Which it usually does (in *.org files) but not while exporting. > > See this docstring > > C-h f org-open-file RET > > and check C-h v org-file-apps RET to configure this. Thanks, Bastien; that's what I was looking for.
[O] org-export and browse-url-browser-function
When exporting some org file to html with `C-c C-e h o' orgmode always wants to open the html file with `sensible-browser'. Since my two (graphic) browsers reside in ~/bin I have no alternatives for sensible-browser. Which is fine by me. I don't want to change this. What I really would appreciate is if orgmode took care of `browse-url-browser-function' (which is set to `browse-url-firefox'.) Which it usually does (in *.org files) but not while exporting.
Re: [O] [Orgmode] POLL: the 40 variables project
> Manish writes: > >> manishsharma:org-mode/ (master) $ grep defcustom lisp/*el |wc -l >> 808 > > Ouch. That's nearly half of the 1792 Emacs options! > > It certainly says something, but I don't know what :) Maybe it says it's still a long way to go ;) cd gnus_git && grep defcustom lisp/*.el | wc -l 1204
Re: [O] error message at line break
henry atting writes: > Nicolas Goaziou writes: > >> Hello, >> >> henry atting writes: >> >>> Okay, say I have an org file with two lines in it (fill-column is set to >>> 70). Here you go: >>> >>> >>> Jemand mußte Josef K. verleumdet haben, denn ohne daß er etwas Boeses >>> getan haette, wurde er eines Morgens verhaftet. Die Koechin der Frau >>> >>> >>> Then you go on with the text, which is: >>> >>> Grubach, seiner Zimmervermieterin, die ihm jeden Tag gegen acht Uhr frueh >>> das Fruehstueck brachte,... >>> >>> At each automatic line skip I get the mentioned error message. But if >>> you indent these two lines one space everything works fine. >> >> Strange, I still cannot reproduce it. >> > Strange, in deed. I can reproduce it even this way: > > 1. Start emacs with `emacs -Q' > 2. Add my org directory to the load path > 3. Load org-mode > 4. Then type the above quoted beginning of Kafka's Prozess > Finally... the culprit was: (setq-default auto-fill-function 'do-auto-fill) A very old setting in my ~/.emacs. Now that I start auto-fill with the appropriate hook everythings works fine. henry
Re: [O] error message at line break
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> Okay, say I have an org file with two lines in it (fill-column is set to >> 70). Here you go: >> >> >> Jemand mußte Josef K. verleumdet haben, denn ohne daß er etwas Boeses >> getan haette, wurde er eines Morgens verhaftet. Die Koechin der Frau >> >> >> Then you go on with the text, which is: >> >> Grubach, seiner Zimmervermieterin, die ihm jeden Tag gegen acht Uhr frueh >> das Fruehstueck brachte,... >> >> At each automatic line skip I get the mentioned error message. But if >> you indent these two lines one space everything works fine. > > Strange, I still cannot reproduce it. > Strange, in deed. I can reproduce it even this way: 1. Start emacs with `emacs -Q' 2. Add my org directory to the load path 3. Load org-mode 4. Then type the above quoted beginning of Kafka's Prozess > Regards, Greetings henry
Re: [O] error message at line break
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> It happens with each org file without header when you do not indent >> the first two lines at least one space. > > Could you provide an ECM? > Okay, say I have an org file with two lines in it (fill-column is set to 70). Here you go: --8<---cut here---start->8--- Jemand mußte Josef K. verleumdet haben, denn ohne daß er etwas Boeses getan haette, wurde er eines Morgens verhaftet. Die Koechin der Frau --8<---cut here---end--->8--- Then you go on with the text, which is: Grubach, seiner Zimmervermieterin, die ihm jeden Tag gegen acht Uhr frueh das Fruehstueck brachte,... At each automatic line skip I get the mentioned error message. But if you indent these two lines one space everything works fine. > > Regards, Regards, henry
Re: [O] error message at line break
henry atting writes: > Nicolas Goaziou writes: > >> Hello, >> >> henry atting writes: >> >>> When writing at every automatic break at the end of a line I get this >>> error message: >>> >>> org-comment-line-break-function: Wrong type argument: char-or-string-p, >>> nil >>> >>> It doesn't hurt much though it's a bit annoying. >>> >>> Org-mode version 8.1.1 (release_8.1.1-7-gaecdf5-git) >> >> I cannot reproduce the problem. Could you check your installation? >> > Ah, I see, it has something to do with org-tree-slide. I start > tree-slide as default with a hook and disable it when I work on an org > file. > As this problem is very special I will not explain it further (but if > someone is interested I will do so) > I'm sorry my mistake. This has nothing to do with tree-slide. It happens with each org file without header when you do not indent the first two lines at least one space. Regards, henry
Re: [O] error message at line break
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> When writing at every automatic break at the end of a line I get this >> error message: >> >> org-comment-line-break-function: Wrong type argument: char-or-string-p, >> nil >> >> It doesn't hurt much though it's a bit annoying. >> >> Org-mode version 8.1.1 (release_8.1.1-7-gaecdf5-git) > > I cannot reproduce the problem. Could you check your installation? > Ah, I see, it has something to do with org-tree-slide. I start tree-slide as default with a hook and disable it when I work on an org file. As this problem is very special I will not explain it further (but if someone is interested I will do so) > Regards, Greetings, henry
[O] error message at line break
When writing at every automatic break at the end of a line I get this error message: org-comment-line-break-function: Wrong type argument: char-or-string-p, nil It doesn't hurt much though it's a bit annoying. Org-mode version 8.1.1 (release_8.1.1-7-gaecdf5-git) Greetings, henry
Re: [O] text before toc in html export
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> As the export option `#+TEXT:' is completely ignored I assume that >> something has changed. What is now the correct way to insert some >> descriptive text before the toc? > > By default (i.e. with :toc option), TOC is included at the beginning of > the document. You just need to move TOC elsewhere. See #+TOC keyword > documentation in the manual. > > > Regards, Thanks; did search in the wrong place henry -- web: http://literaturlatenight.de jabberID: att...@jabber.at
[O] text before toc in html export
As the export option `#+TEXT:' is completely ignored I assume that something has changed. What is now the correct way to insert some descriptive text before the toc? I'm using org from git: Org-mode version 8.0.3 (release_8.0.3-324-gb61ef4) -- web: http://literaturlatenight.de jabberID: att...@jabber.at
Re: [O] [new exporter] blank html page with org-info.js
Hi Bastien, Bastien writes: > Hi Henry, > > henry atting writes: > >>> When was the last pull exactly? I fixed some issues recently in >>> this area, the first versions of ox-html.el were not compatible >>> with org-info.js. >>> >>> So what is M-x org-version RET exactly? >> >> Org-mode version 8.0-pre (release_8.0-pre-5-ga646a2) > > This is now fixed, thanks! Great! For me personally the switch to the new exporter is kind of hard but on the other hand it is not to difficult to imagine that it might be a lot harder for you; so... many thanks. -- henry atts, web: http://literaturlatenight.de
Re: [O] [new exporter] blank html page with org-info.js
Bastien writes: > Hi Henry, > > henry atting writes: > >> But the file is not displayed, as mentioned before only in text >> browsers. Older .html files, created before the last pull still work >> properly. > > When was the last pull exactly? I fixed some issues recently in > this area, the first versions of ox-html.el were not compatible > with org-info.js. > > So what is M-x org-version RET exactly? Org-mode version 8.0-pre (release_8.0-pre-5-ga646a2) > Thanks! -- henry atts, web: http://literaturlatenight.de
Re: [O] [new exporter] headline export to LaTeX
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> Since the last pull (release_7.9.3f-1205-g0030e1) headlines are exported >> to LaTeX like this: >> >> \subsection*[Headline]{Headline} >> >> which does not produce proper headlines in the resulting pdf. > > It should be fixed now. Thank you. Yes, thank you. Regards, -- henry atts, web: http://literaturlatenight.de
[O] [new exporter] headline export to LaTeX
Since the last pull (release_7.9.3f-1205-g0030e1) headlines are exported to LaTeX like this: \subsection*[Headline]{Headline} which does not produce proper headlines in the resulting pdf. Regards, -- henry, web: http://literaturlatenight.de
Re: [O] [new exporter] 2 questions
Nicolas Goaziou writes: > henry atting writes: > >> Nicolas Goaziou writes: >> >>> henry atting writes: >>> >>>> Here is a minimal example. I use lualatex as tex engine. >>>> >>>> #+TITLE: lorem ipsum >>>> #+LANGUAGE: de >>>> #+LaTeX_CLASS: scrartcl >>>> #+LaTeX_CLASS_OPTIONS: [DIV=8,a4paper] >>>> #+LaTeX_HEADER: \usepackage{fontspec} >>>> >>>> #+attr_latex: :options "{2}" >>>> #+begin_multicols >>>> >>>> * Lorem ipsum >>> >>> [...] >>> >>> You can't have a headline within a block. >>> >>> >>> Regards, >> >> Thanks. >> Then the consequence is that I have to edit the .tex file manually which >> I did not have to do with the previous exporter. > > Or you may use: > > #+latex: \begin{multicols}{2} > > * Headline > > #+latex: \end{multicols} > > > Regards, Great! Thanks again. -- henry atts, web: http://literaturlatenight.de
Re: [O] [new exporter] 2 questions
Nicolas Goaziou writes: > henry atting writes: > >> Nicolas Goaziou writes: >>> Try: >>> >>> #+attr_latex: :options "{2}" >>> #+begin_multicols >>> ... >>> #+end_multicols >> >> It creates this command in the .tex file: >> >> \#+begin$_\mathrm{multicols}$ > > It works here. Difficult to say what is wrong in your buffer without > more context. Here is a minimal example. I use lualatex as tex engine. --8<---cut here---start->8--- #+TITLE: lorem ipsum #+LANGUAGE: de #+LaTeX_CLASS: scrartcl #+LaTeX_CLASS_OPTIONS: [DIV=8,a4paper] #+LaTeX_HEADER: \usepackage{fontspec} #+attr_latex: :options "{2}" #+begin_multicols * Lorem ipsum Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. begreift. #+end_multicols --8<---cut here---end--->8--- > >>> Be sure to (require 'ox-infojs) >>> >> >> This works fine but the correct spelling is (require 'ox-jsinfo) > > Actually, library "ox-jsinfo.el" provides both symbols. > > > Regards, Thanks, -- henry atts, web: http://literaturlatenight.de
Re: [O] [new exporter] 2 questions
Nicolas Goaziou writes: > henry atting writes: > >> Here is a minimal example. I use lualatex as tex engine. >> >> #+TITLE: lorem ipsum >> #+LANGUAGE: de >> #+LaTeX_CLASS: scrartcl >> #+LaTeX_CLASS_OPTIONS: [DIV=8,a4paper] >> #+LaTeX_HEADER: \usepackage{fontspec} >> >> #+attr_latex: :options "{2}" >> #+begin_multicols >> >> * Lorem ipsum > > [...] > > You can't have a headline within a block. > > > Regards, Thanks. Then the consequence is that I have to edit the .tex file manually which I did not have to do with the previous exporter. -- henry atts, web: http://literaturlatenight.de
Re: [O] [new exporter] 2 questions
Hi Nicolas, Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> The features are included, does this mean special block should work >> ``out of the box''? If so something like this >> >> #+begin_multicols {2} >> #+end_multicols >> >> should work in LaTeX export (as it did flawlessly with the previous >> exporter); - but it fails. > > Try: > > #+attr_latex: :options "{2}" > #+begin_multicols > ... > #+end_multicols It creates this command in the .tex file: \#+begin$_\mathrm{multicols}$ >> How do I invoke org-info.js now? `#+INFOJS_OPT:' does not work as >> expected so it must be obsolete, no? > > Be sure to (require 'ox-infojs) > This works fine but the correct spelling is (require 'ox-jsinfo) > There should be some completion for #+INFOJS_OPT keyword with M-TAB. > > > Regards, Thanks, -- henry atts, web: http://literaturlatenight.de
[O] [new exporter] 2 questions
I'm checking out the new exporter. After some configuration and file changes it works now, could be worse. http://article.gmane.org/gmane.emacs.orgmode/65574 says: > The `org-special-blocks.el' library, which has been moved to “contrib/”, > is obsolete since its features are included in the new export > framework. The features are included, does this mean special block should work ``out of the box''? If so something like this #+begin_multicols {2} #+end_multicols should work in LaTeX export (as it did flawlessly with the previous exporter); - but it fails. How do I invoke org-info.js now? `#+INFOJS_OPT:' does not work as expected so it must be obsolete, no? -- henry, web: http://literaturlatenight.de
Re: [O] org-publish broken?
Bastien writes: > Hi Henry, > > henry atting writes: > >> Since the last git pull: org-mode version 7.9.3e (7.9.3e-1016-g2fa53e) >> org-publish no longer works. Error message: >> >> Publishing file file.org `org-publish-org-to-html' >> org-publish-file: Symbol's function definition is void: >> org-publish-org-to-html > > Since you are using Org from the master branch, > you need to use org-html-publish-to-html from ox-html.el. > > This is one of the incompatible changes that comes with > merging the new exporter. > > Until 8.0 is released, I suggest publication should be > done from the maint branch. Otherwise you'll need to > update your configuration. Since exporting now works but not at all properly I will stick to the maint branch. > HTH, Thanks, -- henry, web: http://literaturlatenight.de demnaechst: http://literaturlatenight.de/blog/#sec-4 upcoming: http://literaturlatenight.de/blog/#sec-5
[O] org-publish broken?
Since the last git pull: org-mode version 7.9.3e (7.9.3e-1016-g2fa53e) org-publish no longer works. Error message: Publishing file file.org `org-publish-org-to-html' org-publish-file: Symbol's function definition is void: org-publish-org-to-html My (unchanged) settings: (setq org-publish-project-alist '(("org" :base-directory "~/horg/" :publishing-directory "~/public" :section-numbers nil :table-of-contents t :html-preamble nil :publishing-function org-publish-org-to-html :style "") ("org-static" :base-directory "~/horg/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/public/" :recursive t :publishing-function org-publish-attachment ) )) -- henry, web: http://literaturlatenight.de demnächst: http://literaturlatenight.de/blog/#sec-4 upcoming: http://literaturlatenight.de/blog/#sec-5
Re: [O] latex code block evaluation
Hi Sebastien, "Sebastien Vauban" writes: > Hi Henry, > > henry atting wrote: >> I have this latex code block: >> >> #+begin_src latex :file foo.pdf >> \documentclass{article} >> \begin{document} >> ...some text... >> \end{document} >> #+end_src >> >> After evaluation the resulting file looks like this: >> >> article ...some text... >> >> I do not understand this. As far as I know it is possible to define the >> latex documentclass within a code block. > > Could you be more explicit? Do you want to use that to pass parameters to the > LaTeX backend? If yes, why not using the "#+LaTeX:" directive (not sure > they're still supported with the exact same syntax as before -- I've not yet > merged my documents). And that brings us to the most important question: old > or new exporter? > > Eventually, can you send a real ECM, or your real use case? Ah, I see, I was unclear. In this case I simply want to evalutate this code block with `C-c C-c'. I do not use the orgmode LaTeX exporter, only the HTML exporter. Finally I will create org files with LaTeX code blocks which I will export to HTML. And that's all. HTML export works fine with the old or the new exporter. Though in this case it is not really indispensable I only was wondering why code block evalution does not work as expected. Why is `\documentclass{article}' not recognized properly? > Best regards, > Seb Greetings, henry
[O] latex code block evaluation
I have this latex code block: #+begin_src latex :file foo.pdf \documentclass{article} \begin{document} ...some text... \end{document} #+end_src After evaluation the resulting file looks like this: article ...some text... I do not understand this. As far as I know it is possible to define the latex documentclass within a code block. -- henry; http://literaturlatenight.de
Re: [O] org-tree-slide as default, sort of
Hi Takaaki, > I reproduced the first and the 3rd case you reported. > I think the following setting is better than using org-mode-hook. > > (add-hook 'find-file-hook > '(lambda () (when (eq major-mode 'org-mode) > > (org-tree-slide-mode > > When you call org-agenda, it will visit many org-files listed in > org-agenda-files. This is why multiple displaying of greeting message is > occurred. > But actually, the message should be a custom variable. > I'll change it, thanks! Great, thanks. > In my environment, I cannot reproduce the 2nd case. > Could you test again with the above setting? With the above setting it works fine now. > Finally, when org-tree-slide is active, org-publish will export > the narrowed tree only. If you want to export whole trees, > please turn off org-tree-slide temporarily. This is what I currently do. However the problem is if you publish a project with let's say 10 files then you will have to open all 10 and toggle org-tree-slice mode manually, given that you made changes on all 10 files. Or you evaluate (remove-hook 'find-file-hook ...) That said since I have no project with 10 files which I change all at once turning off org-tree-slide manually is sufficient for me. Thanks, henry -- http://literaturlatenight.de
Re: [O] org-tree-slide as default, sort of
Hi Takaaki, > [...] > How about the following setting? > > (add-hook 'org-mode-hook 'org-tree-slide-mode) > > If you have already tried the setting with the latest version of > org-tree-slide, > and also encountered issues, please let me know the details. > I'll try to reproduce and fix it. [...] Yes, this was exactly my setting. At first it breaks org-publish. If I export a file the resulting html file will only contain the first top level headline and the second, 3rd ... level headlines. All other top level headlines are ignored. Secondly it breaks gnus/message mode when started with a hook to load orgstruct mode like this: (add-hook 'message-mode-hook 'turn-on-orgstruct) When I want to write a new mail only an empty buffer opens with an error message something like `before first heading'. Thirdly I think org-tree-slide should ignore org-agenda or vice versa. When I open org-agenda frequently the org-tree-slide greeting message appears in the echo area. Maybe it slows it down... henry -- http://literaturlatenight.de
[O] org-tree-slide as default, sort of
I tried to make org-tree-slide work on every startup of an org file. Though I did not figure it for the best idea I set an orgmode hook. Now knowing some of the unwanted side effects this involves I know it actually is a bad idea. Is or will it be possible to set this on a per file basis? henry -- http://literaturlatenight.de
[O] disable html-preambler per file
I see that there is the option `html-preamble' but apparently it is not applicable on a per file basis. How can set org-export-html-preamble to nil for single files? cheers, henry
Re: [O] footnote placement
Bastien writes: > Hi Henry, > > henry atting writes: > >> how can I achieve that footnotes are inserted at the end of the top >> level headline? By default they are inserted at the end after a new >> headline ``footnotes''. > > I remember seeing a hack for this, but maybe my memory is wrong. > With Org's default features, you cannot. > >> Secondly how to prevent html export from altering the given >> position? > > I don't understand... what do you mean? Thanks Bastien. Okay, it is not possible by default. As a workaround I manually put the footnotes where I want them to be. So far so good, but when I export the file to html the footnotes are at the end of the html document anyway. Hence my second question. It would not bother me to change the footnotes' postion in the org file by hand if the org to html exporter would respect my changes. > Best, Cheers, henry
[O] footnote placement
Hi, how can I achieve that footnotes are inserted at the end of the top level headline? By default they are inserted at the end after a new headline ``footnotes''. Secondly how to prevent html export from altering the given position? henry
Re: [O] new html exporter
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> Only a single file. I understand that something like this will no work >> anymore with the new exporter. >> >> #+SETUPFILE: /home/me/.setup.org > > It's #+SETUP_FILE: in the new exporter. Okay, then it applies the `#+STYLE:' option from the setup file but not the path to org-info.js set in `#+INFOJS_OPT: path:~/.org-info.js'. >> Besides I'm pretty happy with the old exporter and was only curious >> because I read that it will be replaced with the new one in a future >> stable version. I hope the old one will remain part of contrib (or >> antique or whatever) so I can choose to my liking. > > It would help to know what the new exporter is missing. Most probably nothing. Orgmode already has so many features, most of them I will never need I suppose. I am using orgmode for some years now but I wouldn't call me a heavy user. I jot down notes with org-capture, keep up a very simple agenda, plot my monthly household expenses and do some exporting to html. As to me I am content with e.g. org-export-as-html as I probably will be with the upcoming switch to the new exporter. I am only a little disappointed by the fact that these above mentioned tiny changes (like setupfile to setup_file) for someone like me (who does not want to take a deeper look into orgmode) are more confusing than they should be. Then again this little confusion will of course not discourage me from using orgmode. > > Regards, Regards, henry -- http://literaturlatenight.de
Re: [O] new html exporter
Robert Klein writes: > On 09/29/2012 01:36 PM, henry atting wrote: >> Hi, >> >> I gave the new html exporter a try (org-e-html-to-file). The export >> obviously ignores my setup file, and so the path to my css and js files. >> >> Maybe with the new exporter everything has changed and I only miss a >> good tutorial? >> >> henry >> > > > Do you want to export a single file or do you want to publish a > complete project? Only a single file. I understand that something like this will no work anymore with the new exporter. #+SETUPFILE: /home/me/.setup.org whereby the content of the setup file is: #+STYLE: #+INFOJS_OPT: view:info toc:t path:/home/me/.org-info.js Besides I'm pretty happy with the old exporter and was only curious because I read that it will be replaced with the new one in a future stable version. I hope the old one will remain part of contrib (or antique or whatever) so I can choose to my liking. > As for projects, the setup is very similar to the old exporter. I > noticed however, I used some deprecated options or options not in the > right way, so I did have my own problems getting publishing to work. > > Until recently you had to require org-e-html in your .emacs for > publishing to work. Thanks to Nicolas great help this and some other > obstacles are removed in recent git versions (master branch, not > maint). > > I attached a description of an example project using the new exporter. > The example isn't comprehensive, but it should get you started. > > Best regards > Robert Best regards henry -- http://literaturlatenight.de
[O] new html exporter
Hi, I gave the new html exporter a try (org-e-html-to-file). The export obviously ignores my setup file, and so the path to my css and js files. Maybe with the new exporter everything has changed and I only miss a good tutorial? henry -- http://literaturlatenight.de
Re: [O] python/babel inline images
"Mikhail Titov" writes: >> -Original Message- >> From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- >> bounces+mlt=gmx...@gnu.org] On Behalf Of henry atting >> Sent: Wednesday, June 06, 2012 10:19 AM >> To: emacs-orgmode@gnu.org >> Subject: Re: [O] python/babel inline images >> >> I don't think its a path problem. > > Indeed > > #+begin_src python :results output > import os > print(os.getcwd()) > #+end_src > > Shows location of my org doc. Yes, shows my working directory. >> The code itself works flawlessly. So >> the workaround which I already have used is to link to the resulting >> image. The only drawback with this solution is that after every >> evaluation I have to remove the empty `'Results:' > > You can use :results silent This is great! Actually this solves my problem which means: create a link to the file and set results to silent. >> but the heck with >> it, I can live with it happily till the end of my days. >> However I find that some inconsistency lies therein. Before >> python/matplotlib I used gnuplot with which babel had no problem of >> this type. > > Try using > > ... :file exp_csv.svg > ... > plot.savefig(file=sys.stdout) This does not compile, the compiler complains about missing arguments. I have to write it like this: plot.savefig("file.svg", format='svg') > > #+begin_src python :results output :file zzz.xxx > import os, sys > print(os.getcwd(), file=sys.stdout) > #+end_src > > #+RESULTS: > [[file:zzz.xxx]] Works as exspected. > [...] So, just to mention the current state of affairs (with a simple example): --8<---cut here---start->8--- #+begin_src python :results output from pylab import * t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) plot(t, s) show() savefig("file.svg", format='svg') #+end_src --8<---cut here---start->8--- The above code works. But if I set `:file' to `file.svg' with every evaluation the link to the file is placed after #+RESULTS: but the file itself is empty. If the code is evaluated without `:file file.svg' the evaluation simply works and the file.svg appears in the working directory. henry -- http://literaturlatenight.de
Re: [O] python/babel inline images
I don't think its a path problem. The code itself works flawlessly. So the workaround which I already have used is to link to the resulting image. The only drawback with this solution is that after every evaluation I have to remove the empty `'Results:' but the heck with it, I can live with it happily till the end of my days. However I find that some inconsistency lies therein. Before python/matplotlib I used gnuplot with which babel had no problem of this type. Cheers, henry -- http://literaturlatenight.de
[O] python/babel inline images
Hi, I do not succeed in generating an inline image as a result of a python code block. The code itself works, C-c C-c generates the according picture, but only in my home directory. The code block: -*- org-babel-python-command: "python3" -*- #+begin_src python import csv import matplotlib.pyplot as plot x = [] y = [] csv_reader = csv.reader(open('csv_data.csv')) for line in csv_reader: x.append(int(line[0])) y.append(float(line[1])) plot.plot(x, y, label=r'exp', color='green') plot.legend(loc='lower right') plot.savefig("exp_csv.svg") #+end_src It tried different combinations of `:exports results', `:results file', `:file filename' -- http://literaturlatenight.de
Re: [O] delete, add new row
Jonathan Leech-Pepin writes: > I'm not sure as to the reason why it does so, but based on your > example, the formula is referencing the specific cell itself, rather > than the relative position of the cell. If you change your formula to > use a relative reference, it will continue to work even when you add, > remove and move the rows. > > #+TBLFM: @2$3..@>$3=vmean(@I$2..@0$2);%.1f > or > #+TBLFM: @2$3..@>$3=vmean(@<<$2..@0$2);%.1f > will both provide you with the result you seem to be looking for. The > former uses your (first) horizontal line as the starting point, > whereas the latter uses the 2nd row from the top. > > Regards, > Jonathan > > On Thu, Dec 1, 2011 at 12:42, henry atting wrote: > > Suppose I have this table: > > | month | expenses | average | > |---+--+-| > | 1 | 20 | | > | 2 | 30 | 25.0 | > | 3 | 40 | 30.0 | > #+TBLFM: @3$3..@>$3=vmean(@2$2..@0$2);%.1f > > Then I want to delete the second row and add a new one at the > bottom. > If I do so I get `#ERROR' on every recalculation. > > | month | expenses | average | > |---+--+-| > | 2 | 30 | #ERROR | > | 3 | 40 | #ERROR | > | 4 | 50 | #ERROR | > #+TBLFM: @2$3..@>$3=vmean(@INVALID$2..@0$2);%.1f > > If I push the second row to the bottom the > result is as if the last row is still the second one. > > | month | expenses | average | > |---+--+-| > | 2 | 30 | 30.0 | > | 3 | 40 | 30.0 | > | 1 | 20 | 20.0 | > #+TBLFM: @2$3..@>$3=vmean(@4$2..@0$2);%.1f > Ah, I see the problem; and thanks, it works fine now. henry -- http://literaturlatenight.de
[O] delete, add new row
Suppose I have this table: | month | expenses | average | |---+--+-| | 1 | 20 | | | 2 | 30 |25.0 | | 3 | 40 |30.0 | #+TBLFM: @3$3..@>$3=vmean(@2$2..@0$2);%.1f Then I want to delete the second row and add a new one at the bottom. If I do so I get `#ERROR' on every recalculation. | month | expenses | average | |---+--+-| | 2 | 30 | #ERROR | | 3 | 40 | #ERROR | | 4 | 50 | #ERROR | #+TBLFM: @2$3..@>$3=vmean(@INVALID$2..@0$2);%.1f If I push the second row to the bottom the result is as if the last row is still the second one. | month | expenses | average | |---+--+-| | 2 | 30 |30.0 | | 3 | 40 |30.0 | | 1 | 20 |20.0 | #+TBLFM: @2$3..@>$3=vmean(@4$2..@0$2);%.1f henry -- http://literaturlatenight.de
Re: [O] wrap long table formula
Nick Dokos writes: > Christian Moe wrote: > >> On 11/1/11 8:17 AM, henry atting wrote: >> >> > I was thinking of a column formula but have no clue if it's >> > possible and if so, how. >> > >> > In this short example the formula's length is no problem but for a >> > table with 12 rows or more it certainly is; -- and currently it's the >> > only way I can realize it. >> > >> > | | | >> > |---+---| >> > | 2 | | >> > | 6 | 4 | >> > | 7 | 5 | >> > #+TBLFM: @3$2=vmean(@2$1..@3$1::@4$2=vmean(@2$1..@4$1 >> >> >> | | | >> |---+-| >> | 2 | | >> | 6 | 4 | >> | 7 | 5 | >> | 3 | 4.5 | >> | 9 | 5.4 | >> #+TBLFM: @3$2..@>$2=vmean(@2$1..@0$1) >> > > Another common way to deal with an exceptional cell is to use a field > formula for the exceptional cell and a column formula for the rest: > field formulas take precedence: > > #+TBLFM: @2$2 = string("") :: $2 = vmean(@2$1..@0$2) > > Nick Thanks again to all, both solutions are working fine; I could get rid of my tapeworm formula. Is there a place where these advanced features are explained more thoroughly? henry -- http://literaturlatenight.de
Re: [O] wrap long table formula
Carsten Dominik writes: > On 31.10.2011, at 19:10, Samuel Wales wrote: > >> Would a column formula work? > > Good idea! Quite likely it would. > > - Carsten > >> >> Samuel >> >> -- >> The Kafka Pandemic: http://thekafkapandemic.blogspot.com >> === >> Bigotry against people with serious diseases is still bigotry. I was thinking of a column formula but have no clue if it's possible and if so, how. In this short example the formula's length is no problem but for a table with 12 rows or more it certainly is; -- and currently it's the only way I can realize it. | | | |---+---| | 2 | | | 6 | 4 | | 7 | 5 | #+TBLFM: @3$2=vmean(@2$1..@3$1::@4$2=vmean(@2$1..@4$1 henry -- http://literaturlatenight.de
Re: [O] wrap long table formula
Carsten Dominik writes: > On Oct 31, 2011, at 3:01 PM, henry atting wrote: > >> I have a table with 3 columns and 13 rows. Each field of the 3rd >> column calculates the average of the preceding rows of the 2nd column. >> For this I wrote formulas for 11 of 13 rows which results in a very >> long line. >> How can I wrap this line? > > You don't. > > You can use the equation editor to have a more convenient way to edit the > equations. > > - Carsten > This is great; I did not know the formula editor yet. Thanks. henry -- http://literaturlatenight.de
[O] wrap long table formula
I have a table with 3 columns and 13 rows. Each field of the 3rd column calculates the average of the preceding rows of the 2nd column. For this I wrote formulas for 11 of 13 rows which results in a very long line. How can I wrap this line? henry -- http://literaturlatenight.de
Re: [O] org-contacts or bbdb?
Rasmus writes: > pmli...@free.fr (Peter Münster) writes: > >> Hello, >> >> I would like to manage my contacts, so that I can >> - easily search them >> - add new email addresses from gnus (summary buffer) >> - complete email addresses in gnus (message buffer and prompts in >> mini-buffer) >> - and perhaps more in the future >> >> Could you guide me please, what to choose, org-contacts or bbdb? >> I don't see the advantages of the one or of the other... >> TIA for any hints! > > I used org-contacts but now use bbdb3. I think bbdb does it all and > it's quite nice. > > I don't remember why I dropped Org-contant, but I think I found it hard > to manage my contacts in the way I would ideally like to with it. > [...] +1 As I thougt that bbdb is no longer developped I switched to org-contacts some time ago - which did not satisfy my needs in some way. The (re-)discovery of bbdb3 elicits a sigh of relief... Thanks, henry -- http://literaturlatenight.de
Re: [O] org footnote bug?
Nicolas Goaziou writes: > henry atting writes: > >> Thanks. Two things still differ from the stable version though: >> >> 1. When the first footnote is created the tag remains invisible: >> >> --- >> Text... then I create a first footnote [1] >> >> [1] which appears without tag >> --- >> >> With the second footnote the tag appears, both footnotes underneath: >> >> >> Text... then I create a first footnote [1] ... then a second footnote [2] >> >> Footnotes: >> >> [1] which appears without tag >> >> [2] now the tag appears, with both footnotes underneath >> -- > > Right. I have pushed another fix for that. Could you confirm that it is > working now? Yes, it's working fine now. >> 2. When going back to the footnote marker with org-footnote-action the >> cursor stays on the left side of the marker. > > Yes, it's a feature. This way, you can move back and forth between > reference and definition without creating new footnotes each time. I see, but too bad nevertheless. That way you always have to `jump' over the marker when you keep up writing. > Regards, Thanks, henry -- http://literaturlatenight.de
Re: [O] org footnote bug?
Nicolas Goaziou writes: > henry atting writes: > >> Tag for non orgmode files is: >> >> (setq org-footnote-tag-for-non-org-mode-files "___") >> >> Well, I open a file, type some text and then add a footnote with >> org-footnote-action which is bound to C-cf: >> >> - >> Some Text, then adding a footnote [1] then adding a second footnote [2] and >> after a while a third footnote [3] >> >> [1] this footnote appears above the footnote tag >> >> ___ >> >> [2] this footnote appears beneath the footnote tag >> >> [3] from now on all footnotes appear beneath the footnote tag >> -- >> >> This is reproducible apparently with every file type except org files >> or when writing mail within gnus > > This should be fixed now in master. Thank you for reporting this. > [...] Thanks. Two things still differ from the stable version though: 1. When the first footnote is created the tag remains invisible: --- Text... then I create a first footnote [1] [1] which appears without tag --- With the second footnote the tag appears, both footnotes underneath: Text... then I create a first footnote [1] ... then a second footnote [2] Footnotes: [1] which appears without tag [2] now the tag appears, with both footnotes underneath -- 2. When going back to the footnote marker with org-footnote-action the cursor stays on the left side of the marker. henry -- http://literaturlatenight.de
Re: [O] org footnote bug?
Nicolas Goaziou writes: > Hello, Hi Nicolas, > henry atting writes: > >> With org from cvs (Org-mode version 7.7 >> (release_7.7.326.g32cf8.dirty)) footnotes don't work properly when >> inserted in non org files. The first footnote appears above the >> footnote tag, all the others underneath: >> >> text [1] ... more text [2] >> >> [1] footnote >> >> ___ >> >> [2] footnote > > I currently don't see that behaviour. Could you try to post > a step-by-step recipe to reproduce the problem? Also, what's your value > for `org-footnote-tag-for-non-org-mode-files'? Tag for non orgmode files is: (setq org-footnote-tag-for-non-org-mode-files "___") Well, I open a file, type some text and then add a footnote with org-footnote-action which is bound to C-cf: - Some Text, then adding a footnote [1] then adding a second footnote [2] and after a while a third footnote [3] [1] this footnote appears above the footnote tag ___ [2] this footnote appears beneath the footnote tag [3] from now on all footnotes appear beneath the footnote tag -- This is reproducible apparently with every file type except org files or when writing mail within gnus As a workaround I currently use org-footnote.el from the stable release which works flawlessly. Regards, henry -- http://literaturlatenight.de
[O] org footnote bug?
With org from cvs (Org-mode version 7.7 (release_7.7.326.g32cf8.dirty)) footnotes don't work properly when inserted in non org files. The first footnote appears above the footnote tag, all the others underneath: text [1] ... more text [2] [1] footnote ___ [2] footnote This does not happen with the stable version henry -- http://literaturlatenight.de
Re: [O] image active link face
Eric S Fraga writes: > henry atting writes: > >> When I move the cursor over an image in an org buffer it is >> `highlighted` means it gets a red frame and a light blue bar at the >> left side. >> This surely can be customized but I cannot find the appropriate face >> name for it. Any hints? > > Move the cursor to the image and type "C-u C-x =" which will give you > information about the current point. This information should include > the face(s) present/active at that point. You can then click on the > face to see it and subsequently ask to customise it. > > I don't display images in my Emacs so cannot verify that this will work > unfortunately (I don't even know how to get Emacs to display images, for > that matter...). > > HTH, > eric Yes, thanks, it helps. The frame around the image can be customized via the cursor face. To get rid of the bar on the left side apperently is not possible unless you are willing to forgo using paren match highlighting. It comes from the underlying link and indicates the matching leftmost bracket. henry -- http://literaturlatenight.de
[O] image active link face
When I move the cursor over an image in an org buffer it is `highlighted` means it gets a red frame and a light blue bar at the left side. This surely can be customized but I cannot find the appropriate face name for it. Any hints? Cheers henry -- http://literaturlatenight.de
Re: [O] org-babel and python3
Rasmus writes: > henry atting writes: > >> How can I cause org-babel to use python3 instead of python2? >> Emacs (in python-mode) already does it flawlessly with >> >> (setq py-python-command "/usr/bin/python3") > > There is a variable: > > ┏━━━┫ org-babel-python-command ┃ > ┃ > ┃ org-babel-python-command is a variable defined in `ob-python.el'. Its > ┃ value is "python2" > ┃ > ┃ This variable is potentially risky when used as a file local variable. > ┃ > ┃ Documentation: Name of command for executing python code. > ┃ > ┗━━━ > > You could change it. Thanks. I changed it and it seems org-mode is now using python3... > I never managed to get Python2/3 working well in Org-mode, ... but does not work well here too. So thanks again for this hint which prevents me from spending to much time on it. henry -- http://literaturlatenight.de
[O] org-babel and python3
How can I cause org-babel to use python3 instead of python2? Emacs (in python-mode) already does it flawlessly with (setq py-python-command "/usr/bin/python3") henry -- http://literaturlatenight.de
[O] in-buffer completion question
Let's say I am in an orgmode buffer, more precisely I opened a file with org-contacts. My first entry is: ** Mr.X :PROPERTIES: :EMAIL: m...@mail.me :END: Then I want to create a new entry. Of course I am to lazy to type ´:PROPERTIES:´ so I type ´:PR´ then hit M-TAB. But instead of the word being completed I get ´There is no completion of PR´. Okay, but I can see that actually there is one, it's in the buffer. I read that the new orgmode completion method is derived from the method John Wiegley has implemented. In ledger-mode however M-Tab not only completes the unfinished word but lets me cycle through the alternatives given in the current buffer. So, that is what I would expect in orgmode too... henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: output of shell command in agenda
On Mi, Sep 22 2010, Bastien wrote: > Hi henry, > > henry atting writes: > >> I am using ledger to track my finances. I would like to have a brief >> summary of some part of it in org agenda. > > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.php > should give direction on how to display ledger output in Org files. > > I don't see how you would like to include ledger output in org agenda > but perhaps `E' could help. Hi Bastien, thanks, yes that's nice. What I actually do at the moment is: I insert two shell links in an org agenda file, like `ledger bal bank' and `ledger bal cash', tag them both so that they are displayed when calling org-agenda. This does not mess up my agenda view a bit and is very comfortable as well. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: calendar and agenda entries
On Mo, Sep 20 2010, Matt Lundin wrote: > henry atting writes: > >> On So, Sep 19 2010, Matt Lundin wrote: >> >>> henry atting writes: >>> >>>> When printing or exporting the emacs calendar it is possible to include >>>> diary entries or holidays. >> >> Mmh, this should be understood as a statement not a question but many >> thanks anyway. > > Ah, yes. I've accidentally left off question marks so many times in my > own posts that I tend to assume everything is a question. :) > >> >>> [...] >> >> >>>> Is there a way to include org-agenda entries as well? >>> >>> Yes. >>> >>> http://orgmode.org/worg/org-faq.php#include-entries-from-org-mode-files-into-emacs-diary >>> >>> http://orgmode.org/worg/org-faq.php#add-Org-scheduled/deadlined-entries-to-diary! >> >> Yes, that does the trick. I created a diary file (normally I don't use >> it), added a single line `&%%(org-diary)` >> >> Now entries from org-agenda files do show up in the generated >> calendars - at least in those for the whole month. As far as I see the >> weekly calendars don't support it. > > I believe some of the weekly calendars---namely, filofax (t f W) and iso > (t w 3)---do: > > ,[ (info "(emacs) Writing Calendar Files") ] > | If the variable `cal-tex-diary' is non-`nil' (the default is `nil'), > | diary entries are included also (in monthly, filofax, and iso-week > | calendars only). > ` > > The variety of cal-tex export commands is truly mind-boggling! Yes it is. That's why I did not find the filofax weekly e.g. (which displays org-agenda entries correctly) > Best, > Matt cheers, henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: calendar and agenda entries
On So, Sep 19 2010, Matt Lundin wrote: > henry atting writes: > >> When printing or exporting the emacs calendar it is possible to include >> diary entries or holidays. Mmh, this should be understood as a statement not a question but many thanks anyway. > [...] >> Is there a way to include org-agenda entries as well? > > Yes. > > http://orgmode.org/worg/org-faq.php#include-entries-from-org-mode-files-into-emacs-diary > > http://orgmode.org/worg/org-faq.php#add-Org-scheduled/deadlined-entries-to-diary! Yes, that does the trick. I created a diary file (normally I don't use it), added a single line `&%%(org-diary)` Now entries from org-agenda files do show up in the generated calendars - at least in those for the whole month. As far as I see the weekly calendars don't support it. thanks, henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] calendar and agenda entries
When printing or exporting the emacs calendar it is possible to include diary entries or holidays. Is there a way to include org-agenda entries as well? cheers, henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: todos without timestamp in agenda
Sébastien Vauban writes: > Hi Jan, > > Jan Böcker wrote: >> >> I use a custom block agenda to show (in this order): >> - the normal agenda >> - the contents of my inbox >> - normal TODO items tagged URGENT and IMPORTANT >> - normal TODO items tagged IMPORTANT >> - normal TODO items tagged URGENT >> - normal TODO items not tagged URGENT or IMPORTANT > > Would you accept sharing your code for doing the above? Just at that moment I wanted to ask the same... :) henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: including holidays in agenda
On Mi, Sep 15 2010, henry atting wrote: > [...] >calendar-holidays '(( >(holiday-fixed 11 11 "Elfter im Elften") >(holiday-easter-etc -49 "Estomihi") >(holiday-easter-etc -48 "Rosenmontag") >(holiday-easter-etc -52 "Weiberfasnacht") >(holiday-float 12 0 -4 "1. Advent" 24))) > > only these holidays show up in org-agenda but not the emacs calendar > holidays. > > How can I include both? Oop, I found in `customizing the calendar` the correct name of the variable is other-holidays instead of calendar-holidays. Now it works fine. -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] including holidays in agenda
When i add this line to an org file %%(org-calendar-holiday) holidays are displayed in org-agenda. But when I add some fixed or floating holidays to my calendar configuration like calendar-holidays '(( (holiday-fixed 11 11 "Elfter im Elften") (holiday-easter-etc -49 "Estomihi") (holiday-easter-etc -48 "Rosenmontag") (holiday-easter-etc -52 "Weiberfasnacht") (holiday-float 12 0 -4 "1. Advent" 24))) only these holidays show up in org-agenda but not the emacs calendar holidays. How can I include both? cheers, henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: todos without timestamp in agenda
On Di, Sep 14 2010, Eric S Fraga wrote: > On Tue, 14 Sep 2010 08:27:48 +0200, henry atting wrote: >> >> When I have some kind of todo items in an *.org file without timestamp they >> do not show up in the agenda. I can start the agenda with the >> appropriate shortcut then only these items are diplayed. >> But if I am already in org-agenda I have to quit then start again >> with the speacial agenda view. >> Is there a more comfortable way to simply switch the view when in >> org-agenda, or let these todo items show up in the first place (e.g. at >> the bottom of the agenda)? > > You don't have to "quit" the current view; simply ask for a new view > by "C-c a X" where X is the particular short-cut. If you have your > agenda in a separate frame, that frame will be updated. That simple?, great. I did not find it in the manual... Thanks henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] todos without timestamp in agenda
When I have some kind of todo items in an *.org file without timestamp they do not show up in the agenda. I can start the agenda with the appropriate shortcut then only these items are diplayed. But if I am already in org-agenda I have to quit then start again with the speacial agenda view. Is there a more comfortable way to simply switch the view when in org-agenda, or let these todo items show up in the first place (e.g. at the bottom of the agenda)? Cheers henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: error with babel/ledger
On Fr, Sep 10 2010, Eric Schulte wrote: > Hi Henry, > > ledger should not be requiring Org-mode explicitly, I've just corrected > this and pushed the fix to the git repo, so a pull of the latest should > work. > [...] Hi Eric, yes, it works fine now. Thanks. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] error with babel/ledger
When adding (ledger . t) to 'setq org-babel-load-languages' emacs starts with this error message error: Recursive `require' for feature `org' and stops loading. No problem without babel/ledger: (setq org-babel-load-languages (quote ((emacs-lisp . t) (dot . t) (ditaa . t) (R . t) (gnuplot . t) (clojure . t) (sh . t henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] output of shell command in agenda
I am using ledger to track my finances. I would like to have a brief summary of some part of it in org agenda. Something like the output of a ledger command, e.g. `ledger bal cash'. How can I achieve this? henry ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: plain list - line spacing
On Mi, Jun 02 2010, Carsten Dominik wrote: > [...] > actually it is, see the variable `org-blank-before-new-entry'. > [...] Great, thanks. I would not have found it... henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] plain list - line spacing
Hello, how can I change the default behaviour of adding new items to plain lists? M-RET inserts a new item with a blank line between items however I don't want double line spacing. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] add priority
How can I add a priority to the default priorities (not only per file) I would like to have a priority, let's say like 'T' which refers to something that I have to do only when inspiration comes (e.g. write a certain text). henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: plotting when x-axis has non-numeric data
On Mo, Mär 01 2010, Eric Schulte wrote: > While for any serious plotting I would certainly recommend using > Org-babel over org-plot, org-plot should still function correctly. I've > just pushed up a fix to the bug you described, so your previous table > should work once again. Yes, it works fine again. As the Zen Master T.Deshimaru said (Zenglish he used to call his broken English): `Bad Become Good' But for the bug maybe I would not have dealt too much with the org-babel (which is really great) Thanks, henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: plotting when x-axis has non-numeric data
On Sa, Feb 27 2010, henry atting wrote: > I have a table which I am plotting longly, it looks like this: > > #+PLOT: title:"expenses" ind:1 type:2d with:lines > #+PLOT: set:"yrange [0:]" labels:("month" "expenses" "average") > | month | two |three| > |++-| > | November| 500 | 500 | > | December| 500 | 500 | > | January | 600 | 500 | > | February| 400 | 500 | > > Thus far it was no problem that the x-axis contains non-numeric data. > Now gnuplot stops with this error message: > > gnuplot> plot '/tmp/org-plot18686CtJ' using 1:3:xticlabel(1) with lines title > 'H-index' >warning: Skipping data file with no valid points > x range is invalid > > When I try to plot the table 'Citas' from this tutorial [1] I get the > same error message. > > henry > > ___ > > [1] http://orgmode.org/worg/org-tutorials/org-plot.php Okay, I see; for some reason the following statement is not more valid: ,[ From: http://orgmode.org/worg/org-tutorials/org-plot.php ] | Org-plot can also produce histograms from 2d data, plot the following | table. Notice that the column specified as ind contains textual | non-numeric data, when this is the case org-plot will use the data as | labels for the x-axis using the gnuplot xticlabels() function. ` As far as I see, you have to do it with org-babel now, which works just as well for me. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] plotting when x-axis has non-numeric data
I have a table which I am plotting longly, it looks like this: #+PLOT: title:"expenses" ind:1 type:2d with:lines #+PLOT: set:"yrange [0:]" labels:("month" "expenses" "average") | month | two |three| |++-| | November| 500 | 500 | | December| 500 | 500 | | January | 600 | 500 | | February| 400 | 500 | Thus far it was no problem that the x-axis contains non-numeric data. Now gnuplot stops with this error message: gnuplot> plot '/tmp/org-plot18686CtJ' using 1:3:xticlabel(1) with lines title 'H-index' warning: Skipping data file with no valid points x range is invalid When I try to plot the table 'Citas' from this tutorial [1] I get the same error message. henry ___ [1] http://orgmode.org/worg/org-tutorials/org-plot.php -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: help on ditaa
"Eric Schulte" writes: > Hi Henry, > > Try pressing C-c C-c with the cursor on your ditaa block. If an image > is generated and a link inserted into the file, but you're still not > getting an image on export then try making the following change (adding > an exports header argument) to your block > > #+begin_src ditaa :file image.png :cmdline -r :exports results > +-+ > | cBLU| > | | > |++ > ||cPNK| > ||| > +++ > #+end_src > > otherwise you probably don't have org-babel activated in which case > adding > > (require 'org-babel-init) > > to your .emacs should help. Thanks, yes it works fine now. ditaa is really great. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: help on ditaa
On Do, Feb 25 2010, Eric Schulte wrote: > Try pressing C-c C-c with the cursor on your ditaa block. If an image > is generated and a link inserted into the file, but you're still not > getting an image on export then try making the following change (adding > an exports header argument) to your block > > #+begin_src ditaa :file image.png :cmdline -r :exports results > +-+ > | cBLU| > | | > |++ > ||cPNK| > ||| > +++ > #+end_src > > otherwise you probably don't have org-babel activated in which case > adding > > (require 'org-babel-init) > > to your .emacs should help. > Thanks, works fine now. -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] help on ditaa
What exactly is the proper way to export code with ditaa? My knowledge must be fragmentary for only the code is exported but the conversion to images failes. I did something like this: Load the appropriate libs, like org-babel, org-babel-tangle, org-ditaa, org-exp-blocks, then set the variable `org-ditaa-jar-path' to the ditaa jar file. The according lines in my org file look like this: #+begin_src ditaa :file image.png :cmdline -r +-+ | cBLU| | | |++ ||cPNK| ||| +++ #+end_src henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org file containing different local variables
On Fr, Jan 22 2010, Jan Böcker wrote: > On 22.01.2010 17:17, henry atting wrote: >> >> An org file (it contains an explanation on using emacs distraction free >> for writing) lists on some places LaTeX Local Variables, eg: >> >> %%% Local Variables: >> %%% mode: latex >> %%% TeX-master: t >> %%% End: >> >> From then on Emacs does not open this file in org-mode but in >> latex-mode. >> Neiter setting Local Variables at the end to org (mode) does not change this >> behaviour nor if set at the beginning of the file. > > How about changing the "Local Variables:" line such that it looks > slightly different to emacs, but means the same to LaTeX? > > Would changing that line to > %%% Local\ Variables: > solve your problem? Yes, that's fine for me; thanks! henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org file containing different local variables
An org file (it contains an explanation on using emacs distraction free for writing) lists on some places LaTeX Local Variables, eg: %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: >From then on Emacs does not open this file in org-mode but in latex-mode. Neiter setting Local Variables at the end to org (mode) does not change this behaviour nor if set at the beginning of the file. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] agenda view - assign file name
I once used an option (but can't remember its name) which makes it possible to assign a different file name to a file from the agenda list. Lets say I have a file `name.org` then this option set in the file setup displays the entries after e.g. `another_name:` henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org version from git
On Mo, Nov 09 2009, Bernt Hansen wrote: > henry atting writes: > >> I use the development version from git. >> Since some time org-version shows >> >> Org-mode version 6.31a >> >> Though I pulled constantly... > > Mine shows > Org-mode version 6.32trans (release_6.32b.127.g471c2) > > Are you using old compiled versions instead of your recently pulled > source maybe? I have these lines in my ~/.emacs: (defconst elisp-path '("~/emacs+")) (mapcar '(lambda(p) (add-to-list 'load-path p) (cd p) (normal-top-level-add-subdirs-to-load-path)) elisp-path) I thought this would load all subdirs, e.g. including ~/emacs+/org_git/lisp. But it does not, so only the builtin org version is loaded. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org version from git
I use the development version from git. Since some time org-version shows Org-mode version 6.31a Though I pulled constantly... -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Option SETUPFILE partially broken
On Mi, Sep 30 2009, Carsten Dominik wrote: > On Sep 29, 2009, at 4:22 PM, henry atting wrote: > >> This morning the following setup file did work flawlessly: > > I seriously doubt that. This worked when in the file being exported, > but not when being in a #+SETUPFILE. > > It now does. > > - Carsten Okay, I understand that it could not have been possible – maybe it was to early in the morning... Anyway – many thanks. Now I can write a play with a minimum of distraction in orgmode and export it afterwards to LaTeX quikly. That's the very best method of doing this I found so far. Great! henry >> >> --8<---cut here---start->8--- >> #+TITLE: >> #+OPTIONS: toc:nil >> #+LaTeX_CLASS: play >> --8<---cut here---end--->8--- >> >> I don't know if it has something to do with today's git update but >> #+LaTeX_CLASS (and only this option) is ignored, instead org export >> uses >> the default class article. (erh, play of course is defined in the >> variable org-export-latex-classes) -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Option SETUPFILE partially broken
This morning the following setup file did work flawlessly: --8<---cut here---start->8--- #+TITLE: #+OPTIONS: toc:nil #+LaTeX_CLASS: play --8<---cut here---end--->8--- I don't know if it has something to do with today's git update but #+LaTeX_CLASS (and only this option) is ignored, instead org export uses the default class article. (erh, play of course is defined in the variable org-export-latex-classes) henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: LaTeX export - customize own class
On Di, Sep 29 2009, Nick Dokos wrote: > henry atting wrote: > > >> I pulled the newest git version, reloaded org.el and tried to load the hook >> with >> >> (add-hook 'org-mode-hook 'org-export-latex-final-hook) >> >> but when I am trying to export an org file to LaTeX I get an error message: >> >> run-hooks: Symbol's function definition is void: >> org-export-latex-final-hook >> > > org-export-latex-final-hook is just another hook, so you have to use it > like this: > > (defun my-func () > >) > > (add-hook 'org-export-latex-final-hook (function my-func)) > > Then your function will be called at the time that the hook is run: > after the latex export is done. I see, many thanks henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: LaTeX export - customize own class
On Di, Sep 29 2009, Carsten Dominik wrote: > On Sep 28, 2009, at 4:41 PM, henry atting wrote: > >> I am trying to customize the orgmode export to the LaTeX class `play` >> A first level heading will then become the LaTeX \speaker{}, the text >> under this heading will become the text the speaker says. No problem >> so >> far, but some questions remain: >> >> - How can I prevent the export function from creating a titlepage >> and a >> table of contents? > >#+TITLE: > > with no title specified will turn off the title. > >#+OPTIONS: toc:nil > > will turn off the table of contents. Ah, I did know it already but forgot it. I ordered `Improve Your Memory in 600 Days' right away. > >> - Most important: Every header is provided with a label. How can I >> supress this? > > You cannot, really. > However, I have just added a new hook, org-export-latex-final-hook. > You could use it to test if the class is "play", and if yes, run through > the buffer and remove all labels. > >> - Finally, is it possible to automatically insert something *after* >> \begin{document}, something like \begin..\end{play}? > > You could also use the hook to do this. I pulled the newest git version, reloaded org.el and tried to load the hook with (add-hook 'org-mode-hook 'org-export-latex-final-hook) but when I am trying to export an org file to LaTeX I get an error message: run-hooks: Symbol's function definition is void: org-export-latex-final-hook henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] LaTeX export - customize own class
I am trying to customize the orgmode export to the LaTeX class `play` A first level heading will then become the LaTeX \speaker{}, the text under this heading will become the text the speaker says. No problem so far, but some questions remain: - How can I prevent the export function from creating a titlepage and a table of contents? - Most important: Every header is provided with a label. How can I supress this? - Finally, is it possible to automatically insert something *after* \begin{document}, something like \begin..\end{play}? henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-invoice tutorial
Hi all, is there anywhere a tutorial about org-invoice? Or at least a more detailed description? henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] agenda other frame
If org agenda is displayed in an other frame then windows aren*t restored when quitting, I have to kill the frame manually. I really would like it to behave like e.g. gnus-other-frame which automatically kills his frame on quitting. henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: export table html centered
On So, Aug 16 2009, Carsten Dominik wrote: > Hi Henry, Nick, > > another way would be this: > > #+STYLE: table.center {margin-left:auto; margin- > right:auto;} > > * A centered table > > #+ATTR_HTML: class="center" > | a | b | c | > |---+---+---| > | 1 | 2 | 3 | > > * An uncentered table > > | a | b | c | > |---+---+---| > | 1 | 2 | 3 | > > > You can also configure org-export-html-table-tag to add the > class="center" > if you want to center all tables. > > HTH > > - Carsten > > On Aug 16, 2009, at 3:13 AM, Nick Dokos wrote: > >> Nick Dokos wrote: >> >>> ... But if you don't mind using deprecated attributes, and assuming >>> you want *every* table centered, then customizing >>> >>>org-export-table-header-tags >>> >>> ... >> >> Correction: that should be >> >> org-export-html-table-tag >> >> Sorry about that - the BIND version below is correct. >> >>> should do it. You can also use #+BIND to do it per-file: >>> >>> , >>> | #+BIND: org-export-html-table-tag ">> border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" >>> frame=\"hsides\">" >>> | | foo | bar | >>> | |-+-| >>> | | 1 | 2 | >>> | | 2 | 5 | >>> | | 3 | 10 | >>> ` >> >> Thanks, >> Nick Hi Nick, hi Dominik, as I have my own stylesheet I did not deal with the #+STYLE option to much. But it's very helpful, great. Many thanks henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] export table html centered
That is what I am searching for: Is there a markup rule that puts org tables centered on the resulting page when exported as html. Seems that #+BEGIN_CENTER – #+END_CENTER does not do this, marking a table like that solely leads to an error message: progn: Args out of range: 84, 906 henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: export timestamp in headline
On Mo, Jul 06 2009, Carsten Dominik wrote: > On Jul 6, 2009, at 3:57 PM, henry atting wrote: > >> On Mo, Jul 06 2009, henry atting wrote: >> >>> On Mo, Jul 06 2009, Carsten Dominik wrote: >>> >>>> On Jul 6, 2009, at 1:10 PM, henry atting wrote: >>>> >>>>> On Mo, Jul 06 2009, henry atting wrote: >>>>> >>>>>> Mmh, what option do I have to use if I want to display the >>>>>> timestamp in >>>>>> a headline when exporting to html? >>>>> >>>>> Sorry, wrong question. What I really want to know is how to display >>>>> the >>>>> timestamp in the *table of contents*. ;) >>>> >>>> Hmmm, lets try to guess what the variable name might be. >>>> >>>> something starting with "org-" >>>> something containing "stamp" >>>> something containing "toc" >>>> >>>> >>>> M-x apropos-variable RET org.*stamp.*toc.* RET >>>> >>>> http://www.pdsys.org/blog_files/WallE-Tada.mp3 >>> >>> Great, a riddle. And I solved it right away. Must be in good form, so >>> I'll go to the races as soon as possible. >> >> I am afraid this is going to be my wonderfull >> don't-ask-clearly-but-bit-by-bit-post... >> In my feeling of elation of having solved the riddle I forgot to >> mention >> that I am looking for a per-file solution, something that can be done >> with #+OPTIONS: ... > > OK, there really has to be an end of what we add to the OPTIONS line > with > abbreviations for all kinds of things. > > Get the latest git version, and then use > > #+BIND: org-export-remove-timestamps-from-toc t > > This is a general mechanism that will work for any variable that should > be bound to a special value during export, and that is not already > covered by the #+OPTIONS or a similar line. I don't adhere to #+OPTIONS; #+BIND is fine; thanks! henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: export timestamp in headline
On Mo, Jul 06 2009, henry atting wrote: > On Mo, Jul 06 2009, Carsten Dominik wrote: > >> On Jul 6, 2009, at 1:10 PM, henry atting wrote: >> >>> On Mo, Jul 06 2009, henry atting wrote: >>> >>>> Mmh, what option do I have to use if I want to display the >>>> timestamp in >>>> a headline when exporting to html? >>> >>> Sorry, wrong question. What I really want to know is how to display >>> the >>> timestamp in the *table of contents*. ;) >> >> Hmmm, lets try to guess what the variable name might be. >> >> something starting with "org-" >> something containing "stamp" >> something containing "toc" >> >> >> M-x apropos-variable RET org.*stamp.*toc.* RET >> >> http://www.pdsys.org/blog_files/WallE-Tada.mp3 > > Great, a riddle. And I solved it right away. Must be in good form, so > I'll go to the races as soon as possible. I am afraid this is going to be my wonderfull don't-ask-clearly-but-bit-by-bit-post... In my feeling of elation of having solved the riddle I forgot to mention that I am looking for a per-file solution, something that can be done with #+OPTIONS: ... ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: export timestamp in headline
On Mo, Jul 06 2009, Carsten Dominik wrote: > On Jul 6, 2009, at 1:10 PM, henry atting wrote: > >> On Mo, Jul 06 2009, henry atting wrote: >> >>> Mmh, what option do I have to use if I want to display the >>> timestamp in >>> a headline when exporting to html? >> >> Sorry, wrong question. What I really want to know is how to display >> the >> timestamp in the *table of contents*. ;) > > Hmmm, lets try to guess what the variable name might be. > > something starting with "org-" > something containing "stamp" > something containing "toc" > > > M-x apropos-variable RET org.*stamp.*toc.* RET > > http://www.pdsys.org/blog_files/WallE-Tada.mp3 Great, a riddle. And I solved it right away. Must be in good form, so I'll go to the races as soon as possible. Many thanks ;-) henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: export timestamp in headline
On Mo, Jul 06 2009, henry atting wrote: > Mmh, what option do I have to use if I want to display the timestamp in > a headline when exporting to html? Sorry, wrong question. What I really want to know is how to display the timestamp in the *table of contents*. ;) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] export timestamp in headline
Mmh, what option do I have to use if I want to display the timestamp in a headline when exporting to html? Regards henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] tea-time?
http://www.emacswiki.org/emacs-en/tea-time says: Functionality of this package was integrated into org-mode (edge on May 2009) Mmh, but where? Regards henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: help on templates
On So, Mai 24 2009, Giovanni Ridolfi wrote: > --- Dom 24/5/09, henry atting ha scritto >> I took the ones I >> found in the manual under 9.1.2, then adapted only the path >> to my notes >> file. >> Now I would expect to be prompted for which template to >> chose, erh, but >> nothing happens; the notes are stored the same way as >> before. >> So, what I am missing? > > Hi, Henry, > > + did you follow the instructions of section 9.1.1? > + did you *actually load* your templates? >I mean, loading the file where you wrote them? No, I did not; that's exactly what I missed. Thanks, Giovanni. henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] help on templates
To give templates a try: I defined some templates – took the ones I found in the manual under 9.1.2, then adapted only the path to my notes file. Now I would expect to be prompted for which template to chose, erh, but nothing happens; the notes are stored the same way as before. So, what I am missing? henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: two questions (insert checkbox/ dired to org)
On Di, Mai 05 2009, Nick Dokos wrote: > henry atting wrote: > >> >> What is the underlying command for this shortcut: >> >> M-S- >> Insert a new item with a checkbox >> > > org-insert-todo-heading - it just happens to do special things in > special cases. At the end of a plain list item or a checkbox item, it > calls (org-insert-item 'checkbox) instead of inserting a todo heading. > >> It does not work for me (if cursor is in a plain list already), >> so I have to fill in checkboxes with C-c C-x C-b. >> > > What does it do? And don't forget to provide version information > both for org-mode and for emacs. GNU Emacs 23.0.93.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-05-01 on elegiac, modified by Debian Org-mode version 6.26trans Mmh, I found out that it works. Normally if I see a key binding like M-S-RET I would use ESC-S-RET, but in this case the output of C-h k is: ESC (translated from ) is undefined So if use alt-S-RET it works fine, but usually I never use alt for `M'. >> Another question: Is it possible to do something like dired-to-org, >> where the directory structure (including the subdirectories) is >> written to an org file? > [...] > I think this would be fairly easy to implement and there are many ways > to do it, but: > > I have seen requests like this before and I must admit I don't understand > why this would be useful. So this is is a useless rant from your point of > view, but maybe you could explain: what is the use of this? If you want to > be able to get to all of the files/subdirectories of the directory, why not > add a single link to the top-level directory in your org file and then use > the facilities of dired from there? Why is it important to have links to all > the files? When I am pondering about my request I am not so sure anymore if it would be really usefull. But then again at first I found it helpfull to have something like a table of contents where all the files are hierarchically listed. However the main inconvenience of such a construct is that each alteration of the files or subdirectories would make this file increasingly useless. One would have to create this file anew whenever you modify something. So something like linking to a directory is really much better. :) henry ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode