[Orgmode] Request for guidance: Export ONLY headlines matching occur search?
I am keeping notes in a single file about several topics. I can isolate headlines about these topics/products, by an agenda occur search: C-a a / key phrase . I have made a template to print a memo about these products, but it seems I must copy the headlines by hand to a register or file, then massage them into shape. I would like to do something like export a PDF of all entries/subtrees within the region that have the product's key phrase in the heading. Is it possible to selectively export only the subtrees identified by the Occur agenda search, automagically? Since my notes start with an inactive time stamp, I would like to strip these out as well. I think I can easily write an elisp function to do this, but perhaps org-mode already has such capabilities built in, a regexp for an inactive time stamp. Perhaps I'll spend some time over Christmas break on this. It's nice to easily make a memo, but it would be a big help to make it less laborious. In case there is interest, here are the template and the fragments for the head and tail of the memo. Remember template: (Memo ?Z %[~/org/MEMO/Top.2.memo] %?\n %i % %[~/org/MEMO/Bot.memo] ~/or/MEMO/Memo.tex top) The required files Top.2.memo and Bot.memo are attached. Top.2.memo can be edited with any hard wired recipient and from lines. The class file, also included, is edited to change the header on the memo. All three must be in the directory ~/org/MEMO. I am using the sloppy approach of running LaTeX on the long Memo.tex file to which the current memo has been pre-pended. Only the topmost memo is printed. This approach works but it is currently a kluge, unpolished. The enhancements I have requested would make it possible to instantly fire off a memo about a specific product. * * Alan Davis %% %% This is file `memo.cls', %% \CharacterTable %% {Upper-case\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits\0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \ Hash (number) \# %% Dollar\$ Percent \% Ampersand \ %% Acute accent \' Left paren\( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \ %% Equals\= Greater than \ Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex\^ Underscore\_ %% Grave accent \` Left brace\{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1996/06/01] \ProvidesClass{memo} [1999/02/09 v1.2z Standard LaTeX document class] \typeout{Document Class `memo' by Ray Seyfarth based on letter style, 9/2000. } \typeout{ } \newcomma...@ptsize{} \DeclareOption{a4paper} {\setlength\paperheight {297mm}% \setlength\paperwidth {210mm}} \DeclareOption{a5paper} {\setlength\paperheight {210mm}% \setlength\paperwidth {148mm}} \DeclareOption{b5paper} {\setlength\paperheight {250mm}% \setlength\paperwidth {176mm}} \DeclareOption{letterpaper} {\setlength\paperheight {11in}% \setlength\paperwidth {8.5in}} \DeclareOption{legalpaper} {\setlength\paperheight {14in}% \setlength\paperwidth {8.5in}} \DeclareOption{executivepaper} {\setlength\paperheight {10.5in}% \setlength\paperwidth {7.25in}} \DeclareOption{landscape} {\setleng...@tempdima {\paperheight}% \setlength\paperheight {\paperwidth}% \setlength\paperwidth {...@tempdima}} \declareoption{10pt}{\renewcomma...@ptsize{0}} \declareoption{11pt}{\renewcomma...@ptsize{1}} \declareoption{12pt}{\renewcomma...@ptsize{2}} \...@compatibility \declareoption{twoside...@latexerr{no `twoside' layout for memo}% \...@eha} \else \declareoption{twoside...@twosidetrue \...@mparswitchtrue} \fi \declareoption{oneside...@twosidefalse \...@mparswitchfalse} \DeclareOption{draft}{\setlength\overfullrule{5pt}} \DeclareOption{final}{\setlength\overfullrule{0pt}} \DeclareOption{leqno}{\input{leqno.clo}} \DeclareOption{fleqn}{\input{fleqn.clo}} \ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final} \ProcessOptions \input{siz...@ptsize.clo} \setlength\lineskip{...@} \setlength\normallineskip{...@} \renewcommand\baselinestretch{} \setlength\parskip{0.7em} \setlength\parindent{...@} \...@lowpenalty 51 \...@medpenalty 151 \...@highpenalty 301 \setlength\headheight{1...@} \setlength\headsep {4...@} \setlength\footskip{2...@} \...@compatibility \setlength\textwidth{36...@} \setlength\textheight{50...@} \fi \...@compatibility \setlength\oddsidemargin{53pt} \setlength\evensidemargin{53pt}
[Orgmode] Re: batch exporting
This is my whole error by the way if someone can understand what it means... Debugger entered--Lisp error: (wrong-type-argument stringp nil) re-search-forward(nil nil t) org-export-remove-headline-metadata((:for-LaTeX t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading nil :LaTeX-fragments nil :timestamps t :footnotes t)) org-export-preprocess-string( :for-LaTeX t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading nil :LaTeX-fragments nil :timestamps t :footnotes t) org-export-latex-first-lines((:latex-image-options width=10em :exclude-tags (noexport) :select-tags (export) :email and...@44-131.eduroam.rwth-aachen.de :author andrea :auto-postamble nil :auto-preamble nil :postamble nil :preamble nil :publishing-directory nil :timestamp nil :expand-quoted-html t :html-table-tag nil :xml-declaration nil :html-extension nil :inline-images nil :convert-org-links nil :agenda-style :style-extra nil :style nil :style-include-scripts nil :style-include-default nil :table-auto-headline t :tables t :time-stamp-file t ...) nil nil) org-export-as-latex(3 hidden) org-export-as-latex-batch() command-line-1((--no-splash --eval (add-to-list 'load-path \/Users/andrea/.emacs.d/org-mode/lisp/\) --eval (setq debug-on-error t) --eval (require 'org) --eval (require 'org-install) --visit=navigator.org -f org-export-as-latex-batch)) command-line() normal-top-level() ___ 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] Browser Interface to org-mode?
On Mon, Dec 21, 2009 at 3:53 PM, sumeet pareek wrote: @Manish: Thanks for the reply. Emacs caught my attention this weekend when I saw a Google tech talk about org-mode. And I decided to give it a try. 1. Was able to install it very easily on ubuntu (but I use windows at work) 2. Was initially clueless on how to get emacs to run on windows but am now running ver.GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) (It comes with org-mode built in :) 3. Spend the last hour playing around with org-mode. Loved it. :) Welcome. ..And now I am hell bent to shift to emacs as my primary editor of choice. The first step of which would be to use it (org-mode) for my todos. Once I am pretty okay working with my TODOs I shall try other things like syncing it with google calendar et al. You might find it to be a lot like the famous rabbit hole that goes way deeper than you first thought.. You picked up Emacs pretty fast (I took months and still know only a few things) but you still might find this useful. http://www.ibm.com/developerworks/edu/au-dw-au-emacs1-i.html?S_TACT=105AGX01S_CMP=HP And for Org mode: http://orgmode.org/worg/org-tutorials/index.php Interestingly, with Org mode you first use it to figure out the way you work and then you use it to achieve mind like water. -- Manish PS: Remember to reply-all to send your response to the list as well. ___ 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] Browser Interface to org-mode?
On Mon, Dec 21, 2009 at 5:13 PM, Manish mailtomanish.sha...@gmail.comwrote: On Mon, Dec 21, 2009 at 3:53 PM, sumeet pareek wrote: @Manish: Thanks for the reply. Emacs caught my attention this weekend when I saw a Google tech talk about org-mode. And I decided to give it a try. 1. Was able to install it very easily on ubuntu (but I use windows at work) 2. Was initially clueless on how to get emacs to run on windows but am now running ver.GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) (It comes with org-mode built in :) 3. Spend the last hour playing around with org-mode. Loved it. :) Welcome. ..And now I am hell bent to shift to emacs as my primary editor of choice. The first step of which would be to use it (org-mode) for my todos. Once I am pretty okay working with my TODOs I shall try other things like syncing it with google calendar et al. You might find it to be a lot like the famous rabbit hole that goes way deeper than you first thought.. Yea. I can already feel it :) You picked up Emacs pretty fast (I took months and still know only a few things) but you still might find this useful. http://www.ibm.com/developerworks/edu/au-dw-au-emacs1-i.html?S_TACT=105AGX01S_CMP=HP And for Org mode: http://orgmode.org/worg/org-tutorials/index.php Thanks for the links. You must have got started with emacs way back. I have the advantage of wealth of documentation that is there.. and I am kind of familiar with what to expect. Had heard a lot about this editor. Always wanted to try. But the comic http://xkcd.com/378/ and the video http://www.youtube.com/watch?v=oJTwQvgfgMM provided the final push to swtich. Interestingly, with Org mode you first use it to figure out the way you work and then you use it to achieve mind like water. -- Manish PS: Remember to reply-all to send your response to the list as well. Ooops. Have almost always used google groups mailing list before. It has the list address in the to field. -- Cheers Sumeet Pareek ___ 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: batch exporting
andrea andrea.crott...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Dec 20, 2009, at 11:43 PM, andrea wrote: Nick Dokos nicholas.do...@hp.com writes: See the thread at http://thread.gmane.org/gmane.emacs.orgmode/17059 I also tried the scripts from that thread (but it's actually the same thing), I always get the same error. What could that mean: converting file euler.org Wrong type argument: commandp, org-export-as-html-batch Have you tried (as the installation instructions say) (require 'org-install) ?? Now it goes a bit further emacs --batch \ --eval (add-to-list 'load-path \$HOME/.emacs.d/org-mode/lisp/\) \ --eval (require 'org-install) \ --load=$orglib/org.el \ --visit=$1 --funcall org-export-as-html-batch ip116-027:euler_project andrea$ org_html.sh euler.org converting file euler.org Exporting... htmlize.el 1.34 or later is needed for source code formatting Exporting... Exporting... Wrong type argument: stringp, nil How can I have more verbose errors by the way? Further along in the thread I pointed out to you, there is a discussion of emacs --batch implying emacs -q and how to load your .emacs file. I believe that't the problem you are having. HTH, Nick ___ 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] Browser Interface to org-mode?
sumeet pareek positivecha...@gmail.com wrote: I am not a 100% sure but I believe I heard some where in the google tech talk about browser interface to org-mode. Could anybody tell me where can I find it? It would be a boon to me as I am mostly on a windows box where running org-mode is not the most simple thing to do. I also work from multiple systems and would seriously benefit from any org-mode interface/clone that works from the browser!? You might be thinking about Sebastian Rose's org-info.js javascript which allows you to read XHTML pages exported from org in the browser, either as Info pages or as foldable items (a la org-mode). It is very neat, but it is *not* a browser interface to org-mode. Manish is right: there is no such thing. HTH, Nick ___ 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] demote region
andrea andrea.crott...@gmail.com wrote: Between the various commands there's already org-demote-subtree, but what if I add a higher level and I want to demote everything? Is there a command to do it? I need to add a '*' everywhere and indent accordingly in theory... Demote the tree and add a new heading: what's the problem? Nick ___ 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] Browser Interface to org-mode?
@Nick: You just read my mind! Will try reading XHTML exported from org-mode using org-info.js Now I dont know this, but is there a way to import XHTML files into org-mode (retaining all the org data like TODO, tags, priority et al). If yes, I think I would be interested in creating a browser based interface to org-mode using GWT. Needs to be seen if I can actually start it. Have already decided to do something using GWT this holiday season. On Mon, Dec 21, 2009 at 8:01 PM, Nick Dokos nicholas.do...@hp.com wrote: sumeet pareek positivecha...@gmail.com wrote: I am not a 100% sure but I believe I heard some where in the google tech talk about browser interface to org-mode. Could anybody tell me where can I find it? It would be a boon to me as I am mostly on a windows box where running org-mode is not the most simple thing to do. I also work from multiple systems and would seriously benefit from any org-mode interface/clone that works from the browser!? You might be thinking about Sebastian Rose's org-info.js javascript which allows you to read XHTML pages exported from org in the browser, either as Info pages or as foldable items (a la org-mode). It is very neat, but it is *not* a browser interface to org-mode. Manish is right: there is no such thing. HTH, Nick -- Cheers Sumeet Pareek ___ 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] Browser Interface to org-mode?
Hmm. Very Interesting. http://orgmode.org/org.html#Javascript-support On Mon, Dec 21, 2009 at 8:07 PM, sumeet pareek positivecha...@gmail.comwrote: @Nick: You just read my mind! Will try reading XHTML exported from org-mode using org-info.js Now I dont know this, but is there a way to import XHTML files into org-mode (retaining all the org data like TODO, tags, priority et al). If yes, I think I would be interested in creating a browser based interface to org-mode using GWT. Needs to be seen if I can actually start it. Have already decided to do something using GWT this holiday season. On Mon, Dec 21, 2009 at 8:01 PM, Nick Dokos nicholas.do...@hp.com wrote: sumeet pareek positivecha...@gmail.com wrote: I am not a 100% sure but I believe I heard some where in the google tech talk about browser interface to org-mode. Could anybody tell me where can I find it? It would be a boon to me as I am mostly on a windows box where running org-mode is not the most simple thing to do. I also work from multiple systems and would seriously benefit from any org-mode interface/clone that works from the browser!? You might be thinking about Sebastian Rose's org-info.js javascript which allows you to read XHTML pages exported from org in the browser, either as Info pages or as foldable items (a la org-mode). It is very neat, but it is *not* a browser interface to org-mode. Manish is right: there is no such thing. HTH, Nick -- Cheers Sumeet Pareek -- Cheers Sumeet Pareek ___ 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] Browser Interface to org-mode?
On Mon, Dec 21, 2009 at 5:37 PM, sumeet pareek wrote: [snip] Thanks for the links. You must have got started with emacs way back. I tried Emacs 20.. did not last beyond a few hours, then tried Emacs 21.. did not last beyond a day or so. I guess I was trying too hard to remember the key chords (and I was coming from vi.) Then Planner distracted me while my fingers figured out a few basics on their own Later I found wonderful Org mode and the community of amazing people on this list. It was easier after that. I have the advantage of wealth of documentation that is there.. I find http://www.emacswiki.org and http://planet.emacsen.org/ invaluable along with the gold mine within Emacs (C-h i). -- Manish ___ 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
[Orgmode] Re: batch exporting
Nick Dokos nicholas.do...@hp.com writes: Further along in the thread I pointed out to you, there is a discussion of emacs --batch implying emacs -q and how to load your .emacs file. I believe that't the problem you are having. Alright I can try, but I don't want to load my configuration every time I want to export, it's quite big now and it takes some time. I just want to load only what's necessary to export, and what I've put should be already enough... ___ 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 as QDA-Software?
On Fri, Dec 18, 2009 at 6:43 PM, Sven Bretfeld sven.bretf...@gmx.ch wrote: Org mode would be a nice base for bringing a good QDA-Software to the world of free software, isn't it? QDAS is a special type of software for qualitative data analysis[¹], mostly used in Sociology and related fields of Science. Existing programs like Atlas.ti[²] and MaxQDA[³] are what I deem the essence of proprietary stuff: very expensive, elitist and utterly unfree (but widely used by research groups who have enough money at their disposal). Interestingly, I saw ads for MaxQDA plastered everywhere at the American Anthropological Association conference recently, and immediately thought that the best way to go about implementing a free alternative would be on top of Emacs. Really all it would take would be a few functions to add user tags as text properties, and then some stuff for browsing those tags and doing some simple analysis on them. I mentioned this possibility to my wife, who is the linguistic anthropologist in the family, and hence the prospective user of this, and she categorically shot down the idea of using emacs for handling her data, on the basis of user-unfriendliness. But it's interesting to see that our thoughts are running along the same lines. I'd love to work on this kind of thing (whether based on emacs or as a standalone GPL application), but I'm afraid I can't do it unless I can be paid for it. :( ___ 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
[Orgmode] Re: demote region
Nick Dokos nicholas.do...@hp.com writes: andrea andrea.crott...@gmail.com wrote: Demote the tree and add a new heading: what's the problem? Good I got it, I thought I also needed to select the region. If you select the region it doesn't work, just demoting from the head works like a charm, thanks ___ 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] Beamer support in Org-mode
Aloha Carsten, I've had a chance to look at your first draft of beamer support. You've done a terrific job. So much of the draft is right that it helps to focus thoughts on the parts that are candidates for discussion and possible change. Along those lines, I don't think using headlines for \begin{columns} ... \end{columns} works very well. I think headlines should be reserved for sectioning, frames, elements of frames (blocks and friends), and notes. Once a headline level has been designated for frames (n), then headline n+1 becomes an element of the frame, and headline n+2 becomes notes for the frame (following Daniel Martins' lead). To my mind, columns are attributes of a frame, so they might better be handled as a property of the frame. Frame elements are specifically assigned to a column, or not, using a property. Roughly, this would yield the following syntax, which ought to export fairly cleanly with the HTML and LaTeX exporters. #+BEAMER_FRAME_LEVEL 2 * Section 1 ** Frame 1 :PROPERTIES: :FRAME_COLS: 2 :END: *** Element 1 :block: :PROPERTIES: :IN_COL: 1 :END: - Item 1 - Item 2 Notes about Element 1 block - Keyed to Item 1 - Keyed to Item 2 *** Element 2 :block: :PROPERTIES: :IN_COL: 2 :END: - Item 3 - Item 4 *** Element 3 This element spans two columns. The headline doesn't appear on the slide. *** Element 4 (headline doesn't appear on the slide because not a block or friend) :PROPERTIES: :IN_COL: 1 :END: - Item 5 - Item 6 ** Frame 2 *** Element 1 - Item 1 - Item 2 Notes - Note for item 1 - Note for item 2 Thanks again for drafting what should be a very useful addition to the already insanely useful org-mode. HTH, Tom On Dec 10, 2009, at 10:05 PM, Carsten Dominik wrote: Hi everyone, the current state of affairs in beamer support is now in the master branch of the git repo. My little draft documentation is now at http://orgmode.org/worg/org-tutorials/org-beamer.php But it is really limited and I am hoping very much that someone will turn this into something useful! - Carsten On Dec 11, 2009, at 12:49 AM, Mark Elston wrote: Nick Dokos wrote: IIUC, another way to go (possibly much simpler than org-babel[1]) is to use selective export: #+EXPORT_SELECT_TAGS: Tags that select a tree for export #+EXPORT_EXCLUDE_TAGS: Tags that exclude a tree from export Mark the handout and notes sections with different tags and export the document twice, once with the handout tag selected and once with the notes tag selected. This sounds like it would work as well, though it probably results in a very different org-file organization to make it work. I will have to play around with the various options to see what works best for me. Thanks. HTH, Nick [1] NB: org-babel is another area that I know very little about, but hope to learn more about during vacation (although by this time, the todo list for vacation has expanded sufficiently to occupy several lifetimes...) Hah! I know exactly what you mean... Mark ___ 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 - Carsten ___ 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 ___ 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
[Orgmode] Re: Organizing a students live
In fact, it helps! Thanks However a sentence like this: +# a class that meets every Monday evening between February 16 and April 20, 2009 ** Class 7:00pm-9:00pm %%(and (= 1 (calendar-day-of-week date)) (diary-block 2 16 2009 4 20 2009)) is not an example of simplicity and visibility for a quite common feature! Maybe as a suggestion we could encapsulate such a huge expression in a simpler org-mode function ? Daniel PS In http://www.emacswiki.org/cgi-bin/wiki/DiaryMode#toc12 I found another suggestion which I do not know how to include in org-mode Schedule If you want to write a schedule for school or university, you need to define a block (it’s derived from diary-block) between two dates and a weekday. The following function also recognizes holidays and won’t send you to school on those days… :) (defun diary-schedule (m1 d1 y1 m2 d2 y2 dayname) Entry applies if date is between dates on DAYNAME. Order of the parameters is M1, D1, Y1, M2, D2, Y2 if `european-calendar-style' is nil, and D1, M1, Y1, D2, M2, Y2 if `european-calendar-style' is t. Entry does not apply on a history. (let ((date1 (calendar-absolute-from-gregorian (if european-calendar-style (list d1 m1 y1) (list m1 d1 y1 (date2 (calendar-absolute-from-gregorian (if european-calendar-style (list d2 m2 y2) (list m2 d2 y2 (d (calendar-absolute-from-gregorian date))) (if (and (= date1 d) (= d date2) (= (calendar-day-of-week date) dayname) (not (check-calendar-holidays date)) ) entry))) Then: %%(diary-schedule 22 4 2003 1 8 2003 2) 18:00 History 2009/12/20 Matt Lundin m...@imapmail.org: Daniel Martins daniel...@gmail.com writes: All academics here present (including of course Carsten) suffer from the same problem, I think *** Math classes 2009-12-10 Thu 11:00-14:00 +1w will repeat forever and ever... We need to create a schedule for a period. The package remind (and its simple interface wyrd) do this job wonderfully but I do not know how to deal with this problem in Org mode The following FAQ should help: http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files - Matt ___ 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: batch exporting
andrea andrea.crott...@gmail.com wrote: Nick Dokos nicholas.do...@hp.com writes: Further along in the thread I pointed out to you, there is a discussion of emacs --batch implying emacs -q and how to load your .emacs file. I believe that't the problem you are having. Alright I can try, but I don't want to load my configuration every time I want to export, it's quite big now and it takes some time. I just want to load only what's necessary to export, and what I've put should be already enough... Then prepare a skeleton .emacs just for export and load that: emacs --batch --load ~/.skeleton-emacs-for-export ... Nick ___ 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
[Orgmode] MobileOrg WebDAV Server
After playing around with the MobileOrg iPhone App it quickly became apparent that the free web dav hosting wasn't going to work integrating with Emacs. I found wsgidav[1] which made it possible to run a compatible webdav server for MobileOrg. It was really easy to setup and integrate with my existing Python web applications on my VPS server. Anyway, it seemed like others might find it helpful. [1] http://code.google.com/p/wsgidav/ Thanks! Eric Larson http://ionrock.org ___ 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
[Orgmode] small addition to The Org Manual
A key that explicitly states what is meant by C-, S- and M-, would be helpful. Cheers, V ___ 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
[Orgmode] Re: Orgmoderunning org-mode (inside emacs) in the n900
On Mon, 14 Dec 2009 23:45:19 -0800, D M German d...@uvic.ca said: DMG Yes, it can be done: FYI, if you want to get org from git you should know I packaged git for the N900 the other day and it should be in extras-devel now. -- Wes Hardaker My Pictures: http://capturedonearth.com/ My Thoughts: http://pontifications.hardakers.net/ ___ 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
[Orgmode] Contracts in Orgmode
Hello all, please consider the following scenario: I have a contract with Client A; the contract is valid from January 1, 2010 until March 31, 2010. I want to clock all my work on tasks under this contract, and of course *only* while the contract is valid. 30 days before the expiry date, I'd like to get a reminder. After some googling and reading, I came up with the following for my org file Client.org: * Contract A %%(diary-block 01 01 2010 03 31 2010) ** TODO Renew Contract DEADLINE: 2010-03-31 Wed ** Task A :LOGBOOK: ** Task B :LOGBOOK: I want to log the hours I spend on Task A and Task B, but as mentioned before, *only* while the contract is valid. How can I get orgmode to pop up a message in the status line (or whatever it's called :)) when I'm trying to clock in Task A or Task B before January 1, 2010 or after March 31, 2010? Any hints appreciated :) Thanks and Cheers Markus ___ 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
[Orgmode] Re: small addition to The Org Manual
V Spagnolo v.spagn...@pobox.com writes: A key that explicitly states what is meant by C-, S- and M-, would be helpful. I disagree: I don't think the Org mode manual should be teaching the reader how to use Emacs, since that would only duplicate what's already in Emacs. Perhaps it could direct the reader to the Emacs tutorial? -- \ “About four years ago, I was — no, it was yesterday.” —Steven | `\Wright | _o__) | Ben Finney ___ 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] Contracts in Orgmode
Important question It has some relation with other topic on the list http://thread.gmane.org/gmane.emacs.orgmode/20780/focus=20857 2009/12/21 Markus Heller helle...@gmail.com: Hello all, please consider the following scenario: I have a contract with Client A; the contract is valid from January 1, 2010 until March 31, 2010. I want to clock all my work on tasks under this contract, and of course *only* while the contract is valid. 30 days before the expiry date, I'd like to get a reminder. After some googling and reading, I came up with the following for my org file Client.org: * Contract A %%(diary-block 01 01 2010 03 31 2010) ** TODO Renew Contract DEADLINE: 2010-03-31 Wed ** Task A :LOGBOOK: ** Task B :LOGBOOK: I want to log the hours I spend on Task A and Task B, but as mentioned before, *only* while the contract is valid. How can I get orgmode to pop up a message in the status line (or whatever it's called :)) when I'm trying to clock in Task A or Task B before January 1, 2010 or after March 31, 2010? Any hints appreciated :) Thanks and Cheers Markus ___ 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 ___ 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] Beamer support in Org-mode
Hi Thomas, On Dec 21, 2009, at 4:50 PM, Thomas S. Dye wrote: Aloha Carsten, I've had a chance to look at your first draft of beamer support. You've done a terrific job. So much of the draft is right that it helps to focus thoughts on the parts that are candidates for discussion and possible change. Thanks for the very positive feedback! Along those lines, I don't think using headlines for \begin{columns} ... \end{columns} works very well. I think headlines should be reserved for sectioning, frames, elements of frames (blocks and friends), and notes. Once a headline level has been designated for frames (n), then headline n+1 becomes an element of the frame, and headline n+2 becomes notes for the frame (following Daniel Martins' lead). Yes, this is another possibility in the notes-contest - I consider that discussion as still running and not settled. To my mind, columns are attributes of a frame, so they might better be handled as a property of the frame. Frame elements are specifically assigned to a column, or not, using a property. You might or might not have noticed that the current implementation is already one iteration further than the first draft, and I have already followed a path which does not encourage the use of special levels for the columns environment. Instead, it marks elements that *start* a new column. You proposal is different, but has the disadvantage that each element has to be labeled as being part of a column. What is the advantage of this approach? Maybe that it is possible to have an element that is *after* the columns, spanning again the whole frame, before another element starts a new columns environment. I can see that this is desirable, but maybe it would be better to mark column starts as I am doing now, and then maybe mar an element that is outside of the column. The reason why this approach seems (to me!) better is that it is the shorter path from an outline to frames with columns. So on a slide with 10 items, you'd need to mark all ten, while I need to mark only two in order to distribute the items over two columns. - Carsten P.S. I am also not entirely sure if I understand how exactly your setup below should look in LaTeX - maybe you can also show the desired LaTeX output? Roughly, this would yield the following syntax, which ought to export fairly cleanly with the HTML and LaTeX exporters. #+BEAMER_FRAME_LEVEL 2 * Section 1 ** Frame 1 :PROPERTIES: :FRAME_COLS: 2 :END: *** Element 1 :block: :PROPERTIES: :IN_COL: 1 :END: - Item 1 - Item 2 Notes about Element 1 block - Keyed to Item 1 - Keyed to Item 2 *** Element 2 :block: :PROPERTIES: :IN_COL: 2 :END: - Item 3 - Item 4 *** Element 3 This element spans two columns. The headline doesn't appear on the slide. *** Element 4 (headline doesn't appear on the slide because not a block or friend) :PROPERTIES: :IN_COL: 1 :END: - Item 5 - Item 6 ** Frame 2 *** Element 1 - Item 1 - Item 2 Notes - Note for item 1 - Note for item 2 Thanks again for drafting what should be a very useful addition to the already insanely useful org-mode. HTH, Tom On Dec 10, 2009, at 10:05 PM, Carsten Dominik wrote: Hi everyone, the current state of affairs in beamer support is now in the master branch of the git repo. My little draft documentation is now at http://orgmode.org/worg/org-tutorials/org-beamer.php But it is really limited and I am hoping very much that someone will turn this into something useful! - Carsten On Dec 11, 2009, at 12:49 AM, Mark Elston wrote: Nick Dokos wrote: IIUC, another way to go (possibly much simpler than org-babel[1]) is to use selective export: #+EXPORT_SELECT_TAGS: Tags that select a tree for export #+EXPORT_EXCLUDE_TAGS: Tags that exclude a tree from export Mark the handout and notes sections with different tags and export the document twice, once with the handout tag selected and once with the notes tag selected. This sounds like it would work as well, though it probably results in a very different org-file organization to make it work. I will have to play around with the various options to see what works best for me. Thanks. HTH, Nick [1] NB: org-babel is another area that I know very little about, but hope to learn more about during vacation (although by this time, the todo list for vacation has expanded sufficiently to occupy several lifetimes...) Hah! I know exactly what you mean... Mark ___ 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 - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to
Re: [Orgmode] Browser Interface to org-mode?
Manish twisted the bytes to say: Manish On Mon, Dec 21, 2009 at 12:24 PM, sumeet pareek wrote: I am not a 100% sure but I believe I heard some where in the google tech talk about browser interface to org-mode. Could anybody tell me where can I find it? It would be a boon to me as I am mostly on a windows box where running org-mode is not the most simple thing to do. Manish I do not think there is any browser interface to Org mode. Manish Do you use Org on non-Windows system at present? Do you use Emacs on Manish Windows at present? Have you tried Org with Emacs on Windows? What Manish difficulties did you face? I also work from multiple systems and would seriously benefit from any org-mode interface/clone that works from the browser!? Manish Most folks here use DVCS based syncing solutions. I use org-mobile to synchronize an iphone. this has the advantage of uploading the files to a web site. You can use it for a simple way to read-only browse your org files from another computer (which I just had to do few minutes ago). --dmg -- -- Daniel M. German http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . ___ 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
[Orgmode] Re: Request for guidance: Export ONLY headlines matching occur search?
For what it's worth, I forgot to attach one of the files. In case this is of interest to others, it is attached herewith. All I really need to know is how to export ONLY the headlines that are returned by an agenda occur search (C-a / ) as a PDF. With apologies. Alan On Mon, Dec 21, 2009 at 7:48 PM, Alan E. Davis lngn...@gmail.com wrote: I am keeping notes in a single file about several topics. I can isolate headlines about these topics/products, by an agenda occur search: C-a a / key phrase . I have made a template to print a memo about these products, but it seems I must copy the headlines by hand to a register or file, then massage them into shape. I would like to do something like export a PDF of all entries/subtrees within the region that have the product's key phrase in the heading. Is it possible to selectively export only the subtrees identified by the Occur agenda search, automagically? Since my notes start with an inactive time stamp, I would like to strip these out as well. I think I can easily write an elisp function to do this, but perhaps org-mode already has such capabilities built in, a regexp for an inactive time stamp. Perhaps I'll spend some time over Christmas break on this. It's nice to easily make a memo, but it would be a big help to make it less laborious. In case there is interest, here are the template and the fragments for the head and tail of the memo. Remember template: (Memo ?Z %[~/org/MEMO/Top.2.memo] %?\n %i % %[~/org/MEMO/Bot.memo] ~/or/MEMO/Memo.tex top) The required files Top.2.memo and Bot.memo are attached. Top.2.memo can be edited with any hard wired recipient and from lines. The class file, also included, is edited to change the header on the memo. All three must be in the directory ~/org/MEMO. I am using the sloppy approach of running LaTeX on the long Memo.tex file to which the current memo has been pre-pended. Only the topmost memo is printed. This approach works but it is currently a kluge, unpolished. The enhancements I have requested would make it possible to instantly fire off a memo about a specific product. * * Alan Davis Top.2.memo Description: Binary data ___ 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
[Orgmode] Re: Request for guidance: Export ONLY headlines matching occur search?
Another error, this time to the memo generating remember template. With yet another apology: (Memo ?Z %[~/org/MEMO/Top.2.memo] %?\n %i % %[~/org/MEMO/Bot.memo] ~/org/MEMO/Memo.tex top) Alan On Tue, Dec 22, 2009 at 9:39 AM, Alan E. Davis lngn...@gmail.com wrote: For what it's worth, I forgot to attach one of the files. In case this is of interest to others, it is attached herewith. All I really need to know is how to export ONLY the headlines that are returned by an agenda occur search (C-a / ) as a PDF. With apologies. Alan On Mon, Dec 21, 2009 at 7:48 PM, Alan E. Davis lngn...@gmail.com wrote: I am keeping notes in a single file about several topics. I can isolate headlines about these topics/products, by an agenda occur search: C-a a / key phrase . I have made a template to print a memo about these products, but it seems I must copy the headlines by hand to a register or file, then massage them into shape. I would like to do something like export a PDF of all entries/subtrees within the region that have the product's key phrase in the heading. Is it possible to selectively export only the subtrees identified by the Occur agenda search, automagically? Since my notes start with an inactive time stamp, I would like to strip these out as well. I think I can easily write an elisp function to do this, but perhaps org-mode already has such capabilities built in, a regexp for an inactive time stamp. Perhaps I'll spend some time over Christmas break on this. It's nice to easily make a memo, but it would be a big help to make it less laborious. In case there is interest, here are the template and the fragments for the head and tail of the memo. Remember template: (Memo ?Z %[~/org/MEMO/Top.2.memo] %?\n %i % %[~/org/MEMO/Bot.memo] ~/or/MEMO/Memo.tex top) The required files Top.2.memo and Bot.memo are attached. Top.2.memo can be edited with any hard wired recipient and from lines. The class file, also included, is edited to change the header on the memo. All three must be in the directory ~/org/MEMO. I am using the sloppy approach of running LaTeX on the long Memo.tex file to which the current memo has been pre-pended. Only the topmost memo is printed. This approach works but it is currently a kluge, unpolished. The enhancements I have requested would make it possible to instantly fire off a memo about a specific product. * * Alan Davis ___ 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] Beamer support in Org-mode
Hi Carsten, On Dec 21, 2009, at 12:28 PM, Carsten Dominik wrote: ... I've had a chance to look at your first draft of beamer support. You've done a terrific job. So much of the draft is right that it helps to focus thoughts on the parts that are candidates for discussion and possible change. Thanks for the very positive feedback! You're welcome. You certainly deserve it! Along those lines, I don't think using headlines for \begin{columns} ... \end{columns} works very well. I think headlines should be reserved for sectioning, frames, elements of frames (blocks and friends), and notes. Once a headline level has been designated for frames (n), then headline n+1 becomes an element of the frame, and headline n+2 becomes notes for the frame (following Daniel Martins' lead). Yes, this is another possibility in the notes-contest - I consider that discussion as still running and not settled. To my mind, columns are attributes of a frame, so they might better be handled as a property of the frame. Frame elements are specifically assigned to a column, or not, using a property. You might or might not have noticed that the current implementation is already one iteration further than the first draft, and I have already followed a path which does not encourage the use of special levels for the columns environment. Instead, it marks elements that *start* a new column. Yes, I did see this but was concerned about not being able to close the columns environment to insert full-width material, a limitation noted in the draft manual. You proposal is different, but has the disadvantage that each element has to be labeled as being part of a column. What is the advantage of this approach? Maybe that it is possible to have an element that is *after* the columns, spanning again the whole frame, before another element starts a new columns environment. Yes, this is what I was hoping to achieve. I can see that this is desirable, but maybe it would be better to mark column starts as I am doing now, and then maybe mar an element that is outside of the column. If it is possible to mark an element that closes an open columns environment, leaving the frame open for elements that fill the full width, and possibly for a new columns environment, then your approach to columns without additional outline structure would achieve what I was trying to get at. The reason why this approach seems (to me!) better is that it is the shorter path from an outline to frames with columns. So on a slide with 10 items, you'd need to mark all ten, while I need to mark only two in order to distribute the items over two columns. Minimizing the number of keystrokes is important, especially among org- mode people :) Your approach, modified as we've discussed above, has other advantages, too, including more flexibility in the layout. I'm pleased to learn that the limitation about full width elements after columns noted in the draft manual can be overcome, and look forward to working with the next draft. Thanks again for all that you do. Tom - Carsten P.S. I am also not entirely sure if I understand how exactly your setup below should look in LaTeX - maybe you can also show the desired LaTeX output? Roughly, this would yield the following syntax, which ought to export fairly cleanly with the HTML and LaTeX exporters. #+BEAMER_FRAME_LEVEL 2 * Section 1 ** Frame 1 :PROPERTIES: :FRAME_COLS: 2 :END: *** Element 1 :block: :PROPERTIES: :IN_COL: 1 :END: - Item 1 - Item 2 Notes about Element 1 block - Keyed to Item 1 - Keyed to Item 2 *** Element 2 :block: :PROPERTIES: :IN_COL: 2 :END: - Item 3 - Item 4 *** Element 3 This element spans two columns. The headline doesn't appear on the slide. *** Element 4 (headline doesn't appear on the slide because not a block or friend) :PROPERTIES: :IN_COL: 1 :END: - Item 5 - Item 6 ** Frame 2 *** Element 1 - Item 1 - Item 2 Notes - Note for item 1 - Note for item 2 Thanks again for drafting what should be a very useful addition to the already insanely useful org-mode. HTH, Tom On Dec 10, 2009, at 10:05 PM, Carsten Dominik wrote: Hi everyone, the current state of affairs in beamer support is now in the master branch of the git repo. My little draft documentation is now at http://orgmode.org/worg/org-tutorials/org-beamer.php But it is really limited and I am hoping very much that someone will turn this into something useful! - Carsten On Dec 11, 2009, at 12:49 AM, Mark Elston wrote: Nick Dokos wrote: IIUC, another way to go (possibly much simpler than org- babel[1]) is to use selective export: #+EXPORT_SELECT_TAGS: Tags that select a tree for export #+EXPORT_EXCLUDE_TAGS: Tags that exclude a tree from
Re: [Orgmode] Can embed css stylesheet directly?
Carsten Dominik carsten.domi...@gmail.com writes: Whay don't you just try? The answer is yes, you need to surround the text by style.../style. - Carsten On Dec 16, 2009, at 3:10 AM, Water Lin wrote: I use org-mode to build my note sites. For some reason, I don't want to create a seperately css stylesheet which is linked by something like following in my org-publish-project-alist: - :style link rel=\stylesheet\ href=\../common/stylesheet.css\ type=\text/css\/ - Here coms a question. I can embed sheetstyle by surround the text by style/style, but my style text is a little long and I want to use a string to replace it. So I try to set a string by: -- (setq mystyle style./style) -- and then I try to embed like following: -- :style mystyle -- But when I publish the project, Emacs provides a error message for me. I not very familiar with elisp, so could you kind to give me a suggestion about this kind of thing? Can I embed a style string like this in org configure file? Thanks Water Lin Can I insert the css stylesheet here directly rather than using a css file? Thanks Water lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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 - Carsten -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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