Re: [Orgmode] Big curly bracket
Le 08 Dec 2009 17:34, andrea a écrit: I have to write things like f(x) = | 0 if x == 1 | 1 otherwise with the big curly bracket. It's a common thing and I found in latex is like here http://www.mathhelpforum.com/math-help/latex-help/59690-left-curly-brace.html Using \left{ and \begin{gathered} For some reasons anyway it doens't work. This --8---cut here---start-8--- $\phi_{sum}(g1))(\bot) = (\phi_{sum}(g2))(\bot) =$ \newline \begin{gathered} 1 if x 0 \\ \bot otherwise \\ \end{gathered} --8---cut here---end---8--- doesn't to what I'd like it to do. Any idea? No idea, did you try with \begin{cases}...\end{cases} ? You can also use \left\{...\right followed by an array. Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-mode news as a feed
Le 01 Feb 2010 12:25, Łukasz Stelmach a écrit: OK. I've got some ideas. I'll see if they are feasible. Btw, it seems to be a very nice feature to be able to get rss/atom feed from published org pages. Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [O] indenting nested TODOs in agenda views
Le 22 Aug 2011 14:26, Sebastien Vauban a écrit: That's pretty interesting, but not quite what I meant: I was thinking that TODOs would be first sorted by outline level, and then only TODOs that belonged to a subtree with higher TODOs would be indented. With indented, a second-level TODO can come after a first-level TODO and appear to be subordinate to it, though they belong to completely different subtrees. But stating the problem this way makes me realize it's more complicated than I thought… Yes, I was looking for the same kind of thing some times ago. But I do not have any idea of how we may present the agenda view. Maybe it should be better do display the path to a TODO item, since parent item may be not TODO items by themselves, like this: * Garden ** TODO Cut the flowers * Home ** TODO Cut the flowers should be presented somehow like in the refile view, as: TODO Garden / Cut the flowers TODO Home / Cut the flowers instead of the unclear: TODO Cut the flowers TODO Cut the flowers Actually, I wonder how people deals with this kind of tasks. Are you relying on tags ? For example with :garden: and :home: in my previous example ? Personally, I am used to recall the main heading at the beginning of the children, but only when the TODO item heading is really not clear enough by itself, since it is a quite heavy solution. Just an incentive to tell you I'd also would love that feature. Same :) Best, Olivier
Re: [O] Global Task List
Le 11 Nov 2011 11:19, Cameron Seader a écrit: I have lots of .org files with tasks in each one, but my global task list does not show anything. Is there something I need to do to set this up? You should have a look to the variable org-agenda-files (see http://orgmode.org/org.html#Agenda-files). Olivier
Re: [O] Global Task List
Le 11 Nov 2011 12:17, Cameron Seader a écrit: I get an error when setting the variable to a folder (setq org-agenda-custom-commands ((org-agenda-files '(~/Documents/Notes/org/)) )) You are not supposed to set it to a folder. I use something like: (setq org-agenda-files (file-expand-wildcards ~/Notes/*.org)) Olivier
[O] [ANN] neo - No Emacs Org in Python
Dear Org users, I am pleased to do the first announce of neo, which stands for No Emacs Org. The goal of this project is to provide a full implementation of Org usable in Python. Current features ~ - Org file parser - Agenda builder - Todo-list builder - Custom todo keywords - Command line interface for agenda and todo-lists Limitations - Read-only (no org file modifications support) - No drawers parsing - No exporters - No formaters parsing (like ==, //, ** and so on, it will wait for exporters) - No filtering support Roadmap - Filtering based on tags - Write support for changing todo keywords - Capture action in the cli - Exporter for HTML Ideas of possible applications ~~~ - Command line interface - Web applications (for GTD like http://hiveminder.com, or even a wiki) - Batch export on a server without emacs - Integration with others tools (like vim) - Qt/Gtk user interface This is not a release (I need to do more tests, and add some documentation), but more a request for comments, ideas or possible improvement. You can fetch the sources with darcs get http://chadok.info/darcs/neo and have a look at the repository on http://redmine.chadok.info/projects/neo The package can be installed with the usual Python tools (python setup.py build/install). Then launch the command 'neo' to see the help (or simply launch neo in the sources directory). Cheers, Olivier
Re: [O] [ANN] neo - No Emacs Org in Python
Le 19 Apr 2011 15:28, Christopher Allan Webber a écrit: bikeshed One comment: it seems strange that the package name is neo and yet I'm import org'ing. Maybe the namespace should be neoorg? /bikeshed Yes, this disturbs me too. Maybe it should be better to simply do 'import org' on Python side and 'org agenda/todo/capture/etc' on the shell side. Olivier
Re: [O] [ANN] neo - No Emacs Org in Python
Le 19 Apr 2011 16:36, Xiao-Yong Jin a écrit: Keep up the good work! PS. I actually wish there were a html/javascript implementation that can pull org files directly from some online storage places (google docs or dropbox...). It looks to me, by reading the code, that it might be possible to directly port the python code to javascript? Sure, you may rewrite a parser and a library in js. I am not sure 'directly port' is appropriate in this case. What seems more feasible in the current state is a web application which use my python library on the server side and some js/web2.0/buzzword in a fancy web page for the frontend. In this case, you may use any data source you want (google docs, dropbox, regular webdav or even plain old filesystem). Regards, Olivier
Re: [O] Formal description of Org files
Le 15 Apr 2011 14:31, Nick Dokos a écrit: Eric Schulte schulte.e...@gmail.com wrote: If one goal of such a formal description of Org-mode would be to parse text Org-mode files into an abstract syntax tree ... I think this should be the starting point: what are the goals for all this? Providing a formal description in EBNF is one thing. Preparing an attribute grammar for input into a specific tool is another (and probably an order of magnitude - or two - harder) - what would the resulting parser(s) be used for? Clear(er) answers to these questions should go a long way towards figuring out what specific tool(s) should be used - or whether it's at all necessary to worry about that. The primary goal I see for such a formal description is to provide a specification that third party parsers are supposed to respect. Writing a real parser may be too much project specific and difficult to generalize in a way usable by the community. During the development of neo[1], I was confronted to the need of defining what is an org file (actually, what is an headline, a todo keyword, a tag, a drawer, a timestamp, etc) and determining what is the expected output of a parser. Maybe the most appropriate format for such a description would be free text, letting parser developers choosing between context-free grammars, regexps or whatever they want ( with a bunch of example org files for reference and tests). Regards, Olivier [1] I am just discovering this thread
Re: [O] [ANN] Firefox extension for org-protocol and org-capture
Dear list, Following all the nice comments you made after my first announce, I just uploaded an updated version of the org-capture extension. You can find it on the main webpage http://chadok.info/firefox-org-capture/ or on the Mozilla addons repository https://addons.mozilla.org/fr/firefox/addon/org-mode-capture/ (review pending from Mozilla people). New features: - Hotkey (default: C-M-r) - New emacsclient window (using -c) Best, Olivier
Re: [O] [ANN] Firefox extension for org-protocol and org-capture
Le 10 Apr 2014 22:20, AW a écrit: It just does the same thing as the Javascript bookmarklet but without the need to register the scheme org-protocol:// in Firefox/Gnome/KDE/XDG (or whatever we are supposed to do this week to manage handler for protocols). I hope this solution to be easier and more reliable, at least for Firefox users. But this is all I could find and I still do not know, what it is good for?! Org-protocol is a system which allows to communicate with org-mode from outside, in particular, to call org-capture templates from a web browser. It usually works by registering a new handler for the scheme org-protocol:// and by generating url of the form org-protocol://template/data/foo/bar with a javascript bookmarklet. With Firefox, registering a scheme handler is (according to my experience and other people comments) painful and subject to random failures. The firefox addon avoids this pain and just works. You may also have a look on: - http://orgmode.org/worg/org-contrib/org-protocol.html - http://orgmode.org/manual/Capture.html Regards, Olivier
[O] [ANN] Firefox extension for org-protocol and org-capture
Dear list, I would like to announce the first version of an extension to call org-capture through org-protocol from Firefox: - http://chadok.info/firefox-org-capture/ It just does the same thing as the Javascript bookmarklet but without the need to register the scheme org-protocol:// in Firefox/Gnome/KDE/XDG (or whatever we are supposed to do this week to manage handler for protocols). I hope this solution to be easier and more reliable, at least for Firefox users. It is not on https://addons.mozilla.org for now, but I will submit it for review in a few days. Olivier
Re: [O] [ANN] Firefox extension for org-protocol and org-capture
Le 21 Feb 2014 16:43, Rasmus a écrit: So what do I do after installing it? I get a new button but nothing happens when I click it. Do you have emacs server and org-protocol enabled ? Something like this in your .emacs: (server-start) (require 'org-protocol) If not, you should add these two lines and maybe have a look on worg: http://orgmode.org/worg/org-contrib/org-protocol.html You can also test manually in a shell with: emacsclient org-protocol://capture://example.com/Example/ (It is exactly what does the add-on) Best, Olivier
Re: [O] [ANN] Firefox extension for org-protocol and org-capture
Le 21 Feb 2014 18:34, Peter Salazar a écrit: I'm having the same issue as Nick: the command line invocation works, but the button in Firefox has no effect. I changed the emacs binary path to /usr/bin/aquamacs Is /usr/bin/aquamacs also doing the job of emacsclient ? What is your version of Firefox ? Nick manages to use the FF27 but not FF26. Olivier
Re: [O] [ANN] Firefox extension for org-protocol and org-capture
Le 21 Feb 2014 18:22, Erik Hetzner a écrit: I had to start emacsclient in a terminal, probably because my emacs was run with emacs --daemon ? I made a little wrapper script that runs emacsclient in a terminal. Are you happy with the wrapper ? The other solution would be to give full control on the command line launched, but I think I will be too complex. Olivier
[Orgmode] clocktable display format
Hello, I am using clocktable to display a summary of the effort in a subtree. As I am not particularly interested in precise hourly details, I would like to display the total time in days instead of hours. Now I have: | L | Headline | Time || |---+---+--+| | | *Total time* | *528:00* || and I would like: | L | Headline | Time || |---+---+--+| | | *Total time* | *22* || I tried to add a formula in the table, but it doesn't work since the fields are in the format hour:minute. I suppose I could use org-babel to parse the content of the field and convert it into days but it seems rather complicated and I would be happy with a simple solution. Any ideas ? Thanks, Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] clocktable display format
Le 26 Mar 2010 17:31, Olivier Schwander a écrit: Hello, I am using clocktable to display a summary of the effort in a subtree. As I am not particularly interested in precise hourly details, I would like to display the total time in days instead of hours. Now I have: | L | Headline | Time || |---+---+--+| | | *Total time* | *528:00* || and I would like: | L | Headline | Time || |---+---+--+| | | *Total time* | *22* || I tried to add a formula in the table, but it doesn't work since the fields are in the format hour:minute. I suppose I could use org-babel to parse the content of the field and convert it into days but it seems rather complicated and I would be happy with a simple solution. Any ideas ? I am replying to myself in order to explain my solution. As it does not seem to be possible to change the display format, I simply added an elisp formula in the table (thanks to Carsten who suggested not to use babel). The difficulty was to parse the content of the field since it's not a number but a string with a colon in the middle. #+BEGIN: clocktable :maxlevel 2 :scope subtree Clock summary at [2010-03-26 ven. 17:56] | L | Headline | Time | | |---+---+--+---| | | *Total time* | *528:00* | *22 days* | |---+---+--+---| | 1 | All | 528:00 | | | 2 | Event A | | 72:00 | | 2 | Event B | | 96:00 | | 2 | Event C | |120:00 | | 2 | Event D | |120:00 | | 2 | Event E | |120:00 | #+TBLFM: @2$4='(concat * (number-to-string (/ (string-to-number (if (string-match \\(.+\\):.+ @3$3) (match-string 1 @3$3))) 24)) days*) #+END: Notice that the formula is kept when updating the clocktable, so it's very easy to use. I really needed this since I had to know the number of days spent to theses events (the duration of a trip is naturally in days, not in hours). I am not sure if this tips has a real interest for work, but I can add it if you ask. Cheers, Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] Org to Atom, revisited
Le 15 Jun 2010 18:51, David Maus a écrit: The Org to Atom exporter I've preliminary announce some weeks ago entered a state I consider to be stable and consistent enough to be included into Org mode. Great work, I work it will really improve web publishing ability of org-mode. Some remarks below: [here]: http://ictsoc.de/code/org-atom/example.atom Is there the source of this feed somewhere ? It would be nice to have a self sufficient example. * Download and installation Maybe it would be useful to have the emacs lisp fragment users need to put in their .emacs file ? And add this part to the Download and install section of the online manual. * Documentation Table of Contents = 1 Exporting an Org file to Atom There is no Install section here, but there is one in the online version. 1.2 Headline properties A headline that matches the TAGS/PROP/TODO query for feed entries requires at least two headline properties to be present: The =ID= property with a unique identifier of the headline (preferable a UUID) and a property called =atom_published= containing a time stamp with the date an entry should be considered to be published. If these two properties are not present, they are automatically created using Org's default method to create ID properties[2] and current time and date for the publishing date[3] Maybe it should be better to extract timestamp from the usual timestamp below headlines, like this one: * Some title [2010-06-16 mer. 14:19] or * DONE Some title CLOSED: [2010-06-16 mer. 14:19] Actually, with this solution, it would be better to remove the timestamp used from the export, since it will displayed by the reader. 1.3 Export settings content: turn on/off publishing content When content is t, the headline is exported both in title and in content, is this a feature or a bug ? If it's a feature, it should be nice to have an option to disable it. Cheers, Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-Mode API?
Le 15 Sep 2010 17:24, [AvataR] a écrit: I want to write simple desktop widget for my todo list in org. I can parse output of org-agenda, but this way sucks. Is there any clear way to enumerate all events in file/buffer/whatelse with their properties (like todo state, deadline etc)? I am not sure a separate parser really sucks. It would allow to work completely independently of Emacs, without depending on various hooks to guaranty synchronization between org files and you program data. I am currently writing a Python library for parsing org-file. The main goal is to build a kind of mobile-org for N900 and Maemo but it's designed to be enough generic for web applications or desktop applications. Currently, it only supports rebuilding the tree of an org file. There is no release but a public Darcs repository is available at: http://chadok.info/darcs/orgpy/ Cheers, Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
Le 06 Oct 2010 21:39, Matthew Leifer a écrit: That is odd. texi2dvi should default to using regular latex. You usually have to pass a -p option or use the alias texi2pdf in order to use pdflatex. It might be that you have a LATEX environment variable set. In any case, you can alter this behaviour by setting the LATEX environment variable, e.g. setting the variable LATEX=xelatex will make texi2dvi use xelatex instead of regular latex. Instead of texi2pdf, I'm used to work with rubber, which is a powerful tool to automate the compilation of latex files (taking care of bibtex, xfig figures, and a lot more). It works seamlessly with org-mode by customizing the variable org-latex-to-pdf-process to rubber -d --into %o %f. Cheers, Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Babel for blogging
Le 16 Oct 2010 00:13, Pere Quintana Seguí a écrit: Al 15/10/10 22:32, En/na Eric Schulte ha escrit: this approach might be less appropriate for RSS, mainly because code block output is most easily contained in an Org-mode file, and then exported along with the rest of the file. RSS files require special headers and footers and can not be embedded in a standard html file, you may be better off looking for an external tool to handle the generation of RSS content. Thanks. I think I'll try to create a python script that takes the dates of the html files in a folder and takes the title from the first line of each .org file and then creates the RSS. It might work. There is already org-atom, which is able to generate Atom feeds from an org-file : http://ictsoc.de/code/org-atom.html. I use it extensively for a little blog-like static website. It's only for Atom, not for RSS, but I am not sure there is a point to focus on some particular format. Cheers, Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode