Re: [O] change the latex header per subtree
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: I'd like to change the LaTeX header per subtree. Is that possible? Use case: I have two documents that I want to export from a single orgmode file. Each in its own subtree. One of them should use the endfloat package, the other should not. Define two LaTeX classes, one with endfloat package and one without. Then use :EXPORT_LATEX_CLASS: node property. Thanks for that suggestion. I constantly forget about the option of different export classes. For me this solution is good enough. Regards, Andreas
Re: [O] org-reload and new exporter
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: Good suggestion. I did, and org-export is the guilty one. Should that be loaded before? You should try to update Org and try again. I just commited a patch which should fix the issue. Confirmed. Thanks! Regards, Andreas
[O] Export to Confluence wiki format
Hello, I've put together a somewhat crude confluence exporter that's based on the new exporter (as of 7.9.2). For now it's hosted on github[1]. I'm interested in feature requests (as it's only handling basic elements for now), code style, and pretty much all feedback. Cheers, --Seb [1] https://github.com/sdelafond/org-confluence
Re: [O] [Bug] Inline Links from Agenda
Memnon Anon gegendosenflei...@googlemail.com writes: it seems to me that `C-c C-o' (org-agenda-open-link) does not work correctly for internal links with: ELISP (emacs-version) GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)\n of 2012-11-01 on dex, modified by Debian ELISP (org-version t t) Org-mode version 7.9.2 (release_7.9.2-571-g359891 @/home/memnon/tmp/bin/org-mode/lisp/) FWIW, I see the same with emacs 23.4.1.
[O] Literate programming of interactive proofs?
Hello, I want to use org-mode to write a paper about a development in Coq. Coq is an interactive proof system, which can be run (among other ways) interactively through emacs. The interactive part is very important, as doing or maintaining proofs often requires exploring many different direction. I'm wondering if it's still possible to use org-mode to write such a paper. I see two ways of doing it: - either be able to interactively interact with Coq from org-mode - or write the development separately, and have a way to include parts of the file (for instance identified by special markers in some comments) into the final paper. Is any of this possible? The second option would probably require some custom code, but I don't know if it would be very complex. Thanks a lot, Alan Schmitt
[O] org-agenda-ignore-scheduled not taken into account in custom agenda blocks?
Hello, I'm implementing some of the ideas of the great norang page (http://doc.norang.ca/org-mode.html), but there is one thing that is failing me. I can see that org-agenda-ignore-scheduled work for the global todo list, but it does not seem to be working when using a custom block. For instance, using the following definition: #+BEGIN_SRC elisp (tags-todo -WAITING-CANCELLED/!NEXT ((org-agenda-overriding-header Next Tasks) (org-agenda-skip-function 'bh/skip-projects-and-habits-and-single-tasks) (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t) (org-agenda-todo-ignore-with-date t) (org-tags-match-list-sublevels t) (org-agenda-sorting-strategy '(todo-state-down effort-up category-keep #+END_SRC I still see scheduled tasks. Is it supposed to be working or am I doing it wrong? Thanks, Alan
Re: [O] Erroneous No such file or directory with babel and remote dir
Nick Dokos writes: The first set of code transformations (implemented as commit 63b5f8f2e85b3059a2d30041db6939347a7a2d7d) dealt with the situation by doing a mass substitution: flet -- org-flet and labels -- org-labels (and in at least one case, flet -- org-labels to deal with a recursive definition - I presume that was a preexisting bug that was fixed by this substitution) and adding compatibility aliases in org-compat.el to use the cl-flet/cl-labels macros from cl.el in emacs versions = 24.1.50. As has slowly transpired in the meantime, there is no substitution for the deprecated flet. The new cl-flet does lexical instead of dynamical binding of the function slot and the other alternatives have other subtle differences that don't really seem to be documented in a single place. So the moral of the story is that the code transformations have *not* left functionality unchanged. Something went awry but to be honest, I don't know what. I didn't spend much time on it because of what I found out next. [...] And is this the only problem? Probably not: every flet-let transformation would have to be scrutinized. Thanks for this extensive explanation. I don't know if that might convince Stefan Monnier to un-deprecate letf, you'd not be the only one to be rattling his cage on this issue. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Waldorf MIDI Implementation additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
Re: [O] change the latex header per subtree
Nicolas Goaziou writes: Achim Gratz strom...@nexgo.de writes: Speaking of which, couldn't this be made easier? There's only one org-export-latex-packages-alist and if you're trying to use very different LaTeX classes you'll end up specifying [NO-DEFAULT-PACKAGES] and then copying a lot of \usepackage stuff around. So what? You define your latex classes once in your configuration variable, and you're all set. That doesn't sound that bad. I'm supposed to do this via configury, which is _very_ clumsy in dealing with this perticular issue. If it was possible to give an argument to [PACKAGES] (default, header, custom), then there would be no need for [NO-PACKAGES] and [DEFAULT-PACKAGES] and one yould use several sets of package definitions in multiple class definitions. It would be especially neat if there was a pendant to LATEX_HEADER that would allow to specify additional package collections on the fly. So, you may to make it easier by providing an even more complex machinery? ;) IMO, the current system is good enough for the job, even if the initial step introduces a lot of duplicate lines. Getting rid of special cased machinery to provide a more general one counts as simplification in my book. Also, if you want to add package collections, you may include a header-only file in your class, I guess. I don't get what you are telling me here, sorry. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Waldorf MIDI Implementation additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
Re: [O] source code disappears
When I switch to the ELPA version ( Org-mode version 7.9.2 (7.9.2-82-g2aeb28-elpa @ . . . )) this misbehavior is corrected. HTH.
Re: [O] source code disappears
Is anyone having trouble with source code disappearing when returning from the edit buffer? The #+BEGIN_SRC block is simply empty as far as I can tell, regardless of language. If I add some code to the block in the Org buffer before C-c ' then it also eats the contents. I am running Org-mode version 7.9.2 (release_7.9.2-499-ga29de0) under Emacs 24.2.1. I will be happy to provide more debug/trace information, but I'm not sure how to do that.
[O] source code disappears
Is anyone having trouble with source code disappearing when returning from the edit buffer? The #+BEGIN_SRC block is simply empty as far as I can tell, regardless of language. If I add some code to the block in the Org buffer before C-c ' then it also eats the contents. I am running Org-mode version 7.9.2 (release_7.9.2-499-ga29de0) under Emacs 24.2.1. I will be happy to provide more debug/trace information, but I'm not sure how to do that.
[O] Question re. Bernt's agenda setup
Hello Bernt and others, I was picking up tips from Bernt's awesome and famous document at http://doc.norang.ca/org-mode.html. In section 7.1, just between the two screenshots, I came across following text: ,[ excerpt from section 7.1 ] | After selecting a project (with P on any task in the agenda) the block | agenda changes to show the project and any subprojects in the Projects | section. Tasks show project-related tasks that are hidden when not | narrowed to a project. ` The feature/concept seems very useful to be able to zoom into a project of interest but I could't figure out how =P= helps with this since it seems to move to previous item while in the ageda view. Can someone (or Bernt) using the setup point me to right direction please? Regards --Manish
[O] forward to the past ... Rounding timeclock
Org-modians, I would like clocking to round to 15 minute intervals when I clock in and clock out. I have the following in .emacs custom-set-variables section: '(org-time-stamp-rounding-minutes (quote (15 15))) My org-version is 7.8.11 and emacs is 24.2.50.1 The rounding operates just fine when I go to adjust clock times (S-Up/Down) making the adjustment to the nearest 15 minute interval. However, when I clock-in or clock-out, it uses the time, down to the minute. Here is what I found fixes this behavior for me: *** h:/lib/emacs/org-mode/org-clock.el Thu Nov 8 17:24:54 2012 --- h:/lib/emacs/org-mode/org-clock-kevin.elFri Nov 9 11:47:40 2012 *** *** 1239,1249 (y-or-n-p (format You stopped another clock %d mins ago; start this one from then? ! (/ (- (org-float-time (current-time)) (org-float-time leftover)) 60))) leftover) start-time ! (current-time))) (setq ts (org-insert-time-stamp org-clock-start-time 'with-hm 'inactive (move-marker org-clock-marker (point) (buffer-base-buffer)) --- 1239,1249 (y-or-n-p (format You stopped another clock %d mins ago; start this one from then? ! (/ (- (org-float-time (org-current-time)) (org-float-time leftover)) 60))) leftover) start-time ! (org-current-time))) (setq ts (org-insert-time-stamp org-clock-start-time 'with-hm 'inactive (move-marker org-clock-marker (point) (buffer-base-buffer)) (By the way, what is the best way (right way) to produce a patch listing? This was all I could come up with). - Kevin Buchs On Thu, May 24, 2012 at 11:11 AM, Kevin Buchs kevin.buchs.j...@gmail.com wrote: On Thu, May 24, 2012 at 4:25 AM, Bastien b...@gnu.org wrote: What is your value of ̀org-time-stamp-rounding-minutes'? It is (15 15). Replacing (current-time) with (org-current-time) here will surprise users that use ̀org-time-stamp-rounding-minutes' only for modifying time-stamps and not for clocking in. We could have an option for this, letting users decide whether they want `org-time-stamp-rounding-minutes' to apply to clocking in. Do you want to work in this direction? According to the documentation for org-time-stamp-rounding-minutes, the first value of that list should apply to creating time stamps and the second to modifying them. Does that differentiation cover the case you gave? If we need to create another sort of encoding for org-time-stamp-rounding-minutes, I can certainly work on coding that. I find this feature really useful. Perhaps I misunderstand, but it seems like one still needs to replace (current-time) with (org-current-time) as org-current-time is where the value of org-time-stamp-rounding-minutes is actually utilized. I have filled out the paperwork with FSF to be a developer in emacs/ org-mode. Let us know when this is done. It is already done - been so for a few months.
Re: [O] Question re. Bernt's agenda setup
Hi Manish, it's Shift-P and you need to bind the function bh/narrow-to-project to the keycode. See the code blocks in the following two sections: http://doc.norang.ca/org-mode.html#SpeedCommands http://doc.norang.ca/org-mode.html#NarrowToSubtree Cheers, Viktor PS: I agree that Bernt's document is absolutely awesome! Manish wrote: Hello Bernt and others, I was picking up tips from Bernt's awesome and famous document at http://doc.norang.ca/org-mode.html. In section 7.1, just between the two screenshots, I came across following text: ,[ excerpt from section 7.1 ] | After selecting a project (with P on any task in the agenda) the block | agenda changes to show the project and any subprojects in the Projects | section. Tasks show project-related tasks that are hidden when not | narrowed to a project. ` The feature/concept seems very useful to be able to zoom into a project of interest but I could't figure out how =P= helps with this since it seems to move to previous item while in the ageda view. Can someone (or Bernt) using the setup point me to right direction please? Regards --Manish
Re: [O] change the latex header per subtree
Achim Gratz strom...@nexgo.de writes: Getting rid of special cased machinery to provide a more general one counts as simplification in my book. Unless I'm mistaken, current set-up can generate any preamble. Then, how could it be special cased and how could another system be more general? I agree that current system is far from being perfect. Some other system may even be more convenient to use. But I won't buy that it will be simpler. My judgment may be clouded because I think some other parts of the exporter deserve a more immediate attention, though. Also, if you want to add package collections, you may include a header-only file in your class, I guess. I don't get what you are telling me here, sorry. You can have \input{my-special-headers-A.tex} somewhere in your class, where my-special-headers-A.tex file contains some package collection. Regards, -- Nicolas Goaziou
Re: [O] org-agenda-ignore-scheduled not taken into account in custom agenda blocks?
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm implementing some of the ideas of the great norang page (http://doc.norang.ca/org-mode.html), but there is one thing that is failing me. I can see that org-agenda-ignore-scheduled work for the global todo list, but it does not seem to be working when using a custom block. For instance, using the following definition: #+BEGIN_SRC elisp (tags-todo -WAITING-CANCELLED/!NEXT ((org-agenda-overriding-header Next Tasks) (org-agenda-skip-function 'bh/skip-projects-and-habits-and-single-tasks) (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t) (org-agenda-todo-ignore-with-date t) (org-tags-match-list-sublevels t) (org-agenda-sorting-strategy '(todo-state-down effort-up category-keep #+END_SRC I still see scheduled tasks. Is it supposed to be working or am I doing it wrong? I can confirm that scheduled and deadlined TODOs still show up where they shouldn't -- I tried putting the ignore statements both in the individual block declarations, and in the declaration at the end of the custom command. This is with org-version 7.9.2. Seems like a bug! Eric
Re: [O] exporting clock-in and clock-out times
OK, I see a folder called contrib, but the documentation doesn't say anything about a new exporter. Inside contrib is a folder called elisp, which has org-export.el and export-export-generic.el. Is that the new exporter? How do I install it? On Sat, Nov 10, 2012 at 5:38 PM, Nicolas Goaziou n.goaz...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: Oh cool. How do I install the new exporter? I don't use git. You can use package.el, for example and install org-plus-contrib package (new exporter is in contrib/ directory). See: http://orgmode.org/elpa.html Regards,
Re: [O] exporting clock-in and clock-out times
Aloha Peter, In general, make sure contrib/lisp is on your load path, require the back-end you want to use, and (optionally) define a key stroke sequence to launch org-export-dispatch. You might have this in .emacs: (setq load-path (cons ~/.emacs.d/src/org-mode/lisp load-path)) (setq load-path (cons ~/.emacs.d/src/org-mode/contrib/lisp load-path)) (require 'org-e-texinfo) (define-key org-mode-map (kbd C-c e) 'org-export-dispatch) This is set up to use the texinfo back-end, but you might want org-e-latex, org-e-html, or one of the others. Then, when you want to export your Org document, use C-c e to see the menu choices available from the back-ends you've required. In my (limited) experience, and speaking generally, the back-ends are already quite good. All the best, Tom Peter Salazar cycleofs...@gmail.com writes: OK, I see a folder called contrib, but the documentation doesn't say anything about a new exporter. Inside contrib is a folder called elisp, which has org-export.el and export-export-generic.el. Is that the new exporter? How do I install it? On Sat, Nov 10, 2012 at 5:38 PM, Nicolas Goaziou n.goaz...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: Oh cool. How do I install the new exporter? I don't use git. You can use package.el, for example and install org-plus-contrib package (new exporter is in contrib/ directory). See: http://orgmode.org/elpa.html Regards, OK, I see a folder called contrib, but the documentation doesn't say anything about a new exporter. Inside contrib is a folder called elisp, which has org-export.el and export-export-generic.el. Is that the new exporter? How do I install it? On Sat, Nov 10, 2012 at 5:38 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Peter Salazar cycleofs...@gmail.com writes: Oh cool. How do I install the new exporter? I don't use git. You can use package.el, for example and install org-plus-contrib package (new exporter is in contrib/ directory). See: http://orgmode.org/elpa.html Regards, -- Thomas S. Dye http://www.tsdye.com