[Orgmode] Bug: UTF-8 characters in #+LINK does not work [7.4]
Using characters such as å,ä,ö does not work when using #+LINK example: `#+LINK: Färdmedel file:~/färdmedel.org http://xn--frdmedel-0za.org' this does not work, however the following does: `#+LINK: Fardmedel file:~/färdmedel.org http://xn--frdmedel-0za.org' Is there an easy fix? Emacs : GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600) of 2010-05-08 on G41R2F1 Package: Org-mode version 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
Re: [Orgmode] [BUG] Export to ascii fails
Fixed, thanks. - Carsten On Jan 14, 2011, at 1:36 PM, Valentin Wüstholz wrote: Hi, I ran into a bug with the ascii export. Exporting the attached org file to ascii fails (see the attached backtrace). The failure seems to be related to the 'H:10' option. I had a look at the code and the following patch seemed to alleviate the issue: -- lisp/org-ascii.el -- index 99facb1..25cdf12 100644 @@ -637 +637 @@ publishing directory. - (let (char (n (- level umax 1)) (ind 0)) + (let (char (n (- level 1)) (ind 0)) @@ -655 +655 @@ publishing directory. - (setq char (nth (- umax level) (reverse org-export-ascii- underline))) + (setq char (nth n (reverse org-export-ascii-underline))) This will however still fail, if (length org-export-ascii-underline) = n. Best regards, Valentin bug.orgbacktrace___ 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
Re: [Orgmode] [BABEL] Tangling to a hierarchy of files?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/19/2011 08:22 AM, Eric Schulte wrote: Charles C. Berry cbe...@tajo.ucsd.edu writes: On Wed, 19 Jan 2011, Christopher Maier wrote: I've been experimenting with literate programming using Org mode recently and am really enjoying it. I am trying to figure out the best way to create a nested hierarchy of tangled files from a single Org file, and am not sure the best way to go about it. I know that, for example, this block, when tangled, will produce a file foo.clj in the same directory as my Org file... so far so good. #+begin_src clojure :tangle foo.clj (ns foo) (defn my-inc [x] (+ x 1)) #+end_src However, I would like to be able to do something like this: #+begin_src clojure :tangle src/foo.clj (ns foo) (defn my-inc [x] (+ x 1)) #+end_src In addition to the solution Charles posted, it is possible to put arbitrary elisp forms into header arguments, so the following alternative to your block above will create the directory (if it doesn't already exist) whenever the block is tangled or evaluated. #+begin_src clojure :tangle (prog1 src/foo.clj (make-directory src .)) (ns foo) (defn my-inc [x] (+ x 1)) #+end_src Would it be possible, to include this into tangling, i.e. if the folder in which the source file should be created does not exist, create it? I remember vaguely a discussion along these lines some time ago, but I don't remember the outcome? Rainer 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 - -- 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/ iEYEARECAAYFAk02t20ACgkQoYgNqgF2egqJcwCeMaM/k5MeTsZ07crbr0CfpCMB zrkAniGC6QejbjMsksxnD7I/QS3em0Xh =+yMc -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] [BUG] org-cdlatex after environment
On Dec 17, 2010, at 2:28 PM, Maximilian Matthé wrote: Hi guys, I'm using fresh pulled orgmode, emacs 23.1 Having this: , | \begin{eqnarray*} | b= | \begin{cases} | 1 a0 \\ 2 \mbox{else} # (1) | \end{cases} | # (2) | \end{eqnarray*} ` typing _ at # (1) shows up _{}, but typing this at #(2) does nothing special. It seems, as if cdlatex thinks, the math block has ended after \end{cases}, since frTAB does not expand, too etc. It would be really great to have it fixed :) Yes, the parser does not do a good job with nested environments here. Not easy to fix, I am afraid. I'd say, live with it. - 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
[Orgmode] Why second \footnotemarker no link?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 #+TITLE: Second footnotemarker not as link I have the following problem: The second footnotemarker\footnotemark is not formated as link. This seems to be a LaTeX problem, but has anybody here an answer, on how I can make this second footnotemark\footnotemark[\value{footnote}], which references to the same footnote, also format as a linkt to the footnote\footnotemark[\value{footnote}] ? Thanks for any help, Rainer \footnotemark[\value{footnote}] \footnotetext[1]{This is the inline definition of this footnote} -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk02yFQACgkQoYgNqgF2egpBFACfQmhAAAf+i9G4BgJZd8i3xTCR ViEAmweiXoAt114LGwShysdv5GjIdcrn =8FpX -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] Not opening .tex file when exporting to pdf?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I export my org files quite often to a pdf, but I am not interested in the .tex file --- I don't mind it (it is needed) and I would not like it to be deleted after the pdf has been created, but is there an option to *not* opening it in emacs? The same applies by the way also for export to html - how can I avoid of having the html opened in a buffer - my browser is fine for me. 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/ iEYEARECAAYFAk02zdsACgkQoYgNqgF2egrE6wCffhgH3L0cDGDx8Bo6wE9EJBaJ opkAoId/QidswoPRRYsJ7b8cx2J8vmoC =09yq -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] [BABEL] Tangling to a hierarchy of files?
On Wed, Jan 19, 2011 at 5:05 AM, Rainer M Krug r.m.k...@gmail.com wrote: On 01/19/2011 08:22 AM, Eric Schulte wrote: In addition to the solution Charles posted, it is possible to put arbitrary elisp forms into header arguments, so the following alternative to your block above will create the directory (if it doesn't already exist) whenever the block is tangled or evaluated. #+begin_src clojure :tangle (prog1 src/foo.clj (make-directory src .)) (ns foo) (defn my-inc [x] (+ x 1)) #+end_src This will do what I'm looking for, thanks! Is there a place where this and the eval-on-startup trick Charles posted are documented? If so, I missed it, and these are both really useful to know. Would it be possible, to include this into tangling, i.e. if the folder in which the source file should be created does not exist, create it? I remember vaguely a discussion along these lines some time ago, but I don't remember the outcome? This would be a great feature to have. Eric's embedded Lisp code trick will do the job, but I can imagine that it would get cumbersome for more complex projects. Thanks for all the help, everyone! Chris ___ 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] Not opening .tex file when exporting to pdf?
On Wed, Jan 19, 2011 at 5:11 PM, Rainer M Krug r.m.k...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I export my org files quite often to a pdf, but I am not interested in the .tex file --- I don't mind it (it is needed) and I would not like it to be deleted after the pdf has been created, but is there an option to *not* opening it in emacs? The same applies by the way also for export to html - how can I avoid of having the html opened in a buffer - my browser is fine for me. Did you try C-c e d ? and C-c e b? Thanks and Regards Noorul 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/ iEYEARECAAYFAk02zdsACgkQoYgNqgF2egrE6wCffhgH3L0cDGDx8Bo6wE9EJBaJ opkAoId/QidswoPRRYsJ7b8cx2J8vmoC =09yq -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 ___ 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] Export to ascii fails
Thanks! I tried it out and it doesn't quite work yet. The following change seems to do the trick: -- lisp/org-ascii.el -- index 01106c3..f9094a1 100644 @@ -655,3 +655,2 @@ publishing directory. - (setq char (or (nth (max (- umax level) 0) - (reverse org-export-ascii-underline)) -(last org-export-ascii-underline))) + (setq char (or (nth (- level 1) org-export-ascii-underline) +(car (last org-export-ascii-underline Best regards, Valentin On Wed, Jan 19, 2011 at 10:57 AM, Carsten Dominik carsten.domi...@gmail.com wrote: Fixed, thanks. - 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
Re: [Orgmode] [BABEL] Tangling to a hierarchy of files?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/19/2011 12:59 PM, Chris Maier wrote: On Wed, Jan 19, 2011 at 5:05 AM, Rainer M Krug r.m.k...@gmail.com wrote: On 01/19/2011 08:22 AM, Eric Schulte wrote: In addition to the solution Charles posted, it is possible to put arbitrary elisp forms into header arguments, so the following alternative to your block above will create the directory (if it doesn't already exist) whenever the block is tangled or evaluated. #+begin_src clojure :tangle (prog1 src/foo.clj (make-directory src .)) (ns foo) (defn my-inc [x] (+ x 1)) #+end_src This will do what I'm looking for, thanks! Is there a place where this and the eval-on-startup trick Charles posted are documented? If so, I missed it, and these are both really useful to know. Would it be possible, to include this into tangling, i.e. if the folder in which the source file should be created does not exist, create it? I remember vaguely a discussion along these lines some time ago, but I don't remember the outcome? This would be a great feature to have. Eric's embedded Lisp code trick will do the job, but I can imagine that it would get cumbersome for more complex projects. Exactly - you effectively have to specify the same path twice - very error prone. Cheers, Rainer Thanks for all the help, everyone! Chris - -- 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/ iEYEARECAAYFAk0209kACgkQoYgNqgF2egpTuACeKw3OUQSA5x7ugyJe4syt0PkP pPgAnj77qMjWHKputXIn836nEclfsjg6 =mkG3 -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] Not opening .tex file when exporting to pdf?
On Wed, Jan 19, 2011 at 5:30 PM, Noorul Islam noo...@noorul.com wrote: On Wed, Jan 19, 2011 at 5:11 PM, Rainer M Krug r.m.k...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I export my org files quite often to a pdf, but I am not interested in the .tex file --- I don't mind it (it is needed) and I would not like it to be deleted after the pdf has been created, but is there an option to *not* opening it in emacs? The same applies by the way also for export to html - how can I avoid of having the html opened in a buffer - my browser is fine for me. Did you try C-c e d ? and C-c e b? You will need to set the variable `org-export-kill-product-buffer-when-displayed' for this to work. HTH, Puneeth ___ 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] Not opening .tex file when exporting to pdf?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/19/2011 01:43 PM, Puneeth Chaganti wrote: On Wed, Jan 19, 2011 at 5:30 PM, Noorul Islam noo...@noorul.com wrote: On Wed, Jan 19, 2011 at 5:11 PM, Rainer M Krug r.m.k...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I export my org files quite often to a pdf, but I am not interested in the .tex file --- I don't mind it (it is needed) and I would not like it to be deleted after the pdf has been created, but is there an option to *not* opening it in emacs? The same applies by the way also for export to html - how can I avoid of having the html opened in a buffer - my browser is fine for me. Did you try C-c e d ? and C-c e b? You will need to set the variable `org-export-kill-product-buffer-when-displayed' for this to work. Thanks - that's exactly what I was looking for Rainer HTH, Puneeth - -- 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/ iEYEARECAAYFAk023msACgkQoYgNqgF2egrH2gCfbHQWwNc3jt+355F5YKvg/6lW 3MMAnAto3cEUshsGPIc5BelRkM49a6u1 =XFgp -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] Optimize org-habit-parse-todo
* lisp/org-habit.el: (org-habit-parse-todo) Don't parse more days than needed. When constructing a consistency graph, org-habit (with this patch) will stop searching for timestamps when the number of matches exceeds the span of time displayed in the graph. This can produce a significant speedup in agenda construction, especially for entries with many logbook entries. Previously, org-habit would parse all logbook timestamps, even if they numbered in the hundreds. Before: org-habit-parse-todo 33 0.735743 0.0222952424 After: org-habit-parse-todo 33 0.11648 0.0035296969 This patch respects the value of org-log-states-order-reversed, but assumes that users do not frequently change its value (and thus the order of their log entries). --- lisp/org-habit.el | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lisp/org-habit.el b/lisp/org-habit.el index b174a1f..a05dd1b 100644 --- a/lisp/org-habit.el +++ b/lisp/org-habit.el @@ -170,10 +170,18 @@ This list represents a \habit\ for the rest of this module. habit-entry scheduled-repeat)) (setq deadline (+ scheduled (- dr-days sr-days (org-back-to-heading t) - (while (re-search-forward - State \DONE\.*\\[\\([^]]+\\)\\] end t) - (push (time-to-days - (org-time-string-to-time (match-string-no-properties 1))) - closed-dates)) + (let* ((maxdays (+ org-habit-preceding-days org-habit-following-days)) +(reversed org-log-states-order-reversed) +(search (if reversed 're-search-forward 're-search-backward)) +(limit (if reversed end (point))) +(count 0)) + (unless reversed (goto-char end)) + (while (and (funcall search - State \DONE\.*\\[\\([^]]+\\)\\] limit t) + ( count maxdays)) + (push (time-to-days +(org-time-string-to-time (match-string-no-properties 1))) + closed-dates) + (setq count (1+ count (list scheduled sr-days deadline dr-days closed-dates (defsubst org-habit-scheduled (habit) -- 1.7.3.5 ___ 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: Enhancing the Org/Gnus experience
Hi Julien, Julien Danjou wrote: On Mon, Nov 29 2010, Sébastien Vauban wrote: I've signed (like 2 weeks ago) the FSF papers, and am still waiting for the PDF file that proves it. As soon as I get them, I send a proper patch to Larsi for integration into Gnus. Eventually, I'd even like to add some other stuff (inlined code with = markers, etc.)... Any news on this? I had sent all the needed code to add to Gnus onto the Gnus newsgroup, see http://osdir.com/ml/info-gnus-english-gnu/2011-01/msg00082.html. But Gnus asks me to... #+begin_verse ... post a patch for these changes to the d...@gnus.org mailing list? #+end_verse This will require me to: - find the right place to put such a code in Gnus code base, - see how to deal with the =(mm-uu-configure)= function call (integrate somehow its effect, instead of calling it), - etc. Not that obvious (for me) to make it perfect-looking. Being quite overloaded, this task is still in my log, but gets delayed from day to day. Feel free to post anything in that direction, if you're willing to help. 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
[Orgmode] [RFI] Minutes of talks
Hello, For months, I now always take a PC with me when I go to any meeting, and write everything in Emacs. I typically write everything down, questions and answers. Example: --8---cut here---start-8--- * Alice Our objectives are ... * Collegue We can show you our architecture. It indeed does this and this ... * Me What's your deadline? --8---cut here---end---8--- I've already tested several alternative Org styles, such as: --8---cut here---start-8--- - Alice :: Our objectives are ... - Collegue :: We can show you our architecture. It indeed does this and this ... - Me :: What's your deadline? --8---cut here---end---8--- But I did not find yet something nice enough when exported to LaTeX. The first example is nice and easy to write, but its PDF output is a bit ugly, having names of participants as level-1 headings. The second one is not that easy to write (typing the terms when RET'ing), and is a bit difficult to use when the ideas expressed by the person speaking have to be broken into item lists -- not to speak about the problem when mixing text and list items and back to text, all of that inside another item... How do you write such minutes of a meeting? Obviously, I'm talking here of writing everything down: who did say what. Would it be a summary of the meeting, then, there's is no such problem. 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
[Orgmode] Re: OrgCamp in Paris, January 22nd
Bastien == Bastien bastien.gue...@wikimedia.fr writes: Bastien Dear all, some parisian Orgers are gathering for the first Bastien OrgCamp on earthn® :) Bastien OrgCamps are informal events where people gather IRL to Bastien contribute to Org by discussing how they use it and by Bastien doing contributions to the code, the manuals and the online Bastien tutorials. Bastien Here is the wiki for this event: Bastien http://www.lifehacking.fr/mediawiki/index.php/OrgModeCampJanvier2011#Participants 17 people have registered yet, fine. A preparation meeting will be held on Thursday at 21pm (Paris local time) on the temporary irc channel irc.freenode.net:##orgcamp-paris red. ___ 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: Project management Dynamic block per tag + [Babel]
On Thu, Dec 16, 2010 at 1:19 PM, Francesco Pizzolante f...@missioncriticalit.com wrote: Another option is to use a babel block and org-map-entries to spit out a simple list of tasks for each person: I've played a little with the code you've sent and here's what I end up with: --8---cut here---start-8--- #+source: tasklist #+begin_src emacs-lisp :var person=FPZ :results raw (setq org-agenda-files (list (buffer-file-name))) (let (tasklist) (add-to-list 'tasklist |c||| t) (org-map-entries (lambda () (let ((priority (nth 3 (org-heading-components (add-to-list 'tasklist (concat | * (nth 2 (org-heading-components)) * |/[# (char-to-string (if priority priority ?B)) ]/ | [[ (nth 4 (org-heading-components)) ]]|) t))) (concat person /!TODO|STARTED|WAIT) 'agenda) (mapconcat 'identity tasklist \n)) #+end_src --8---cut here---end---8--- The next step for me, would be to be able to sort this table against priorities for instance. If you think about a simple way of doing this, please let me know. I had the same problem, and tweaking your code (I think org-mode doesn't like the modification of org-agenda-files) this is what I've ended up with: (defun tasks-with-tag (person optional scope) (let ((tasklist ())) (org-map-entries (lambda () (let ((priority (nth 3 (org-heading-components (add-to-list 'tasklist (list (if priority (char-to-string priority) C) (concat [[ (nth 4 (org-heading-components)) ]])) t))) (concat person /!TASK) scope) (sort tasklist (lambda (f s) (string-lessp (car f) (car s)) The output is sorted and makes a nice table. Scope is passed directly to org-map-entries, so if you leave it out the scope will be the current buffer. Greetings, jm -- http://juanreyero.com/ http://alandair.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
Re: [Orgmode] Org-beamer problems
What version of org-mode are your running? What version of emacs? If you haven't done so already, try upgrading to the latest version of org and seeing if that solves the problem. =M-x org-version RET= =M-x emacs-version RET= See the latest development version of org: http://orgmode.org/index.html#sec-3_2 On Wed, Jan 19, 2011 at 2:03 AM, Bill Moran bill1mo...@gmail.com wrote: I've been trying to follow the various tutorials on the web to do beamer in org-mode. I've used beamer, latex and emacs for many years but am finding that none of the examples on the web work totally s intended in my attempts to use org-mode with beamer. I have copied verbatim several examples such as from here: http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html#sec-4_1 When I run them I get the following problems - plus others I will go into later if necessary: 1. The title page does not have a title - just the date. When I check the latex file created from the org file I notice that a \maketitle command occurs outside a frame environment - whereas in beamer I normally use \titlepage inside a frame environment to create the titlepage. 2. \alert command does not work - even with the additions to .emacs suggested here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html (And there are no errors in running the .emacs file) Always the @ symbol appears in the latex created from org as @. I wonder whether there is some configuration I am missing. Other aspects of the slides are normal - bullets and frametitles specifically. ___ 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 -- 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] Org-beamer problems
Whoops -- skipped the list... On Wed, Jan 19, 2011 at 9:56 AM, John Hendy jw.he...@gmail.com wrote: On Wed, Jan 19, 2011 at 1:03 AM, Bill Moran bill1mo...@gmail.com wrote: 1. The title page does not have a title - just the date. When I check the latex file created from the org file I notice that a \maketitle command occurs outside a frame environment - whereas in beamer I normally use \titlepage inside a frame environment to create the titlepage. That's interesting. You have a line like this? #+TITLE: title_of_doc Even if you don't, my compilations have always yielded a default title of the file name, I believe. 2. \alert command does not work - even with the additions to .emacs suggested here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html (And there are no errors in running the .emacs file) Always the @ symbol appears in the latex created from org as @. This type of alert markup, indeed, does not work. This has been asked before (by me!). See this string: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28842.html. I wonder whether there is some configuration I am missing. Other aspects of the slides are normal - bullets and frametitles specifically. Would you attach your actual org file? This often helps better than describing. For example, you mention extracting verbatim examples, but without seeing the file or pasting it, I'm not sure what your header arguments look like, and this can affect things quite a bit. Best regards, John ___ 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] [BABEL] Tangling to a hierarchy of files?
On Wed, 19 Jan 2011, Chris Maier wrote: On Wed, Jan 19, 2011 at 5:05 AM, Rainer M Krug r.m.k...@gmail.com wrote: On 01/19/2011 08:22 AM, Eric Schulte wrote: In addition to the solution Charles posted, it is possible to put arbitrary elisp forms into header arguments, so the following alternative to your block above will create the directory (if it doesn't already exist) whenever the block is tangled or evaluated. #+begin_src clojure :tangle (prog1 src/foo.clj (make-directory src .)) (ns foo) (defn my-inc [x] (+ x 1)) #+end_src This will do what I'm looking for, thanks! Is there a place where this and the eval-on-startup trick Charles posted are documented? If so, I missed it, and these are both really useful to know. C-h i, then navigate to (emacs)Top Customization Variables File Variables Specifying File Variables 'eval' is a special kind of file variable. Chuck Would it be possible, to include this into tangling, i.e. if the folder in which the source file should be created does not exist, create it? I remember vaguely a discussion along these lines some time ago, but I don't remember the outcome? This would be a great feature to have. Eric's embedded Lisp code trick will do the job, but I can imagine that it would get cumbersome for more complex projects. Thanks for all the help, everyone! Chris Charles C. BerryDept of Family/Preventive Medicine cbe...@tajo.ucsd.eduUC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [BABEL] Tangling to a hierarchy of files?
On Wed, Jan 19, 2011 at 11:20 AM, Charles C. Berry cbe...@tajo.ucsd.edu wrote: On Wed, 19 Jan 2011, Chris Maier wrote: Is there a place where this and the eval-on-startup trick Charles posted are documented? If so, I missed it, and these are both really useful to know. C-h i, then navigate to (emacs)Top Customization Variables File Variables Specifying File Variables 'eval' is a special kind of file variable. Ah, it's for Emacs in general instead of Org mode... thanks for the tip, Charles. No matter how much you know about Emacs, it seems there's always something new to learn :) Chris ___ 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
R: [Orgmode] [RFI] Minutes of talks
--- Mer 19/1/11, Sébastien Vauban wxhgmqzgw...@spammotel.com ha scritto: Hi, Sébastien, [...] when I go to any meeting, and write everything in Emacs. I typically write everything down, questions and answers. Example: --8---cut here---start-8--- * Alice Our objectives are ... * Collegue We can show you our architecture. It indeed does this and this ... --8---cut hereend---8--- [..] But I did not find yet something nice enough when exported to LaTeX. The first example is nice and easy to write, but its PDF output is a bit ugly, having names of participants as level-1 headings. You might 1. demote the headings: (or use H:1, IIRC) * meeting ** participants *** Issue 1 Alice Our objectives are 2. use list tags - :Alice: Our objectives are then substitute the tag and highlight the tags with the proper colour {\color{red} Alice} I think that headings are better than list for the possibility to have TODO items. hth 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] Re: Worg needs some reorganizing
Bastien bastien.gue...@wikimedia.fr writes: I don't have a strong opinion about this: splitting the FAQ into org-faq-*.org comes to my mind, but it's a big task. org-info-js, while not optimal for *every* page on Worg, was doing a good job on the FAQ. Maybe this delivers motivation to incorporate a little improvement into the publishing process (here's hoping :-)): Introduce some properties on subtrees to split the off into their own files while exporting or publishing. I had hoped the EXPORT_FILE_NAME property would do that, but it is only used when doing an explicit subtree export. That way you could keep a large file and still slice it into more digestible portions for online access (much like info does). Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds ___ 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: Worg needs some reorganizing
Matt Lundin m...@imapmail.org writes: On this one page, I think we need a simple (non-js) table-of-contents. Is there a way to override the hidden toc for this page only? Yes, by either adding a stylesheet that undoes the hiding or by not including the part of the stylesheet that hides the toc in the first place. For the FAQ I'd think a two column layout with the index to the left would be good, so you'd just have to adjust the float placement and visibility. So as override (untested): #table-of-contents { position: fixed; left: 0em; width: 20%; text-align: left; max-height: 100%; } #table-of-contents #text-table-of-contents { display: block; padding: 0.5em; margin-top: -1.5em; } Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds ___ 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
Achim Gratz strom...@nexgo.de writes: Matt Lundin m...@imapmail.org writes: On this one page, I think we need a simple (non-js) table-of-contents. Is there a way to override the hidden toc for this page only? Yes, by either adding a stylesheet that undoes the hiding or by not including the part of the stylesheet that hides the toc in the first place. For the FAQ I'd think a two column layout with the index to the left would be good, so you'd just have to adjust the float placement and visibility. I don't think there is horizontal room to hold the TOC and the contents side-by-side, I think the preferable option here is to have the TOC at the top of the page, followed by the contents, e.g. plain, or just keep the TOC as it currently appears in the version at http://orgmode.org/worg/org-faq-nojs.html, I actually kind of like how it allows the user to click on items in the TOC, and jump to the relevant part of the page without losing the TOC from view. I vote we simply replace org-faq with org-faq-nojs. On a slightly unrelated note, have the alternate stylesheets been added to the publishing template? If so I don't see them locally. 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] Re: Worg needs some reorganizing
Matt Lundin m...@imapmail.org writes: Jason Dunsmore emacs-orgm...@dunsmor.com writes: I made a version of the FAQ without the javascript folding: http://orgmode.org/tmp/worg/org-faq-nojs.html http://orgmode.org/tmp/worg/org-faq.html It like it better, but it's still a bit unwieldy. Maybe the FAQ just needs to be reorganized. See how Wikipedia does it: http://en.wikipedia.org/wiki/Wikipedia:FAQ http://en.wikipedia.org/wiki/Wikipedia:FAQ_Index Matt or Bastien, do you have an opinion on reorganizing the FAQ? I reorganized the FAQ into categories a year or so ago; it's remarkable to consider how much the document has grown (thanks to the community!) since then. I believe it is helpful to have the entire FAQ on one page, though I'd agree could use some pruning. My plan is to move some the longer entries to documentation pages of their own, leaving behind a brief answer along with a link to more detailed documentation. I'd like to get rid of the javascript folding on the FAQ. I've found that on slower computers it can take a few seconds for the entire page to fold, while artifacts of entries flash briefly on the screen. These changes sound great. On this one page, I think we need a simple (non-js) table-of-contents. Is there a way to override the hidden toc for this page only? I agree (copying Eric on this email - he might know). I'll also see if I can work up a local export hook to add a Back to top link for each entry. I think this might be unnecessary (hitting Back, typing the Home key, or middle clicking at the top of the scroll bar can all already do 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] [BABEL] Tangling to a hierarchy of files?
Chris Maier christopher.ma...@gmail.com writes: On Wed, Jan 19, 2011 at 5:05 AM, Rainer M Krug r.m.k...@gmail.com wrote: On 01/19/2011 08:22 AM, Eric Schulte wrote: In addition to the solution Charles posted, it is possible to put arbitrary elisp forms into header arguments, so the following alternative to your block above will create the directory (if it doesn't already exist) whenever the block is tangled or evaluated. #+begin_src clojure :tangle (prog1 src/foo.clj (make-directory src .)) (ns foo) (defn my-inc [x] (+ x 1)) #+end_src This will do what I'm looking for, thanks! Is there a place where this and the eval-on-startup trick Charles posted are documented? If so, I missed it, and these are both really useful to know. We don't currently have a good place in which to collect such tricks, probably the closest is a file called scraps.org which I use for stubbing out examples when responding to mailing list questions or doing development. Each subheading is a short self-contained example. I do plan on transforming this at some point into either a page on Worg Babel Tricks or into a Babel a Day series or some such. The page is available at the following (notice this dir. trick is at the top) https://github.com/eschulte/babel-dev/raw/master/scraps.org If anyone would like to take on the task of transferring this information into a page on Worg that would be much appreciated! Maybe a programmatic solution would be best, since I imagine this file will continue to grow, or maybe I should just move this file to Worg directly, if the Worg maintainers don't mind a steady trickle of small commits... Would it be possible, to include this into tangling, i.e. if the folder in which the source file should be created does not exist, create it? I remember vaguely a discussion along these lines some time ago, but I don't remember the outcome? This would be a great feature to have. Eric's embedded Lisp code trick will do the job, but I can imagine that it would get cumbersome for more complex projects. This issue has come up recently -- also raised (I believe) by a Clojurian most likely wanted to create a lein directory layout. The reason that I push back against this, is that I often times accidentally use a tangle path in which the directory does not exist and the error notification serves as a useful warning that I either mis-typed the directory or need to create it. I would suggest either using the pre-tangle hook, or using my trick above, which could be made more graceful with the following function defined... #+begin_src emacs-lisp (defun mkdir-p (file optional dir) Create any parent directories of FILE if missing and return FILE. (make-directory (file-name-directory file) (or dir .)) file) #+end_src However given that there seems to be some wide support for this maybe a customization variable should be introduce, e.g. org-babel-tangle-mkdirs-p or somesuch... Cheers -- Eric Thanks for all the help, everyone! Chris ___ 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: Worg needs some reorganizing
Bastien bastien.gue...@wikimedia.fr writes: I changed the background of code chunks to black - please revert this if you find it too agressive/unreadable. I really dislike the fake white we had as the background for black-on-white code chunks... If you change the background you'll also need to change all the foreground colors (maybe use the definitions from Eric's zen-something theme). As it looks now, several things will be close to unreadable on many monitors (dark blue on black for table lines, shudder...) and I'm not even talking about the folks with poor eyesight. Personally I don't get the infatuation with light text on dark background that currently spreads around the web, having worked on re-purposed TV tubes as well as green and amber monitors for quite a while, although their background never was as dark. If you want retro, you'd need to define a monochrome theme with a max. 20:1 contrast ratio... Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Waldorf MIDI Implementation additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs ___ 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
On Wed, Jan 19, 2011 at 12:34 PM, Jason Dunsmore emacs-orgm...@dunsmor.com wrote: I think this might be unnecessary (hitting Back, typing the Home key, or middle clicking at the top of the scroll bar can all already do this). I'm not an expert, but that is not very accessible. Shouldn't be a problem with modern text browsers, but I remember this being an accessibility recommendation for FAQish pages at my previous university. -- 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] [BABEL] Tangling to a hierarchy of files?
On Wed, Jan 19, 2011 at 12:41 PM, Eric Schulte schulte.e...@gmail.com wrote: Chris Maier christopher.ma...@gmail.com writes: Is there a place where this and the eval-on-startup trick Charles posted are documented? If so, I missed it, and these are both really useful to know. We don't currently have a good place in which to collect such tricks, probably the closest is a file called scraps.org which I use for stubbing out examples when responding to mailing list questions or doing development. Each subheading is a short self-contained example. I do plan on transforming this at some point into either a page on Worg Babel Tricks or into a Babel a Day series or some such. The page is available at the following (notice this dir. trick is at the top) https://github.com/eschulte/babel-dev/raw/master/scraps.org Thanks for the link. Would it be possible, to include this into tangling, i.e. if the folder in which the source file should be created does not exist, create it? I remember vaguely a discussion along these lines some time ago, but I don't remember the outcome? This would be a great feature to have. Eric's embedded Lisp code trick will do the job, but I can imagine that it would get cumbersome for more complex projects. This issue has come up recently -- also raised (I believe) by a Clojurian most likely wanted to create a lein directory layout. The reason that I push back against this, is that I often times accidentally use a tangle path in which the directory does not exist and the error notification serves as a useful warning that I either mis-typed the directory or need to create it. I would suggest either using the pre-tangle hook, or using my trick above, which could be made more graceful with the following function defined... #+begin_src emacs-lisp (defun mkdir-p (file optional dir) Create any parent directories of FILE if missing and return FILE. (make-directory (file-name-directory file) (or dir .)) file) #+end_src However given that there seems to be some wide support for this maybe a customization variable should be introduce, e.g. org-babel-tangle-mkdirs-p or somesuch... Cheers -- Eric A customization variable would be fantastic. Could it be done such that it could be applied (or not applied, according to taste) to a sub-tree of your Org file? That way you could have it disabled on whatever code you might be currently working on so you still see the error messages if you mistype. Then, when you're satisfied with all your tangle paths, you could flip the switch on that sub-tree and have Org do everything for you. Chris ___ 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
Achim Gratz strom...@nexgo.de writes: Eric Schulte schulte.e...@gmail.com writes: I just pushed up an edit to the Worg repository which should reset all of the defaults on the TOC of the org-faq-nojs.org page. If this works I vote we set this as the sole org-faq page. It works, but I think you would want font-size: inherit; applied, thanks in the first block. If there's a way to have org wrap the toc into different divs, you would not need to undo the styles. agreed, but I think this is the simpler solution for now. BTW: this changes has now propagated through to http://orgmode.org/worg/org-faq-nojs.html Achim. ___ 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
Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 12:34 PM, Jason Dunsmore emacs-orgm...@dunsmor.com wrote: I think this might be unnecessary (hitting Back, typing the Home key, or middle clicking at the top of the scroll bar can all already do this). I'm not an expert, but that is not very accessible. Shouldn't be a problem with modern text browsers, but I remember this being an accessibility recommendation for FAQish pages at my previous university. Hm, that sounds a bit like folklore. Is there some accessibility standard we can follow, and should we (how up-to-date are these documents relative to modern accessible browsers)? I noticed every other project FAQ I came across doesn't do this: http://wiki.apache.org/httpd/FAQ https://git.wiki.kernel.org/index.php/GitFaq http://kb.mozillazine.org/Firefox_:_FAQs ___ 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: Worg needs some reorganizing
Jason Dunsmore emacs-orgm...@dunsmor.com writes: And there's something in the CSS 2.1 spec about allowing users to attach style sheets that I don't fully understand. http://www.w3.org/TR/CSS21/ That's quite likely the user stylesheets. Support for this is generally bad, even on Firefox you'll have to re-start for each change you make... Another gripe is that the alternate stylesheets are hidden in some second level menu and you can't configure them to be remembered. The first problem might be solved by the Stylish extension, if anybody knows an extension that takes care of the second, I'd love to know about it. Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada ___ 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: Basic organization question
Hi Tommy, Comments are inline below. Tommy Kelly tommy.ke...@verilab.com writes: Bernt, Still digging into this. You said: TAGS are much more flexible for controlling what you see on the agenda and I use tags for filtering what is displayed on the agenda. Am I right though that from the point of view of clocking tasks, you rely not on TAGS but on having each task live inside the appropriate file/heading/sub-heading/sub-sub-heading and so on? Yes each task lives in the appropriate file and subtree. It is only possible to clock tasks. I clock in tasks both from the agenda and directly from inside org files. Finding the thing to clock in is what I use the agenda for -- I find a task with an agenda view (limited by tags) and clock in the task directly with I in the agenda view. Or do you have some jiggery pokery to let clocking and clock tables be sensitive to TAGs? I mostly use R and C-u R in the agenda for clock reports. The C-u R version limits the displayed clock report based on your current agenda tags filter. Dynamic clock reports can also be limited by tags but I am not currently using this feature. I use persistent tags filters so when I set a tag filter to HOME it stays that way until I change it. This lets me look at the agenda for this week limited to HOME tasks, and also TODO and NEXT tasks for only tasks with the HOME tag. Overall it looks like you use file-and-level-of-subheading to categorize things according to general area (clientX, clientY, or accounting, research, and so on), and then you use TAGs in addition to orthogonally categorize things according to some aspect of your workflow (it's a phone call, it has GTD context @wibble, it needs refiled, and so on). Is that remotely accurate? Yes pretty much. I tend to group project related things into a file and give it a #+FILETAGS: entry so everything in that file gets some tag. Then I can limit my agenda view to just include or just exclude those things depending on my current work context. Inside a file I'll also have tagged entries for PHONE, NOTE, CANCELLED, FLAGGED, @somewhere, etc so I can further refine the displayed tasks in my agenda view. 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] Re: Worg needs some reorganizing
Eric Schulte schulte.e...@gmail.com writes: Achim Gratz strom...@nexgo.de writes: Eric Schulte schulte.e...@gmail.com writes: I just pushed up an edit to the Worg repository which should reset all of the defaults on the TOC of the org-faq-nojs.org page. If this works I vote we set this as the sole org-faq page. It works, but I think you would want font-size: inherit; applied, thanks in the first block. If there's a way to have org wrap the toc into different divs, you would not need to undo the styles. agreed, but I think this is the simpler solution for now. BTW: this changes has now propagated through to http://orgmode.org/worg/org-faq-nojs.html Looks like the TOC links are larger than the text on the rest of the page. Can the text size be made the same? ___ 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: Worg needs some reorganizing
Jason Dunsmore emacs-orgm...@dunsmor.com writes: Looks like the TOC links are larger than the text on the rest of the page. Can the text size be made the same? That's what the inherit is fixing. You may still have the old copy in cache, I've just now been able to get the new version that Eric pushed some time ago. Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Waldorf MIDI Implementation additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs ___ 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 ? : org-babel and calc : calc-command-flags
Hello, I tried to use calc with babel but it doesn't work as expected. I use the following block with simple instruction : #+begin_src calc 2*3 #+end_src I didn't get back any results. I launch calc and it seems to be called as I have following output --- Emacs Calculator Mode --- 1: 6 . So the instructions seems to be sent to calc. I have the following message error message : executing Calc code block... calc-push-list: Symbol's value as variable is void: calc-command-flags I use : GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Org-mode version 7.4 Regards d.tchin ___ 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've been trying to follow the various tutorials on the web to do beamer in org-mode. I've used beamer, latex and emacs for many years but am finding that none of the examples on the web work totally s intended in my attempts to use org-mode with beamer. I have copied verbatim several examples such as from here: http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html#sec-4_1 When I run them I get the following problems - plus others I will go into later if necessary: 1. The title page does not have a title - just the date. When I check the latex file created from the org file I notice that a \maketitle command occurs outside a frame environment - whereas in beamer I normally use \titlepage inside a frame environment to create the titlepage. My immediate response would be to ask why you aren't using \maketitle given that the command is beamer-aware? That is, \maketitle will create a title page whose format is defined by the beamer theme you have selected. Otherwise, you could always customise =org-export-latex-title-command= to nothing and use direct latex code to do what you want: --8---cut here---start-8--- #+begin_latex \begin{frame} \titlepage \end{frame} #+end_latex --8---cut here---end---8--- I've not tried this. 2. \alert command does not work - even with the additions to .emacs suggested here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html (And there are no errors in running the .emacs file) Always the @ symbol appears in the latex created from org as @. Can you tell us exactly what you have done to customise the relevant variables and where you have done these customisations? Difficult to help without this information unfortunately. While we're at it, org and emacs version information is also helpful. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.221.g4007c) ___ 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
Achim Gratz strom...@nexgo.de writes: Jason Dunsmore emacs-orgm...@dunsmor.com writes: Looks like the TOC links are larger than the text on the rest of the page. Can the text size be made the same? That's what the inherit is fixing. You may still have the old copy in cache, I've just now been able to get the new version that Eric pushed some time ago. Oh okay. Does anybody know why some pages have inline CSS? For example: http://orgmode.org/worg/org-configs/index.html --8---cut here---start-8--- style type=text/css !--/*--![CDATA[/*!--*/ html { font-family: Times, serif; font-size: 12pt; } .title { text-align: center; } .todo { color: red; } .done { color: green; } .tag{ background-color: #add8e6; font-weight:normal } .target { } .timestamp { color: #bebebe; } .timestamp-kwd { color: #5f9ea0; } .right {margin-left:auto; margin-right:0px; text-align:right;} .left {margin-left:0px; margin-right:auto; text-align:left;} .center {margin-left:auto; margin-right:auto; text-align:center;} p.verse { margin-left: 3% } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; font-size: 90%; overflow:auto; } table { border-collapse: collapse; } td, th { vertical-align: top; } th.right { text-align:center; } th.left { text-align:center; } th.center { text-align:center; } td.right { text-align:right; } td.left { text-align:left; } td.center { text-align:center; } dt { font-weight: bold; } div.figure { padding: 0.5em; } div.figure p { text-align: center; } textarea { overflow-x: auto; } .linenr { font-size:smaller } .code-highlighted {background-color:#00;} .org-info-js_info-navigation { border-style:none; } #org-info-js_console-label { font-size:10px; font-weight:bold; white-space:nowrap; } .org-info-js_search-highlight {background-color:#00; color:#00; font-weight:bold; } /*]]*/-- /style --8---cut here---end---8--- I came across this when trying to figure out what was causing the different H1 styles (top page title). For example, compare: http://orgmode.org/worg/org-faq-nojs.html and http://orgmode.org/worg/org-configs/index.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
[Orgmode] Re: Basic organization question
Bernt, Still digging into this. You said: TAGS are much more flexible for controlling what you see on the agenda and I use tags for filtering what is displayed on the agenda. Am I right though that from the point of view of clocking tasks, you rely not on TAGS but on having each task live inside the appropriate file/heading/sub-heading/sub-sub-heading and so on? Or do you have some jiggery pokery to let clocking and clock tables be sensitive to TAGs? Overall it looks like you use file-and-level-of-subheading to categorize things according to general area (clientX, clientY, or accounting, research, and so on), and then you use TAGs in addition to orthogonally categorize things according to some aspect of your workflow (it's a phone call, it has GTD context @wibble, it needs refiled, and so on). Is that remotely accurate? thanks, Tommy ___ 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] void-function error
Hi, On opening emacs to take a look at my agenda, emacs opens with the following error: Debugger entered--Lisp error: (void-function ignore-errors) (ignore-errors (org-entry-get nil ORDERED)) No other problem but this error message... And everything seems to work fine regardless of this message. How can I find out what is causing this error on each startup? I am using Ubuntu 10.10 with emacs 22.2.1. On Arch Linux (with emacs 23.2.1), I did not have this problem. I believe (but I'm not sure) the error appeared after I set org-agenda-skip-deadline-if-done and org-agenda-skip-scheduled-if-done. Thank you, Sincerely, Mehmet Ergun. -- There is a crack in everything, that's how the light gets in. Leonard Cohen ___ 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: Basic organization question
Bernt, Still digging into this. You said: TAGS are much more flexible for controlling what you see on the agenda and I use tags for filtering what is displayed on the agenda. Am I right though that from the point of view of clocking tasks, you rely not on TAGS but on having each task live inside the appropriate file/heading/sub-heading/sub-sub-heading and so on? Or do you have some jiggery pokery to let clocking and clock tables be sensitive to TAGs? Overall it looks like you use file-and-level-of-subheading to categorize things according to general area (clientX, clientY, or accounting, research, and so on), and then you use TAGs in addition to orthogonally categorize things according to some aspect of your workflow (it's a phone call, it has GTD context @wibble, it needs refiled, and so on). Is that remotely accurate? thanks, Tommy -- Tommy Kelly +1 (512) 289-8262 http://www.verilab.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
Re: [Orgmode] Re: Worg needs some reorganizing
It is set by headers in the HTML. See http://www.alistapart.com/articles/alternate/ for code. Brian - Original Message From: Jeff Horn jrhorn...@gmail.com To: Bastien bastien.gue...@wikimedia.fr Cc: Dan Davison davi...@stats.ox.ac.uk; Ian Barton i...@manor-farm.org; Matt Lundin m...@imapmail.org; emacs-orgmode@gnu.org; Carsten Dominik carsten.domi...@gmail.com; Jason Dunsmore ja...@dunsmor.com Sent: Tue, January 18, 2011 10:46:14 AM Subject: Re: [Orgmode] Re: Worg needs some reorganizing On Tue, Jan 18, 2011 at 3:39 AM, Bastien bastien.gue...@wikimedia.fr wrote: Jeff Horn jrhorn...@gmail.com writes: Jason seems to be garnering a lot of votes, but Eric's zenburn emulation makes my eyes happy. If Jason wins out, I suppose I could always just read Worg in emacs... :D Or use Eric zenburn-like css by selecting it as an alternative stylesheet in Firefox : View - Page Style - [select stylesheet]. I don't know how to make this choice persistent from Firefox and I don't know if this feature is available for other browsers, but it is certainly worth having several stylesheet available. I've seen some sites with alternate style sheets built into the page. Usually a drop down menu in the upper right corner of the page to select and load a stylesheet. I'm not sure how it is implemented, but I suspect it's javascript, since the new stylesheet is loaded automatically, without a refresh, when the user clicks it. -- 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 ___ 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] Missing line breaks in ps export of agenda
Hello everybody out there using Org-mode, The export of an agenda to a Postscript file doesn't seem break lines. Whenever an item in my agenda is very long, it's just cut off at the border of the Postscript page. Could anyone help me to make the whole line become readable by inserting a line break? Thanks in advance, Julia ___ 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] void-function error
Mehmet Atif Ergun mehmetaer...@gmail.com wrote: No other problem but this error message... And everything seems to work fine regardless of this message. How can I find out what is causing this error on each startup? emacs --debug-init I am using Ubuntu 10.10 with emacs 22.2.1. On Arch Linux (with emacs 23.2.1), I did not have this problem. Surely, Ubuntu 10.10 comes with a more recent version of emacs? 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] Re: Worg needs some reorganizing
On Wed, Jan 19, 2011 at 2:18 PM, Jason Dunsmore emacs-orgm...@dunsmor.com wrote: Does anybody know why some pages have inline CSS? For example: The publishing projects for the affected pages may not have the the :style-default key set to nil. The relevant variable is `org-export-html-style-include-default`. -- 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] Re: Worg needs some reorganizing
On Wed, Jan 19, 2011 at 1:32 PM, Jason Dunsmore emacs-orgm...@dunsmor.com wrote: Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 12:34 PM, Jason Dunsmore emacs-orgm...@dunsmor.com wrote: I think this might be unnecessary (hitting Back, typing the Home key, or middle clicking at the top of the scroll bar can all already do this). I'm not an expert, but that is not very accessible. Shouldn't be a problem with modern text browsers, but I remember this being an accessibility recommendation for FAQish pages at my previous university. Hm, that sounds a bit like folklore. Is there some accessibility standard we can follow, and should we (how up-to-date are these documents relative to modern accessible browsers)? I noticed every other project FAQ I came across doesn't do this: http://wiki.apache.org/httpd/FAQ https://git.wiki.kernel.org/index.php/GitFaq http://kb.mozillazine.org/Firefox_:_FAQs I'll happily concede the point. And, the linked FAQs are easily navigable in W3M. Honestly, it was a reflex. I learned all sorts of rules of thumb working with the media department as a student at NCSU. -- 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] Org-beamer problems
Greetings! I am also having difficulties running Beamer from org-mode. I am running a fully updated Ubuntu with snapshot emacs and a daily updated git version of org-mode. I am not able to get blocks, lists, and colums to work. I have a feeling from Googling quite a bit that the problem is due to some interaction between my org-mode header and .emacs. Unfortunately, the org-mode manual does not state how to configure .emacs for Beamer export. There must be something going on with the levels of headers and the B_Block directive. Basically, I can not get the example to work. Here is the relevant part of my .emacs - (setq org-export-latex-classes '((article \\documentclass[11pt]{article} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) (beamer \\documentclass[bigger]{beamer} \\usepackage{verbatim} \\definecolor{verylightgray}{rgb}{0.93,0.93,1.0} \\modebeamer{\\usetheme{Madrid}} \\modehandout{\\usecolortheme[rgb={0.5,0.5,0.5}]{structure} \\usepackage{pgfpages}} \\usepackage[absolute,overlay]{textpos} \\setlength{\\TPHorizModule}{1mm} \\setlength{\\TPVertModule}{1mm} (\\section{%s} . \\section*{%s}) (\\begin{frame}[fragile]\\frametitle{%s} \\end{frame} \\begin{frame}[fragile]\\frametitle{%s} \\end{frame})) The header is the same as from the example. Thanks, Henri-Paul Henri-Paul Indiogine Email: hindiog...@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.3 ___ 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] Bibtex and beamer
On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti andrea.crott...@gmail.com wrote: Only one thing is not clear, how do I tell org-mode to call pdflatex/bibtex enough times to get all the links correctly setup. If you're using a *nix system, you might try customizing `org-latex-to-pdf-process` with texi2dvi. I've been having intermittent issues with bibtex and beamer. Not sure what did it on my end, but I flip between texi2dvi for beamer/latex/bibtex usage, and shell command sequence (what you mention) for publishing PDFs on my personal website (like my CV). -- 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] Org-beamer problems
Hi Henri-Paul, I'm running =org-version= 7.3 (release_7.3.89.g97f4c.dirty) I don't have anything in my .emacs about the beamer latex class - it just works. The only =org-export-latex-classes= statements that I have are with some latex classes that I have made myself. What does your .tex output look like? Chris On Wed, Jan 19, 2011 at 5:22 PM, Henri-Paul Indiogine hindiog...@gmail.comwrote: Greetings! I am also having difficulties running Beamer from org-mode. I am running a fully updated Ubuntu with snapshot emacs and a daily updated git version of org-mode. I am not able to get blocks, lists, and colums to work. I have a feeling from Googling quite a bit that the problem is due to some interaction between my org-mode header and .emacs. Unfortunately, the org-mode manual does not state how to configure .emacs for Beamer export. There must be something going on with the levels of headers and the B_Block directive. Basically, I can not get the example to work. Here is the relevant part of my .emacs - (setq org-export-latex-classes '((article \\documentclass[11pt]{article} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) (beamer \\documentclass[bigger]{beamer} \\usepackage{verbatim} \\definecolor{verylightgray}{rgb}{0.93,0.93,1.0} \\modebeamer{\\usetheme{Madrid}} \\modehandout{\\usecolortheme[rgb={0.5,0.5,0.5}]{structure} \\usepackage{pgfpages}} \\usepackage[absolute,overlay]{textpos} \\setlength{\\TPHorizModule}{1mm} \\setlength{\\TPVertModule}{1mm} (\\section{%s} . \\section*{%s}) (\\begin{frame}[fragile]\\frametitle{%s} \\end{frame} \\begin{frame}[fragile]\\frametitle{%s} \\end{frame})) The header is the same as from the example. Thanks, Henri-Paul Henri-Paul Indiogine Email: hindiog...@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.3 ___ 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
Hi Bill, I would try upgrading to a newer version of =org-mode= - a lot of things have been improved since the writing of the version you have. By default, in the newer versions, the \maketitle command should be added to the beginning of your .tex file automatically. Upgrade and see if this fixes things. Chris On Wed, Jan 19, 2011 at 4:34 PM, Bill Moran bill1mo...@gmail.com wrote: HI Eric, John, Jeff and Birch Eric S Fraga e.fraga at ucl.ac.uk writes: My immediate response would be to ask why you aren't using \maketitle given that the command is beamer-aware? That is, \maketitle will create a title page whose format is defined by the beamer theme you have selected. Otherwise, you could always customise =org-export-latex-title-command= to nothing and use direct latex code to do what you want: --8---cut here---start-8--- #+begin_latex \begin{frame} \titlepage \end{frame} #+end_latex --8---cut here---end---8--- I've not tried this. 2. \alert command does not work - even with the additions to .emacs suggested here: http://www.mail-archive.com/emacs-orgmode at gnu.org/msg21507.html (And there are no errors in running the .emacs file) Always the @ symbol appears in the latex created from org as @. Can you tell us exactly what you have done to customise the relevant variables and where you have done these customisations? Difficult to help without this information unfortunately. While we're at it, org and emacs version information is also helpful. Thanks for all of your responses and for taking the time to help me. I'll try to answer your questions. As far as possible I use the stock ubuntu (maverick - 10.10) repositories for emacs and its associated software. So I'm using emacs 23.1.1 and org-mode 6.36c. The version of beamer I'm using, as described in the repositories, is latex-beamer 3.07-2ubuntu1. I am aware that there are more recent versions available - particularly of org-mode - but was trying to keep things simple. Let me also say that my aim was to arrive at an understanding of how to use org-mode for slide creation - since I do a lot of that - rather than to compose a specific set of slides. I realise that I could use direct latex code to solve the problems but that wasn't the point of the exercise. I've read more since I sent the email and now realise that the issues I brought up have been discussed earlier and where I can I've tried to use the proposed solutions. In particular I have this in my .emacs: (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))) ) from a solution to the @ problem proposed by Eric somewhere. And I understand that I can use \maketitle normally to produce a title page in beamer - just tried on a hand-crafted (in emacs) latex-beamer file using my set up. To keep this email as brief as possible, let's take this snippet (verbatim) of an example from Eric: --start--- #+TITLE: Writing Beamer presentations in org-mode #+AUTHOR:Eric S Fraga #+EMAIL: e.fr...@ucl.ac.uk #+DATE: 2010-03-30 Tue #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 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:not-in-toc #+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: oddeven #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+latex_header: \modebeamer{\usetheme{Madrid}} #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %20ITEM %13BEAMER_env(Env) %6BEAMER_envargs(Args) %4BEAMER_col(Col) %7BEAMER_extra(Extra) * Methodology ** A simple slide This slide consists of some text with a number of bullet points: - the first, very @important@, point! - the previous point shows the use of the special markup which translates to the
[Orgmode] Re: Bibtex and beamer
Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti andrea.crott...@gmail.com wrote: Only one thing is not clear, how do I tell org-mode to call pdflatex/bibtex enough times to get all the links correctly setup. If you're using a *nix system, you might try customizing `org-latex-to-pdf-process` with texi2dvi. I've been having intermittent issues with bibtex and beamer. Not sure what did it on my end, but I flip between texi2dvi for beamer/latex/bibtex usage, and shell command sequence (what you mention) for publishing PDFs on my personal website (like my CV). Thanks a lot, with this (setq org-latex-to-pdf-process '(pdflatex -interaction nonstopmode -output-directory %o %f bibtex %b pdflatex -interaction nonstopmode -output-directory %o %f pdflatex -interaction nonstopmode -output-directory %o %f)) It works quite well, even if it looks like an hack, but I can avoid using texi2dvi I think... It takes some time though for the whole process, and sometimes only one run of pdflatex would suffice. Is it so hard to have a smarter check for how and what passes are needed? Is not enough to check if all the references are satisfied? And another thing, why do I have to setup a default citation file? (setq reftex-default-bibliography cit) In theory from my understanding reftex should grep this in my file \bibliography{cit} and open that file to see the citations, is that not correct? ___ 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-beamer problems
Hi Chris, Jeff Chris Malone chris.m.malone at gmail.com writes: Hi Bill,I would try upgrading to a newer version of =org-mode= - a lot of things have been improved since the writing of the version you have. By default, in the newer versions, the \maketitle command should be added to the beginning of your .tex file automatically. Upgrade and see if this fixes things.Chris Upgraded to the latest .deb version of org-mode - 7.4 - and that solved the title problem - but not the @ problem. Thanks Bill ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode at 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
Hi Bill, I too have never found a good solution for the @ problem, but as Eric mentioned there has been some talk about his problem recently in the message list. Glad to hear updating fixed the other issues. Chris On Wed, Jan 19, 2011 at 5:43 PM, Bill Moran bill1mo...@gmail.com wrote: Hi Chris, Jeff Chris Malone chris.m.malone at gmail.com writes: Hi Bill,I would try upgrading to a newer version of =org-mode= - a lot of things have been improved since the writing of the version you have. By default, in the newer versions, the \maketitle command should be added to the beginning of your .tex file automatically. Upgrade and see if this fixes things.Chris Upgraded to the latest .deb version of org-mode - 7.4 - and that solved the title problem - but not the @ problem. Thanks Bill ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode at 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 ___ 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] [BEAMER] make text fit in a slide
Would it be possible with some trick to automatically make the font resize when the frame doesn't fit in the slide? Or maybe would that be possible otherwise to split the slide in two parts automatically? I always wondered how to do it but never really found out. And how do I in general could have a section of text in a smaller font? ___ 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 in babel eating my text
Hi all, I found a severe bug that actually eats my text, i.e. *destroys* my org-mode file. Or am I missing something here? Just try that: --8---cut here---start-8--- * Test Execute this once: #+BEGIN_src R :session test :results output silent :exports none devnull - library(tikzDevice) #+END_src Execute this twice or more... but be careful #+BEGIN_src R :session test :results output latex :exports results tikz(console=TRUE, width=4, height=4) plot(1:2,1:2) devnull - dev.off() #+END_src * Watch me die :-( --8---cut here---start-8--- Greetings, Andreas smime.p7s Description: S/MIME Cryptographic 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] Re: Embedded code
Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug r.m.k...@gmail.com writes: On 01/18/2011 12:48 AM, Eric Schulte wrote: Hi, This is possible using Babel, the attached org-mode file will execute its code block every time it is opened. You can replace the contents of the code block with any arbitrary elisp you would like to have executed in the file. To see this work, save the attached org-mode file to your system, open the file, answer y to allow execution, and then check your messages buffer for the I have been run message to see that the code block has in fact been evaluated. This is indeed very useful (e.g. if I open an R script, to open an R session and source the file). But it seems that all code blocks are evaluated on loading. Is there a way of only executing a specific code block? Yes, replace the # -*- eval: (org-babel-execute-buffer) -*- with # -*- eval: (save-excursion (org-babel-goto-named-src-block NAME) (org-babel-execute-src-block)) -*- I think `sbe' can be used here for a nice short version. E.g. # -*- eval: (sbe NAME) -*- or this at the end # Local variables: # eval:(sbe NAME) # End: where NAME is a double-quoted string. Dan where NAME is replaced with the name of the code block to execute. 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 ___ 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 in babel eating my text
Andreas Leha andreas.l...@med.uni-goettingen.de wrote: I found a severe bug that actually eats my text, i.e. *destroys* my org-mode file. Or am I missing something here? Just try that: * Test Execute this once: #+BEGIN_src R :session test :results output silent :exports none devnull - library(tikzDevice) #+END_src Execute this twice or more... but be careful #+BEGIN_src R :session test :results output latex :exports results tikz(console=TRUE, width=4, height=4) plot(1:2,1:2) devnull - dev.off() #+END_src * Watch me die :-( I can reproduce this: it seems to be eating one character each time it is executed at the end of the #+END_LaTeX. Here's a patch that seems to fix this problem - however, it is not based on any real understanding of the code, so take it with a grain of salt. Also, if this fix works, then it is likely that the other wrap cases will also need similar treatment: diff --git a/lisp/ob.el b/lisp/ob.el index 82625c0..2ce57ca 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1500,7 +1500,7 @@ code the results are extracted in the syntax of the source ((member html result-params) (wrap #+BEGIN_HTML\n #+END_HTML)) ((member latex result-params) - (wrap #+BEGIN_LaTeX\n #+END_LaTeX)) + (wrap #+BEGIN_LaTeX\n #+END_LaTeX\n)) ((member code result-params) (wrap (format #+BEGIN_SRC %s%s\n (or lang none) results-switches) #+END_SRC)) 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
[Orgmode] Re: [OT] Have you also got hooked by Vim?
Matt Lundin m...@imapmail.org writes: Marcelo de Moraes Serpa celose...@gmail.com writes: However, I've got hooked. Vim (in my case, MacVim) has conquered my hands. I know I'm risking myself a lot by saying it on an emacs-related mailing list, but the Vim navigation and the vim model in general is much more efficient for editing text. Empirical evidence? ;) FWIW, Org-mode has its own modal editing feature: org speed keys. This enables one to edit and reorganize the structure of org files with single keystrokes. So, how many of you here also use Vim? :) For quick editing (e.g., config files), I use vi(m). For anything else, I use emacs. Both are fantastic tools. Doesn't emacsclient make emacs just as quick for editing of random files encountered at the command line? If emacsclient is aliased to, say, 'e', and if the WM automatically shifts focus to the running emacs, then that should be pretty quick. Dan Best, 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 ___ 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?
Am Donnerstag, 20. Januar 2011, um 01:02:51 schrieb Dan Davison: Matt Lundin m...@imapmail.org writes: ... FWIW, Org-mode has its own modal editing feature: org speed keys. This enables one to edit and reorganize the structure of org files with single keystrokes. So, how many of you here also use Vim? :) For quick editing (e.g., config files), I use vi(m). For anything else, I use emacs. Both are fantastic tools. Doesn't emacsclient make emacs just as quick for editing of random files encountered at the command line? If emacsclient is aliased to, say, 'e', and if the WM automatically shifts focus to the running emacs, then that should be pretty quick. Can't believe I'm seeing this debate 30 yrs. after. :-DDD Martin ___ 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: Worg needs some reorganizing
Jason Dunsmore emacs-orgm...@dunsmor.com writes: Does anybody know why some pages have inline CSS? For example: ... I came across this when trying to figure out what was causing the different H1 styles (top page title). For example, compare: http://orgmode.org/worg/org-faq-nojs.html and http://orgmode.org/worg/org-configs/index.html I believe these pages have not been exported since we turned off the inline css publishing option; i.e., they have not been touched since that time, so the publishing mechanism does not export them. Best, 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
[Orgmode] Re: Worg needs some reorganizing
Eric Schulte schulte.e...@gmail.com writes: I just pushed up an edit to the Worg repository which should reset all of the defaults on the TOC of the org-faq-nojs.org page. If this works I vote we set this as the sole org-faq page. I agree. I went ahead and did the following: $ mv org-faq-nojs.org org-faq.org; rm org-faq-nojs.org So the new, flat FAQ is up and running. And, of course, all are welcome to suggest or contribute further refinements. Best, 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
[Orgmode] question about opening a file in .emacs
Hi all, I'd like to have aquamacs open org immediately when I start it. To do this, I've put the following line at the end of my .emacs (which is actually somewhere else in Aquamacs, but it doesn't matter): (switch-to-buffer-in-tab (find-file ~/Dropbox/org/root.org)) Now, this works. But when Aquamacs starts, it runs through something like a half-dozen redraws, resizes, and re-coloration of the Aquamacs window. I'm okay with it, cuz it works, but it's rather distracting to see this flurry of stuff happening every time I start Aquamacs. It might be something wrong with the code I use, or it might be an Aquamacs issue, or it might be a general emacs issue. Anyone got any ideas? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ 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] Have you also got hooked by Vim?
Dan Davison dandavis...@gmail.com writes: Matt Lundin m...@imapmail.org writes: So, how many of you here also use Vim? :) For quick editing (e.g., config files), I use vi(m). For anything else, I use emacs. Both are fantastic tools. Doesn't emacsclient make emacs just as quick for editing of random files encountered at the command line? If emacsclient is aliased to, say, 'e', and if the WM automatically shifts focus to the running emacs, then that should be pretty quick. Absolutely! I do something similar: alias emacs=emacsclient -t -a /usr/bin/emacs I imagine my preference for vim for quick editing is entirely idiosyncratic. Somehow it feels closer to the command line---easier to get in and out when I simply have to change one or two things in a file. That, and habit, and the ease of using it with sudo. (As an aside, finger memory is truly remarkable. I imagine others have the same experience, but somehow the hands magically sort out the keys for each editor without my having to think about it.) Best, 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: Worg needs some reorganizing
Matt Lundin m...@imapmail.org wrote: So the new, flat FAQ is up and running. And, of course, all are welcome to suggest or contribute further refinements. Blue (or purple or similar color) text on black background is unreadable - at least to my eyes. Thanks, 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] [BEAMER] make text fit in a slide
Hi Andrea, I'm not sure of the answers to your queries. These questions seem more Beamer related than org-mode. That said, you may have more luck asking on a TeX/LaTeX forum such as http://tex.stackexchange.com/ Sorry I couldn't be of more use :-/ Chris On Wed, Jan 19, 2011 at 5:51 PM, Andrea Crotti andrea.crott...@gmail.comwrote: Would it be possible with some trick to automatically make the font resize when the frame doesn't fit in the slide? Or maybe would that be possible otherwise to split the slide in two parts automatically? I always wondered how to do it but never really found out. And how do I in general could have a section of text in a smaller font? ___ 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] [BABEL] Tangling to a hierarchy of files?
A customization variable would be fantastic. Could it be done such that it could be applied (or not applied, according to taste) to a sub-tree of your Org file? That way you could have it disabled on whatever code you might be currently working on so you still see the error messages if you mistype. Then, when you're satisfied with all your tangle paths, you could flip the switch on that sub-tree and have Org do everything for you. This has now been added as a new :mkdirp code block header argument, so it can be set on the block, subtree, file, language, or global level (see http://orgmode.org/manual/Using-header-arguments.html). #+begin_src language :mkdirp yes :tangle nested/directories/target.ext code body #+end_src 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] Re: Worg needs some reorganizing
On Wed, Jan 19, 2011 at 9:24 PM, Matt Lundin m...@imapmail.org wrote: I believe these pages have not been exported since we turned off the inline css publishing option; i.e., they have not been touched since that time, so the publishing mechanism does not export them. Matt, I was going to grep through the repo and touch all the files that haven't changed since then. Obviously, that's not really possible since the org files don't contain this CSS. :-) Perhaps Jason could give us a list of the affected files? Something like grep -r 'CDATA' * in the Worg root might do the trick. Also, I was rather doomed to failure anyway. Touching a file doesn't change its contents, so git won't think anything has changed. (I know, it's a Duh) Maybe once we find the files, we could use a script add a whitespace character to the end of each org file and republish? -- 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] Re: [OT] Have you also got hooked by Vim?
On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote: alias emacs=emacsclient -t -a /usr/bin/emacs Matt, 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) (As an aside, finger memory is truly remarkable. I imagine others have the same experience, but somehow the hands magically sort out the keys for each editor without my having to think about it.) I wish I could say the same. It usually takes 15 keystrokes, a marred buffer, and a restart of vim before my fingers figure out they aren't in Kansas anymore... PS - This thread prompted me to look into `ed`. Normally, I'd resist learning yet-another-editor, but with such a short man page, who can resist? -- 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