Re: [O] freemind export?
Does freeplane do the placing or is it due to a POSITION switch in the mm-file? Could you post the exported mm-file please for comparison, please? Thanks Von: Jambunathan K Gesendet: 04.11.2013 07:37 An: Christof Spitz Cc: emacs-orgmode@gnu.org Betreff: Re: freemind export? Christof Spitz christof.sp...@gmail.com writes: #+TITLE: SUBJEKT #+AUTHOR: Christof #+OPTIONS: H:4 * Headline 1 ** Sub 1.1 ** Sub 1.2 * Headline 2 ** Sub 2.1 ** Sub 2.2 Branch Headline 2 should be place to the left of the central SUBJECT in Freemind. It is getting placed rightly. Here is the screenshot of what I get (with no additional customizations at my end). I use freeplane, btw. As for styles, you need to customize your styles in Freemind exporter and move over the XML to ox-freemind.el. If you have a specific question wrt style, I can help. But I need to be convinced that you are using the right exporter i.e., no installation issues etc etc etc.
Re: [O] [PATCH] hide inline-tasks in 'children visibility state
Hi, On Thu, Oct 31 2013, Nicolas Goaziou wrote: co...@online.de (Jonas Hörsch) writes: + (cond ((eq state 'contents) I suggest to use `case' here, but it's really a matter of style. fine with me. i wasn't sure about the usage convention for cl. i switched to the namespaced cl-case variant, for now. + (hide-sublevels (1- org-inlinetask-min-level + (while (and (outline-next-heading) + (org-inlinetask-at-task-p)) I think it is more efficient to directly look for inlinetasks since you can use `org-inlinetask-outline-regexp'. hmm ... i'm not so sure. as you can see in the attached patch, now i have to perform an extra search on each headline to find the boundary for the inline task search. it feels to me like this would be faster for a situation with more than one inline task per headline in the mean? (which i don't think is the likely situation). well, what do you think? From 763f4d8c8daa0c09809a677c8cd8358476336f24 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch co...@online.de Date: Wed, 30 Oct 2013 15:39:33 +0100 Subject: [PATCH] org-inlinetask: Hide inline tasks in 'children visibility state * lisp/org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when switching to 'children visibility state. TINYCHANGE --- lisp/org.el | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 4f3bf4b..c94e2ee 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7074,11 +7074,23 @@ open and agenda-wise Org files. (org-flag-drawer t)) (defun org-cycle-hide-inline-tasks (state) - Re-hide inline task when switching to 'contents visibility state. - (when (and (eq state 'contents) - (boundp 'org-inlinetask-min-level) - org-inlinetask-min-level) -(hide-sublevels (1- org-inlinetask-min-level + Re-hide inline tasks when switching to 'contents or 'children +visibility state. + (cl-case state +(contents + (when (org-bound-and-true-p org-inlinetask-min-level) + (hide-sublevels (1- org-inlinetask-min-level +(children + (when (featurep 'org-inlinetask) + (let ((end (save-excursion + (if (re-search-forward + (concat [\r\n]\\( org-outline-regexp \\)) nil t) + (match-beginning 1) + (point-max) + (save-excursion + (while (re-search-forward (org-inlinetask-outline-regexp) end t) + (org-inlinetask-toggle-visibility) + (org-inlinetask-goto-end (defun org-flag-drawer (flag) When FLAG is non-nil, hide the drawer we are within. -- 1.8.4 p.s.: for some weird reason, i was convinced i submitted this mail a few days ago ... but my mail program says otherwise. pgp7i2XnocdUF.pgp Description: PGP signature
Re: [O] freemind export?
my installation of ox-freemind.el: - put ox-freemind.el in list/org - directory - (require 'cl) in init.el - custom settings in initl.el: '(org-export-backends (quote (ascii beamer html icalendar latex freemind))) '(org-freemind-pretty-output t) '(org-freemind-style-map-function (quote org-freemind-style-map--automatic)) run C-c C-e f f in org-buffer open in freemind or freeplane current version (no difference, all branches always placed to the right of main subject). Christof 2013/11/4 Jambunathan K kjambunat...@gmail.com Christof Spitz christof.sp...@gmail.com writes: #+TITLE: SUBJEKT #+AUTHOR: Christof #+OPTIONS: H:4 * Headline 1 ** Sub 1.1 ** Sub 1.2 * Headline 2 ** Sub 2.1 ** Sub 2.2 Branch Headline 2 should be place to the left of the central SUBJECT in Freemind. It is getting placed rightly. Here is the screenshot of what I get (with no additional customizations at my end). I use freeplane, btw. As for styles, you need to customize your styles in Freemind exporter and move over the XML to ox-freemind.el. If you have a specific question wrt style, I can help. But I need to be convinced that you are using the right exporter i.e., no installation issues etc etc etc.
Re: [O] org-mode in the wild
John Kitchin jkitc...@andrew.cmu.edu writes: Hi everyone, We had another manuscript written in org-mode accepted in Topics in Catalysis (http://link.springer.com/article/10.1007%2Fs11244-013-0166-3)! Check out references 14, 39 and 40 ;) The supporting information seems to be freely available ( http://link.springer.com/content/esm/art:10.1007/s11244-013-0166-3/file/MediaObjects/11244_2013_166_MOESM1_ESM.pdf) was also prepared in org-mode. It is probably best read with the Adobe PDF reader. This file is an interesting hybrid of data sharing methods. Some of the data is in the pdf, some of it is embedded in the pdf, including the org-mode files for the manuscript and the supporting information file itself. Anyone interested in seeing how we did it can check it out. Thanks - this is brilliant and gives quite a few ideas how to write paper, but especially how to do an analysis and graphs for a paper, in org. Incidently, we have just submitted a paper which was written by the main author in MS Office, but the graphs were generated and the analysis was doine using org. In a similar manner, I included the complete analysis in the supporting information. But I relly like the \attachfile{} - I'll add this to the supporting informateion as werll as a paragraph aboiut org. Cheers, Rainer John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu #secure method=pgpmime mode=sign -- Rainer M. Krug email: RMKrugatgmaildotcom
Re: [O] Very large svg file output from latex block using =#+header: :imagemagick=
Hi John, John Hendy jw.he...@gmail.com writes: I'm trying to following along with the example here: - http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html#sec-4-3 I don't need dual export, so I tried this instead for straight html compatible output: #+header: :file tree.svg #+header: :imagemagick #+begin_src latex \usetikzlibrary{trees} \begin{tikzpicture} \node [circle, draw, fill=red!20] at (0,0) {1} child { node [circle, draw, fill=blue!30] {2} child { node [circle, draw, fill=green!30] {3} } child { node [circle, draw, fill=yellow!30] {4} }}; \end{tikzpicture} #+end_src Should this work? I get this error: org-babel-execute:latex: Can not create svg files, please specify a .png or .pdf file or try the :imagemagick header argument In perusing another thread, it looks like the argument might be =:imagemagic yes=? - http://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg01302.html When I do that and run the above, I get a 30.9mb file as the .svg output. Surely I'm doing something incorrectly? Well, the error message is misleading. If you go via imagemagick, I guess, the image is rendered and converted to pixel graphics and then converted back to svg with embedded pixel graphics, which will inflate the output. The way to go is to customize org-babel-latex-htlatex to htlatex. Then, the block without the :imagemagick header argument should produce a decent svg. For reference, this works for me (having org-babel-latex-htlatex set to htlatex) --8---cut here---start-8--- #+header: :file tree.svg #+header: :results file raw #+begin_src latex \usetikzlibrary{trees} \begin{tikzpicture} \node [circle, draw, fill=red!20] at (0,0) {1} child { node [circle, draw, fill=blue!30] {2} child { node [circle, draw, fill=green!30] {3} } child { node [circle, draw, fill=yellow!30] {4} }}; \end{tikzpicture} #+end_src #+results: [[file:tree.svg]] --8---cut here---end---8--- Regards, Andreas Just pulled this morning before executing: Org-mode version 8.2.1 (release_8.2.1-163-ge7397d @ /home/jwhendy/.elisp/org.git/lisp/) Thanks for any suggestions! John
[O] Errors trying to add properties to clocktable
Per section 8.4.2 of the manual, I'm trying to add a :properties column to the clocktable. Here are my block settings: #+BEGIN: clocktable :maxlevel 2 :scope agenda :block thisweek :properties CATEGORY :inherit-props Now, my goal is to add a work commitment in hours per week to some of the headings that will show up next to the actual clocked hours for the week, but I'm using CATEGORY as a testing example. The manual doesn't describe how to specify the property list, and since I get an error (Wrong type argument: stringp, 67), I'm sure I must be doing something wrong. Sorry if this is a basic question, but I couldn't find anything about it on google. Pete
[O] [ANN] ob-clojure.el now supports cider (but nrepl.el is still the default)
Hi all, I added support for cider in ob-clojure.el: http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=dbc39f Cider is the new nrepl.el for interacting with Clojure: https://github.com/clojure-emacs/cider The default value of `org-babel-clojure-backend' is still 'nrepl but we may switch to 'cider as a default if enough people say it's better. Thanks, -- Bastien
Re: [O] org-babel-load-file
Hi Sam, Sam Flint swfl...@flintfam.org writes: I'm trying to switch to using a org-mode based LP configuration. When I put `(org-babel-load-file ~/.emacs.org)` after I load org-mode, I get load-file: Cannot open load file: /home/swflint/.emacs.el I guess that's because ~/.emacs.org defines its own target file for tangling. There was a bug in this area, now fixed, please test. Thanks, -- Bastien
Re: [O] set global visibility set to CONTENTS in a defun?
Hi Matt, Matt Price mopto...@gmail.com writes: I am sure it's possible to do this ,but I can't seem to figure out how to set the global visibility level of org headings to a pre-specified level in a list function. (org-global-cycle) cycles the visibility among OVERVIEW -- CONTENTS -- ALL it accepts an optional argument, but whatever I put in the argument (number, string, whatever) has the effet of setting visibility to OVERVIEW, e.g.. I'm sure there's a trick I'm missing, could someone please tell me what it is? Mhh... hard to give good hints without a better idea of what your defun does -- can you share more about it? Thanks, -- Bastien
Re: [O] Line breaks in org-mode having version control in mind
Hi Dror, Dror Atariah dror...@gmail.com writes: What other issues are there? What do you do when you keep your org file under VC? Only a small part of the answer, but you might be interested in the Git Org merge driver: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/git-merge-tool/ -- Bastien
Re: [O] (idea?) fontification of live code blocks
Hi Vicente, Vicente Vera vicente...@gmail.com writes: Hello. I don't know if this has been mentioned before, but it would be nice to have fontified live code blocks, since sometimes it's hard to clearly distinguish---at least at first sight---between regular text and something like, for example, src_R[:session *project2*] {round(mean(data$AGE),digits=0)}. I guess you mean inline code blocks? -- Bastien
Re: [O] [PATCH] make comment-dwim in source code blocks more DWIM-ish
Hi Aaron, Aaron Ecay aarone...@gmail.com writes: * lisp/org.el (org-insert-comment, org-comment-or-uncomment-region): use the relevant language’s major mode comment function if called from within a source block. This patch makes it easier to (un)comment lines of babel source. Now M-; in a soucre code block should Just Work. It does! Something I've been wanting since long. I applied the patch in master so that more people can test it. Thanks! -- Bastien
Re: [O] Bug: using :flags for C source block produce invalid html [8.2.1 (8.2.1-15-ge5cecc-elpa)]
Hi Alexandre, Alexandre Duret-Lutz a...@lrde.epita.fr writes: #+BEGIN_SRC C :export code :include stdio.h :flags -I. int a = 2; int b = 3; printf(%d, a + b); #+END_SRC (org-element-property :language src-block) returns C\-I.\ on such a source code block, I guess that's where the error lies. When I export them with with C-x C-e h h, I get the following HTML (excerpt): Yes, I guess the parser needs a fix here -- Nicolas, is it the case? Thanks, -- Bastien
Re: [O] typo Catching-invisible-edits
Hi Cyprien, Cyprien Gay cyprien@aful.org writes: Here is a typo I encountered. Fixed, thanks! -- Bastien
Re: [O] Want to copy a sparse tree to a buffer
Hi Subhan, Subhan Tindall subhan.tind...@rentrakmail.com writes: What I need to do is grab all subtrees matching e.g. 300 copy them into one contiguous block in another file. I would use an agenda view (perhaps a simple interactive search view) then save the result with C-x C-s mynewfile.org RET -- using .org as the extension of the file will only copy the items of the view. Hope that helps, -- Bastien
Re: [O] help me get started with org-publish?
Hi Jay, Jay Dixit jaydixit.w...@gmail.com writes: I'm trying to set up org-publish for HTML export and I keep getting strange errors related to org-footnote-normalize. https://gist.github.com/7131173 Do you also get errors when *exporting*, not publishing? If so, can you send a minimal example of the file you can't export, along with your Org version and configuration? Thanks, -- Bastien
Re: [O] [BUG] mention org-after-sorting-entries-or-items-hook
Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: `org-sort-entries' calls a useful hook `org-after-sorting-entries-or-items-hook', which isn't mentioned in docstring. It is now, thanks. -- Bastien
Re: [O] How do I insert a literal '|' to a table in org-mode?
b...@pku.edu.cn writes: Is that possible? Not literally. -- Bastien
Re: [O] conditionally includes or file options
Hi Jason, Jason Lewis jasonble...@gmail.com writes: Is there some way I can conditionally set the path based on the computer I'm exporting it on? Nope, sorry! -- Bastien
Re: [O] Bug: #+SETUPFILE breaks org buffers syntax highlighting [8.2.1 (8.2.1-3-g35e5e5-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20131007/)]
Jason Lewis jasonble...@gmail.com writes: Creat an or buffer with a line or two insert at the top of the org file: #+SETUPFILE: somfile.org Press C-c C-c on that line. observe font highlighting disappears. I observe the font disappear when somefile.org does *not* exist, but things are fine when it does -- which makes sense. Anyone else being able to reproduce Jason's issue? -- Bastien
Re: [O] Is there a way to, in a table, denote an entire column as LaTeX
Hi Stephen, Stephen J. Barr stev...@uw.edu writes: In a table, is it possible to denote that an entire column is LaTeX markup, rather than using the $$ markup around each expression. Sample table: |-+--| | Term| Explanation | |-+--| | $$x^2$$ | This is a square | | $$x^3$$ | This is a cubic | |-+--| Is there a better way to do this? Not that I can think of, sorry... -- Bastien
Re: [O] org-slidy in org 8.x?
Hi Jay, Jay Dixit di...@aya.yale.edu writes: I'm trying to use Dov Grobgeld's org-slidy (https://github.com/dov/ org-slidy) to create HTML-based slideshows using org-mode, but it doesn't seem to be working. I'm not sure, but I suspect this is because the syntax for org's HTML export may have changed? Yes, there were significant changes in Org 8.0 -- please ping Dov so that he can update org-slidy. Best, -- Bastien
Re: [O] Arbitrary lisp functions in column-attributes
Hi Mark, Mark Edgington edgi...@gmail.com writes: But I'd like to be able to do something like: :COLUMNS: %ITEM{fn:process_item} %TAGS %PRIORITY %TODO FWIW, I'd be inclined to say this is a bit *too much* -- but I'm curious to see if others have the same need. -- Bastien
Re: [O] [PATCH] lisp/org.el (org-set-tags): Calculate width of tags with string-width
Hi Yasushi, Yasushi SHOJI ya...@atmark-techno.com writes: * lisp/org.el (org-set-tags): Width of strings presenting on a buffer should be calculated with `string-width' instead of `length'. Applied in master, thanks. (I added TINYCHANGE at the end of your commit by mistake, I didn't realize you signed the FSF papers -- sorry for that.) -- Bastien
Re: [O] Hooks org-publish-before-export-hook, org-publish-after-export-hook no longer in use?
Hi Iannis, Iannis Zannos zan...@gmail.com writes: If the above is correct, then the org-mode manual should be updated to reflect the change, at page: http://orgmode.org/worg/org-configs/org-hooks.html This page was obsolete, I deleted it from the server. Please use this link instead: http://orgmode.org/worg/doc.html#hooks Thanks, -- Bastien
Re: [O] org-store-link BUG for notmuch message
Hi Ingo, what version of Org and notmuch are you using? I use a recent Emacs/Org and a recent notmuch and I can store link without problem. Let us know, thanks, -- Bastien
Re: [O] freemind export
Hi Brian, Brian Keats bke...@gmail.com writes: I'm just getting started with org-mode, and I seem to be having an issue with freemind export. None of the structural elements (http:// orgmode.org/manual/Easy-Templates.html) seem to be recognized when exported to freemind (except html). I'm interested in example mode so my pasted text files show up as plain text. Am I doing something wrong, or is this a limitation? P.S., I'm working in windows. I guess it's a limitation -- by the way, the freemind exporter needs love and maintainership, help welcome here. Thanks, -- Bastien
Re: [O] Random underscores in html-export
Hi Thorsten, Thorsten Jolitz tjol...@gmail.com writes: I see (somehow random) underscores in html-exports, but no hint whatsoever in the original Org file where they might come from. Are they really underscore or unbreakable spaces? Do you have a minimal example? -- Bastien
[O] How to deal with 'contents' in (derived) exporter backend
Hi List, assume I want to derive an exporter backend from ox-org.el, and there are just a few new transcoder functions, so all other elements/object should be exported as Org-syntax (with inherited function `org-org-identity'). Using this example Org-snippet #+begin_src org * A1 Text *A1* ** A2 Text *A2* * B1 Text *B1* ** B2 Text *B2* #+end_src I get something like this if I write a transcoder function for 'headline' ignoring argument 'contents' (don't bother with the details please): #+begin_src emacs-lisp (org-data nil (headline (title-string \A1\ alt-title-string \A1\ category \tmp5\ level 1 priority nil tags nil todo-keyword nil quotedp nil archivedp nil commentedp nil footnote-secion-p nil)) (headline (title-string \B1\ alt-title-string \B1\ category \tmp5\ level 1 priority nil tags nil todo-keyword nil quotedp nil archivedp nil commentedp nil footnote-secion-p nil)) ) #+end_src Only the two 1st level headlines are successfully transcoded, their content is missing. But when I use something like this in the headline transcode function #+begin_src emacs-lisp (format (headline %S %s) [... return headline string ...] contents) #+end_src I get the parse-tree structure as output instead of elements/object in their original Org text syntax as expected: #+begin_src emacs-lisp (org-data nil (headline (title-string \A1\ alt-title-string \A1\ category \tmp5\ level 1 priority nil tags nil todo-keyword nil quotedp nil archivedp nil commentedp nil footnote-secion-p nil) (section (#(\Text *A1* \ 0 5 (:parent (paragraph (:begin 6 :end 16 :contents-begin 6 :contents-end 16 :post-blank 0 :post-affiliated 6 :parent (section (:begin 6 :end 16 :contents-begin 6 :contents-end 16 :post-blank 0 :parent (headline (:raw-value \A1\ :begin 1 :end 32 :pre-blank 0 :contents-begin 6 :contents-end 32 :level 1 :priority nil :tags [...] #+end_src Note that I have a simple filter-function for section that looks like this: #+begin_src emacs-lisp (defun org-iorg-data-filter-section-function (section backend info) (format (section (%S)) section)) #+end_src I'm sure there is some misunderstanding on my side here. I would expect that all elements/objects inside the section have already been transcoded back to Org-syntax when this filter is applied, so I should not see parse-tree structures in the output. I had a look at other backends for inspiration on how to deal with 'contents' in my headline transcoder function, e.g. #+begin_src emacs-lisp (defun org-html-section (section contents info) [...] ;; Build return value. (format div class=\outline-text-%d\ id=\text-%s\\n%s/div class-num (or (org-element-property :CUSTOM_ID parent) section-number) contents) #+end_src but that looks to me just how I treated 'contents' above. Any tips would be appreciated. -- cheers, Thorsten
Re: [O] Random underscores in html-export
Bastien b...@gnu.org writes: Hi Bastien, Thorsten Jolitz tjol...@gmail.com writes: I see (somehow random) underscores in html-exports, but no hint whatsoever in the original Org file where they might come from. Are they really underscore or unbreakable spaces? They might have started out as unbreakable spaces, but they make it as visible underscores into the html-output-string of the exporter. Do you have a minimal example? This is completely unpredictable, and the context is too complicated to produce a MWE. I'm trying a different approach right now anyway, but I will follow up to this thread in case it happens again. -- cheers, Thorsten
[O] Fwd: ob-lilypond: pre- and post-processing of source blocks
Apologies for resending -- I sent this a few hours ago but I don't see it on gmane, or in the gnu.org archive either. Actually the manual answers question #1 -- I should be able to use the prologue header argument for that. And I can already do #2 (included just to outline the desired behavior completely). I haven't found anything in the manual explaining how to run a shell command on the output file from LilyPond execution. That's really the crucial one -- it makes no sense to embed an A4 sized image into a beamer frame... hjh -- Forwarded message -- From: James Harkins jamshar...@dewdrop-world.net Date: Nov 4, 2013 1:44 PM Subject: ob-lilypond: pre- and post-processing of source blocks To: orgmode emacs-orgmode@gnu.org Cc: I would like to be able to do the following with ob-lilypond (basic mode): 1. Wrap the source block in pre- and/or post-strings (specifically to add \header { tagline = ##f } before the music expressions). 2. Have lilypond compile the block. 3. Run convert -trim on the resulting png. (Haven't figured out how to use eps output with xelatex.) Is this at all feasible? If not, where would I stick this stuff into the orgmode source? hjh
Re: [O] Exporting book handouts
t...@tsdye.com (Thomas S. Dye) writes: Aloha Jarmo, Greetings to Hawaii from the dark and cold north. I find it easiest to use separate sub-trees for the various different documents I create from a given body of material. In your case, I would make a sub-tree for the book and a sub-tree for the handout. If I try to create two different documents under the same heading, the complexity overwhelms me. I can also foresee problems with interleaving two documents, but I will take some complexity over duplication any day. However, your approach with named elements and reusable functions does appeal to me. What is the mechanism you use to select the subtrees that you are exporting? Are you employing SELECT_TAGS or something else? Where possible, I #+name: the elements that will be used in more than one place and then use #+call: lines to place them where I want. Great tip, thanks. I don't know off-hand the full list of elements that can be named and echoed this way. I am in the process of starting to write a new section, so I will try it out. For equations etc. it would also be possible to define LaTeX macros for reuse. Thanks a lot! Jarmo
[O] org mode and eev
Hello, I finally took the time to watch the eev video (http://angg.twu.net/eev-videos/video2.mp4) and I'm quite impressed by it. I find it may be redundant for some features of org mode (such as basic links to files) but I find the driving of external shell-based programs very nice. As I've seen it mentioned on this list before, I was wondering if some of you use it in addition to org mode. Thanks, Alan
Re: [O] Exporting book handouts
Greetings Nicolas. Nicolas Goaziou n.goaz...@gmail.com writes: 1. A way to denote that a certain element (figure, equation, part of a longer equation, a piece of text etc.) goes into the Beamer export. By default, material should _not_ be included in the Beamer export. I don't know how to achieve this. I did find SELECT_TAGS in the manual, so if I were to export entire subtrees into Beamer, maybe I could change the value of this when I am doing a Beamer export. But could I use this for individual elements, such as an equation or a figure? You can use drawers: * Some section :HANDOUT: ... :END: :BOOK: ... :END: Then, you can play with `org-export-with-drawers' and its OPTIONS counterpart: #+OPTIONS: d:(BOOK) for a book-only export. #+OPTIONS: d:(not HANDOUT) for an everything-but-handout export... This looks like a nice approach if I did not have to specify any BOOK drawers. That is, if there would be a way to export _only_ the contents of HANDOUT drawers so that the macros, elements etc. outside the drawers would still be applicable. It also seems that the scope of a drawer can not include a new headline. That is, the following does not seem to work: # #+TITLE: drawer-test #+OPTIONS: d:(not HANDOUT) * testing drawers ** part of the main text :HANDOUT: ** only in handouts :END: :HANDOUT: also just in handouts :END: # Thanks! I will keep this in mind when I try out different things. Jarmo
Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks
I would like to be able to do the following with ob-lilypond (basic mode): 1. Wrap the source block in pre- and/or post-strings (specifically to add \header { tagline = ##f } before the music expressions). 2. Have lilypond compile the block. 3. Run convert -trim on the resulting png. (Haven't figured out how to use eps output with xelatex.) Is this at all feasible? If not, where would I stick this stuff into the orgmode source? Look in lisp/ob-lilypond.el. Specifically (1) would be done in `org-babel-expand-body:lilypond', and both (2) and (3) in `org-babel-execute:lilypond'. See http://orgmode.org/worg/org-contribute.html if you want to contribute any enhancements back to Org-mode. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
[O] Adding and subtracting from clocked entries.
I am trying out clock in org-mode. Is it possible to add en subtract times? For example I am working on project A from 09:00 until 13:00. But during this period I also worked for fifteen minutes on project B. I would like to subtract those fifteen minutes from project A and add them to project B. Can this be done? -- Cecil Westerhof
[O] Show TODO item in table of contents
Hi all, I couldn't find a way to show the TODO items in the table of econtents of an exported html of an org file. I do not mean org-export-mark-todo-in-toc. Please help me find a variable! Thank you, Rainer
Re: [O] Adding and subtracting from clocked entries.
Cecil Westerhof cldwester...@gmail.com writes: As far as I know, you can do exactly this (the subtracting clock time from one tree and adding it to another) but it's triggered on idle time, so if you're working on something else in emacs it won't ask you to resolve your idle clock time. I am trying out clock in org-mode. Is it possible to add en subtract times? For example I am working on project A from 09:00 until 13:00. But during this period I also worked for fifteen minutes on project B. I would like to subtract those fifteen minutes from project A and add them to project B. Can this be done? -- Cecil Westerhof
Re: [O] Adding and subtracting from clocked entries.
2013/11/4 Pete Ley peteley11...@gmail.com Cecil Westerhof cldwester...@gmail.com writes: As far as I know, you can do exactly this (the subtracting clock time from one tree and adding it to another) but it's triggered on idle time, so if you're working on something else in emacs it won't ask you to resolve your idle clock time. I am still working, so it will not work I am afraid.
[O] Most Recent Org Update
I pulled org from git just now, restarted Emacs, and got this error: Symbol's function definition is void: org-element-chache reset Any ideas why? Thanks -- Sam Flint swfl...@flintfam.org freenode: swflint (402) 517-8468 http://flintfam.org/~swflint BAFBF3FF
Re: [O] Adding and subtracting from clocked entries.
Cecil Westerhof cldwester...@gmail.com writes: I am still working, so it will not work I am afraid. Hopefully some org-mode guru can come along and explain how to trigger the functionality arbitrarily or by some other means, since the manual says what you're looking for is definitely doable.
[O] Having trouble with hidestars this morning
Hello. Normally outlines are supposed to start up in hidestars view, which shows one star per level, indented, thusly: * First Level * Second * Third But after compiling both emacs and org-mode from git this morning, and re-installing, my outlines show all the stars, and the stars cannot be turned off. I've tried: #+STARTUP: indent #+STARTUP: hidestars Suggestions? Is there some sort of M-x hidestars command that I might have toggled accidentally?
Re: [O] freemind export
OK, thanks anyway. I'd love to help, but I'm not a programmer. Brian On Mon, Nov 4, 2013 at 7:22 AM, Bastien b...@gnu.org wrote: Hi Brian, Brian Keats bke...@gmail.com writes: I'm just getting started with org-mode, and I seem to be having an issue with freemind export. None of the structural elements (http:// orgmode.org/manual/Easy-Templates.html) seem to be recognized when exported to freemind (except html). I'm interested in example mode so my pasted text files show up as plain text. Am I doing something wrong, or is this a limitation? P.S., I'm working in windows. I guess it's a limitation -- by the way, the freemind exporter needs love and maintainership, help welcome here. Thanks, -- Bastien
Re: [O] Is there a way to, in a table, denote an entire column as LaTeX
No worries. Thank you for getting back to me. b...@gnu.org writes: Hi Stephen, Stephen J. Barr stev...@uw.edu writes: In a table, is it possible to denote that an entire column is LaTeX markup, rather than using the $$ markup around each expression. Sample table: |-+--| | Term| Explanation | |-+--| | $$x^2$$ | This is a square | | $$x^3$$ | This is a cubic | |-+--| Is there a better way to do this? Not that I can think of, sorry...
Re: [O] Having trouble with hidestars this morning
Susan Cragin susancra...@earthlink.net writes: Hello. Normally outlines are supposed to start up in hidestars view, which shows one star per level, indented, thusly: * First Level * Second * Third But after compiling both emacs and org-mode from git this morning, and re-installing, my outlines show all the stars, and the stars cannot be turned off. I've tried: #+STARTUP: indent #+STARTUP: hidestars Suggestions? Is there some sort of M-x hidestars command that I might have toggled accidentally? What does 'C-h v org-startup-indented' show? -- cheers, Thorsten
Re: [O] freemind export?
Thanks here is a part of your mm-xml-code: node COLOR=#00b439 ID=sec-1-1 POSITION=right FOLDED=false font NAME=SansSerif SIZE=16/ edge STYLE=bezier WIDTH=thin/ richcontent TYPE=NODE html head /head body pSub 1.1 /p /body /html /richcontent /node and here is mine, containing no formatting attributes: node richcontent TYPE=NODE html head /head body pSub 1.1 /p /body /html /richcontent /node I was not able to change the setting of org-freemind-style-map-function, didn't understand the syntax. Seems you have another setting there that makes use of your predefined styles. 1. could you send me the variable settings of the exporter in your .emacs? 2. could you send me / or point me to the latest version of ox-freemind.el that you are using? I am not a programmer, so I don't much about what is going on in the lisp code. Thanks for helping, Christof 2013/11/4 Jambunathan K kjambunat...@gmail.com See the attachment. You can search for right and left in the XML produced. First headline goes right, second headline goes left, third one goes right, so on and so forth. If you could locate the bug I am willing to circulate a fix. Christof Spitz christof.sp...@gmail.com writes: Does freeplane do the placing or is it due to a POSITION switch in the mm-file? Could you post the exported mm-file please for comparison, please? Thanks Von: Jambunathan K Gesendet: 04.11.2013 07:37 An: Christof Spitz Cc: emacs-orgmode@gnu.org Betreff: Re: freemind export?
[O] R contingency table axes labels in org
Greetings again. I need to represent a contingency table generated by R in an org file. R output shows the labes of the vertical and the horizontal axes, but these are pruned from the output in org-mode. Is there a nice way to reintroduce the axes labels? # -- * interesting data #+BEGIN_SRC R :exports results :rownames yes :colnames yes org.files - c (1, 0, 2, 2, 2, 2, 1) happiness - c (1, 0, 2, 2, 2, 1, 2) data - data.frame (org.files, happiness) table (data) #+END_SRC #+RESULTS: | | 0 | 1 | 2 | |---+---+---+---| | 0 | 1 | 0 | 0 | | 1 | 0 | 1 | 1 | | 2 | 0 | 1 | 3 | # -- All the best, Jarmo
Re: [O] Exporting book handouts
Jarmo Hurri jarmo.hu...@syk.fi writes: What is the mechanism you use to select the subtrees that you are exporting? Are you employing SELECT_TAGS or something else? Interleaving is too complex for me. I use separate sub-trees and then restrict export to one sub-tree or another. This way, when I make a mistake in one document, another document doesn't suffer, too. I also like to keep common material, such as data tables and figures, together. I find that I tinker a lot as I'm writing and it helps me to have all the code for figures, etc. in one place so my tinkering changes can be systematic. * Book ** Chapter 1 ** Chapter 2 * Handouts ** Handout 1 ** Handout 2 * Common Material ** Figures ** Tables All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] R contingency table axes labels in org
Jarmo Hurri jarmo.hu...@syk.fi writes: Greetings again. I need to represent a contingency table generated by R in an org file. R output shows the labes of the vertical and the horizontal axes, but these are pruned from the output in org-mode. Is there a nice way to reintroduce the axes labels? # -- * interesting data #+BEGIN_SRC R :exports results :rownames yes :colnames yes org.files - c (1, 0, 2, 2, 2, 2, 1) happiness - c (1, 0, 2, 2, 2, 1, 2) data - data.frame (org.files, happiness) table (data) #+END_SRC #+RESULTS: | | 0 | 1 | 2 | |---+---+---+---| | 0 | 1 | 0 | 0 | | 1 | 0 | 1 | 1 | | 2 | 0 | 1 | 3 | # -- All the best, Jarmo library(ascii) ... print(ascii(table(data)), type=org) hth, Tom -- Thomas S. Dye http://www.tsdye.com
[O] HowTo? have R :sessions in org mode invoke a specific R
I wish to lock an org buffer to a particular installation of R so that all code blocks use it. I found that I could not, for instance, write `:session R-3.0.1`. Is there some best way for me to accomplish this? Perhaps some way of setting inferior-R-program-name to a buffer local value? Thanks! ~Malcolm
[O] test failures on recent pull
I just pulled and did a ``make test'': org-loaddefs: 8.2.1 (release_8.2.1-191-g28f4b8) ... ... Ran 471 tests, 467 results as expected, 4 unexpected (2013-11-04 12:18:23-0500) 5 expected failures 4 unexpected results: FAILED ob-exp/evaluate-all-executables-in-order FAILED ob-exp/export-call-line-information FAILED ob-exp/use-case-of-reading-entry-properties FAILED test-ob-lob/export-lob-lines Nick
Re: [O] R contingency table axes labels in org
t...@tsdye.com (Thomas S. Dye) writes: library(ascii) ... print(ascii(table(data)), type=org) Great tip. I even got the result out as an interpreted org table by using :results output raw. (For example, without raw it becomes literal.) Thanks! * interesting data #+BEGIN_SRC R :exports results :results output raw library (ascii) org.files - c (1, 0, 2, 2, 2, 2, 1) happiness - c (1, 0, 2, 2, 2, 1, 2) data - data.frame (org.files, happiness) print (ascii (table (data)), type = org) #+END_SRC #+RESULTS: | | | *happiness* | | | | | | 0 |1 |2 | |-+---+-+--+--| | *org.files* | 0 |1.00 | 0.00 | 0.00 | | | 1 |0.00 | 1.00 | 1.00 | | | 2 |0.00 | 1.00 | 3.00 | Jarmo
Re: [O] Arbitrary lisp functions in column-attributes
Bastien bzg at gnu.org writes: FWIW, I'd be inclined to say this is a bit *too much* -- but I'm curious to see if others have the same need. Hi Bastien, What about it seems too much? Or put differently, what do you think would be the negative effects of having something like this possible? From my (obviously biased) point of view, making it available would mean that the dynamic column view becomes much more flexible, and it would reduce the need in the future for lots of new hard-coded features/functions to be added to the related org-mode code. Instead, features can start out as functions which people create and share, and if they become popular enough among many people, they can be incorporated as a built-in feature that comes with org-mode, or as a contributed module. Regards, Mark
Re: [O] HowTo? have R :sessions in org mode invoke a specific R
On Mon, Nov 4, 2013 at 11:22 AM, Cook, Malcolm m...@stowers.org wrote: I wish to lock an org buffer to a particular installation of R so that all code blocks use it. I found that I could not, for instance, write `:session R-3.0.1`. Is there some best way for me to accomplish this? Perhaps some way of setting inferior-R-program-name to a buffer local value? I'm no good at in-buffer variables, but this one looks of interest: org-babel-R-command Mine on linux is just set to `R --slave --no-save`, but on Windows, I have to set the full path, so there's no reason you couldn't do the same (just that I simply use setq() and you'd be doing it in-buffer). Hope that helps, John Thanks! ~Malcolm
Re: [O] [Exporter] Why is :author a list in the communication channel?
Aaron Ecay aarone...@gmail.com writes: Hi Aaron, I would have expected multiple author lines to have this effect, so that your desired list of two authors would be generated by: , | #+author: Thorsten Jolitz | #+author: Thomas Mueller ` But it seems that only the last #+author line is used; previous ones are discarded. Maybe the :author plist entry should just be converted into a string. But if it remains a list to somehow support multiply-authored documents, I think the most natural way to specify the entries is with multiple lines as above. I can confirm that behaviour ... I'm not sure if I really get the idea of a 'typeless secondary' string as mentioned by Nicolas, but in daily practice ,--- | (plist-get info :author) `--- returns a list with one string in it for me ... -- cheers, Thorsten
Re: [O] [Exporter] Why is :author a list in the communication channel?
Hello, Thorsten Jolitz tjol...@gmail.com writes: Aaron Ecay aarone...@gmail.com writes: Hi Aaron, I would have expected multiple author lines to have this effect, so that your desired list of two authors would be generated by: , | #+author: Thorsten Jolitz | #+author: Thomas Mueller ` But it seems that only the last #+author line is used; previous ones are discarded. Maybe the :author plist entry should just be converted into a string. But if it remains a list to somehow support multiply-authored documents, I think the most natural way to specify the entries is with multiple lines as above. I can confirm that behaviour ... I'm not sure if I really get the idea of a 'typeless secondary' string as mentioned by Nicolas, but in daily practice ,--- | (plist-get info :author) `--- returns a list with one string in it for me ... Try #+AUTHOR: This is *Me*! The point is that you can have Org objects within AUTHOR (or TITLE, or DATE). See secondary string definition in org-element.el header. This is orthogonal to the fact that multiple lines are not allowed. For that, see BEHAVIOUR item in `org-export-options-alist'. In particular, you can compare TITLE and AUTHOR entries. Regards, -- Nicolas Goaziou
Re: [O] [Exporter] Why is :author a list in the communication channel?
Hello, Nicolas Goaziou n.goaz...@gmail.com writes: Thorsten Jolitz tjol...@gmail.com writes: Aaron Ecay aarone...@gmail.com writes: Hi Aaron, I would have expected multiple author lines to have this effect, so that your desired list of two authors would be generated by: , | #+author: Thorsten Jolitz | #+author: Thomas Mueller ` But it seems that only the last #+author line is used; previous ones are discarded. Maybe the :author plist entry should just be converted into a string. But if it remains a list to somehow support multiply-authored documents, I think the most natural way to specify the entries is with multiple lines as above. I can confirm that behaviour ... I'm not sure if I really get the idea of a 'typeless secondary' string as mentioned by Nicolas, but in daily practice ,--- | (plist-get info :author) `--- returns a list with one string in it for me ... Try #+AUTHOR: This is *Me*! The point is that you can have Org objects within AUTHOR (or TITLE, or DATE). See secondary string definition in org-element.el header. This is orthogonal to the fact that multiple lines are not allowed. For that, see BEHAVIOUR item in `org-export-options-alist'. In particular, you can compare TITLE and AUTHOR entries. Ok, I understand, so this is all working fine just as intended. For multiple authors one could use a workaround/convention like ,-- | #+author: Thorsten_Jolitz Thomas_Mueller `-- and then split the string two times (first blanks, then underscores). -- cheers, Thorsten
Re: [O] [Exporter] Why is :author a list in the communication channel?
Thorsten Jolitz tjol...@gmail.com writes: Ok, I understand, so this is all working fine just as intended. For multiple authors one could use a workaround/convention like ,-- | #+author: Thorsten_Jolitz Thomas_Mueller `-- and then split the string two times (first blanks, then underscores). It is also possible to allow multiple author lines, by adding `space' behaviour in `org-export-options-alist', but I'm not sure this is really necessary. Regards, -- Nicolas Goaziou
Re: [O] Line breaks in org-mode having version control in mind
Ediff shows word-level changes. In principle, diff-mode does too. My issue with visual-line-mode is that it disrespects fill-column. I would use it if it did not. Longlines-mode is a possible workaround. There is an intermittent bug in Magit maint where RET goes to the wrong line in Elisp and Org buffers. There is also an intermittent bug in bookmark jumping to Org. These bugs occur without visual-line or longlines modes. Longlines-mode might make those bugs more prominent. I don't know about visual-line-mode. Samuel On 11/3/13, Dror Atariah dror...@gmail.com wrote: I am trying to extend my usage of org, and one of the things I want to integrate is version controlling of my org files. This is obviously straight forward, but I am wondering about the best line breaking approach to use. In my LaTeX docs I maintain one physical line per sentence [1]. This way, when I change one word in a paragraph, it affects only one line, and looking for differences between versions is easy. Otherwise, when using fill-paragraph for instance, one gets messy changes of the file, as the one word change can influence the whole paragraph. Therefore, as I mentioned, in LaTeX I use visual-line-mode and I insert manually line breaks at the end of sentences (or where *I* find appropriate). What would be the best practice for org? I understand that visual-line-mode has some problems when it comes to tables... What other issues are there? What do you do when you keep your org file under VC? Thanks in advance, Dror [1] http://tex.stackexchange.com/a/4378/412 -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.
Re: [O] [Exporter] Why is :author a list in the communication channel?
Thorsten Jolitz tjol...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: ... This is orthogonal to the fact that multiple lines are not allowed. For that, see BEHAVIOUR item in `org-export-options-alist'. In particular, you can compare TITLE and AUTHOR entries. Ok, I understand, so this is all working fine just as intended. For multiple authors one could use a workaround/convention like ,-- | #+author: Thorsten_Jolitz Thomas_Mueller `-- and then split the string two times (first blanks, then underscores). ... or you could modify org-export-options-alist, e.g.: (setcar org-export-options-alist '(:author AUTHOR nil user-full-name space)) This is a bit too fragile as a general solution: it assumes that the :author entry is the car of org-export-options-alist which happens to be the case in my setup, but if you rearrange things, it might not be the case in your setup. Doing list surgery in the general case is left as an exercise. Nick
Re: [O] Want to copy a sparse tree to a buffer
Untested: C-v in the export dispatcher. On 10/24/13, Subhan Tindall subhan.tind...@rentrakmail.com wrote: Hi, I'm looking for a way to effectively copy a sparse tree to another buffer. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.
Re: [O] Most Recent Org Update
Sam Flint writes: I pulled org from git just now, restarted Emacs, and got this error: Symbol's function definition is void: org-element-chache reset Any ideas why? You probably meant to type org-element-cache-reset... my guess is you didn't actually re-load Org after the Git pull. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada
Re: [O] [Exporter] Why is :author a list in the communication channel?
Dnia 2013-11-04, o godz. 20:30:24 Nicolas Goaziou n.goaz...@gmail.com napisał(a): Thorsten Jolitz tjol...@gmail.com writes: Ok, I understand, so this is all working fine just as intended. For multiple authors one could use a workaround/convention like ,-- | #+author: Thorsten_Jolitz Thomas_Mueller `-- and then split the string two times (first blanks, then underscores). It is also possible to allow multiple author lines, by adding `space' behaviour in `org-export-options-alist', but I'm not sure this is really necessary. It is well possible that I don't understand something here, but in some LaTeX classes you use \author{...} many times instead of the default \author{... \and ...}. Maybe when exporting to such LaTeX classes, allowing multiple #+AUTHOR: lines might make sense? Regards, Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] Show TODO item in table of contents
Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: I couldn't find a way to show the TODO items in the table of econtents of an exported html of an org file. I do not mean org-export-mark-todo-in-toc. Please help me find a variable! org-export-with-tasks ? -- Bastien
Re: [O] Adding and subtracting from clocked entries.
Hi Cecil, Cecil Westerhof cldwester...@gmail.com writes: For example I am working on project A from 09:00 until 13:00. But during this period I also worked for fifteen minutes on project B. I would like to subtract those fifteen minutes from project A and add them to project B. Can this be done? I assume you stopped the clock on A, then started it on B, then stopped it on B, then restarted it on A. In this case, go to the end of the B clock timestamp, put the point on the HH:MM string, and hit S-M-down three times, so that the clock sum for B is zero, and the clock sum for A is added 15 minutes. Hope that helps, -- Bastien
Re: [O] Bug dragging lines in tag-restricted agenda
Hi Thomas, Thomas Morgan t...@ziiuu.com writes: I believe it is a bug for `M-down' to make an item visible that doesn't match the tag in a tag-narrowed view, and I think the most useful thing to do is to move the line beyond the next visible item. I pushed a fix for bugs in this area in the maint branch, please test it and report if there are still problems. Thanks for the clear bug report! -- Bastien
Re: [O] How to display the image for links whose description is an image?
Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: Is there a way to display images for links whose description is an image? If I have a link of the form: [[http://www.google.com/][file:images/Google_Logo.png]] and when I try to org-display-inline-images on it, it tells me there is no image to display. I tried with M-x org-toggle-inline-images RET and it seems to work: https://vimeo.com/78580390 HTH, -- Bastien
Re: [O] RLT (hebrew) tables and org-odt-export-to-odt problems
Jambunathan == Jambunathan K Jambunathan writes: Hi Jambunathan, Uwe I am venturing in to the wild here and it will take multiple iterations for me to even get a feel for what needs to be happen. I am not even sure what is right or wrong here. Anyways... thanks very much for all your efforts so far. Further to our exchange on the emacs-devel list, http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00134.html I see that the file you passed me has no bi-directional markers whatsoever. I think presence of markers would affect how libreoffice would layout the table. I suggest that you pass me an Org file, that has the right bidi-paragraph-direction (as a local variable) and has the right set of bidi markers. I tried and that and it did not help I send the files anyway, I will however use thunderbird to send the attachments in the next mails. (Furthermore, explicitly mark the org file as utf-8 coded. I am not sure what coding system the attachment is coded to. When I view the attachment in Gnus, I only see the latin characters.) As for getting the table cells laid right, try this out. 1. Export a hebrew.org file to hebrew.odt 2. Open the .odt file in LibreOffice. F11- Page Style-Default Page Style-Page-Text Direction-Set it to Right to Left. This does not really work, since it switches the direction of all rows in the table, but not just of the first one as suggested Eli. I think that this would set the predominant direction of your document. I believe, it would correspond to bidi-paragraph-direction setting. 3. File-Save as-somefile.ott Now in your hebrew.org file, add this directive #+ODT_STYLES_FILE: hebrew.ott This will make the exported document an R2L document. 4. Export again. See what happens I tried same result. I send all files in question in my next email. Uwe smime.p7s Description: S/MIME cryptographic signature
Re: [O] RLT (hebrew) tables and org-odt-export-to-odt problems
On 11/04/2013 07:08 AM, Jambunathan K wrote: I suggest that you pass me an Org file, that has the right bidi-paragraph-direction (as a local variable) and has the right set of bidi markers. Here are the attached files. hebrew.ott Description: application/vnd.oasis.opendocument.text-template hebrew-l2r.odt Description: application/vnd.oasis.opendocument.text #+ODT_STYLES_FILE: hebrew.ott שלום דוד David Hallo |שלום| דוד| |David |Hallo| # Local Variables: # eval: (setq bidi-paragraph-direction 'left-to-right) # End: hebrew-r2l.odt Description: application/vnd.oasis.opendocument.text #+ODT_STYLES_FILE: hebrew.ott שלום דוד David Hallo |שלום| דוד| |David |Hallo| # Local Variables: # eval: (setq bidi-paragraph-direction 'right-to-left) # End: smime.p7s Description: S/MIME Cryptographic Signature
Re: [O] Revealing when following file:NAME::LINENO
Hi François, François Pinard pin...@iro.umontreal.ca writes: Whenever one follows an Org link of the form file:NAME::LINENO, let me suggest that the found line be org-revealed automatically. In my opinion, this would be convenient for most people using such forms. Actually I think this is a good idea -- I pushed this change in master. Thanks! -- Bastien
Re: [O] exported dates in ox-rss.el
Hi Andrea, Andrea Rossetti andrea.rosse...@gmail.com writes: It turned out that the date format specifier %h is not accepted by the runtime (MSVCRT.DLL) of my Windows installation (a plain Windows 7 64 bit from year 2009). I updated ox-rss.el so that it uses %b instead of %h. Thanks, -- Bastien
Re: [O] org-mode in the wild
I wasn't familiar with pgf at all. we are usually limited by what publishers will accept in terms of formats, which is usually pdf, eps, png or tiff where we publish. for other features in pdf, we did not use any for these manuscripts, but sometimes I use some adobe specific javascript for making interactive features in course notes(using acrotex). some of those do not work well in any other browser. John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu On Sun, Nov 3, 2013 at 8:37 AM, Rasmus ras...@gmx.us wrote: John Kitchin jkitc...@andrew.cmu.edu writes: We had another manuscript written in org-mode accepted in Topics in Catalysis (http://link.springer.com/article/10.1007%2Fs11244-013-0166-3 )! Check out references 14, 39 and 40 ;) Congrats! And thanks for sharing. The supporting information seems to be freely available ( http://link.springer.com/content/esm/art:10.1007/s11244-013-0166-3/file/MediaObjects/11244_2013_166_MOESM1_ESM.pdf ) was also prepared in org-mode. It is probably best read with the Adobe PDF reader. This file is an interesting hybrid of data sharing methods. Some of the data is in the pdf, some of it is embedded in the pdf, including the org-mode files for the manuscript and the supporting information file itself. Anyone interested in seeing how we did it can check it out. With Evince 3.10, the GNOME document viewer, I'm able to save attachments. Do you use other features?. It's catching up. Supposedly, Okular is also quite feature-rich. On matplotlib: looks great! Are you aware that matplotlib now supports pgf out-of-the-box? You just specify it as an extension (pgf). .pgf is also recognized as an image in Org for a while. The main benefit is that fonts magically get the right size. –Rasmus -- Dung makes an excellent fertilizer
[O] Customization Survey 2013
Hello All I have 57 responses as of a few minutes ago (not counting me, LOL). I will start tabulating tomorrow sometime. Thank you all Mike
Re: [O] Most Recent Org Update
On Mon, November 4, 2013 1:59 pm, Achim Gratz wrote: Sam Flint writes: I pulled org from git just now, restarted Emacs, and got this error: Symbol's function definition is void: org-element-chache reset Any ideas why? You probably meant to type org-element-cache-reset... my guess is you didn't actually re-load Org after the Git pull. No, org-element-cache-reset isn't even in my .emacs. And yes, I did reload org, I did say I restarted emacs, now, didn't I? Sam -- Sam Flint swfl...@flintfam.org freenode: swflint (402) 517-8468 http://flintfam.org/~swflint BAFBF3FF
Re: [O] Customization Survey 2013
Hi Mike, I tried to run the survey as instructed, but got an error after the message Just press enter. The Messages buffer contained the following in case that is of interest: org-customization-survey Making completion list... [2 times] Starting new Ispell process [ispell::default] ... Error enabling Flyspell mode: (Searching for program no such file or directory ispell) run-hooks: Symbol's function definition is void: bbdb-define-all-aliases byte-code: Beginning of buffer byte-code: End of buffer Christian On 2013-11-05 09:27, Mike McLean wrote: Hello All I have 57 responses as of a few minutes ago (not counting me, LOL). I will start tabulating tomorrow sometime. Thank you all Mike -- Christian Wittern, Kyoto
Re: [O] Most Recent Org Update
On Mon, November 4, 2013 7:13 pm, Samuel W. Flint wrote: On Mon, November 4, 2013 1:59 pm, Achim Gratz wrote: Sam Flint writes: I pulled org from git just now, restarted Emacs, and got this error: Symbol's function definition is void: org-element-chache reset Any ideas why? You probably meant to type org-element-cache-reset... my guess is you didn't actually re-load Org after the Git pull. No, org-element-cache-reset isn't even in my .emacs. And yes, I did reload org, I did say I restarted emacs, now, didn't I? I neglected to mention the fact that switching to the maint branch fixed the problem. Sam -- Sam Flint swfl...@flintfam.org freenode: swflint (402) 517-8468 http://flintfam.org/~swflint BAFBF3FF
Re: [O] Most Recent Org Update
Hello, ** Achim Gratz [2013-11-04 20:59:58 +0100]: Sam Flint writes: I pulled org from git just now, restarted Emacs, and got this error: Symbol's function definition is void: org-element-chache reset Any ideas why? You probably meant to type org-element-cache-reset... my guess is you didn't actually re-load Org after the Git pull. No, that call was introduced in commit 0cecf32a0ae559266555b96668dc305710366c96 by Nicolas Goaziou. I faced with the same problem; I started a fresh session of Emacs with Org-mode from git but Emacs stuck showing me that message (Symbol's function ...). I don't know Emacs Lisp very well but according to the commit now 'org-footnote-section' must call 'org-element-cache-reset' at initialization time (:set line in defcustom of 'org-footnote-section') and exactly that causes a problem. The workaround I found is to set 'org-section-footnote' to nil _before_ (require 'org) in .emacs. Regards, Achim. --- WBR, Vladimir Lomov -- The net is like a vast sea of lutefisk with tiny dinosaur brains embedded in it here and there. Any given spoonful will likely have an IQ of 1, but occasional spoonfuls may have an IQ more than six times that! -- James 'Kibo' Parry
Re: [O] Customization Survey 2013
Hi, I tried running the function but got an error: Debugger entered--Lisp error: (file-error Cannot open load file org-remember) require(org-remember) mapc(require (org-agenda org-archive org-attach org-clock org-colview org-id org-remember org-table org-timer)) org-require-autoloaded-modules() org-customization-survey() ad-Orig-call-interactively(org-customization-survey record nil) call-interactively(org-customization-survey record nil) command-execute(org-customization-survey record) I have org-plus-contrib-20131104. Thanks Alex On Mon, Nov 4, 2013 at 6:27 PM, Mike McLean mike.mcl...@pobox.com wrote: Hello All I have 57 responses as of a few minutes ago (not counting me, LOL). I will start tabulating tomorrow sometime. Thank you all Mike
Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks
On Nov 4, 2013 10:08 PM, Eric Schulte schulte.e...@gmail.com wrote: Look in lisp/ob-lilypond.el. Specifically (1) would be done in `org-babel-expand-body:lilypond', and both (2) and (3) in `org-babel-execute:lilypond'. Thanks. I'm not much of a LISPer so I have no idea when I might get around to that. In the meantime, I was just advised that lilypond has a command-line switch -dpreview that should eliminate the need to run convert -trim. I'll try that first. hjh
Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks
On Tuesday, November 5, 2013 12:24:44 PM HKT, James Harkins wrote: On Nov 4, 2013 10:08 PM, Eric Schulte schulte.e...@gmail.com wrote: Look in lisp/ob-lilypond.el. Specifically (1) would be done in `org-babel-expand-body:lilypond', and both (2) and (3) in `org-babel-execute:lilypond'. Thanks. I'm not much of a LISPer so I have no idea when I might get around to that. In the meantime, I was just advised that lilypond has a command-line switch -dpreview that should eliminate the need to run convert -trim. I'll try that first. I have managed to get this working, by adding this to .emacs (unfortunately, this is not exposed as a defcustom). (setq ly-nix-ly-path /usr/bin/lilypond -dpreview) Incidentally, it would be very useful if babel offered a header argument for commandline switches. If there is one, it was not obvious at [1] which one it should be. Then, this actually compiles and displays well enough: #+name: pitches #+begin_src lilypond -i :exports both :file pitches.png :prologue \header{tagline=##f} \include english.ly { c' e' g' fs' a' c'' ef'' d' } #+end_src Next up: I would like :prologue \header{tagline=##f} to be buffer wide. I tried this: #+PROPERTY: header-args:lilypond :prologue \header{tagline=##f} .. but it didn't work at first. [5 minutes] OK, I had to refresh the buffer setup. That wasn't obvious in the documentation. So it all seems to be working now. hjh [1] http://orgmode.org/manual/Specific-header-arguments.html#Specific-header-arguments
Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks
James Harkins jamshar...@gmail.com writes: Incidentally, it would be very useful if babel offered a header argument for commandline switches. If there is one, it was not obvious at [1] which one it should be. A header argument for command line switches is implemented for some babel languages. See lines 68-79 of ob-dot.el, for instance, which implements a :cmdline header argument. It might be easy to implement something similar for ob-lilypond.el, as well. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Having trouble with hidestars this morning
Susan Cragin susancra...@earthlink.net writes: Hello. Normally outlines are supposed to start up in hidestars view, which shows one star per level, indented, thusly: * First Level * Second * Third But after compiling both emacs and org-mode from git this morning, and re-installing, my outlines show all the stars, and the stars cannot be turned off. I've tried: I have the same problem. Hidestars is set in my init.el yet when I first start up, it isn't functional. Then, after I view my weekly agenda, they become hidden again.
Re: [O] Most Recent Org Update
I had the same problem after pulling from git yesterday and worked around it by doing: ; This is a bug work around (defun org-element-cache-reset (optional all) (interactive)) before requiring org. Regards, Dov On Tue, Nov 5, 2013 at 4:51 AM, Vladimir Lomov lomov...@gmail.com wrote: Hello, ** Achim Gratz [2013-11-04 20:59:58 +0100]: Sam Flint writes: I pulled org from git just now, restarted Emacs, and got this error: Symbol's function definition is void: org-element-chache reset Any ideas why? You probably meant to type org-element-cache-reset... my guess is you didn't actually re-load Org after the Git pull. No, that call was introduced in commit 0cecf32a0ae559266555b96668dc305710366c96 by Nicolas Goaziou. I faced with the same problem; I started a fresh session of Emacs with Org-mode from git but Emacs stuck showing me that message (Symbol's function ...). I don't know Emacs Lisp very well but according to the commit now 'org-footnote-section' must call 'org-element-cache-reset' at initialization time (:set line in defcustom of 'org-footnote-section') and exactly that causes a problem. The workaround I found is to set 'org-section-footnote' to nil _before_ (require 'org) in .emacs. Regards, Achim. --- WBR, Vladimir Lomov -- The net is like a vast sea of lutefisk with tiny dinosaur brains embedded in it here and there. Any given spoonful will likely have an IQ of 1, but occasional spoonfuls may have an IQ more than six times that! -- James 'Kibo' Parry
[O] A weird warning and a test (eager macro expansion) error
Hi all, I've got this warning when compiling: , | Compiling /home/guerry/install/git/org-mode/lisp/ob-R.el... | | In end of data: | ob-R.el:401:1:Warning: the function `org-every' is not known to be defined. ` (There is no org-every in ob-R.el directly.) And ~$ make test fails like this: , | 21 src blocks added to Library of Babel | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-maxima.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-octave.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-perl.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-python.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-ruby.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-sh.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-table.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob-tangle.el (source)... | Loading /home/guerry/install/git/org-mode/testing/lisp/test-ob.el (source)... | Eager macro-expansion failure: (void-variable test-line) | Symbol's value as variable is void: test-line | mk/targets.mk:99: recipe for target 'test' failed | make: *** [test] Error 255 ` This is with latest Org and Emacs 24.3.50.1, as compiled from trunk yesterday. I don't have time to look into this right now, but maybe someone has. Thanks, -- Bastien
Re: [O] Customization Survey 2013
Hi Alexander, Alexander Vorobiev alexander.vorob...@gmail.com writes: I tried running the function but got an error: Maybe you are setting variables about org-remember while not having org-remember.el in your load-path anymore ? (It is not part of recent Org.) HTH, -- Bastien
Re: [O] Adding and subtracting from clocked entries.
2013/11/4 Bastien b...@gnu.org For example I am working on project A from 09:00 until 13:00. But during this period I also worked for fifteen minutes on project B. I would like to subtract those fifteen minutes from project A and add them to project B. Can this be done? I assume you stopped the clock on A, then started it on B, then stopped it on B, then restarted it on A. In this case, go to the end of the B clock timestamp, put the point on the HH:MM string, and hit S-M-down three times, so that the clock sum for B is zero, and the clock sum for A is added 15 minutes. Not exactly, but that is what I could do. I am going to try it out. Thank you very much. -- Cecil Westerhof