Re: [O] Agenda view has no TODO items
On Tue, Apr 26, 2011 at 10:48 AM, Noorul Islam K M noo...@noorul.com wrote: Recent pull from master changed the behaviour of the default agenda view. It used to list the TODO items also but now it only displays the scheduled one. Am I missing something? The feature of showing all unfinished TODO items before the agenda is considered obsolete and has been removed [1]. Instead, a TODO list or a block agenda should be used. [1] - http://orgmode.org/w/?p=org-mode.git;a=commit;h=770c2ddfba5c173d1b33e7b247b49a8188994f76 -- Puneeth
Re: [O] Contact information in the orgmode notes?
Is there an obvious or easy way to include contact information of people in the orgmode plain file notes? I am aware of emacs-related packages, such as BBDB and AddressBook (vCard based address book, still under development), but it seems these are built around a separate database of contacts with possibly their own defined formats. Have you looked at org-contacts? http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=org-contactssubmit=Searchidxname=emacs-orgmode Jambunathan K.
Re: [O] Contact information in the orgmode notes?
Thanks to Jambunathan K. and Noorul for their informed hints. I upgraded immediately from my 7.5 to git dev version, where the org-contacts indeed exists! Thanks once more. Jaakko On Apr 26, 2011, at 1:49 PM, Jaakko Hollmén wrote: Dear orgmode'rs, Is there an obvious or easy way to include contact information of people in the orgmode plain file notes? I am aware of emacs-related packages, such as BBDB and AddressBook (vCard based address book, still under development), but it seems these are built around a separate database of contacts with possibly their own defined formats. I'm thankful for any hints or suggestions on the topic.
Re: [O] Custom agenda view by TODO state and tag
Laurynas Biveinis laurynas.bivei...@gmail.com writes: Hi everybody - I want to create a custom agenda view that filters by both TODO state and tags, i.e. a combination of todo and tags-todo search types. I have tried creating custom search action ((org-agenda-todo TODO) (org-agenda-filter tag1|tag2)) but failed. Any pointers? Hi Laurynas, Just use a tags-todo filter and list both. (n Next and Started tasks tags-todo -WAITING-CANCELLED/!NEXT|STARTED ((org-agenda-overriding-header Next Tasks))) This looks for all todo tasks that do not have a WAITING or CANCELLED tag and have a todo keyword matching NEXT or STARTED. You probably want something like this C-c a M tag1|tag2/!TODO (x Todo tasks for tag1 or tag2 tags-todo tag1|tag2/!TODO) ((org-agenda-overriding-header Todo tasks for tag1 or tag2))) HTH, Bernt
Re: [O] Custom agenda view by TODO state and tag
Laurynas Biveinis laurynas.bivei...@gmail.com writes: I want to create a custom agenda view that filters by both TODO state and tags, i.e. a combination of todo and tags-todo search types. I have tried creating custom search action ((org-agenda-todo TODO) (org-agenda-filter tag1|tag2)) but failed. The easiest way is to do a simple search. 1. If you want just one tag, you can use: C-c a M TODO=TODO+tag1 2. To find TODO *and* (tag1 *or* tag2): C-c a M TODO=TODO+ALLTAGS={tag1\|tag2} 3. If you call this often, you can automate the search with a custom agenda command: (org-add-agenda-custom-command '(x TODO + tag1|tag2 tags-todo TODO=\TODO\+ALLTAGS={tag1\\|tag2})) Or you could use a block agenda: (org-add-agenda-custom-command '(x TODO + tag1|tag2 ((tags-todo TODO=\TODO\+tag1) (tags-todo TODO=\TODO\+tag2 See the following for more information: (info (org) Matching tags and properties) http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html http://orgmode.org/worg/org-tutorials/advanced-searching.html Best, Matt
Re: [O] Custom agenda view by TODO state and tag
Bernt, Matt - 2011/4/26 Bernt Hansen be...@norang.ca: Just use a tags-todo filter and list both. (n Next and Started tasks tags-todo -WAITING-CANCELLED/!NEXT|STARTED ((org-agenda-overriding-header Next Tasks))) Thanks! Apparently all I had to do is to add /!TODO to my custom search view filters. (This is to implement GTD next action lists, I use TODO for next actions and WAITING for the to-do items which I cannot do right now) Now I have found it in the manual too, missed it on the first two readings. -- Laurynas
Re: [O] Custom agenda view by TODO state and tag
Bernt Hansen be...@norang.ca writes: You probably want something like this C-c a M tag1|tag2/!TODO (x Todo tasks for tag1 or tag2 tags-todo tag1|tag2/!TODO) ((org-agenda-overriding-header Todo tasks for tag1 or tag2))) Thanks, Bernt! Forgot about this one. There is more than one way to do things in org-mode. :) Best, Matt
Re: [O] [PATCH] org-html.el: Fix export of table.el tables.
Hi, I've tried your patch and the output is prettier afterward. I'm not a HTML tables expert but all those nbsp; in output seems scary. But AFAIU, with org-export-prefer-native-exporter-for-tables to nil, simple table stays in HTML, no? Best regards, -- Manuel Giraud
Re: [O] [PATCH] org-html.el: Fix export of table.el tables.
Manuel Giraud manuel.gir...@univ-nantes.fr writes: But AFAIU, with org-export-prefer-native-exporter-for-tables to nil, simple table stays in HTML, no? simple -- Manuel Giraud
Re: [O] [OT] The Brain
John Hendy jw.he...@gmail.com writes: I think it would be slick to enter a brain like viewing system that used tags or properties to swim through files in your agenda. I'm often having to recall some tidbit of info and rack my brain for what context I wrote it down in if the agenda search isn't working. Is there something in particular about agenda search that is not working---i.e., something that needs fixing? Best, Matt
Re: [O] Using orgmode to take inline notes for research
2011/4/25 Sébastien Vauban wxhgmqzgw...@spammotel.com: Hi John, John Hendy wrote: Sebastien: my other questions re. how to interpret the code and inserting proper linebreaks are still of interest! Sorry, just came back today after a 2-week holiday. Given the number of posts I have to read, could you tell me if all your questions have been answered and, if not, provide a minimal, but problematic, example of yours? Thanks for following up and hope your holiday was nice. I think everything pretty much got taken care of. I'm still not quite sure what I'll end up siding with, todonotes or regular 'ol inline tasks. Footnotes also got suggested, but I don't like their placement as much. Todonotes don't break lines for longer notes but I think they look very cool (though some here say cool is out, apparently :) ). Sooo, I think it'll come down to todonotes inserted throughout or just regular inline tasks. Inline tasks seems to be essentially perfect -- easy to turn them on/off for export by tagging them as one makes them and then replacing the tag with export/no-export, one can add attributes to them since they're headlines, etc. Very cool and I appreciate all the help and ideas this thread generated! Best regards, John Best regards, Seb -- Sébastien Vauban
Re: [O] [OT] The Brain
On Tue, Apr 26, 2011 at 8:04 AM, Matt Lundin m...@imapmail.org wrote: John Hendy jw.he...@gmail.com writes: I think it would be slick to enter a brain like viewing system that used tags or properties to swim through files in your agenda. I'm often having to recall some tidbit of info and rack my brain for what context I wrote it down in if the agenda search isn't working. Is there something in particular about agenda search that is not working---i.e., something that needs fixing? Sorry, agenda search isn't working = my memory can't figure out what term to search for :) I just mean that sometimes what I write down at t=0 can't anticipate what impression the event will have in my mind (and, therefore, what words I'll search for) at t=X. Does that make sense? I just wondered if tags/categories/other attributes in a brain-like pattern might help provide some additional navigation options to help with this. Best regards, John Best, Matt
Re: [O] Begginer using orgmode
On Tue, Apr 26, 2011 at 8:55 AM, Arnold, Travis tlarn...@radford.edu wrote: On 25 Apr, 2011, at 11:34 PM, John Hendy wrote: In the meantime: - install [aqua/Carbon] emacs - install git for os x (I used this: http://code.google.com/p/git-osx-installer/) - make a .elisp folder for elisp files --- open a terminal and type: cd /Users/username --- mkdir .elisp --- cd .elisp --- git clone git://orgmode.org/org-mode.git org.git --- cd org.git --- make [1] - I created a default .emacs file --- download it: https://sites.google.com/site/jwhendytank/home/osx-emacs-config --- save it as: /Users/username/.emacs --- note that the config relies on the org stuff being in /Users/username/.elisp/org.git - start emacs and cross your fingers I will try out the steps you listed, the rest of the message however- about compiling and all, would that in any subsequent walkthroughs? Well, compiling is simple enough *if* you have the right tools installed. Were I to have added those steps, it'd be as simple as: - cd /Users/username/.elisp/org.git - type make - type make doc Like I said, though, if you don't have OS X developer tools (gcc) installed, you won't be able to do make, and I think that doc might require LaTeX, but I could be wrong. Your steps seem simple enough, at least for me: I was attracted to Org-mode because in class I get distracted with the webbrowser and all, the simple text helps keep me focused. So anything that can improve the functionality, make it better is welcome. Thank you for your help so far, I will respond with how this next task goes. -Travis
Re: [O] [PATCH] org-html.el: Fix export of table.el tables.
Jambunathan K kjambunat...@gmail.com writes: Our understanding matches. For the sake of clarity, here it is: For simple tables, 1. org-export-prefer-native-exporter-for-tables = Non-nil = Use the HTML code generator in table.el = HTML *source code* has Lots of nbsp 2. org-export-prefer-native-exporter-for-tables = nil = Use Org's own code generator = HTML *source code* is easy to look at. Yes. The rendered HTML output is prettier with your patch. It is just the HTML source that is full of nbsp;. But now, I understand that it comes from table.el. [snip] May be you are exporting a different table.el table? Can you post your example? No, I've used your example to test your patch. With point within a simple table.el-table, the elisp form down below should eval to false. Is it any different in your setting? #+begin_src emacs-lisp (let* ((dim (table-query-dimension)) (c (nth 4 dim)) (r (nth 5 dim)) (cells (nth 6 dim))) (not (= (* c r) cells))) #+end_src Yes. It is false for simple table without spanning so I guess it's ok. It is possible that I have misunderstood how table-query-dimension API works ... No, it's ok and it is my fault: I was worried about the complex HTML output but now I understood that it is so for spanning table that are rendered by table.el (and as I said I'm no HTML table expert so I guess that table.el is the right thing when it comes to complex tables). Best, -- Manuel Giraud
Re: [O] Begginer using orgmode
Probably just the wording scaring you a bit. Git is simply a protocol for sharing code. Those who are programming org-mode can work together on all of the little files that make org-mode work. These files live on a server, and those of use who use org-mode pull (or clone) from that server. In this way, you can keep your version up to date with what the coders are doing. You don't have to have anything running. There's a server that keeps all of the org-mode program living on it. We, the users, use git (a small program) to interact with that server and download a fresh copy. Git is smart, though, and after the first long download, every time you run it afterwards, it only pulls down files that have changed so that it's much faster afterwards. Sound good? John Ok I did the earlier steps, making the directory .elisp, cd .elisp and then typed out the command starting with git and it said command not found after; this after finding that git osx.dmg from your earlier message. Have I missed a step or need to further change anything before I make the directory? -Travis PGP.sig Description: This is a digitally signed message part
Re: [O] Publishing notes to a website
Quoting Thomas Herbert mash...@toshine.net: Kyle Sexton ks at mocker.org writes: I'm looking for advice on ways people are publishing their org notes to a website. So far I've looked at blorgit and it's really nice, but the dependency for a backend emacs session and running through sinatra makes me wary of putting it out on my server for the world. 1. What methods are people using to publish their org notes? 2. Anyone have sample sites that I can see what the output looks like? Kyle, I have been actually been working on a simple clean solution for writing in org-mode and keeping the file as org-mode. What I have come up with is a Textile like PHP class that translates org-mode files into HTML. It is still very very alpha and hope to release the code soon for people to look at, work and improve or completely scrap and take my idea and do it better. As I mentioned earlier I have been playing around building a regex parser in PHP for Org-Mode files. As you will see I am obviously an amateur programmer and my hope is that if this is at all useful then someone else will rewrite it. My site http://toshine.org uses both the classOrgile and the Orgile CMS. If you look at the bottom of any article you will see the link to the raw .org file that is parsed/converted to HTML. --- The classOrgile PHP class (very limited currently!). http://toshine.org/etc/files/classorgile.php.txt The Orgile PHP flat file CMS (currently used for http://toshine.org). http://toshine.org/etc/files/orgile.php.txt The Orgile PHP flat file CMS (fully commented code). http://toshine.org/etc/files/orgile-commented.php.txt --- Well I hope it is at least interesting for someone on this list. 'Mash
Re: [O] Begginer using orgmode
On Tue, Apr 26, 2011 at 10:34 AM, Arnold, Travis tlarn...@radford.edu wrote: Ok I did the earlier steps, making the directory .elisp, cd .elisp and then typed out the command starting with git and it said command not found after; this after finding that git osx.dmg from your earlier message. Have I missed a step or need to further change anything before I make the directory? -Travis You need to install git via this: http://code.google.com/p/git-osx-installer/. Look on the left and download the one for your OS X variant (one of the two at the bottom of the list: either git-1.7.4.4-i386 or 1.7.4.4-x86_64 if you're running 64bit Snow Leopard). After you download it and run it, install it. Since the installer puts everything in /usr/local/git, run this command: .--- | /usr/local/git/bin/git clone git://orgmode.org/org-mode.git org.git `--- instead of what I put above. It will run for a fairly long time and might not give you feedback, so just leave it be until it gives you a fresh command prompt and stops sitting at cloning into... or whatever the message is. After that you can should be ready to set up the .emacs file and give it a whirl. Best regards, John
[O] newline hangling after new heading
Hi, is it possible to make org treat a newline as belonging to the following header ? Most of the time I like my outlines to be dense, unless for top level headings, e.g. * TOP1 ** SUB2 X - ele1 * TOP2 ** SUB1 Now if I hit C-RET with point at X, the new heading will be created on a newline just before *TOP2 , while I want it to be on a newline right after `ele1'. `org-blank-before-new-entry' seems to have no effect in this case. So my question is, can this behaviour be realized with existing options (which I probably don't know about), or do I have to somehow work around ? Thanks, -ap Org-mode version 7.4 GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-04-08 on builder1-tc2ams, modified by Debian
[O] Begginer using orgmode
Thank you, I've copied that and have used it to set up things, though I have a silly question, how can I update emacs on mac?, looking at the website it appears to just be the tarbell? , Is there an idiot proof walkthrough? -Travis Travis Arnold tarnol...@gmail.com PGP.sig Description: This is a digitally signed message part
Re: [O] Begginer using orgmode
To confirm, I run this command from within the .elisp folder? and then I can open Aquamacs and use orgmode? On 26 Apr, 2011, at 11:49 AM, John Hendy wrote: /usr/local/git/bin/git clone git://orgmode.org/org-mode.git org.git PGP.sig Description: This is a digitally signed message part
Re: [O] Begginer using orgmode
On Tue, Apr 26, 2011 at 10:54 AM, Arnold, Travis tlarn...@radford.edu wrote: To confirm, I run this command from within the .elisp folder? and then I can open Aquamacs and use orgmode? Yes, from inside the .elisp folder. You haven't said whether or not you have a .emacs file, either, so I don't know. If you have a .emacs file and it's pointing to the ~/.elisp/org.git, then you're alright. It doesn't sound like you have much or any experience with emacs. If that's the case, I hate to say this, but you may be in for quite the frustrating ride. I only say this as you sound rushed, and learning emacs/org-mode is not something you'll be able to brute-force your way into, at least in my opinion. Take some deep breaths, google around before posting questions, watch some screen casts [1], print off some emacs cheat sheets [2], and take it slow. [1] http://orgmode.org/worg/org-tutorials/org-screencasts/index.html [2] http://bit.ly/epdHov John On 26 Apr, 2011, at 11:49 AM, John Hendy wrote: /usr/local/git/bin/git clone git://orgmode.org/org-mode.git org.git
Re: [O] Begginer using orgmode
instead of what I put above. It will run for a fairly long time and might not give you feedback, so just leave it be until it gives you a fresh command prompt and stops sitting at cloning into... or whatever the message is. After that you can should be ready to set up the .emacs file and give it a whirl. Ok, I am looking at the .emacs file in a previosu message, and am slightly confused as to this: line here ;; set load dirs and global config options ;; assumes .elisp directory is in: ;; linux: /home/username/.elisp ;; OX X: /Users/username/.elisp (add-to-list 'load-path ~/.elisp/org.git/contrib/lisp/) (add-to-list 'load-path ~/.elisp/org.git/lisp/) Do I uncomment the OS X line and replace /Users/username with my own? so it would read: OS X: /Users/Tmoney/.elisp ? Best regards, John PGP.sig Description: This is a digitally signed message part
Re: [O] Begginer using orgmode
On Mon, Apr 25, 2011 at 3:26 PM, Travis Arnold tarnol...@gmail.com wrote: Thank you, I've copied that and have used it to set up things, though I have a silly question, how can I update emacs on mac?, looking at the website it appears to just be the tarbell? , Is there an idiot proof walkthrough? What do you mean update emacs on mac? Just download this (http://emacsformacosx.com/), install it, and you're done. -Travis Travis Arnold tarnol...@gmail.com
Re: [O] Begginer using orgmode
On Tue, Apr 26, 2011 at 11:03 AM, Arnold, Travis tlarn...@radford.edu wrote: instead of what I put above. It will run for a fairly long time and might not give you feedback, so just leave it be until it gives you a fresh command prompt and stops sitting at cloning into... or whatever the message is. After that you can should be ready to set up the .emacs file and give it a whirl. Ok, I am looking at the .emacs file in a previosu message, and am slightly confused as to this: line here ;; set load dirs and global config options ;; assumes .elisp directory is in: ;; linux: /home/username/.elisp ;; OX X: /Users/username/.elisp (add-to-list 'load-path ~/.elisp/org.git/contrib/lisp/) (add-to-list 'load-path ~/.elisp/org.git/lisp/) Do I uncomment the OS X line and replace /Users/username with my own? so it would read: OS X: /Users/Tmoney/.elisp ? No -- just leave it. It's part of a comment block, which says that if .elisp is in /Users/username/.elisp, then the next two lines are going to work. So... if you have .elisp in /Users/Tmoney/.elisp, then it will work. Best regards, John
Re: [O] [PATCH][ANN] org-html/org-odt
Hello Christian - Paragraphs were frequently split up, mid-sentence, by unwanted paragraph breaks. This bug is a bit of a mystery. The extra paragraph breaks appear where there is a newline in the text. But I can't discern any pattern as to why breaks are inserted at these newlines and not others. Nothing similar happens in HTML export. Doest his problem still exists with the new odt exporter. Can you send me a sample .org file and the generated .odt file. This problem persists. From experimenting a bit, it seems that the *line break before a line containing a footnote* is turned into a paragraph break. I will send a small sample separately. Thanks for analysing and isolating the issue. The problem happens (or is visible) only if the footnote reference occurs in second or subsequent lines in a paragraph and *not* in the first line [1]. I have a pushed a fix few hours back and the small sample document that you provided me gets exported just fine. I haven't addressed other concerns that you had recorded. I will let you know once I address them. I hope the exporter is usable with this new fix. Jambunathan K. Footnotes: [1] In my original test.org file all the footnote references occur in the first (and the only) line of paragraph. This is the reason it wasn't caught by my unit test file. Subsequent to your bug report, I have updated the test.org file so that future regressions could be easily caught. --
[O] Footnotes in LaTeX export
Aloha all, I'm exporting a subtree to LaTeX and am having problems with footnotes. 1) If I enter a footnote with C-c C-x f everything works as expected in the Org-mode buffer, but on export the actual footnote is replaced by a message something like FOOTNOTE DEFINITION NOT FOUND. 2) I can workaround this problem by using an inline definition, eg. [fn:: My footnote.]. However, the citation links that I use elsewhere in the document, defined as set out in http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17_2_1 , are broken inside the footnote. The same code that yields \citep{wilmshurst11:_high_east_polyn} in regular text yields \citep{wilmshurst11:_high$_{\mathrm{east}}$$_{\mathrm{polyn}}$ } inside the footnote. I'm using Org-mode version 7.4 (release_7.4.624.gab9f9) with a patch for captions (which I submitted a while back) and another for org- bibtex recently developed by Eric Schulte (neither of which should have an effect on footnotes, I believe). All the best, Tom
Re: [O] [OT] The Brain
Hi John, John Hendy jw.he...@gmail.com writes: On Tue, Apr 26, 2011 at 8:04 AM, Matt Lundin m...@imapmail.org wrote: John Hendy jw.he...@gmail.com writes: I think it would be slick to enter a brain like viewing system that used tags or properties to swim through files in your agenda. I'm often having to recall some tidbit of info and rack my brain for what context I wrote it down in if the agenda search isn't working. Is there something in particular about agenda search that is not working---i.e., something that needs fixing? Sorry, agenda search isn't working = my memory can't figure out what term to search for :) I just mean that sometimes what I write down at t=0 can't anticipate what impression the event will have in my mind (and, therefore, what words I'll search for) at t=X. Does that make sense? I just wondered if tags/categories/other attributes in a brain-like pattern might help provide some additional navigation options to help with this. Yes, does make sense. Alas, I'm not familiar enough with mind-mapping software to offer many suggestions here. I simply wanted to make sure that the agenda search was not broken. :) Best, Matt
Re: [O] Footnotes in LaTeX export
Hello, Thomas S. Dye t...@tsdye.com writes: I'm exporting a subtree to LaTeX and am having problems with footnotes. 1) If I enter a footnote with C-c C-x f everything works as expected in the Org-mode buffer, but on export the actual footnote is replaced by a message something like FOOTNOTE DEFINITION NOT FOUND. 2) I can workaround this problem by using an inline definition, eg. [fn:: My footnote.]. However, the citation links that I use elsewhere in the document, defined as set out in http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17_2_1, are broken inside the footnote. The same code that yields \citep{wilmshurst11:_high_east_polyn} in regular text yields \citep{wilmshurst11:_high$_{\mathrm{east}}$$_{\mathrm{polyn}}$ } inside the footnote. I'm using Org-mode version 7.4 (release_7.4.624.gab9f9) with a patch for captions (which I submitted a while back) and another for org- bibtex recently developed by Eric Schulte (neither of which should have an effect on footnotes, I believe). There has been recently some work done on footnotes, in particular regarding latex export. Could you upgrade your Org version ? If it still doesn't work, please post an ECM, I will have a look at it. Regards, -- Nicolas Goaziou
Re: [O] Footnotes in LaTeX export
Aloha Nicolas, I've been lazy about rebasing my patches, but will update and report back. What is an ECM? All the best, Tom On Apr 26, 2011, at 8:38 AM, Nicolas Goaziou wrote: Hello, Thomas S. Dye t...@tsdye.com writes: I'm exporting a subtree to LaTeX and am having problems with footnotes. 1) If I enter a footnote with C-c C-x f everything works as expected in the Org-mode buffer, but on export the actual footnote is replaced by a message something like FOOTNOTE DEFINITION NOT FOUND. 2) I can workaround this problem by using an inline definition, eg. [fn:: My footnote.]. However, the citation links that I use elsewhere in the document, defined as set out in http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17_2_1 , are broken inside the footnote. The same code that yields \citep{wilmshurst11:_high_east_polyn} in regular text yields \citep{wilmshurst11:_high$_{\mathrm{east}}$$_{\mathrm{polyn}}$ } inside the footnote. I'm using Org-mode version 7.4 (release_7.4.624.gab9f9) with a patch for captions (which I submitted a while back) and another for org- bibtex recently developed by Eric Schulte (neither of which should have an effect on footnotes, I believe). There has been recently some work done on footnotes, in particular regarding latex export. Could you upgrade your Org version ? If it still doesn't work, please post an ECM, I will have a look at it. Regards, -- Nicolas Goaziou
Re: [O] Footnotes in LaTeX export
Thomas S. Dye t...@tsdye.com wrote: What is an ECM? I don't know how widespread it is in French-speaking milieus, but I believe Seb Vauban is responsible for introducing it into this mailing list (see http://thread.gmane.org/gmane.emacs.orgmode/16375/focus=16453 and its parent thread) and Nicolas Goaziou has perpetuated its use: it stands for Exemple Complet Minimal (= Minimal Complete Example). Between the two of them, they'll drag us all through remedial French class :-) Maybe it should go into the FAQ... Nick
Re: [O] Footnotes in LaTeX export
Thanks Nick. My French, never very good, is apparently too rusty to decipher acronyms. I'll work out an ECM if the update doesn't fix the problem All the best, Tom On Apr 26, 2011, at 9:04 AM, Nick Dokos wrote: Thomas S. Dye t...@tsdye.com wrote: What is an ECM? I don't know how widespread it is in French-speaking milieus, but I believe Seb Vauban is responsible for introducing it into this mailing list (see http://thread.gmane.org/gmane.emacs.orgmode/16375/ focus=16453 and its parent thread) and Nicolas Goaziou has perpetuated its use: it stands for Exemple Complet Minimal (= Minimal Complete Example). Between the two of them, they'll drag us all through remedial French class :-) Maybe it should go into the FAQ... Nick
[O] Agenda clock report - show currently clocked task?
Does the clock report in the agenda exclude time spent in the currently clocked task? Is there a way to turn this on? For example, I have 3 hours clocked in Task1, and I'm clocked into Task2 for 1 hour: My clock report in the agenda only shows the 3 hours in Task1. If I clock-out and refresh the agenda, then the clock report shows Task1 and Task2. Thanks, --Nate
Re: [O] [BUG][babel] :result output table doesn't work for python code blocks
Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: [...] That said, I agree that in examples like yours above the returned value should be a table given that the :results table is explicitly stated. I've just pushed up a patch after which the following is possible. Eric, It would appear that this change you've made is only for python)? Is there any chance of having the same for octave, please? But only if it is easy to do as =:results output raw= with carefully formatted output does the job for me for the moment! Hi Eric, I do not have a local copy of octave, so I'm less confident making changes to that file, but the attached patch attempts to make the same changes in ob-octave which were made in ob-python. Could you please test this patch for both external and session based evaluation and let me know if it works (I'm more hopeful that the external evaluation will work as expected than the session evaluation). Eric, thanks for this. I haven't tried the session based evaluation but the external one, unfortunately, doesn't work as I would expect. In the following, I would expect both source code blocks to give me the same output with the first, value based, being the correct output. Hi Eric, Does the matlab/octave `disp' function display tabular data in the same manner as it is written literally in source code? This is part of the issue with the output table :results combination, namely what constitutes a table for printed output. In source code the answer is obvious, namely whatever the language's interpreter would read as a literal table, however with printed output there are many possible ways to represent tabular data, but none *is* tabular in the way that source code can *be* tabular. If the printed output is exactly the same as how a table would be written in matlab/octave source code, then does my patched version work? If not, then rather than writing another table parser, perhaps the data could be printed as an Org-mode table, and then the output raw :results combination could be used, or the output could be sent through another code block to convert the string to a table. Hope this helps, Best -- Eric #+srcname: valueresult #+begin_src octave :results value table :cache yes values = []; for i=1:15 values(end+1,:) = [i, i^3]; endfor ans = values #+end_src #+results[7a87a711b7814ecf23ec5d3741a5fec33e44]: valueresult | 1 |1 | | 2 |8 | | 3 | 27 | | 4 | 64 | | 5 | 125 | | 6 | 216 | | 7 | 343 | | 8 | 512 | | 9 | 729 | | 10 | 1000 | | 11 | 1331 | | 12 | 1728 | | 13 | 2197 | | 14 | 2744 | | 15 | 3375 | #+srcname: outputresult #+begin_src octave :results output table :cache yes values = []; for i=1:15 values(end+1,:) = [i, i^3]; endfor disp(values) #+end_src #+results[3104573dcf8ec30de1a26aae7051a9e8fce6a92a]: outputresult | 1 1 | | 2 8 | | 3 27 | | 4 64 | | 5125 | | 6216 | | 7343 | | 8512 | | 9729 | | 10 1000 | | 11 1331 | | 12 1728 | | 13 2197 | | 14 2744 | | 15 3375 | Thanks, eric -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Agenda clock report - show currently clocked task?
Nathan Neff nathan.n...@gmail.com writes: Does the clock report in the agenda exclude time spent in the currently clocked task? Is there a way to turn this on? org-clock-report-include-clocking-task -Bernt For example, I have 3 hours clocked in Task1, and I'm clocked into Task2 for 1 hour: My clock report in the agenda only shows the 3 hours in Task1. If I clock-out and refresh the agenda, then the clock report shows Task1 and Task2. Thanks, --Nate
Re: [O] Making an index in latex export --- surprisingly difficult
On Tue, 26 Apr 2011 16:09:22 -0500 Robert Goldman rpgold...@sift.info wrote: The REAL big deal: edit my texmf.cf file to break the security protection of openout_any=p. By default, makeindex will refuse to open an absolute pathname. But org-mode will only pass absolute pathnames to makeindex (AFAICT). Question: it seems like bibtex should suffer from this same restriction. Has anyone had that problem with it? I did and no clean solution has been found yet. http://thread.gmane.org/gmane.emacs.orgmode/38247/focus=38562 HTH -- Suvayu Open source is the future. It sets us free.
Re: [O] Making an index in latex export --- surprisingly difficult
Robert Goldman rpgold...@sift.info wrote: I was trying to make an index in latex export and found that it was very difficult to make it work. I wonder if this could be simplified. Here's what I had to do: 1. put \makeindex and \usepackage{makeidx} in latex export header [no big deal] 2. put in \index commands (I don't /believe/ #+INDEX works, but I could be wrong) 3. Put a \printindex in the end. [again, no big deal] 4. Modify the org-latex-to-pdf-process to (pdflatex -interaction nonstopmode -output-directory %o %f makeindex -o %b.ind %b.idx pdflatex -interaction nonstopmode -output-directory %o %f pdflatex -interaction nonstopmode -output-directory %o %f) [This was /somewhat/ of a big deal. Suggest we add support for indexing as a built-in option, like bibtex...] Maybe you can try the texi2dvi option (I think it runs makeindex), but texi2dvi did have a bug that has caused problems here in the past: that's the reason it's not the default setting for org-latex-to-pdf-process. If you run into the bug but still want to try texi2dvi anyway, see http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00032.html for the fix Karl Berry applied to the development sources. 5. The REAL big deal: edit my texmf.cf file to break the security protection of openout_any=p. By default, makeindex will refuse to open an absolute pathname. But org-mode will only pass absolute pathnames to makeindex (AFAICT). Question: it seems like bibtex should suffer from this same restriction. Has anyone had that problem with it? I haven't had the problem, primarily because I haven't used bibtex through org yet :-) But bibtex should exhibit the same problem: the bibtex change predated the makeindex one. Maybe bibtex is only called with a relative path (if that's the case, then the same method should cure makeindex as well). BTW, .. is not allowed in the relative path: you can only use subdirectories of the current directory. Nick
Re: [O] Making an index in latex export --- surprisingly difficult
On 4/26/11 Apr 26 -4:52 PM, Nick Dokos wrote: Robert Goldman rpgold...@sift.info wrote: I was trying to make an index in latex export and found that it was very difficult to make it work. I wonder if this could be simplified. Here's what I had to do: 2. put in \index commands (I don't /believe/ #+INDEX works, but I could be wrong) Am I right about #+INDEX not being translated in the latex back end (it seems not to work, but it's hard to verify a negative)? If so, would this be hard to fix? If it wouldn't, seems like that would be A Good Thing. 4. Modify the org-latex-to-pdf-process to (pdflatex -interaction nonstopmode -output-directory %o %f makeindex -o %b.ind %b.idx pdflatex -interaction nonstopmode -output-directory %o %f pdflatex -interaction nonstopmode -output-directory %o %f) [This was /somewhat/ of a big deal. Suggest we add support for indexing as a built-in option, like bibtex...] Maybe you can try the texi2dvi option (I think it runs makeindex), but texi2dvi did have a bug that has caused problems here in the past: that's the reason it's not the default setting for org-latex-to-pdf-process. If you run into the bug but still want to try texi2dvi anyway, see http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00032.html for the fix Karl Berry applied to the development sources. Once one has makeindex hacked in there (oh, and you've broken the security!), it works fine, thanks. 5. The REAL big deal: edit my texmf.cf file to break the security protection of openout_any=p. By default, makeindex will refuse to open an absolute pathname. But org-mode will only pass absolute pathnames to makeindex (AFAICT). Question: it seems like bibtex should suffer from this same restriction. Has anyone had that problem with it? I haven't had the problem, primarily because I haven't used bibtex through org yet :-) But bibtex should exhibit the same problem: the bibtex change predated the makeindex one. Maybe bibtex is only called with a relative path (if that's the case, then the same method should cure makeindex as well). BTW, .. is not allowed in the relative path: you can only use subdirectories of the current directory. Nick
Re: [O] Publishing notes to a website
Quoting William Gardella gardell...@gmail.com: 'Mash mash...@toshine.net writes: Quoting Thomas Herbert mash...@toshine.net: Kyle Sexton ks at mocker.org writes: I'm looking for advice on ways people are publishing their org notes to a website. So far I've looked at blorgit and it's really nice, but the dependency for a backend emacs session and running through sinatra makes me wary of putting it out on my server for the world. 1. What methods are people using to publish their org notes? 2. Anyone have sample sites that I can see what the output looks like? Kyle, I have been actually been working on a simple clean solution for writing in org-mode and keeping the file as org-mode. What I have come up with is a Textile like PHP class that translates org-mode files into HTML. It is still very very alpha and hope to release the code soon for people to look at, work and improve or completely scrap and take my idea and do it better. As I mentioned earlier I have been playing around building a regex parser in PHP for Org-Mode files. As you will see I am obviously an amateur programmer and my hope is that if this is at all useful then someone else will rewrite it. My site http://toshine.org uses both the classOrgile and the Orgile CMS. If you look at the bottom of any article you will see the link to the raw .org file that is parsed/converted to HTML. --- The classOrgile PHP class (very limited currently!). http://toshine.org/etc/files/classorgile.php.txt The Orgile PHP flat file CMS (currently used for http://toshine.org). http://toshine.org/etc/files/orgile.php.txt The Orgile PHP flat file CMS (fully commented code). http://toshine.org/etc/files/orgile-commented.php.txt --- Well I hope it is at least interesting for someone on this list. 'Mash Limited though it may be, I'm extremely impressed with the results you are getting out of this little flat-file CMS :) It seems like a more blog (periodical literature)-like solution than Blorgit, which in spite of its name is really a wiki framework. I think I'll be trying this in my sandbox soon :) Will Thanks Will, and do let me know if you need any help deciphering my code. It looks a lot better in php-mode! It really is actually a very simple program, and really easy to remove what you don't need and add what you want. You have my email address so pop me a line whenever. Thanks 'Mash
Re: [O] Making an index in latex export --- surprisingly difficult
Robert Goldman rpgold...@sift.info wrote: 2. put in \index commands (I don't /believe/ #+INDEX works, but I could be wrong) Am I right about #+INDEX not being translated in the latex back end (it seems not to work, but it's hard to verify a negative)? Seems to be a publishing thingie only. Adding a publishing project --8---cut here---start-8--- ... (foo :base-directory ~/src/org/latex/index/ :publishing-directory ~/src/org/latex/index :publishing-function org-publish-org-to-latex :makeindex t ) ... --8---cut here---end---8--- to org-publish-project-alist and publishing the following org file --8---cut here---start-8--- #+INDEX: foo * this is a test of foo --8---cut here---end---8--- generates \index{foo} in the TeX file. Nick If so, would this be hard to fix? If it wouldn't, seems like that would be A Good Thing.
Re: [O] Publishing notes to a website
Having not read the whole thread I apologize if I'm retracing already covered ground. I've had success using Org's built in projects [1]. Although this results in a flat html web-site it is easy to impose a consistent theme, and to publish large numbers of files. To give some personal examples my homepage [2], and even the wiki for my lab [3] are both published using Org-mode's publishing facilities, the latter with a git repository backend and some fancy post_update hooks. For smaller sites (like my home page) I just include the project definition in an elisp block in a commented heading of the main Org-mode file (e.g., [4]), and for larger efforts I define the projects in a separate elisp file, or even in an external script which can be run with an Emacs batch instance. Hope this helps. Best -- Eric 'Mash mash...@toshine.net writes: Quoting William Gardella gardell...@gmail.com: 'Mash mash...@toshine.net writes: Quoting Thomas Herbert mash...@toshine.net: Kyle Sexton ks at mocker.org writes: I'm looking for advice on ways people are publishing their org notes to a website. So far I've looked at blorgit and it's really nice, but the dependency for a backend emacs session and running through sinatra makes me wary of putting it out on my server for the world. 1. What methods are people using to publish their org notes? 2. Anyone have sample sites that I can see what the output looks like? Kyle, I have been actually been working on a simple clean solution for writing in org-mode and keeping the file as org-mode. What I have come up with is a Textile like PHP class that translates org-mode files into HTML. It is still very very alpha and hope to release the code soon for people to look at, work and improve or completely scrap and take my idea and do it better. As I mentioned earlier I have been playing around building a regex parser in PHP for Org-Mode files. As you will see I am obviously an amateur programmer and my hope is that if this is at all useful then someone else will rewrite it. My site http://toshine.org uses both the classOrgile and the Orgile CMS. If you look at the bottom of any article you will see the link to the raw .org file that is parsed/converted to HTML. --- The classOrgile PHP class (very limited currently!). http://toshine.org/etc/files/classorgile.php.txt The Orgile PHP flat file CMS (currently used for http://toshine.org). http://toshine.org/etc/files/orgile.php.txt The Orgile PHP flat file CMS (fully commented code). http://toshine.org/etc/files/orgile-commented.php.txt --- Well I hope it is at least interesting for someone on this list. 'Mash Limited though it may be, I'm extremely impressed with the results you are getting out of this little flat-file CMS :) It seems like a more blog (periodical literature)-like solution than Blorgit, which in spite of its name is really a wiki framework. I think I'll be trying this in my sandbox soon :) Will Thanks Will, and do let me know if you need any help deciphering my code. It looks a lot better in php-mode! It really is actually a very simple program, and really easy to remove what you don't need and add what you want. You have my email address so pop me a line whenever. Thanks 'Mash Footnotes: [1] http://orgmode.org/manual/Publishing.html [2] http://cs.unm.edu/~eschulte/ [3] http://wiki.adaptive.cs.unm.edu/ [4] the attached snippet of org-mode is adapted from my homepage. ** COMMENT publishing This code is used to publish this page to the cs.unm.edu webserver. For more information on publishing Org-mode pages see the [[http://orgmode.org/manual/Publishing.html#Publishing][Publishing section]] of the [[http://orgmode.org/manual/index.html#Top][Org-mode manual]]. #+begin_src emacs-lisp :results silent (setq homepage-dir (file-name-directory (or load-file-name buffer-file-name))) (unless (boundp 'org-publish-project-alist) (setq org-publish-project-alist nil)) ;; the main html page (add-to-list 'org-publish-project-alist `(homepage-html :base-directory ,homepage-dir :base-extension org :publishing-directory /ssh:username@web-server:~/public_html/ :html-postamble ; replaces the auto-generated postamble div class=\clear-fix\/div custom-postamble /div :style link rel=\stylesheet\href=\data/stylesheet.css\type=\text/css\)) ;; the contents of the data/ directory, css, images, etc... (add-to-list 'org-publish-project-alist `(homepage-data :base-directory ,(expand-file-name data homepage-dir) :base-extension jpg\\|gif\\|png\\|pdf\\|css\\|bib :publishing-directory /ssh:username@web-server:~/public_html/data/ :publishing-function org-publish-attachment)) ;; a single combined project to publish both html and supporting materials
Re: [O] Making an index in latex export --- surprisingly difficult
On 4/26/11 Apr 26 -6:14 PM, Nick Dokos wrote: Robert Goldman rpgold...@sift.info wrote: 2. put in \index commands (I don't /believe/ #+INDEX works, but I could be wrong) Am I right about #+INDEX not being translated in the latex back end (it seems not to work, but it's hard to verify a negative)? Seems to be a publishing thingie only. ...snip... Working on a patch to org-latex that will translate #+INDEX: So far it's a little more difficult than I'd hoped. If we have that, then adding something to automagically invoke the right latex fu to accumulate and print the index should be relatively trivial. Even adding a new export method should be ok (modulo fixing the general bibtex + makeindex privs issue). R
Re: [O] How to change the face of =code= and ~verbatim~ ?
Huang Tao htbest2...@gmail.com writes: It seems that the default color of =code= and ~verbatim~ cannot stick out itself on black bg color with gray fg color. How can I change it? PS =code= and ~verbatim~ looks fine with white bg color. M-x customize-face [RET] org-verbatim M-x customize-face [RET] org-code Best, Matt
Re: [O] Can I get match count?
Osamu OKANO okano.os...@gmail.com writes: I' like to know a count of search results. (message You have %s habits which are out of date. (org-agenda-match-count (tags-todo STYLE=\habit\+SCHEDULED=\now\))) Is there any way? You could use org-map-entries to count the number of occurrences: (length (org-map-entries t STYLE=\habit\+SCHEDULED=\now\ 'agenda)) Best, Matt
[O] underscores exported as sub/sub in html
Hi, I have a table like such | 236a_bp_000602 | Missing | No prep layer information found in the checkin comments for '236a_bp_000602_output_review_stereo'. | | 308_gt_001119 | Missing | No prep layer information found in the checkin comments for '308_gt_001119_output_review_stereo'. | | 308_gt_001123 | Missing | No prep layer information found in the checkin comments for '308_gt_001123_output_review_stereo'. | | 308_gt_001126 | Missing | No prep layer information found in the checkin comments for '308_gt_001126_output_review_stereo'. | When I org-export-as-html the underscores in the first column are becoming sub tags in html trtd class=left236asubbp/subsub000602/sub/tdtd class=leftMissing/tdtd class=leftNo prep layer information found in the checkin comments for '236asubbp/subsub000602/subsuboutput/subsubreview/subsubstereo'/sub./td/tr Can't seem to find a way around this. Any suggestions appreciated.. aaron.
Re: [O] underscores exported as sub/sub in html
Hello, interesting. I have this in but thought I must be misunderstanding the manual. If I have the line in as below, but it is not working as expected, any ideas what I should be looking to troubleshoot? #+LANGUAGE: en #+OPTIONS: ^:nil #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path: http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport aaron. On 27 April 2011 13:12, Nick Dokos nicholas.do...@hp.com wrote: aaron barclay aaron.diplo...@gmail.com wrote: ... When I org-export-as-html the underscores in the first column are becoming sub tags in html ... Can't seem to find a way around this. Any suggestions appreciated.. #+OPTIONS: ^:nil See sec. 12.2, Export options, of the Org manual. Nick
Re: [O] underscores exported as sub/sub in html
aaron barclay aaron.diplo...@gmail.com writes: interesting. I have this in but thought I must be misunderstanding the manual. If I have the line in as below, but it is not working as expected, any ideas what I should be looking to troubleshoot? #+OPTIONS: ^:nil Revisit the file so that the settings take effect. Alternatively you can do a C-c C-c on the OPTIONS line. C-h v org-export-with-sub-superscripts Jambunathan K. --