[Orgmode] Status google calendar sync
Hi all, Since I use my Android-based phone on a daily basis (after all it is a mobile phone), I got tempted to use more and more the google calendar. I know about mobileorg and all this. However, the calendar is so highly integrated with many applications on the phone that is is often just a click away to add a new appointment. I know some people managed to get a kind of sync running between org-mode and google calendar. I would really like to know how this works out for them and maybe create a stimulus to write something (I would play the beta-tester) on worg. Ideally, I want to have a no-brainer. I create a new appointment in org-mode and a keypress away it should be synced with the google calendar. Alternatively, an automatic sync every hour or so would be nice. On the other side, I wish I could add an appointment on my mobile phone and it ends up automatically with the next sync as an appointment in a special heading in the org-file (like org-remember, does). From this point, I could move it to other locations if I feel so. I would love to hear how far people got with an approach like describe above. My major concern is, as long as it is not automatized in the most easiest possible way, I would, for one or the other reason, skip synchronisation and by time things become diverted and messy to sync. All the best Totti ___ 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: Worg needs some reorganizing
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi, Seb The manual is written in texinfo. BTW, what's the reason for that? [...] Are there good reasons not to move it to Org format? Carsten wrote ;-) : Org-mode is currently not able to produce TeXInfo, which is the standard for Emacs documentation. Also TeXInfo has support for lots of indices etc.[1] TeXInfo, is the standard for Emacs documentation Does it still apply? I think so. Cheers, Giovanni [1] http://lists.gnu.org/archive/html/emacs-orgmode/2010-08/msg01202.html ___ 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] [PATCH] org-agenda: rewrite mode-line
Hi Julien, I like the patch, but since it is not critical it remains on ice until :eval is supported by XEmacs. Michael, it would be nice if you could put :eval into XEmacs so that we can use this improved code for the mode line. Please make sure to let us know when this is done. - Carsten On Dec 6, 2010, at 4:41 PM, Julien Danjou wrote: * org-agenda.el (org-agenda-filter-apply) (org-agenda-filter-by-tag-show-all) (org-agenda-change-time-span) (org-remove-subtree-entries-from-agenda) (org-agenda-entry-text-mode, org-agenda-clockreport-mode) (org-agenda-toggle-diary, org-agenda-archives-mode) (org-agenda-toggle-deadlines, org-agenda-toggle-time-grid): Stop calling org-agenda-set-mode-name. (org-agenda-set-mode-name): Rewrite mode-name value using dynamic evaluation with :eval and other advanced format. Signed-off-by: Julien Danjou jul...@danjou.info --- lisp/org-agenda.el | 66 +++ +--- 1 files changed, 26 insertions(+), 40 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 20c901a..7624348 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5936,7 +5936,6 @@ If the line does not have an effort defined, return nil. (let (tags) (setq org-agenda-filter filter org-agenda-filter-form (org-agenda-filter-make-matcher)) -(org-agenda-set-mode-name) (save-excursion (goto-char (point-min)) (while (not (eobp)) @@ -5973,8 +5972,7 @@ If the line does not have an effort defined, return nil. (mapc 'delete-overlay org-agenda-filter-overlays) (setq org-agenda-filter-overlays nil) (setq org-agenda-filter nil) - (setq org-agenda-filter-form nil) - (org-agenda-set-mode-name)) + (setq org-agenda-filter-form nil)) (defun org-agenda-manipulate-query-add () Manipulate the query by adding a search term with positive selection. @@ -6164,7 +6162,6 @@ SPAN may be `day', `week', `month', `year'. (list (car org-agenda-last-arguments) sd span t))) (org-agenda-redo) (org-agenda-find-same-or-today-or-agenda)) - (org-agenda-set-mode-name) (message Switched to %s view span)) (defun org-agenda-compute-starting-span (sd span optional n) @@ -6258,7 +6255,6 @@ so that the date SD will be in that range. Toggle follow mode in an agenda buffer. (interactive) (setq org-agenda-follow-mode (not org-agenda-follow-mode)) - (org-agenda-set-mode-name) (if (and org-agenda-follow-mode (org-get-at-bol 'org-marker)) (org-agenda-show)) (message Follow mode is %s @@ -6274,7 +6270,6 @@ so that the date SD will be in that range. (let ((org-agenda-entry-text-maxlines (if (integerp arg) arg org-agenda-entry-text-maxlines))) (org-agenda-entry-text-show))) - (org-agenda-set-mode-name) (message Entry text mode is %s. Maximum number of lines is %d (if org-agenda-entry-text-mode on off) (if (integerp arg) arg org-agenda-entry-text-maxlines))) @@ -6288,7 +6283,6 @@ agenda filter. (if with-filter (setq org-agenda-clockreport-mode 'with-filter) (setq org-agenda-clockreport-mode (not org-agenda-clockreport- mode))) - (org-agenda-set-mode-name) (org-agenda-redo) (message Clocktable mode is %s (if org-agenda-clockreport-mode on off))) @@ -6305,7 +6299,6 @@ With a double `C-u' prefix arg, show *only* log items, nothing else. 'only (if special '(closed clock state) (not org-agenda-show-log - (org-agenda-set-mode-name) (org-agenda-redo) (message Log mode is %s (if org-agenda-show-log on off))) @@ -6316,7 +6309,6 @@ When called with a prefix argument, include all archive files as well. (interactive P) (setq org-agenda-archives-mode (if with-files t (if org-agenda-archives-mode nil 'trees))) - (org-agenda-set-mode-name) (org-agenda-redo) (message %s @@ -6335,7 +6327,6 @@ When called with a prefix argument, include all archive files as well. (org-agenda-check-type t 'agenda) (setq org-agenda-include-diary (not org-agenda-include-diary)) (org-agenda-redo) - (org-agenda-set-mode-name) (message Diary inclusion turned %s (if org-agenda-include-diary on off))) @@ -6345,7 +6336,6 @@ When called with a prefix argument, include all archive files as well. (org-agenda-check-type t 'agenda) (setq org-agenda-include-deadlines (not org-agenda-include- deadlines)) (org-agenda-redo) - (org-agenda-set-mode-name) (message Deadlines inclusion turned %s (if org-agenda-include-deadlines on off))) @@ -6355,7 +6345,6 @@ When called with a prefix argument, include all archive files as well. (org-agenda-check-type t 'agenda) (setq org-agenda-use-time-grid (not org-agenda-use-time-grid)) (org-agenda-redo) - (org-agenda-set-mode-name) (message Time-grid turned %s (if org-agenda-use-time-grid on off))) @@ -6363,36 +6352,33 @@ When called with a prefix argument, include all archive files as
Re: [Orgmode] Status google calendar sync
I know some people managed to get a kind of sync running between org-mode and google calendar. I would really like to know how this works out for them and maybe create a stimulus to write something (I would play the beta-tester) on worg. Ideally, I want to have a no-brainer. I create a new appointment in org-mode and a keypress away it should be synced with the google calendar. Alternatively, an automatic sync every hour or so would be nice. On the other side, I wish I could add an appointment on my mobile phone and it ends up automatically with the next sync as an appointment in a special heading in the org-file (like org-remember, does). From this point, I could move it to other locations if I feel so. I would love to hear how far people got with an approach like describe above. Hi Torsten, I have been playing around with this for a while. I use a Nokia phone, but the principle is the same. I have experimented with both syncing from my org files to Google and syncing from Google to org. I don't attempt bi-directional sync, so one side of the sync operation is always considered the master. Initially I tried creating an org file from Google calendar by using the python bindings that Google provides. This worked pretty well - basically the org file is re-created each time I synced with Google. However, almost without exception, I will be at my computer when I want to create an appointment. So, for me it makes sense to create my appointments in org and export them to Google. At the moment I have a cron job that exports my appointments as an ics file on my server and Google reads this. Luckily, I don't have complicated appointments. They tend to be single events, or weekly recurrences which org handles OK. The one useful thing I am missing at the moment is the ability to set reminders in Google Calendar. I find these very useful as Google will send me an SMS message. In fact I often create appointments, which are really just reminders! I am planning to implement this by creating reminders as org Properties and then using them to create the Google reminder. Since I am still on page one of the Complete Idiots Guide to elisp, I plan to do this in Python, which has some nice libraries for creating ics files. Ian. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-beamer problems
Henri-Paul Indiogine hindiog...@gmail.com writes: Hi Eric! Eric S Fraga e.fr...@ucl.ac.uk writes: Regarding the @ problem, where and how do you make the settings. As I have said on this list recently, I find that I have to set the variables concerned *before* I load org (through =(require 'org-install)=) or otherwise the regular expressions that use these variables are initialised incorrectly (I believe this is the root cause of the problem). The @ problem is the only one that I have not been able to fix. The first lines in my .emacs re. orgmode section are: (setq load-path (cons ~/elisp/org-mode/lisp load-path)) (require 'org-install) (setq initial-major-mode 'org-mode) (setq org-directory ~/Dropbox/org/) then I have code for org-capture, tags, and then about latex export: (setq org-export-latex-packages-alist '(( color) ( hyperref) ( apacite) ( tikz))) (require 'org-latex) and then other org-mode stuff: faces, org-mobile, I noticed that org-latex.el does not have the line: (@ \\alert{%s} nil) so I added it manually to (defcustom org-export-latex-emphasis-alist ... but nothing happens. Thanks, Henri-Paul See followup message [1] by Bill Moran on this list which confirms what I have said above. You have to change the values of the relevant variables *before* you load org. eric Footnotes: [1] I'm offline so cannot give you a link but the message has: Message-ID: AANLkTinpd=ajtcxuhz2wyjbbbuk5y+sqgxexxrp8+...@mail.gmail.com -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.228.gdcfee) ___ 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: Worg needs some reorganizing
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi, Dan Davison wrote: Please see the manual as an example. Hmm? The manual is written in texinfo. BTW, what's the reason for that? Does it still apply? Are there good reasons not to move it to Org format? Best regards, Seb It does still apply, IMO. Org is part of Emacs and Info is the documentation front end for Emacs. I think it would be a mistake to have the manual in any other form unless you can define and implement an org - texinfo exporter. However, I am coming to the conclusion that many documents on the web site(s) could be replaced by org files (instead of HTML). -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.228.gdcfee) ___ 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: [BEAMER] make text fit in a slide
Andrea Crotti andrea.crott...@gmail.com writes: [...] Great thanks a lot. Too bad that things really start to become complicated with the syntax... yes but remember that org /= latex. If you need the full power of latex, use it instead *or*, better yet, remember that you can include latex code directly within your org file! the convenience that org provides in terms of all the extra functionality, IMO, outweighs the small number of cases where it just doesn't have the capabilities of specifying what you want. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.228.gdcfee.dirty) ___ 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: [OT] Have you also got hooked by Vim?
Matt Lundin m...@imapmail.org writes: Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote: alias emacs=emacsclient -t -a /usr/bin/emacs Thanks for sharing this. My manual doesn't mention the -t flag. What does it do? (I didn't know about -a, but it looks nifty) Now that I consider this further (and read the emacs man page), I'm not sure if the -t flag is correct here. (It may be new to emacs 24). In any case, -nw is the tried and true flag for doing this. IIRC, -t is the same as -nw and is present from emacs 23.1 (maybe earlier) onwards. Very useful when connecting from a non-graphical terminal (e.g. a mobile phone) to an existing Emacs running on X... something I do frequently via =screen= for emulating a persistent connection. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.223.g71650) ___ 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: [BEAMER] make text fit in a slide
Chris Malone chris.m.mal...@gmail.com writes: Hi Andrea, Here I can help some :). What I have done in the past is take advantage of the fact that org-mode will close a beamer =columns= environment if the column width is set to 0 (or 1): Actually, one can do this more simply by realising that latex will wrap the columns if they take up too much space... attached is an example where the first two columns are of a width that they take up the whole line width so that the third column, given a full line width, has to be below the first two... #+title: Testing Beamer in Org #+author: Eric S Fraga #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:5 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags: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 #+LINK_UP: #+LINK_HOME: #+startup: oddonly #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 2 #+startup: fninline #+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * Introduction *** A slide with two + 1 colums * Some notes :BMCOL:B_block: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :END: - some text - and some more - and yet more * More notes :BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: ignoreheading :BEAMER_envargs: c2- :END: - some important notes - and even more important ones - and some maths: $\sin^{2}(x)$ * a concluding block below the columns :BMCOL: :PROPERTIES: :BEAMER_env: example :BEAMER_col: 1 :END: This slide should have two columns above this block. HTH, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.228.gdcfee.dirty) ___ 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] how to create a one page weekly schedule
Dear org-ers, I would like to get a normal weekly landscape schedule out of my agenda. There is nothing special in my org files, just appointments of kind * lecture a SCHEDULED: 2011-01-21 Fr 16:00-17:00 +7d * lecture b SCHEDULED: 2011-01-17 Mo 09:00-10:30 +7d * sport SCHEDULED: 2011-01-20 Do 19:00-21:00 +7d etc pp. Now I _really_ would like to see or export to something like: * Schedule for 17.1. - 21.1.2011 | | Mo | Tu | We| Th | Fr| | 8-9 || | || | | 9-10 | 9:00 lecture b | | || | | 10-11 | -- 10:30 | | || | | ... | ..and so on| ... | | .. | ..| | 16-17 || | || lecture a | | 17-18 || | || | | 19-20 || | sport || | | 20-21 || | sport || | Is that already possible? Has anyone implemented such a scheme? Any ideas how to achieve such a look, may be using external tools? In my opinion I could more easily _see_ open or filled spots in my schedule than in standard agenda views with their vertical structure. Thx for any hints Detlef ___ 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] Bug: exporting overwrites existing file [7.4]
peter.fri...@agfa.com writes: Hi, Peter, I had a file, cmm.tex, made by hand. I also have an org document, cmm.org. Can you see it coming? I then wanted to see what the result would be of exporting that org file as a latex file... Bye bye original tex file. that's what the option [L] to temporary buffer is for ;-) cheers, Giovanni ___ 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] Several graphs in R
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I just solved a problem of mine, i.e. how to deal with multiple graphs generated in an R script. OK - all are saved into separate pdfs in separate paths. But I would like to see them after they are generated - and this is my solution: #+begin_src R :results output path - ./ for (i in 1:10) { fn - paste(path, /, graph-, i, .pdf, sep=) pdf(fn) try( plot(runif(100)) ) dev.off() cat([[, fn, ]]\n, sep=) #=== here it is! } #+end_src Then in the results bluck, there will be links to all pdfs. Thought this might help somebody. Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk05ZyoACgkQoYgNqgF2egqWJgCeJUpT+ARyM1eoG/4l6Bt2oLpP X2oAn0aInzEUIpSvmM2PqpthekJ/f9iJ =taVu -END PGP SIGNATURE- ___ 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] [BUG/PATCH] Set fill-indent-according-to-mode to nil in Org buffers
* lisp/org.el (org-mode): Locally set `fill-indent-according-to-mode' to nil. `org-adaptive-fill-function' attempts to correctly pick up a fill prefix for hand-indented paragraphs and lists. This is defeated by the indentation code, which does not recognise sublists correctly and gets the indentation wrong. By setting `fill-indent-according-to-mode' to nil, we tell Emacs' filling code to pay attention to `adaptive-fill-prefix' rather than using `indent-line-function'. This is not a perfect solution, since refilling a list entry still does not work correctly unless the entire item is on a single line. --- The filling code is a maze of twisty passages all alike, so I don't really understand what's going on. The problem is demonstrated with auto-fill-mode on when typing sublist entries that wrap over more than a single line #+begin_src org * Header - List + Sublist entry with lots and lots and lots and lots of text is wrapped like this #+end_src org And like this is incorrectly considered to be be part of the List entry, rather than the Sublist entry. This change fixes this problem for auto-fill-mode wrapping, but it doesn't work correctly for refilling, for reasons that are unclear to me. Cheers, Lawrence lisp/org.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index fcdf245..268223b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4716,6 +4716,7 @@ The following commands are available: ;; Paragraphs and auto-filling (org-set-autofill-regexps) (setq indent-line-function 'org-indent-line-function) + (set (make-local-variable 'fill-indent-according-to-mode) nil) (org-update-radio-target-regexp) ;; Beginning/end of defun (org-set-local 'beginning-of-defun-function 'org-beginning-of-defun) -- 1.7.4.rc1.7.g2cf08 ___ 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] Babel trouble: column names, arguments, and R dataframes
Hi, I'm having odd troubles with reading tables into R as dataframes with named vectors. Unfortunately I have difficulties pinning down a consistent problematic behavior. But one weird example follows below: I have two tables, data1 and data2. The first test reads data1 in as a dataframe named `values', and returns that dataframe, spitting out the identical table again. This is the behavior I expect. The second test passes both tables as arguments. It's supposed to return the first table, just as the first test did -- and it returns the correct values, but the column names have been swapped with those in the second table! The third test, similarly, returns the second table, but with the colum names of the first table. Any hints? Yours, Christian #+tblname: data1 | Year | Value | |--+---| | 2000 |34 | | 2001 |55 | | 2002 |24 | #+tblname: data2 | Yr | Rate | |--+--| | 2000 | 1.10 | | 2001 | 1.05 | | 2002 | 1.12 | #+source: try1(values=data1) #+begin_src R :colnames yes values #+end_src #+results: try1 | Year | Value | |--+---| | 2000 |34 | | 2001 |55 | | 2002 |24 | #+source: try2(values=data1, rates=data2) #+begin_src R :colnames yes values #+end_src #+results: try2 | Yr | Rate | |--+--| | 2000 | 34 | | 2001 | 55 | | 2002 | 24 | #+source: try3(values=data1, rates=data2) #+begin_src R :colnames yes rates #+end_src #+results: try3 | Year | Value | |--+---| | 2000 | 1.1 | | 2001 | 1.05 | | 2002 | 1.12 | ___ 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] [BUG/PATCH] Set fill-indent-according-to-mode to nil in Org buffers
Hello, This is defeated by the indentation code, which does not recognise sublists correctly and gets the indentation wrong. Would you mind elaborating? I fail to see where the indentation code has some problem recognizing lists. By setting `fill-indent-according-to-mode' to nil, we tell Emacs' filling code to pay attention to `adaptive-fill-prefix' rather than using `indent-line-function'. Not using `org-indent-line-function' sounds like a very bad idea to me. Before ignoring this function, perhaps we could try to see what is wrong with it. This is not a perfect solution, since refilling a list entry still does not work correctly unless the entire item is on a single line. Huh? Again, could you provide an example, please? --- The filling code is a maze of twisty passages all alike, so I don't really understand what's going on. The problem is demonstrated with auto-fill-mode on when typing sublist entries that wrap over more than a single line #+begin_src org * Header - List + Sublist entry with lots and lots and lots and lots of text is wrapped like this #+end_src org And like this is incorrectly considered to be be part of the List entry, rather than the Sublist entry. If like this is like this (!), then it _isn't_ part of the list. So it is correctly considered outside of the list. Or am I missing the point? Regards, -- Nicolas ___ 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: [BUG/PATCH] Set fill-indent-according-to-mode to nil in Org buffers
Nicolas Goaziou wrote: Hello, This is defeated by the indentation code, which does not recognise sublists correctly and gets the indentation wrong. Would you mind elaborating? I fail to see where the indentation code has some problem recognizing lists. Hopefully the example below clears things up a bit. By setting `fill-indent-according-to-mode' to nil, we tell Emacs' filling code to pay attention to `adaptive-fill-prefix' rather than using `indent-line-function'. Not using `org-indent-line-function' sounds like a very bad idea to me. Before ignoring this function, perhaps we could try to see what is wrong with it. This is not a perfect solution, since refilling a list entry still does not work correctly unless the entire item is on a single line. Huh? Again, could you provide an example, please? emacs -Q C-x C-f $TMP/foo.org M-: (erase-buffer) RET M-x auto-fill-mode RET M-: (insert * Header\n- List entry\n - Sublist entry) RET Now type some more text so that the sublist entry line goes past the fill column. Note where the line-wrapping puts the continuation of the sublist entry: 1 | * Header 2 | - List entry 3 | - Sublist entry here we have some more text to make the line very 4 | very long and trigger line-wrapping. So the text on line 4 is considered to be part of the sublist entry, while I would expect it to be so (it would have been if auto-fill-mode were off). If fill-indent-according-to-mode is set to nil then doing the same thing leads to: 1 | * Header 2 | - List entry 3 | - Sublist entry here we have some more text to make the line very 4 | very long and trigger line-wrapping. Notice how in this case the continuation of the sublist entry is correct. Furthermore, if you've formatted the document as in the second example by hand, but fill-indent-according-to-mode is t, and you hit M-q on the sublist entry, the indentation of line 4 is changed from 4 spaces to 2 spaces. This changes line 4 from being part of the sublist entry to being part of the list entry from line 2. Hope this clarifies things. Cheers, Lawrence -- Lawrence Mitchell we...@gmx.li ___ 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: Several graphs in R
Rainer M Krug r.m.k...@gmail.com writes: Hi I just solved a problem of mine, i.e. how to deal with multiple graphs generated in an R script. OK - all are saved into separate pdfs in separate paths. But I would like to see them after they are generated - and this is my solution: #+begin_src R :results output path - ./ for (i in 1:10) { fn - paste(path, /, graph-, i, .pdf, sep=) pdf(fn) try( plot(runif(100)) ) dev.off() cat([[, fn, ]]\n, sep=) #=== here it is! } #+end_src Then in the results bluck, there will be links to all pdfs. Thought this might help somebody. Hi Rainer, Cool. You might want to experiment with :results output raw :results output org also (I suspect that strictly speaking those links should not be functioning as links inside an example block). Feel free to add useful tricks like this to the babel R page: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html Dan Cheers, Rainer ___ 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: Several graphs in R
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/21/2011 03:35 PM, Dan Davison wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi I just solved a problem of mine, i.e. how to deal with multiple graphs generated in an R script. OK - all are saved into separate pdfs in separate paths. But I would like to see them after they are generated - and this is my solution: #+begin_src R :results output path - ./ for (i in 1:10) { fn - paste(path, /, graph-, i, .pdf, sep=) pdf(fn) try( plot(runif(100)) ) dev.off() cat([[, fn, ]]\n, sep=) #=== here it is! } #+end_src Then in the results bluck, there will be links to all pdfs. Thought this might help somebody. Hi Rainer, Cool. You might want to experiment with :results output raw :results output org Good idea - I'll try it out - although I quite like it to be in a results block - so it is a clear that it results from the code above. also (I suspect that strictly speaking those links should not be functioning as links inside an example block). Feel free to add useful tricks like this to the babel R page: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html If you tell me how, I could do it. Cheers, Rainer Dan Cheers, Rainer ___ 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 - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk05nKUACgkQoYgNqgF2egoPKgCfYkyahaglT27kOOYtf29s/fqD A98AmwRm3sRvbB+dpZNGZIKMvLmWD0Tp =of+w -END PGP SIGNATURE- ___ 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: Several graphs in R
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/21/2011 03:48 PM, Rainer M Krug wrote: On 01/21/2011 03:35 PM, Dan Davison wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi I just solved a problem of mine, i.e. how to deal with multiple graphs generated in an R script. OK - all are saved into separate pdfs in separate paths. But I would like to see them after they are generated - and this is my solution: #+begin_src R :results output path - ./ for (i in 1:10) { fn - paste(path, /, graph-, i, .pdf, sep=) pdf(fn) try( plot(runif(100)) ) dev.off() cat([[, fn, ]]\n, sep=) #=== here it is! } #+end_src Then in the results bluck, there will be links to all pdfs. Thought this might help somebody. Hi Rainer, Cool. You might want to experiment with :results output raw :results output org Good idea - I'll try it out - although I quite like it to be in a results block - so it is a clear that it results from the code above. also (I suspect that strictly speaking those links should not be functioning as links inside an example block). Feel free to add useful tricks like this to the babel R page: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html If you tell me how, I could do it. Found it - thanks. Rainer Cheers, Rainer Dan Cheers, Rainer ___ 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 - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk05naIACgkQoYgNqgF2egqchwCeLW/iAphr0SeLBgftepYKugEW JE0An3Ia+AReoQLTHNqb4C4bEGN7lCkx =9RMw -END PGP SIGNATURE- ___ 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] PATCH: Support `org-export-process-option-filters' in latex export
`org-export-process-option-filters' is supported for HTML export but not for latex export. The patch at the bottom fixes that. I note that there is one other location in the same function where it seems the same change could be made. I suspect this is not necessary, but if someone is familiar with the org-latex code they might like to have a look. (I didn't manage to understand the roles of the several variables with names like *-opt-plist *-options-plist in that function.) I'm protecting this patch from patchwork with ^$; it's the patch at the bottom that I propose. $ diff --git a/lisp/org-latex.el b/lisp/org-latex.el $ index 51ee6d2..53d6b40 100644 $ --- a/lisp/org-latex.el $ +++ b/lisp/org-latex.el $ @@ -700,7 +700,8 @@ when PUB-DIR is set, use this as the publishing directory. $'(:org-license-to-kill nil $(org-update-radio-target-regexp) $(org-export-latex-set-initial-vars ext-plist arg) $ - (setq org-export-opt-plist org-export-latex-options-plist) $ + (setq org-export-opt-plist $ + (org-export-process-option-filters org-export-latex-options-plist)) $(org-install-letbind) $(run-hooks 'org-export-latex-after-initial-vars-hook) $(let* ((wcf (current-window-configuration)) $ Support `org-export-process-option-filters' in latex export * lisp/org-latex.el (org-export-as-latex): Process export property list with `org-export-process-option-filters' early in latex export Modified lisp/org-latex.el diff --git a/lisp/org-latex.el b/lisp/org-latex.el index ecaf1c0..51ee6d2 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -704,7 +704,8 @@ when PUB-DIR is set, use this as the publishing directory. (org-install-letbind) (run-hooks 'org-export-latex-after-initial-vars-hook) (let* ((wcf (current-window-configuration)) -(opt-plist org-export-latex-options-plist) +(opt-plist + (org-export-process-option-filters org-export-latex-options-plist)) (region-p (org-region-active-p)) (rbeg (and region-p (region-beginning))) (rend (and region-p (region-end))) ___ 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] Status google calendar sync
Ian Barton li...@manor-farm.org wrote: ... Since I am still on page one of the Complete Idiots Guide to elisp, I plan to do this in Python, which has some nice libraries for creating ics files. On a loosely-related note, I find myself in the unfortunate position of being the target of Outlook-generated appointment emails (including a calendar attachment). In self-defense, I have begun looking at having these things automatically added to my org appointments, but I have had trouble with the emacs icalendar library (in particular, timezone handling: a critical item for me, since these appts are generated from various timezones and the included ics files have a bewildering variety of timezone specs in them - I blame M$ for this :) ). So I just wanted to point out three things: o there *is* an emacs elisp library to handle icalendar files. o I think it is buggy. o using the Python libraries is a great way to figure out where the elisp library goes wrong (assuming I'm right and that it *is* going wrong somewhere) and possibly fixing it. Thanks for pointing the Python libraries out. If you get somewhere with them, maybe you can fix the emacs icalendar library too: it might be just what you need to expand your elisp skills.[fn:1] Thanks, Nick Footnotes: [fn:1] Tom Sawyer would be proud of me ;-) I find myself pressed for time and with too many things to do, so it's not clear when (or even if) I would be able to work on this. ___ 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: [BUG/PATCH] Set fill-indent-according-to-mode to nil in Org buffers
Lawrence Mitchell writes: Hopefully the example below clears things up a bit. I cannot reproduce it, even when following your steps. Regards, -- Nicolas ___ 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: [BUG/PATCH] Set fill-indent-according-to-mode to nil in Org buffers
Nicolas Goaziou wrote: Lawrence Mitchell writes: Hopefully the example below clears things up a bit. I cannot reproduce it, even when following your steps. This would appear to be due to driver error on my part. My .emacs sets fill-indent-according-to-mode to t, whereas by default it is nil. So to reproduce, follow my recipe and add M-: (setq fill-indent-according-to-mode t) RET after opening the org-mode buffer. Given that the default value of fill-indent-according-to-mode does /not/ cause a problem, maybe there's no reason to explicitly set it to nil in org-mode. I'll leave others to decide. Cheers, Lawrence ___ 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: Adding a new text/org mime type
Julien Danjou jul...@danjou.info writes: On Fri, Jan 21 2011, Štěpán Němec wrote: I see you added a new text/org type to mailcap.el and other places. Shouldn't that rather be text/x-org? Or is this text/org registered with IANA? No idea, but C-c C-a with a .org file proposes text/org by default. Right... that's because `mailcap-mime-extensions' contains (.org . text/org) ...which doesn't necessarily mean it's correct. I have no idea myself, so I'm cc-ing the Org list, perhaps somebody there can provide more insight. Štěpán ___ 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] [OT] emacsclient -t (was Re: [OT] Have you also got hooked by Vim?)
On Thu, Jan 20, 2011 at 11:00 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Matt Lundin m...@imapmail.org writes: Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote: alias emacs=emacsclient -t -a /usr/bin/emacs Thanks for sharing this. My manual doesn't mention the -t flag. What does it do? (I didn't know about -a, but it looks nifty) Now that I consider this further (and read the emacs man page), I'm not sure if the -t flag is correct here. (It may be new to emacs 24). In any case, -nw is the tried and true flag for doing this. IIRC, -t is the same as -nw and is present from emacs 23.1 (maybe earlier) onwards. Very useful when connecting from a non-graphical terminal (e.g. a mobile phone) to an existing Emacs running on X... something I do frequently via =screen= for emulating a persistent connection. So IIUC, I have a windowed Emacsen running on a box where I work. If I run `emacsclient -t somefile.txt` from an SSH connection to that box, it uses the server that was started by the windowed emacs, but instead of opening the file in the windowed emacs, it re-routes it to my SSH session? This would be extremely useful to me. However, when I tried that on my box just now, the terminal session froze and the windowed emacs was brought to the front without the correct buffer being displayed... wonder what I'm doing wrong... This is in my bash profile: function ec(){ emacsclient $1 --alternate-editor= -t } Any clues? -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ ___ 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: [OT] emacsclient -t (was Re: [OT] Have you also got hooked by Vim?)
On Fri, Jan 21, 2011 at 12:41 PM, Jeff Horn jrhorn...@gmail.com wrote: On Thu, Jan 20, 2011 at 11:00 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Matt Lundin m...@imapmail.org writes: Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote: alias emacs=emacsclient -t -a /usr/bin/emacs Thanks for sharing this. My manual doesn't mention the -t flag. What does it do? (I didn't know about -a, but it looks nifty) Now that I consider this further (and read the emacs man page), I'm not sure if the -t flag is correct here. (It may be new to emacs 24). In any case, -nw is the tried and true flag for doing this. IIRC, -t is the same as -nw and is present from emacs 23.1 (maybe earlier) onwards. Very useful when connecting from a non-graphical terminal (e.g. a mobile phone) to an existing Emacs running on X... something I do frequently via =screen= for emulating a persistent connection. So IIUC, I have a windowed Emacsen running on a box where I work. If I run `emacsclient -t somefile.txt` from an SSH connection to that box, it uses the server that was started by the windowed emacs, but instead of opening the file in the windowed emacs, it re-routes it to my SSH session? This would be extremely useful to me. However, when I tried that on my box just now, the terminal session froze and the windowed emacs was brought to the front without the correct buffer being displayed... wonder what I'm doing wrong... This is in my bash profile: function ec(){ emacsclient $1 --alternate-editor= -t } Any clues? Always too quick to e-mail... the trailing was causing issues. I want this when I'm sitting at the box, but don't when I'm not. Time to figure out how to write a conditional for bash... -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ ___ 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] [OT] emacsclient -t (was Re: [OT] Have you also got hooked by Vim?)
Jeff Horn wrote: On Thu, Jan 20, 2011 at 11:00 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Matt Lundin m...@imapmail.org writes: Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote: alias emacs=emacsclient -t -a /usr/bin/emacs Thanks for sharing this. My manual doesn't mention the -t flag. What does it do? (I didn't know about -a, but it looks nifty) Now that I consider this further (and read the emacs man page), I'm not sure if the -t flag is correct here. (It may be new to emacs 24). In any case, -nw is the tried and true flag for doing this. IIRC, -t is the same as -nw and is present from emacs 23.1 (maybe earlier) onwards. Very useful when connecting from a non-graphical terminal (e.g. a mobile phone) to an existing Emacs running on X... something I do frequently via =screen= for emulating a persistent connection. So IIUC, I have a windowed Emacsen running on a box where I work. If I run `emacsclient -t somefile.txt` from an SSH connection to that box, it uses the server that was started by the windowed emacs, but instead of opening the file in the windowed emacs, it re-routes it to my SSH session? Even possibly better, if you've got X-forwarding enabled on your SSH connection, you can start a windowed emacs instance on your local machine that exactly matches the one on the server, even with all the same buffers open, processes running, etc. I use this type of setup at home. You need to start emacs in 'daemon' mode, see http://emacs-fu.blogspot.com/2009/02/emacs-daemon.html , for example. That site has examples of how to use it. One caveat. I use Ubuntu, and I think I had to do something special with my Xauth file for this to work, please follow up if you run into trouble and use Ubuntu, and I'll be glad to look into what I did. --Erik ___ 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] Status google calendar sync
Hi I'm in the middle of setting something up, at the moment I import google events into org by using the google command line interface on my linux machine. For this I changed the line in the config for googcl to print out an org timestamp and also changed the fields to be printed by using: date_print_format = %Y-%m-%d %a %H:%M list_style = title,when,where,url-site in the general option of .googlecl/config. With this I create a .org file with all my google calendar entries by running the following script every N minutes (header + one line sed): ---script start--- #!/bin/bash # get my google calendar items and create a org-mode file # output header echo #+STARTUP: overview #+TAGS: @google(g) #+FILETAGS: @google #+SEQ_TODO: GCAL #+STARTUP: hidestars ~/org/mygooglecal.org # output entries google calendar list | sed -e 's/\(.*\),\(.*\) - \(.*\),\(.*\),\(.*\)/* GCAL \1\n SCHEDULED: \2--\3\n Location: \4\n link: [[\5][link]]/' ~/org/mygooglecal.org script end and by just adding this file to my agenda everything seems to be working fine... To sync between different computers I use git with an automated commit, pull and push, which makes the google entries available on all of my other computers. I haven't figured out how to export org to ics, so that google can read it... I would like to export only items that have a start and an end timestamp and don't have a google tag (which they get when they are imported from google). I think I need to add this to org-icalendar-verify-function, but don't know enough lisp to write something like this... any ideas? Ian: how do you export to ics? Complete via python? regards Arun ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-beamer problems
Hi Eric! Eric S Fraga e.fr...@ucl.ac.uk writes: Regarding the @ problem, where and how do you make the settings. As I have said on this list recently, I find that I have to set the variables concerned *before* I load org (through =(require 'org-install)=) or otherwise the regular expressions that use these variables are initialised incorrectly (I believe this is the root cause of the problem). I am not getting this. Sorry for being dense. Here is the relevant code from my .emacs ;; ;; BEGIN org-mode ;; (setq org-export-latex-emphasis-alist (quote ((* \\textbf{%s} nil) (/ \\emph{%s} nil) (_ \\underline{%s} nil) (+ \\texttt{%s} nil) (= \\verb=%s= nil) (~ \\verb~%s~ t) (@ \\alert{%s} nil (setq load-path (cons ~/elisp/org-mode/lisp load-path)) (require 'org-install) (require 'org-latex) I restart emacs and still my @important@ is not processed. I also would like to know how to create blocks without title and how to avoid Example(my-title) in the example blocks. I just would like to have the my-title. Thanks, Henri-Paul -- Henri-Paul Indiogine Email: hindiog...@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.4 ___ 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: Adding a new text/org mime type
Hi Štěpán, Štěpán Němec wrote: Julien Danjou jul...@danjou.info writes: On Fri, Jan 21 2011, Štěpán Němec wrote: I see you added a new text/org type to mailcap.el and other places. Shouldn't that rather be text/x-org? Or is this text/org registered with IANA? No idea, but C-c C-a with a .org file proposes text/org by default. Right... that's because `mailcap-mime-extensions' contains (.org . text/org) I did that in the Gnus add-on I provided on this list. ...which doesn't necessarily mean it's correct. I have no idea myself, so I'm cc-ing the Org list, perhaps somebody there can provide more insight. I did not know about the IANA. text/x-org is perfect for me (except that it sounds like X.org, the X server stuff). Please change it in the most sensible way. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-beamer problems
Henri-Paul Indiogine hindiog...@gmail.com writes: Hi Eric! Eric S Fraga e.fr...@ucl.ac.uk writes: Regarding the @ problem, where and how do you make the settings. As I have said on this list recently, I find that I have to set the variables concerned *before* I load org (through =(require 'org-install)=) or otherwise the regular expressions that use these variables are initialised incorrectly (I believe this is the root cause of the problem). I am not getting this. Sorry for being dense. Here is the relevant code from my .emacs ;; ;; BEGIN org-mode ;; (setq org-export-latex-emphasis-alist (quote ((* \\textbf{%s} nil) (/ \\emph{%s} nil) (_ \\underline{%s} nil) (+ \\texttt{%s} nil) (= \\verb=%s= nil) (~ \\verb~%s~ t) (@ \\alert{%s} nil You need to also set =org-emphasis-alist=. I have: --8---cut here---start-8--- (setq org-emphasis-alist (quote ((* bold b /b) (/ italic i /i) (_ underline span style=\text-decoration:underline;\ /span) (= org-code code /code verbatim) (~ org-verbatim code /code verbatim) (+ (:strike-through t) del /del) (@ org-warning b /b))) org-export-latex-emphasis-alist (quote ((* \\textbf{%s} nil) (/ \\emph{%s} nil) (_ \\underline{%s} nil) (+ \\texttt{%s} nil) (= \\verb=%s= nil) (~ \\verb~%s~ t) (@ \\alert{%s} nil))) ) --8---cut here---end---8--- Try that and let us know how it goes. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ___ 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-beamer problems
Bill Moran bill1mo...@gmail.com writes: I have installed the latest (git) version of org-mode and have stripped out all customizations from I think. I've copied Eric's two column example from here http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html with the headers given there. And I can't get either blocks or columns to work. There is no block or column command in the latex produced from the org file. I have no idea what is going on but I can confirm that something is missing. If I start emacs with -Q, execute the following #+begin_src emacs-lisp (add-to-list 'load-path ~/git/org-mode/lisp) (require 'org-install) (require 'org-latex) #+end_src visit the small beamer test file I sent to the list earlier today and export to latex, I get only the title page and the empty outline. Nothing else. If I start up with my full initialisation, everything works just fine. I've gone through my initialisation by eye and cannot see anything that would make a difference. I will need to go through this more carefully as I have many customisations, not only for org... I guess it's something to do with the value of the variable org-export-latex-classes I don't think so. Although I do customise mine, if I include this in the above test (-Q start), it makes no difference. I do not change the beamer entry in any case. I will play around later tonight and will get back to you then. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-beamer problems
Eric S Fraga e.fr...@ucl.ac.uk writes: You need to also set =org-emphasis-alist=. I have: I missed that completely. Yes, now it works. Thanks a bunch! Well, now I am wondering how to create blocks without title In plain LaTeX that would be: \begin{block}{} blah, blah \end{block} It seems that org-mode wants a title and thus needs some text within the second pair of {} in \begin{block}{} Another issue that I am having is with the example block In plain LaTeX : \begin{exampleblock}{} . \end{exampleblock} But org-mode exports: \begin{example}[Test example block] .. \end{example} Again, it would be nice to have empty block titles. Thanks, Henri-Paul -- Henri-Paul Indiogine Email: hindiog...@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.4 ___ 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] Org-for GTD: Some implementation questions
Hi, I am currently using Org-mode to apply GTD I was wondering what you would do with the following situations: My todo sequence is next - done, and someday, delegate - waiting, cancelled - For scheduled tasks, would you make these tasks NEXTs or would you set them as waiting? If NEXTs, how would you filter the agenda to not show these scheduled NEXTs? - For a heading with three subtasks, if the last 2 subtasks require the first subtask to be completed, how would you handle this? Thanks and I look forward to your response ___ 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-beamer problems
Hi Eric I've just tried with the totally minimal customization you suggest below - and your two-column slide which I had already set up ( I haven't had time to go to the website yet and download the one you suggest). Now columns are working in some fashion but apparently not blocks. The two column slide is spread across two slides each with one column. I'll work on it some more later - and test your slide on the website. So something else in my emacs customization - which is pretty extensive but (since yesterday) has nothing other than vanilla for org-mode (just paths and your org-emphasis-alist ) - is causing a problem in producing the columns. I'll go through this later too and see if I can find it. Thanks Bill On Sat, Jan 22, 2011 at 8:11 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Bill Moran bill1mo...@gmail.com writes: I have installed the latest (git) version of org-mode and have stripped out all customizations from I think. I've copied Eric's two column example from here http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html with the headers given there. And I can't get either blocks or columns to work. There is no block or column command in the latex produced from the org file. I have no idea what is going on but I can confirm that something is missing. If I start emacs with -Q, execute the following #+begin_src emacs-lisp (add-to-list 'load-path ~/git/org-mode/lisp) (require 'org-install) (require 'org-latex) #+end_src visit the small beamer test file I sent to the list earlier today and export to latex, I get only the title page and the empty outline. Nothing else. If I start up with my full initialisation, everything works just fine. I've gone through my initialisation by eye and cannot see anything that would make a difference. I will need to go through this more carefully as I have many customisations, not only for org... I guess it's something to do with the value of the variable org-export-latex-classes I don't think so. Although I do customise mine, if I include this in the above test (-Q start), it makes no difference. I do not change the beamer entry in any case. I will play around later tonight and will get back to you then. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) -- Bill Moran Melbourne Systems Laboratory Dept of Electrical Electronic Engineering University of Melbourne Parkville, VIC 3010 Australia ___ 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-beamer problems
Eric S Fraga e.fr...@ucl.ac.uk writes: Bill Moran bill1mo...@gmail.com writes: I have installed the latest (git) version of org-mode and have stripped out all customizations from I think. I've copied Eric's two column example from here http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html with the headers given there. And I can't get either blocks or columns to work. There is no block or column command in the latex produced from the org file. I have no idea what is going on but I can confirm that something is missing. If I start emacs with -Q, execute the following #+begin_src emacs-lisp (add-to-list 'load-path ~/git/org-mode/lisp) (require 'org-install) (require 'org-latex) #+end_src visit the small beamer test file I sent to the list earlier today and export to latex, I get only the title page and the empty outline. Nothing else. Playing with the following org file: --8---cut here---start-8--- #+title: Testing Beamer in Org #+author: Eric S Fraga #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:5 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags: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 #+LINK_UP: #+LINK_HOME: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 2 #+startup: fninline #+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * Introduction ** A slide with two + 1 colums *** Some notes:BMCOL:B_block: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :END: - some text - and some more - and yet more *** More notes:BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: ignoreheading :BEAMER_envargs: c2- :END: - some important notes - and even more important ones - and some maths: $\sin^{2}(x)$ *** a concluding block below the columns :BMCOL: :PROPERTIES: :BEAMER_env: example :BEAMER_col: 1 :END: This slide should have two columns above this block. --8---cut here---end---8--- everything works just fine with emacs -Q and the emacs lisp code I gave in the previous email. The change is a subtle one: I got rid of the #+STARTUP: oddonly customisation in the org file and indented all the headlines to use both odd and even levels. I have no idea why the =oddonly= setting causes problems. However, I do note that the documentation for =org-odd-levels-only= only mentions =odd= and =oddeven= for possible values of =#+STARTUP= so maybe my use of =oddonly= is the issue? I'll leave this to others to comment on hopefully. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ___ 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 and XeTeX?
On Apr 22, 2010, at 6:10 PM, Ross Laird wrote: I mostly use XeTeX (rather than LaTeX). Can Org be setup to use the XeTeX engine? I've looked at the variable org-export-latex-classes (as well as org-export-latex-package-alist), and it looks like I can insert the XeTeX-specific code: \TeXXeTstate=1 \usepackage{fontspec,xunicode} \defaultfontfeatures {Numbers=OldStyle,Scale=MatchLowercase,Mapping=tex-text} \setmainfont{Sabon LT Std} \setromanfont[Mapping=tex-text]{Sabon LT Std} \setsansfont[Scale=MatchUppercase]{Myriad Pro} \usepackage{xltxtra} But can Org use XeTeX? The command is xelatex rather than latex. Hi Ross, I found a blog post by Kieran Healy today - it addresses this problem in an elegant way. Maybe this should somehow be integrated into the FAQ or a XeTeX-Org-mode tutorial? http://www.kieranhealy.org/blog/archives/2011/01/21/exporting-org-mode-to-pdf-via-xelatex/ - Carsten Ross -- Ross A. Laird, PhD www.rosslaird.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 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-beamer problems
Henri-Paul Indiogine hindiog...@gmail.com writes: Eric S Fraga e.fr...@ucl.ac.uk writes: You need to also set =org-emphasis-alist=. I have: I missed that completely. Yes, now it works. Thanks a bunch! Well, now I am wondering how to create blocks without title In plain LaTeX that would be: \begin{block}{} blah, blah \end{block} It seems that org-mode wants a title and thus needs some text within the second pair of {} in \begin{block}{} You can cheat using some latex...: --8---cut here---start-8--- ** A second slide #+latex: \newcommand{\nothing}{} *** \nothing:B_block: :PROPERTIES: :BEAMER_env: block :END: This block has no heading, just some text. --8---cut here---end---8--- and I'm sure some latex expert could improve on this dramatically... Another issue that I am having is with the example block In plain LaTeX : \begin{exampleblock}{} . \end{exampleblock} But org-mode exports: \begin{example}[Test example block] .. \end{example} Again, it would be nice to have empty block titles. Same trick should apply. But I should say again that org /= latex and if you really want the full power of latex, you should use that directly. IMO, of course. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ___ 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] automatically convert email inbox into TODO's?
Bill Jarrold wjarr...@ucdavis.edu writes: Hi, Emails in ones inbox can be viewed as TODO's. [...] I can't help you in your question of converting emails to TODOs but I can say that some (including myself) will argue that using emails as a todo list is the wrong thing to do and leads to disaster (as I think you are finding if you have 1000s of emails sitting there). 2 or so years ago, I was in the same situation. When I hit 2000 emails as todo items in my inbox, I knew something was wrong. I switched to a 0 inbox approach with org mode. Every email is processed when I read it. Most get dismissed (and I use gnus which automatically expires my emails with an expiry period that depends on what folder the messages are in); the ones that require action are either handled immediately (by doing something and responding) or are converted to an org todo item by simply highlighting the whole message (h C-x h in gnus) and doing an org capture with a todo type (C-c c t). The key, however, is to ensure you have a good automated mail splitting approach which means you only have to read the emails you expect to read at any particular time. I use gnus to split my incoming mail but I used to use procmail and then maildrop. Mail gets sorted into a number of folders (~6) including workplace ones, mailing lists (like this one), hobbies, family, etc. Anyway, I hope some of this helps. It has helped me: my mail folders now typically have a handful of ticked emails acting as todo items (there is always the odd exception to any set of rules...) but no more. Org is necessary for this and I couldn't have moved to this approach without it. cheers, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ___ 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: automatically convert email inbox into TODO's?
Bill Jarrold wjarr...@ucdavis.edu writes: Emails in ones inbox can be viewed as TODO's. org-mode and its agenda mech are great for managing to do's. Thus, does anyone have experience with automatic conversion of emails into TODO's? Email is a pain because I do not know of any way to associate arbitrary levels of priorities to my email. If I can automatically convert my email inbox into a set of TODO's maybe I can solve this problem. With org-mode and the agenda mechanism I suspect I have a lot of flexibility with assigning priorities and all sorts of categories ( I tend to have 1000's of messages in my inbox and the ordering is a mess. As I come up to speed on org mode I have hope that it can handle 1000's of tasks well. ) Any pre-existing solutions for this? Any comments on the utility of this? Hi Bill, I'm thinking automatically creating TODOs for every email is overkill. I get lots of mail everyday and I'd be completely swamped if I had a TODO task for every one. Lots of the mails just need to be read. For any that require a task I use capture mode which links to the email (I use Gnus for reading mail). For an email that needs a TODO task I just hit C-M-r t Respond to Bill C-c C-c while reading the email which creates a new todo task like this: , | * TODO Respond to Bill | [2011-01-21 Fri 18:35] | [[gnus:nntp%2Bnews.gmane.org:gmane.emacs.orgmode#bc2207e3-bdd6-4235-986f-42693dd04...@ucdavis.edu][Email from Bill Jarrold: automatically convert email in]] ` in my refile.org This works great (for me) and you can annotate the TODO task with any information you want. The link to the original email is there to easily find it back again (using C-c C-o from the org-mode task) My INBOX is also a huge collection of emails. I read it, and forget it. If it is something I need to act on I create a TODO task using capture mode while reading the email - it's a conscious decision to create the task and it takes less than 5 seconds to manually create the capture task. If the email is useful (something I want to find back again later) or something I need to act on I manually create an org-mode task for it via capture. I just let mail collect in my incoming folders indefinitely and tend to not revisit them unless there is a task (and associated link) to the email. Someday I'll clean out my mail folders... maybe. My current INBOX mail count is 21549. :) HTH, Bernt ___ 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] Status google calendar sync
I also have been syncing between my Google calendar and org. A while back, I posted this message onto this list: http://article.gmane.org/gmane.emacs.orgmode/26848 but check out later messages in the thread for an updated awk script. This dealt with converting a Google calendar into an org file. I still use this. For the other route, org to Google, I use the googlecl (command line) interface: http://article.gmane.org/gmane.emacs.orgmode/27214 Again, check out the subsequent messages in this thread. I have promised to write this procedure up for Worg but have not managed (yet) to get around to it. Sorry. Arun Persaud apers...@lbl.gov writes: [...] I haven't figured out how to export org to ics, so that google can read it... I would like to export only items that have a start and an end timestamp and don't have a google tag (which they get when they are imported from google). I think I need to add this to org-icalendar-verify-function, but don't know enough lisp to write something like this... any ideas? Ian: how do you export to ics? Complete via python? Straightforward actually: --8---cut here---start-8--- #!/bin/sh -f # # export the diary (not all the agenda files) to iCal format and upload this # to where Google's calendar application can find it so that all my diary # entries are available on my phone (and obviously on the web as well!) # # 2010-06-30 DIARY=${HOME}/git/notes/diary emacs -Q --batch --debug-init \ --directory=${HOME}/s/emacs --directory=/usr/share/emacs/site-lisp/auctex \ --load=esf-org.el --visit=${DIARY}.org --eval='(org-export-icalendar-this-file)' scp ${DIARY}.ics SOMEWHEREONTHEWEB.ics --8---cut here---end---8--- This script starts up emacs with my specific org customisations (and it needs auctex as texmathp is loaded by org-latex), visits my main diary file, evaluates the specific export function and then copies this file to somewhere on the web. This latter location is where I have told Google to load entries from. Google does this once a day, I believe, some time in the middle of the night (my time). I use this as a backup to the direct entry to Google's calendar described above: I essentially have two calendars in Google which correspond to org entries. At some point, I will (soon probably) stop doing this conversion approach and rely on the google command line alone as the latter has proved to be robust enough in general. Hope this helps. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ___ 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: Org-for GTD: Some implementation questions
Hi Chris, Comments are inline below: Chris Barber c.barbe...@gmail.com writes: Hi, I am currently using Org-mode to apply GTD I was wondering what you would do with the following situations: My todo sequence is next - done, and someday, delegate - waiting, cancelled I would also add a TODO state - not everything is NEXT or WAITING is it? #+TODO: TODO(t) NEXT(n) | DONE(d) #+TODO: SOMEDAY(s) DELEGATE(D) WAITING(w) | CANCELLED(c) - For scheduled tasks, would you make these tasks NEXTs or would you set them as waiting? If NEXTs, how would you filter the agenda to not show these scheduled NEXTs? I just make scheduled tasks TODO to keep them off my NEXT lists. I also set org-todo-ignore-scheduled as follows so these tasks don't show up in my global todo lists before I plan to work on them. #+begin_src emacs-lisp (setq org-todo-ignore-scheduled 'future #+end_src - For a heading with three subtasks, if the last 2 subtasks require the first subtask to be completed, how would you handle this? I'm assuming you have to do subtask 1 first, and then subtasks 2 and 3 can be done in any order after task one. This seems to work: * TODO Project :PROPERTIES: :ORDERED: t :END: ** TODO Step 1 ** TODO Step 2 and 3 *** TODO Step 2 *** TODO Step 3 Thanks and I look forward to your response More details of my setup can be found at http://doc.norang.ca/org-mode.html Regards, Bernt ___ 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] Embedded code
I have a few elementary questions I hope someone can bother to answer: 1. It seems that when org prints a list, it automatically formats it into a table. In lisp, what's a proper way of converting a list to a string so I can have more control over the format? My first attempts were unsuccessful. There are a variety of ways to convert lists to strings, look at the `format' function for printing any elisp value to a string. You can also use something like the following to convert a list to a string #+begin_src emacs-lisp (mapconcat (lambda (el) (format %S el)) '(1 2 3 4 5 6) \t) #+end_src 2. I'd like to use Org's macros to replace #+begin_src (tagged foo) #+end_src with {{{(tagged foo)}}} but Org macros only expand on export. Would it be feasible to change the macro functionality and hook into file loading? Or is there some other way I can slim these down to be terse? You can use the inline code syntax for very small blocks, e.g. src_emacs-lisp{(tagged foo)} See http://orgmode.org/manual/Structure-of-code-blocks.html Cheers -- Eric ___ 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] Embedded code
Perfect! Thanks on both counts. On Fri, Jan 21, 2011 at 18:05, Eric Schulte schulte.e...@gmail.com wrote: I have a few elementary questions I hope someone can bother to answer: 1. It seems that when org prints a list, it automatically formats it into a table. In lisp, what's a proper way of converting a list to a string so I can have more control over the format? My first attempts were unsuccessful. There are a variety of ways to convert lists to strings, look at the `format' function for printing any elisp value to a string. You can also use something like the following to convert a list to a string #+begin_src emacs-lisp (mapconcat (lambda (el) (format %S el)) '(1 2 3 4 5 6) \t) #+end_src 2. I'd like to use Org's macros to replace #+begin_src (tagged foo) #+end_src with {{{(tagged foo)}}} but Org macros only expand on export. Would it be feasible to change the macro functionality and hook into file loading? Or is there some other way I can slim these down to be terse? You can use the inline code syntax for very small blocks, e.g. src_emacs-lisp{(tagged foo)} See http://orgmode.org/manual/Structure-of-code-blocks.html Cheers -- Eric ___ 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 and XeTeX?
On Jan 21, 2011, at 6:32 PM, Carsten Dominik wrote: problem in an elegant way. Maybe this should somehow be integrated into the FAQ or a XeTeX-Org-mode tutorial? http://www.kieranhealy.org/blog/archives/2011/01/21/exporting-org-mode-to-pdf-via-xelatex/ - Carsten I've written up a more generic version of that post that should be suitable for the FAQ. I've registered at repo.or.cz and am just waiting to get write permission to the repo from Matt Lundin, then I'll push it out. (Assuming something like this is the standard procedure—I haven't contributed before.) -- Kieran Healy :: http://www.kieranhealy.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
Re: [Orgmode] Org-beamer problems
Hi Eric I've just done this - emacs -Q, the minimal .emacs from your previous email, and your piece of org/beamer. It creates blocks, examples and columns - so it works as it should. Next - but not immediately - is to find out why my usual .emacs doesn't work. Thanks for all of your help in sorting this out. I look forward to using org-mode to create slides. I'll report if I find the problem. Bill On Sat, Jan 22, 2011 at 10:25 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: #+title: Testing Beamer in Org #+author: Eric S Fraga #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:5 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags: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 #+LINK_UP: #+LINK_HOME: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 2 #+startup: fninline #+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * Introduction ** A slide with two + 1 colums *** Some notes :BMCOL:B_block: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :END: - some text - and some more - and yet more *** More notes :BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: ignoreheading :BEAMER_envargs: c2- :END: - some important notes - and even more important ones - and some maths: $\sin^{2}(x)$ *** a concluding block below the columns :BMCOL: :PROPERTIES: :BEAMER_env: example :BEAMER_col: 1 :END: This slide should have two columns above this block. -- Bill Moran Melbourne Systems Laboratory Dept of Electrical Electronic Engineering University of Melbourne Parkville, VIC 3010 Australia ___ 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