Re: [O] Clocking each days entries into one table?
Hi, did you read Bernt Hansen's doumentation (http://doc.norang.ca/org-mode.html)? Sections 9 and 10 in particular could be of help to you. Best regards Robert On 06/08/2015 09:15 PM, Sharon Kimble wrote: > I've recently started clocking the work that I'm doing, and am now > considering a month-end report. Is it possible to have one table per > project with each line being that days total time entries? I've seen > how to get it showing each days entries but not in separate lines > within the table. The method described online splits each days > entries into separate split tables. > > But I'm looking for one table with a maximum of 31 lines which > correspond to each days entries. Is it possible please? > > Thanks > Sharon. >
Re: [O] [PATCH] lisp/ox-html.el: reorder output of meta data in head
Hi just as a quick follow up. I found this earlier message on the topic http://thread.gmane.org/gmane.emacs.orgmode/84306/focus=84355 I would like to push for a change though. I don't have a test case where charset doesn't work, but https://code.google.com/p/doctype-mirror/wiki/MetaCharsetAttribute claims that a title tag before a charset tag would not work in all browsers which would be nice and seems easy to fix. Arun
Re: [O] Organizing and taming hectic Academia work (faculty viewpoint)? Tips or a good guides sought after :)
Dear Martin Thanks so much for your prompt response. I did ofc do an extensive google research yet found that as can be seen in your link most entries focus on either writing papers or general bits an pieces .What i am looking for is a holistic approach regarding organizing all aspects of academic life and to hear workflows of other colleagues using org for that thanks again , looking forward to hearing from other colleagues in the orgmode community best z On Tue, Jun 9, 2015 at 12:16 AM, M wrote: > > > > > > Von: Xebar Saram > > Datum: Mon, 8 Jun 2015 19:39:14 +0300 > > An: org mode > > Betreff: [O] Organizing and taming hectic Academia work (faculty > viewpoint)? > > Tips or a good guides sought after :) > > > > Hi all > > > > Im a young assistant professor (in humanities and thus my horrific coding > > skills..basically non ;-)) and having been using orgmode for a year or > two > > now. I love orgmode dearly and use it mainly for note taking, lists etc > > > > I am aware of the fantastic orgmode capabilities that could benefit me > greatly > > such as exporting, email tie-ins, beamer support, organizing my > bibliography > > (i have switched to a .bib file recently for my references), agenda > > capabilities and so much moreand have tried several of these with mild > > success. > > > > unfortunately (and this maybe due to me not being very technical and > lack of > > coding skills) i still feel like im really not using orgmode to its > potential > > and still feel miserably lost in terms of organizing my work in academia > from > > all aspects. > > > > i am looking for 2 things really: > > 1. as i said in the post topic a good guide if anyone is aware of or > detailed > > examples of using org in Academia (mainly aimed at faculty :)) > > > > 2. related to that as a young researcher with multiple students, paper > > writing, grant applications, department duties, endless TODOS, endless > email i > > would really be grateful for even non org specific tips on how other > people > > organize all this to make life more..well..organized :) > > > > thanks alot in advance and sorry for the long mail > > > > best > > > > Z > > Dear Xebar, > > I think the first 10 results of the correspondindg google search already > show some very interesting examples: > > > http://www.google.com/search?client=safari&rls=en&q=emacs+org-mode+in+resear > ch&ie=UTF-8&oe=UTF-8 > > Did you have a look at those? > > Kind regards > > Martin > > > > > >
[O] [PATCH] lisp/ox-html.el: reorder output of meta data in head
From: Arun Persaud * lisp/ox-html.el (org-html--build-meta-info ): charset and viewport meta data should come first in `head'. As mentioned for example in: - https://code.google.com/p/doctype-mirror/wiki/MetaCharsetAttribute - http://getbootstrap.com/getting-started/#template Only reordered output, no other code changes. TINYCHANGE --- lisp/ox-html.el | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 75c6993..d50ff5e 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1701,7 +1701,6 @@ INFO is a plist used as a communication channel." 'mime-charset)) "iso-8859-1"))) (concat - (format "%s\n" title) (when (plist-get info :time-stamp-file) (format-time-string (concat "
Re: [O] How to deal with the caption (\ref{} and number) in ODT export?
I catch the problem 1 Just using the [[fig:main]] in article , the format can be accepted by ODT and Latex too. But the problem 2 is stll a puzzle, also I can open the ODT file and change the cite format but the method is something stupid. 在2015年06月09 12时18分, "windy"写道: Hi, I want to use the org-mode to write my science article. In order to be revised by teacher, I prefer to export as ODT format file for teacher and pdf file for my personal too (What's your choice?). A problem is that the ODT file cannot recongnize the latex ref tag like \ref{fig:main}. Another problem is that the figuer caption is "Figure 1.1" rather than "Figure 1.". I donnot like the number using chapter number. How to deal with the problems? A file similar to org-mode manual does not achieve the right result. I use Emacs 24.4.1 (Org mode 8.2.10) in Ubuntu 14.04. Here is the example file: #+TITLE: The test of caption * Introduction See Figure \ref{fig:main}, we will see the result #+CAPTION: emacs is pretty #+LABEL: fig:main [[file:main.jpg]] Thanks for you help.
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
`org-capture` does not take up the full frame for me by default; I just tried that in an emacs -Q session. Look into `display-buffer-alist` (emacs inbuilt variable) or packages like shackle or popwin for fine control on how you want to create windows when opening buffers. I do not use shackle for customizing the opening of capture buffers (as it splits windows for me by default) but I do use it to do similar thing for other kinds of buffers. On Mon, Jun 8, 2015 at 12:38 PM Charles Millar wrote: > Hi, > > On 06/08/2015 11:23 AM, Eric S Fraga wrote: > > Hello, > > > > as monitors get bigger and bigger, I tend to have lots of (emacs) > > windows in a frame. No matter how many I have, org-capture takes over > > the whole frame which is kind of wasteful. Obviously, I can bring up > > any buffer I want while in the capture buffer but it would be nice to > > have control over where and how the capture window is created and > > placed, along the lines of org-src-window-setup and > > org-agenda-window-setup. > That would be nice! Eric, thanks for bringing this up. > > > > Would such a feature be possible, assuming it is not there already. I > > have not found the correct variable should it already be there... > > > > Thanks, > > eric > > Charlie Millar > >
[O] How to deal with the caption (\ref{} and number) in ODT export?
Hi, I want to use the org-mode to write my science article. In order to be revised by teacher, I prefer to export as ODT format file for teacher and pdf file for my personal too (What's your choice?). A problem is that the ODT file cannot recongnize the latex ref tag like \ref{fig:main}. Another problem is that the figuer caption is "Figure 1.1" rather than "Figure 1.". I donnot like the number using chapter number. How to deal with the problems? A file similar to org-mode manual does not achieve the right result. I use Emacs 24.4.1 (Org mode 8.2.10) in Ubuntu 14.04. Here is the example file: #+TITLE: The test of caption * Introduction See Figure \ref{fig:main}, we will see the result #+CAPTION: emacs is pretty #+LABEL: fig:main [[file:main.jpg]] Thanks for you help.
[O] bitbucket wikis in org
Hi Bitbucket does not (yet) support org syntax for docs/README¹... in particular wiki. Of course one can write the wiki in org and export to markdown. However I suspect that this will knock out bitbucket's own git backend system when for example all ids change in the md generated from org. Does anyone have a workflow and directory organization for this? Rusi ¹ org lovers may kindly increase the pester-factor out here https://bitbucket.org/site/master/issue/6569/support-org-mode-for-readme-files-bb-7757
Re: [O] Organizing and taming hectic Academia work (faculty viewpoint)? Tips or a good guides sought after :)
> > > Von: Xebar Saram > Datum: Mon, 8 Jun 2015 19:39:14 +0300 > An: org mode > Betreff: [O] Organizing and taming hectic Academia work (faculty viewpoint)? > Tips or a good guides sought after :) > > Hi all > > Im a young assistant professor (in humanities and thus my horrific coding > skills..basically non ;-)) and having been using orgmode for a year or two > now. I love orgmode dearly and use it mainly for note taking, lists etc > > I am aware of the fantastic orgmode capabilities that could benefit me greatly > such as exporting, email tie-ins, beamer support, organizing my bibliography > (i have switched to a .bib file recently for my references), agenda > capabilities and so much moreand have tried several of these with mild > success. > > unfortunately (and this maybe due to me not being very technical and lack of > coding skills) i still feel like im really not using orgmode to its potential > and still feel miserably lost in terms of organizing my work in academia from > all aspects. > > i am looking for 2 things really: > 1. as i said in the post topic a good guide if anyone is aware of or detailed > examples of using org in Academia (mainly aimed at faculty :)) > > 2. related to that as a young researcher with multiple students, paper > writing, grant applications, department duties, endless TODOS, endless email i > would really be grateful for even non org specific tips on how other people > organize all this to make life more..well..organized :) > > thanks alot in advance and sorry for the long mail > > best > > Z Dear Xebar, I think the first 10 results of the correspondindg google search already show some very interesting examples: http://www.google.com/search?client=safari&rls=en&q=emacs+org-mode+in+resear ch&ie=UTF-8&oe=UTF-8 Did you have a look at those? Kind regards Martin
Re: [O] sharing clock time across headlines/files
> Von: Seb > Organisation: Church of Emacs > Datum: Mon, 08 Jun 2015 15:50:27 -0500 > An: > Betreff: [O] sharing clock time across headlines/files > > Hi, > > I'm having trouble finding the proper set up to build a clock table that > would show me the time spent in different activities that are shared > across headlines or even files. For example, I'd like to track time > spent in these activities: 1) data preparation, 2) analysis, 3) > graphing. These activities would be scattered across many projects, > having their own headline tree. However, clocking only works on > headlines, so one would have to put each project under these activities, > which doesn't make sense. Hi Seb, I'm sorry, I have no ready-to-run answer, but maybe these two discussions help you to find a solution: http://stackoverflow.com/a/17399961/772434 http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00238.html Kind regards Martin
[O] sharing clock time across headlines/files
Hi, I'm having trouble finding the proper set up to build a clock table that would show me the time spent in different activities that are shared across headlines or even files. For example, I'd like to track time spent in these activities: 1) data preparation, 2) analysis, 3) graphing. These activities would be scattered across many projects, having their own headline tree. However, clocking only works on headlines, so one would have to put each project under these activities, which doesn't make sense. I thought this might be a good scenario to use tags: * Data preparation:data preparation: * Analysis:analysis: * Graphing:graphing: * Project 1 ** Subproject A :data preparation:analysis: * Project 2 ** Subproject X :analysis:graphing * Project 3 ** Subproject Y:data preparation:analysis:graphing Then one would clock any of these headlines, and then request a clock table summarizing the activities regardless of project. I realize there are some pitfalls with this approach, since care would be needed not to clock the headline for the activitiy itself. Or is there a better way to accomplish this? Cheers, -- Seb
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
You might want to investigate the display-buffer-alist variable. This article may help: http://www.lunaryorn.com/2015/04/29/the-power-of-display-buffer-alist.html Also of interest: M-x winner-mode, then C-c left and C-c right (kind of undo-redo for windows configurations). Thierry Le 08/06/2015 17:23, Eric S Fraga a écrit : Hello, as monitors get bigger and bigger, I tend to have lots of (emacs) windows in a frame. No matter how many I have, org-capture takes over the whole frame which is kind of wasteful. Obviously, I can bring up any buffer I want while in the capture buffer but it would be nice to have control over where and how the capture window is created and placed, along the lines of org-src-window-setup and org-agenda-window-setup. Would such a feature be possible, assuming it is not there already. I have not found the correct variable should it already be there... Thanks, eric
[O] Clocking each days entries into one table?
I've recently started clocking the work that I'm doing, and am now considering a month-end report. Is it possible to have one table per project with each line being that days total time entries? I've seen how to get it showing each days entries but not in separate lines within the table. The method described online splits each days entries into separate split tables. But I'm looking for one table with a maximum of 31 lines which correspond to each days entries. Is it possible please? Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1 signature.asc Description: PGP signature
[O] Organizing and taming hectic Academia work (faculty viewpoint)? Tips or a good guides sought after :)
Hi all Im a young assistant professor (in humanities and thus my horrific coding skills..basically non ;-)) and having been using orgmode for a year or two now. I love orgmode dearly and use it mainly for note taking, lists etc I am aware of the fantastic orgmode capabilities that could benefit me greatly such as exporting, email tie-ins, beamer support, organizing my bibliography (i have switched to a .bib file recently for my references), agenda capabilities and so much moreand have tried several of these with mild success. unfortunately (and this maybe due to me not being very technical and lack of coding skills) i still feel like im really not using orgmode to its potential and still feel miserably lost in terms of organizing my work in academia from all aspects. i am looking for 2 things really: 1. as i said in the post topic a good guide if anyone is aware of or detailed examples of using org in Academia (mainly aimed at faculty :)) 2. related to that as a young researcher with multiple students, paper writing, grant applications, department duties, endless TODOS, endless email i would really be grateful for even non org specific tips on how other people organize all this to make life more..well..organized :) thanks alot in advance and sorry for the long mail best Z
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
Hi, On 06/08/2015 11:23 AM, Eric S Fraga wrote: Hello, as monitors get bigger and bigger, I tend to have lots of (emacs) windows in a frame. No matter how many I have, org-capture takes over the whole frame which is kind of wasteful. Obviously, I can bring up any buffer I want while in the capture buffer but it would be nice to have control over where and how the capture window is created and placed, along the lines of org-src-window-setup and org-agenda-window-setup. That would be nice! Eric, thanks for bringing this up. Would such a feature be possible, assuming it is not there already. I have not found the correct variable should it already be there... Thanks, eric Charlie Millar
Re: [O] How to open Link in Heading in Agenda without mouse click?
"Martin Beck" writes: > Hi, > > I'd like to create an agenda view which gives me quick access to > important directories and files. So I set up an org-mode file with > those hyperlinks and created an agenda which collects all headings in > there. > > However if I try to use it, I did not find a way to open the > hyperlinks in the agenda view without the mouse. > > Example headline: > > * Link to important file [[file+sys:\\server\dir\filename.mm][Mindmap]] > [2015-06-08 Mo 10:34] > > Which command can I use to open the link/linked file directly in the > agenda view? Is there a standard keybinding for it? Doesn't C-c C-o (which should be bound to org-agenda-open-link in the agenda buffer) work? Nick
Re: [O] expand yasnippet or abbriv text inside a capture
Xebar Saram writes: > Ok so i made some progress here. i think i can just use the org capture > itself to suit my needs. but as i dont know elisp i got > stuck with this: > > (setq org-capture-templates > (quote ( > ("f" "food" entry (file+headline "/home/zeltak/org/files/agenda/food.org" > "Inbox") > "* Cook %? %^g > :PROPERTIES: > :Time: > :Rating: > :Source: > :Ammount: > :Fav: > :Type: > :ID: > :END: > > ** HEADER 2 > ** HEADER 3 " ) > > when i add the subheaders ** HEADER 2 and ** HEADER 3 i can eval the section > anymore. > If this is your complete setting for org-capture-templates, you are missing closing parens (three of them if I'm counting correctly). If you have additional entries, just post the whole (setq org-capture-templates ... ) form: somebody will be able to correct it for you. > Do i need to escape the * somehow? i just want 2 same level subheadrs below > the main capture header/ > whats the best way to do this? > The above worked for me, so I assume it is just a paren syntax error. Nick
Re: [O] Tutorial to create a new exporter ?
Hi, I once tried to write a tutorial for creating a derived backend, but didn't find the time to finish it. I put the material so far below. When I began writing my ox-blog exporter (github.com/roklein/ox-blog) I think I began with the s5 exporter in org's source contrib/lisp/ox-s5.el. If you need to export to a format an existing exporter already provides (at least in part) you will want to create a derived exporter (using the `org-export-define-derived-backend'). For a totally new format (e.g. rtf) you' want to write an independent exporter using `org-export-define-backend'. Comprehensive documentation for both functions is provided in the source code (lisp/ox.el) The non-derived exporters for html and latex (lisp/ox-html.el and lisp/ox-latex.el) are also very good as examples. Best regards Robert * Minimal derived exporter A minimal derived exporter providing capabilities of the HTML exporter. Please compare the code to the =org-export-define-backend= call in =org-mode/lisp/ox-html.el=. The =:menu-entry= part is very similar, in fact I copied the code for the menu entries from the =:menu-entry= line downward omitting the =?h= and =?o= entries. The other change is the key =2= instead of =h= for the original HTML exporter. #+begin_src emacs-lisp :tangle ox-html-2.el (require 'ox-html) (org-export-define-derived-backend 'html-2 'html :menu-entry '(?2 "Export w/ minimal derived HTML" ((?H "To temporary buffer" org-html-export-as-html (provide 'ox-html-2) #+end_src The derived back-end in the example calls the same exporting function as the HTML back-end does for exporting to a temporary buffer, =org-html-export-as-html=. The minimal derived exporter is a new name and a menu entry for calling the new exporter. This exporter offers nothing the HTML exporter doesn't. In the next example we will “write” an exporting function of our own --- well, copy, rename, and adapt the =org-html-export-as-html= function from =org-mode/lisp/ox-html.el=. * Defining export for an org-mode element In this example we will look at a derived backend which produces the content of a weblog post in a temporary buffer. Blogs at e.g. wordpress.com allow syntax highliging using the Syntax Highlighter written by Alex Gorbatchev. Our derived exporter will create the text of the blog post and source code blocks will be marked up for Syntax Highlighter instead of org-mode's internal mark-up. You will have to copy the export in the temporary buffer and paste it into the wordpress blog editor, though.[fn:: We will come back to weblog exporting again, later. You might want to write a derived exporter in this style for something you need every one in a while, where you don't mind a bit of additional effort. For daily tasks you will want something more elaborate. In web log exporting this would include the exporter posting to the weblog.] ** Defining the derived backend. At first we define the backend again. In comparison to the html-2 backend above the options to export to file and export to file and open are removed. In addition we have one entry in the =:translate-alist=: for exporting source blocks the function =wp-dot-com-src-block= will be used. #+begin_src emacs-lisp :tangle wp-dot-com-buffer.el (require 'ox-html) (org-export-define-derived-backend 'wp-dot-com-buffer 'html :menu-entry '(?3 "Export w/ minimal derived HTML" ((?H "To temporary buffer" org-wp-dot-com-export-as-html))) :translate-alist '((src-block . wp-dot-com-src-block))) #+end_src ** language identifier mapping The Syntax Highlighter uses sometimes other language identifiers for source blocks than org-mode. For example, where org-mode uses =sh=, Syntax Highlighter uses =bash=. We're putting the mappings in an alist for later use. #+begin_src emacs-lisp :tangle wp-dot-com-buffer.el (defconst wp-dot-com-language-terms '(("R" . "r") ("emacs-lisp" . "lisp") ("elisp" . "lisp") ("sh" . "bash"))) ; (cdr (assoc "sh" wp-dot-com-language-terms)) ; (cdr (assoc (org-element-property :language src-block) wp-dot-com-language-terms) #+end_src ** exporting source code blocks The source code exporting function, =wp-dot-com-src-block=, is modelled on =org-html-src-block= in =org-mode/lisp/ox-html.el=. To keep things simple, the caption and label code is deleted. The language identifier is mapped using the mapping defined in the alist above. The HTML-formatting of the source code is removed, instead of =org-html-format-code= we use =org-export-unravel-code=. At last the =pre= formatting in angles is changed to =code= in brackets. #+begin_src emacs-lisp :tangle wp-dot-com-buffer.el (defun wp-dot-com-src-block (src-block contents info) "Transcode a SRC-BLOCK element from Org to HTML. CONTENTS holds the contents of the item. INFO is a plist holding contextual information." (if (org-export-read-attribute :attr_html src-block :textarea)
[O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
Hello, as monitors get bigger and bigger, I tend to have lots of (emacs) windows in a frame. No matter how many I have, org-capture takes over the whole frame which is kind of wasteful. Obviously, I can bring up any buffer I want while in the capture buffer but it would be nice to have control over where and how the capture window is created and placed, along the lines of org-src-window-setup and org-agenda-window-setup. Would such a feature be possible, assuming it is not there already. I have not found the correct variable should it already be there... Thanks, eric -- Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)
Re: [O] Tutorial to create a new exporter ?
Xavier writes: > I am tracking my running workouts in a orgmode managed file. I'd like to > export these entries to an online service (dailymile). > I am looking for a good starter kit to create this exporter. Do you have > something ? What is there file format like? Perhaps look at how ox-ascii or ox-html works. Perhaps you will even be able to use a derived backend if the format is close one of the existing backends. Rasmus -- A page of history is worth a volume of logic
Re: [O] Tutorial to create a new exporter ?
Maybe this will get you started: http://orgmode.org/worg/exporters/filter-markup.html Xavier writes: > Hello, > > I am tracking my running workouts in a orgmode managed file. I'd like to > export these entries to an online service (dailymile). > I am looking for a good starter kit to create this exporter. Do you have > something ? > > Regards -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
[O] Tutorial to create a new exporter ?
Hello, I am tracking my running workouts in a orgmode managed file. I'd like to export these entries to an online service (dailymile). I am looking for a good starter kit to create this exporter. Do you have something ? Regards -- Xavier xav...@maillard.im
[O] How to open Link in Heading in Agenda without mouse click?
Hi, I'd like to create an agenda view which gives me quick access to important directories and files. So I set up an org-mode file with those hyperlinks and created an agenda which collects all headings in there. However if I try to use it, I did not find a way to open the hyperlinks in the agenda view without the mouse. Example headline: * Link to important file [[file+sys:\\server\dir\filename.mm][Mindmap]] [2015-06-08 Mo 10:34] Which command can I use to open the link/linked file directly in the agenda view? Is there a standard keybinding for it? Kind regards Martin
Re: [O] [RFC] Org linting library
Nicolas Goaziou writes: > Rainer M Krug writes: > >>> Here, Org Lint is correct. Link's description is really a link to >>> a file, "./__BOX__/Aerodynamic", followed by a space, and >>> "resistances.docx" text. >> >> But it is in the description part - shouldn't this be considered "normal >> text" whatever it is? > > I wish it would. Unfortunately, Org has no proper image syntax, so we > have to support plain links (i.e, no brackets) in descriptions to get > image links. OK - now I get it. The syntax implies that I want to display the image located there as the descriptor. Would it be possible for org-lint to give a more direct warning that this link is in the description and not the link itself? Thanks for your patience - I am learning a lot about org by using org-lint! Rainer > > > Regards, -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 signature.asc Description: PGP signature