Re: [Orgmode] columnview at startup
On Oct 1, 2009, at 2:58 PM, Philipp Schaefer wrote: Hello, I'm wondering whether it is possible to have an orgfile be viewed in column view when it is loaded into an emacs buffer. I've looked through the options of #+startup but couldn't find anything. No, there is no such option, and I would not recommend it. Why don't you assign this to a function key: (defun my-start-file-wide-coumn-view () (interactive) (goto-char (point-min)) (org-columns)) Another thing is, that for my files in which I use column view, when the buffer is in column view, the names of scheduled headlines in that buffer disappear in the agenda buffer (weekly view), but reapear, once the buffer has been switched to normal view again (each time I have to reload the agenda buffer of course, to see the change). I suppose that is a bug? I cannot reproduce this. - Carsten Best Regards, Philipp Schäfer ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Fix minor spelling typos
Applied, thanks. - Carsten On Oct 1, 2009, at 9:21 PM, Bernt Hansen wrote: --- lisp/org-agenda.el |2 +- lisp/org-clock.el |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index b7830d0..7c59b37 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1684,7 +1684,7 @@ M Like `m', but select only TODO entries, no ordinary headlines. L Create a timeline for the current buffer. e Export views to associated files. s Search entries for keywords. -/ Multi occur accros all agenda files and also files listed +/ Multi occur across all agenda files and also files listed in `org-agenda-text-search-extra-files'. Restrict agenda commands to buffer, subtree, or region. Press several times to get the desired effect. diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 0aba27a..455fc1c 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -183,7 +183,7 @@ current Only the time in the current instance of the clock todayAll time clocked inot this task today repeat All time clocked into this task since last repeat all All time ever recorded for this task -auto Automtically, either `all', or `repeat' for repeating tasks +auto Automatically, either `all', or `repeat' for repeating tasks :group 'org-clock :type '(choice (const :tag Current clock current) -- 1.6.5.rc1.19.g8426 ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: LaTeX export of images
On Sep 23, 2009, at 11:09 PM, Sébastien Vauban wrote: Jeff Kowalczyk wrote: Sébastien Vauban wxhgmqzgw...@... writes: Francesco Pizzolante wrote: In this case, we should just generate \includegraphics{myimage} without the centerline command. Given the output of the `\centerline' command, I guess that the inlining of an image inside a line of text is not supported as is by Org. I can second such a choice. +1 for default to inline graphics. When using Org for How-To and project documentation delivered as PDF, floating screenshot-size images typically situate far from the descriptive text. My point was mainly that, IMHO, floating or not should not be tied to the presence or absence of caption/label. I don't understand why not. Can you try to explain again? Thanks. - Carsten Your problem with screenshots far away should be solved by putting the H specifier to the float environment and loading the `float' package. Maybe we need a way to specify the figure placement argument in # +LaTeX_ATTR: Do we need to implement a way so that text can be made to flow around a figure, just as it is possible in HTML export? What would be the right LaTeX package to use for this purpose? Thanks. - Carsten I would prefer inline images by default (or option), and a file/ subtree level option to use LaTeX floating layout. That'd be a great way to be able to specify which type of inlining we want. On a per file basis seems sufficient for me. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: A simpler remember architecture
Hi, At Thu, 01 Oct 2009 14:41:39 -0400, Bernt Hansen wrote: C-u C-c C-x C-i i Perhaps, it's worth considering shorter and easier to remember keyboard shortcuts. Should clock in the interrupted task. Then I use org-clock-goto to get to it quickly (which is bound to F11 for me) Does this work in the remember buffer or after the remember buffer is finalized? Best regards, Jean-Marie ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile
Eric Schulte wrote: Hi Eric, I tried to recreate this problem but was unable to do so on my computer. To recreate I exported #+srcname: determine the neighbors of the segments that the bisector hits #+begin_src lua :tangle no :exports code local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 = table_find_segment(cell.neighbors, s1) local n2 = table_find_segment(cell.neighbors, s2) #+end_src with my personal Emacs configuration and I got the following in the resulting .tex file #+begin_example \lstset{language=lua} \begin{lstlisting} local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 = table_find_segment(cell.neighbors, s1) local n2 = table_find_segment(cell.neighbors, s2) \end{lstlisting} #+end_example Are you exporting to LaTeX or some intermediate org-based format? I am just using C-c C-e L to export. Should I be using an org-babel command? note that Org-babel shouldn't have any effect here as it currently doesn't recognize the lua language. Sorry, I should have been more clear about that. I have added the following to my setup. (org-babel-add-interpreter lua) (add-to-list 'org-babel-tangle-langs '(lua lua #!/usr/bin/env lua)) Sorry I can't be of more help. Maybe try with emacs -Q and incrementally add your personal configuration until the problem re-appears. Will do. Cheers, Chris ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Possibly a feature request - inline tasks without arrows?
Ah yes, I had only tested with tasks that do have a matching END line. Fixed, thanks. - Carsten P.S. yes, I removed the variable you mentioned - I think it was useless. On Oct 2, 2009, at 10:16 AM, Paul Mead wrote: Carsten example and backtrace attached (hopefully). Paul 2009/10/1 Carsten Dominik carsten.domi...@gmail.com: Hi Paul, can you make a backtrace and an example file, please? - Carsten On Oct 1, 2009, at 5:48 PM, Paul Mead wrote: Carsten Dominik carsten.domi...@gmail.com writes: Hi Paul, I am still waiting for a proposal how to format inline tasks. :-) - Carsten Carsten I've just downloaded the latest version from the git repo and this function's not working for me at all now. I tried to check the value of org-inlinetask-export but it doesn't appear to exist anymore. I tried to export the file I was working on before just in case it didin't matter, but got an error: org-inlinetask-export-handler: Wrong type argument: stringp, nil Is there something that I need to change for the latest version? Paul ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode backtrace.txtsrmtest.org ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] orgmode git: Org agenda todo list headers broken
Hi! Since I git pull'ed recently, my agenda todo list headings looks like this: - Global list of TODO items of type: DOING Available with `N r': (0)ALL (1)TODO (2)DOING (3)CANCELLED (4)DONE (5)REMINDER (6)TODO (7)DOING (8)CANCELLED (9)DONE (10)REMINDER (11)TODO (12)DOING (13)CANCELLED (14)DONE (15)REMINDER (16)TODO (17)DOING (18)CANCELLED (19)DONE (20)REMINDER (21)TODO (22)DOING (23)CANCELLED (24)DONE (25)REMINDER (26)TODO (27)DOING (28)CANCELLED (29)DONE (30)REMINDER (31)TODO (32)DOING (33)CANCELLED (34)DONE (35)REMINDER (36)TODO (37)DOING (38)CANCELLED (39)DONE (40)REMINDER (41)TODO (42)DOING (43)CANCELLED (44)DONE (45)REMINDER (46)TODO (47)DOING (48)CANCELLED (49)DONE (50)REMINDER (51)TODO (52)DOING (53)CANCELLED (54)DONE (55)REMINDER (56)TODO (57)DOING (58)CANCELLED (59)DONE (60)REMINDER (61)TODO (62)DOING (63)CANCELLED (64)DONE (65)REMINDER (66)TODO (67)DOING (68)CANCELLED (69)DONE (70)REMINDER (71)TODO (72)DOING (73)CANCELLED (74)DONE (75)REMINDER (76)TODO (77)DOING (78)CANCELLED (79)DONE (80)REMINDER (81)TODO (82)DOING (83)CANCELLED (84)DONE (85)REMINDER (86)TODO (87)DOING (88)CANCELLED (89)DONE (90)REMINDER (91)TODO (92)DOING (93)CANCELLED (94)DONE (95)REMINDER (96)TODO (97)DOING (98)CANCELLED (99)DONE (100)REMINDER (101)TODO (102)DOING (103)CANCELLED (104)DONE (105)REMINDER - It looks like I'm using release 6.31, at least I'm at the following commit: commit c11e0b44aeb0966c92ef50b695caf7af4670984c Author: Carsten Dominik carsten.domi...@gmail.com Date: Wed Sep 30 16:03:17 2009 +0200 Release 6.31 These are my org-todo-keywords: ((sequence TODO(t) DOING(d) | CANCELLED(c@) DONE(k@)) (sequence REMINDER(r) |)) Unfortunately I can't use org-submit-bug-report because it makes interesting (but outdated) assumptions about my Mail configuration, which I'm unwilling to fix at the moment. -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] orgmode git: Org agenda todo list headers broken
Wow, that is pretty interesting. How are you setting up your TODO keywords? Separately in each file with #+TODO, or what else. I don't really remember changing anything in the ares. Does anyone else see this??? - Carsten On Oct 2, 2009, at 10:44 AM, Friedrich Delgado Friedrichs wrote: Hi! Since I git pull'ed recently, my agenda todo list headings looks like this: - Global list of TODO items of type: DOING Available with `N r': (0)ALL (1)TODO (2)DOING (3)CANCELLED (4)DONE (5)REMINDER (6)TODO (7)DOING (8)CANCELLED (9)DONE (10)REMINDER (11)TODO (12)DOING (13)CANCELLED (14)DONE (15)REMINDER (16)TODO (17)DOING (18)CANCELLED (19)DONE (20)REMINDER (21)TODO (22)DOING (23)CANCELLED (24)DONE (25)REMINDER (26)TODO (27)DOING (28)CANCELLED (29)DONE (30)REMINDER (31)TODO (32)DOING (33)CANCELLED (34)DONE (35)REMINDER (36)TODO (37)DOING (38)CANCELLED (39)DONE (40)REMINDER (41)TODO (42)DOING (43)CANCELLED (44)DONE (45)REMINDER (46)TODO (47)DOING (48)CANCELLED (49)DONE (50)REMINDER (51)TODO (52)DOING (53)CANCELLED (54)DONE (55)REMINDER (56)TODO (57)DOING (58)CANCELLED (59)DONE (60)REMINDER (61)TODO (62)DOING (63)CANCELLED (64)DONE (65)REMINDER (66)TODO (67)DOING (68)CANCELLED (69)DONE (70)REMINDER (71)TODO (72)DOING (73)CANCELLED (74)DONE (75)REMINDER (76)TODO (77)DOING (78)CANCELLED (79)DONE (80)REMINDER (81)TODO (82)DOING (83)CANCELLED (84)DONE (85)REMINDER (86)TODO (87)DOING (88)CANCELLED (89)DONE (90)REMINDER (91)TODO (92)DOING (93)CANCELLED (94)DONE (95)REMINDER (96)TODO (97)DOING (98)CANCELLED (99)DONE (100)REMINDER (101)TODO (102)DOING (103)CANCELLED (104)DONE (105)REMINDER - It looks like I'm using release 6.31, at least I'm at the following commit: commit c11e0b44aeb0966c92ef50b695caf7af4670984c Author: Carsten Dominik carsten.domi...@gmail.com Date: Wed Sep 30 16:03:17 2009 +0200 Release 6.31 These are my org-todo-keywords: ((sequence TODO(t) DOING(d) | CANCELLED(c@) DONE(k@)) (sequence REMINDER(r) |)) Unfortunately I can't use org-submit-bug-report because it makes interesting (but outdated) assumptions about my Mail configuration, which I'm unwilling to fix at the moment. -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] orgmode git: Org agenda todo list headers broken
Carsten Dominik schrieb: Wow, that is pretty interesting. ;-) How are you setting up your TODO keywords? Separately in each file with #+TODO, or what else. Globally. Maybe you can git bisect to find the offending commit - then the fix should be easy. ---Zitatende--- Hm, git bisect is fun, I might do that later today or maybe starting next week. -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] orgmode git: Org agenda todo list headers broken
Working fine here. I am using #+TODO in files, plus a setting in .emacs. Ian. Carsten Dominik wrote: Wow, that is pretty interesting. How are you setting up your TODO keywords? Separately in each file with #+TODO, or what else. I don't really remember changing anything in the ares. Does anyone else see this??? - Carsten On Oct 2, 2009, at 10:44 AM, Friedrich Delgado Friedrichs wrote: Hi! Since I git pull'ed recently, my agenda todo list headings looks like this: - Global list of TODO items of type: DOING Available with `N r': (0)ALL (1)TODO (2)DOING (3)CANCELLED (4)DONE (5)REMINDER (6)TODO (7)DOING (8)CANCELLED (9)DONE (10)REMINDER (11)TODO (12)DOING (13)CANCELLED (14)DONE (15)REMINDER (16)TODO (17)DOING (18)CANCELLED (19)DONE (20)REMINDER (21)TODO ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Disable tag inheritance only for a specific subtree
On Oct 1, 2009, at 8:48 PM, Darlan Cavalcante Moreira wrote: Hello orgers, Is there a way (a property) to disable tag inheritance for a given subtree? The documentation only tells me how To limit tag inheritance to specific tags, or to turn it off entirely, but I'd like to disable only some tags (may be all of them if this is not possible) for the children of a specific section. I imagine something such as a property :DISABLEINHERITANCETAGS: tag1,tag2,etc added to the parent section. No, this is not implemented - Carsten -- Darlan Cavalcante Moreira darc...@gmail.com ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile
Hi, The problem was with my org-special-blocks contrib package. The attached patch fixes it. Sorry for the noise. Cheers, Chris commit 4d327b5f1e80ea0e493aa70d09c53042216a1390 Author: Chris Gray chrismg...@gmail.com Date: Fri Oct 2 11:31:21 2009 +0200 Added a variable to ignore some blocks. Modified contrib/lisp/org-special-blocks.el diff --git a/contrib/lisp/org-special-blocks.el b/contrib/lisp/org-special-blocks.el index b8ce4d5..af50b30 100644 --- a/contrib/lisp/org-special-blocks.el +++ b/contrib/lisp/org-special-blocks.el @@ -40,17 +40,23 @@ ;; user to add this class to his or her stylesheet if this div is to ;; mean anything. +(defvar org-special-blocks-ignore-regexp ^\\(LaTeX\\|HTML\\)$ + A regexp indicating the names of blocks that should be ignored +by org-special-blocks. These blocks will presumably be +interpreted by other mechanisms.) + (defun org-special-blocks-make-special-cookies () Adds special cookies when #+begin_foo and #+end_foo tokens are seen. This is run after a few special cases are taken care of. (when (or htmlp latexp) (goto-char (point-min)) (while (re-search-forward ^#\\+\\(begin\\|end\\)_\\(.*\\)$ nil t) - (replace-match - (if (equal (downcase (match-string 1)) begin) - (concat ORG- (match-string 2) -START) -(concat ORG- (match-string 2) -END)) - t t + (unless (string-match-p org-special-blocks-ignore-regexp (match-string 2)) + (replace-match +(if (equal (downcase (match-string 1)) begin) +(concat ORG- (match-string 2) -START) + (concat ORG- (match-string 2) -END)) +t t) (add-hook 'org-export-preprocess-after-blockquote-hook 'org-special-blocks-make-special-cookies) Chris Gray wrote: Eric Schulte wrote: Hi Eric, I tried to recreate this problem but was unable to do so on my computer. To recreate I exported #+srcname: determine the neighbors of the segments that the bisector hits #+begin_src lua :tangle no :exports code local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 = table_find_segment(cell.neighbors, s1) local n2 = table_find_segment(cell.neighbors, s2) #+end_src with my personal Emacs configuration and I got the following in the resulting .tex file #+begin_example \lstset{language=lua} \begin{lstlisting} local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 = table_find_segment(cell.neighbors, s1) local n2 = table_find_segment(cell.neighbors, s2) \end{lstlisting} #+end_example Are you exporting to LaTeX or some intermediate org-based format? I am just using C-c C-e L to export. Should I be using an org-babel command? note that Org-babel shouldn't have any effect here as it currently doesn't recognize the lua language. Sorry, I should have been more clear about that. I have added the following to my setup. (org-babel-add-interpreter lua) (add-to-list 'org-babel-tangle-langs '(lua lua #!/usr/bin/env lua)) Sorry I can't be of more help. Maybe try with emacs -Q and incrementally add your personal configuration until the problem re-appears. Will do. Cheers, Chris ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Possibly a feature request - inline tasks without arrows?
Carsten Dominik carsten.domi...@gmail.com writes: Ah yes, I had only tested with tasks that do have a matching END line. Fixed, thanks. - Carsten P.S. yes, I removed the variable you mentioned - I think it was useless. OK, that's fixed the export, thanks. The inline todos look fine now too, except for where there are two in a row. If you export to PDF the second one shows all the asterisks and the END tag is exported. I haven't tried any of the other export formats. If you still have my test file it exhibits this behaviour. I can resend if you need it. Thanks Paul ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile
Hi Chris, the error was on my side - I did not remove the backend-specific markers after selecting the content. This is now again done correctly, so your patch should not be needed. But maybe you want it in anyway, with an empty configuration variable? - Carsten On Oct 2, 2009, at 11:36 AM, Chris Gray wrote: Hi, The problem was with my org-special-blocks contrib package. The attached patch fixes it. Sorry for the noise. Cheers, Chris commit 4d327b5f1e80ea0e493aa70d09c53042216a1390 Author: Chris Gray chrismg...@gmail.com Date: Fri Oct 2 11:31:21 2009 +0200 Added a variable to ignore some blocks. Modified contrib/lisp/org-special-blocks.el diff --git a/contrib/lisp/org-special-blocks.el b/contrib/lisp/org- special-blocks.el index b8ce4d5..af50b30 100644 --- a/contrib/lisp/org-special-blocks.el +++ b/contrib/lisp/org-special-blocks.el @@ -40,17 +40,23 @@ ;; user to add this class to his or her stylesheet if this div is to ;; mean anything. +(defvar org-special-blocks-ignore-regexp ^\\(LaTeX\\|HTML\\)$ + A regexp indicating the names of blocks that should be ignored +by org-special-blocks. These blocks will presumably be +interpreted by other mechanisms.) + (defun org-special-blocks-make-special-cookies () Adds special cookies when #+begin_foo and #+end_foo tokens are seen. This is run after a few special cases are taken care of. (when (or htmlp latexp) (goto-char (point-min)) (while (re-search-forward ^#\\+\\(begin\\|end\\)_\\(.*\\)$ nil t) - (replace-match - (if (equal (downcase (match-string 1)) begin) - (concat ORG- (match-string 2) -START) -(concat ORG- (match-string 2) -END)) - t t + (unless (string-match-p org-special-blocks-ignore-regexp (match-string 2)) + (replace-match +(if (equal (downcase (match-string 1)) begin) +(concat ORG- (match-string 2) -START) + (concat ORG- (match-string 2) -END)) +t t) (add-hook 'org-export-preprocess-after-blockquote-hook 'org-special-blocks-make-special-cookies) Chris Gray wrote: Eric Schulte wrote: Hi Eric, I tried to recreate this problem but was unable to do so on my computer. To recreate I exported #+srcname: determine the neighbors of the segments that the bisector hits #+begin_src lua :tangle no :exports code local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 = table_find_segment(cell.neighbors, s1) local n2 = table_find_segment(cell.neighbors, s2) #+end_src with my personal Emacs configuration and I got the following in the resulting .tex file #+begin_example \lstset{language=lua} \begin{lstlisting} local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 = table_find_segment(cell.neighbors, s1) local n2 = table_find_segment(cell.neighbors, s2) \end{lstlisting} #+end_example Are you exporting to LaTeX or some intermediate org-based format? I am just using C-c C-e L to export. Should I be using an org-babel command? note that Org-babel shouldn't have any effect here as it currently doesn't recognize the lua language. Sorry, I should have been more clear about that. I have added the following to my setup. (org-babel-add-interpreter lua) (add-to-list 'org-babel-tangle-langs '(lua lua #!/usr/bin/env lua)) Sorry I can't be of more help. Maybe try with emacs -Q and incrementally add your personal configuration until the problem re-appears. Will do. Cheers, Chris ___ Emacs-orgmode mailing list Remember: 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 Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile
Carsten Dominik wrote: Hi Chris, the error was on my side - I did not remove the backend-specific markers after selecting the content. This is now again done correctly, so your patch should not be needed. But maybe you want it in anyway, with an empty configuration variable? Famous last words, but I don't see how it can hurt. :) Cheers, Chris - Carsten On Oct 2, 2009, at 11:36 AM, Chris Gray wrote: Hi, The problem was with my org-special-blocks contrib package. The attached patch fixes it. Sorry for the noise. Cheers, Chris commit 4d327b5f1e80ea0e493aa70d09c53042216a1390 Author: Chris Gray chrismg...@gmail.com Date: Fri Oct 2 11:31:21 2009 +0200 Added a variable to ignore some blocks. Modified contrib/lisp/org-special-blocks.el diff --git a/contrib/lisp/org-special-blocks.el b/contrib/lisp/org- special-blocks.el index b8ce4d5..af50b30 100644 --- a/contrib/lisp/org-special-blocks.el b/contrib/lisp/org-special-blocks.el @@ -40,17 +40,23 @@ ;; user to add this class to his or her stylesheet if this div is to ;; mean anything. (defvar org-special-blocks-ignore-regexp ^\\(LaTeX\\|HTML\\)$ A regexp indicating the names of blocks that should be ignored by org-special-blocks. These blocks will presumably be interpreted by other mechanisms.) (defun org-special-blocks-make-special-cookies () Adds special cookies when #+begin_foo and #+end_foo tokens are seen. This is run after a few special cases are taken care of. (when (or htmlp latexp) (goto-char (point-min)) (while (re-search-forward ^#\\+\\(begin\\|end\\)_\\(.*\\)$ nil t) - (replace-match - (if (equal (downcase (match-string 1)) begin) - (concat ORG- (match-string 2) -START) - (concat ORG- (match-string 2) -END)) - t t (unless (string-match-p org-special-blocks-ignore-regexp (match-string 2)) (replace-match (if (equal (downcase (match-string 1)) begin) (concat ORG- (match-string 2) -START) (concat ORG- (match-string 2) -END)) t t) (add-hook 'org-export-preprocess-after-blockquote-hook 'org-special-blocks-make-special-cookies) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] orgmode git: Org agenda todo list headers broken
At Fri, 2 Oct 2009 12:08:07 +0200, Friedrich Delgado Friedrichs wrote: The problem was that I wanted to add appointments for the day automatically, so I added (add-hook 'org-agenda-mode-hook 'org-agenda-to-appt) to my org config very recently. Probably that was the wrong way to do this. I think I found this on the mailing list. I use: --8---cut here---start-8--- (when window-system (setq appt-display-format 'window) ;; ... (other stuff deleted) ;; Run once, activate and schedule refresh (run-at-time nil 3600 'org-agenda-to-appt) (appt-activate t)) (setq appt-time-msg-list nil) (org-agenda-to-appt) (defadvice org-agenda-redo (after org-agenda-redo-add-appts) Pressing `r' on the agenda will also add appointments. (progn (setq appt-time-msg-list nil) (org-agenda-to-appt))) (ad-activate 'org-agenda-redo) --8---cut here---end---8--- in my .emacs (or equivalent). The appointment list is set initially when starting emacs, automatically updated every hour and also whenever you update the agenda (r). Works perfectly for me. HTH! eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode for budgeting/expense recording
At Thu, 1 Oct 2009 12:43:25 -0500, Russell Adams wrote: On Thu, Oct 01, 2009 at 12:13:56PM -0400, Raffi R wrote: I was wondering if anyone has any experience using orgmode for budgeting and (more particularly) keeping track of daily and day-to-day expenses, and would be interested in describing their workflow. I use John Wiegley's Ledger: http://wiki.github.com/jwiegley/ledger Good luck! As do I and highly recommended indeed! It would be interesting to see a org-babel interface to ledger... what ledger is missing, in the context of emacs, is an easy way to see the actual output of the ledger command (e.g. bal or reg) while looking at the ledger file. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Possibly a feature request - inline tasks without arrows?
On Oct 2, 2009, at 11:47 AM, Paul Mead wrote: Carsten Dominik carsten.domi...@gmail.com writes: Ah yes, I had only tested with tasks that do have a matching END line. Fixed, thanks. - Carsten P.S. yes, I removed the variable you mentioned - I think it was useless. OK, that's fixed the export, thanks. The inline todos look fine now too, except for where there are two in a row. If you export to PDF the second one shows all the asterisks and the END tag is exported. I haven't tried any of the other export formats. If you still have my test file it exhibits this behaviour. I can resend if you need it. Please try again, should be better now - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile
I have applied the patch, thanks. - Carsten On Oct 2, 2009, at 12:45 PM, Chris Gray wrote: Carsten Dominik wrote: Hi Chris, the error was on my side - I did not remove the backend-specific markers after selecting the content. This is now again done correctly, so your patch should not be needed. But maybe you want it in anyway, with an empty configuration variable? Famous last words, but I don't see how it can hurt. :) Cheers, Chris - Carsten On Oct 2, 2009, at 11:36 AM, Chris Gray wrote: Hi, The problem was with my org-special-blocks contrib package. The attached patch fixes it. Sorry for the noise. Cheers, Chris commit 4d327b5f1e80ea0e493aa70d09c53042216a1390 Author: Chris Gray chrismg...@gmail.com Date: Fri Oct 2 11:31:21 2009 +0200 Added a variable to ignore some blocks. Modified contrib/lisp/org-special-blocks.el diff --git a/contrib/lisp/org-special-blocks.el b/contrib/lisp/org- special-blocks.el index b8ce4d5..af50b30 100644 --- a/contrib/lisp/org-special-blocks.el b/contrib/lisp/org-special-blocks.el @@ -40,17 +40,23 @@ ;; user to add this class to his or her stylesheet if this div is to ;; mean anything. (defvar org-special-blocks-ignore-regexp ^\\(LaTeX\\|HTML\\)$ A regexp indicating the names of blocks that should be ignored by org-special-blocks. These blocks will presumably be interpreted by other mechanisms.) (defun org-special-blocks-make-special-cookies () Adds special cookies when #+begin_foo and #+end_foo tokens are seen. This is run after a few special cases are taken care of. (when (or htmlp latexp) (goto-char (point-min)) (while (re-search-forward ^#\\+\\(begin\\|end\\)_\\(.*\\)$ nil t) - (replace-match - (if (equal (downcase (match-string 1)) begin) - (concat ORG- (match-string 2) -START) -(concat ORG- (match-string 2) -END)) - t t (unless (string-match-p org-special-blocks-ignore-regexp (match-string 2)) (replace-match (if (equal (downcase (match-string 1)) begin) (concat ORG- (match-string 2) -START) (concat ORG- (match-string 2) -END)) t t) (add-hook 'org-export-preprocess-after-blockquote-hook 'org-special-blocks-make-special-cookies) ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: LaTeX export of images
At Fri, 2 Oct 2009 08:55:22 +0200, Carsten Dominik wrote: On Sep 23, 2009, at 11:09 PM, Sébastien Vauban wrote: Jeff Kowalczyk wrote: Sébastien Vauban wxhgmqzgw...@... writes: Francesco Pizzolante wrote: In this case, we should just generate \includegraphics{myimage} without the centerline command. Given the output of the `\centerline' command, I guess that the inlining of an image inside a line of text is not supported as is by Org. I can second such a choice. +1 for default to inline graphics. When using Org for How-To and project documentation delivered as PDF, floating screenshot-size images typically situate far from the descriptive text. My point was mainly that, IMHO, floating or not should not be tied to the presence or absence of caption/label. I don't understand why not. Can you try to explain again? Thanks. - Carsten Your problem with screenshots far away should be solved by putting the H specifier to the float environment and loading the `float' package. Maybe we need a way to specify the figure placement argument in # +LaTeX_ATTR: Do we need to implement a way so that text can be made to flow around a figure, just as it is possible in HTML export? What would be the right LaTeX package to use for this purpose? Thanks. - Carsten I would prefer inline images by default (or option), and a file/ subtree level option to use LaTeX floating layout. That'd be a great way to be able to specify which type of inlining we want. On a per file basis seems sufficient for me. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode The Latex wikibook http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Wrapping_text_around_figures suggests the wrapfigure package, but it also warns that some manual adjustments is often required. Therefore, if this is implemented in the latex exporter it is probably a good idea to provide options to include latex commands that will be put before and after the \includegraphics command. See the example in the section Tip for figures with too much white space of the wikibook where some \vspace were used to adjust white space around the figure. -- Darlan Cavalcante Moreira darc...@gmail.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode for budgeting/expense recording
At Fri, 02 Oct 2009 11:55:22 +0100, Eric S Fraga wrote: It would be interesting to see a org-babel interface to ledger... what ledger is missing, in the context of emacs, is an easy way to see the actual output of the ledger command (e.g. bal or reg) while looking at the ledger file. okay, interesting enough that I've done a first attempt (good enough for what I need but probably incredibly clumsy elisp code as I'm really not an elisp programmer...). Attached is org-babel-ledger.el which works with this simple example ledger: --8---cut here---start-8--- #+begin_src ledger :results output :cmdline -s bal 2009/09/30 salary account:bank £2000.00 income:salary 2009/10/01 rent payee:landlord £ 500.00 account:bank #+end_src ledger --8---cut here---end---8--- If you change -s bal to reg you get a register output, for instance. I have no idea what happens if you try some of the esoteric ledger commands but I only tend to use bal and reg with various arguments... Works on Debian linux with emacs 23 and most recent org and org-babel. The definitely clumsy code is in extracting the output of the ledger command so any input would be more than welcome! Oh, use by (require 'org-babel-ledger) as per the other languages... Thanks, eric org-babel-ledger.el Description: Binary data ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] orgmode git: Org agenda todo list headers broken
Hi! Eric S Fraga schrieb: I use: [...] in my .emacs (or equivalent). The appointment list is set initially when starting emacs, automatically updated every hour and also whenever you update the agenda (r). Works perfectly for me. HTH! ---Zitatende--- Yes works perfectly and fixes the problem, thanks! -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] pstricks in org-mode?
Remember that because pstricks use postscript commands it is necessary to take the long route in latex (latex-DVI-PS-PDF) instead of just using pdflatex. Therefore, if you put some pstricks code in the org-file and export to PDF to see the result then this is the reason, since the exporter seems to use pdflatex to process the generated .tex file (I'm assuming this, since I don't see any DVI or PS file created by the exporter). Best, Darlan At Fri, 2 Oct 2009 14:52:33 +0200, Johan Ekh wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; ISO-8859-1 (7bit)] It seems that I can use any latex package that I want except for the pstricks ones. No picture is produced. No error message either. I load the same packages and use the same pstricks code that I have in a regular latex document (on the same computer) and it works in that document. Any ideas? //Johan On Thu, Oct 1, 2009 at 10:46 PM, Johan Ekh ekh.jo...@gmail.com wrote: Thanks, I'll try it! /Johan On Thu, Oct 1, 2009 at 1:55 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 1, 2009, at 12:30 AM, Johan Ekh wrote: Hi all, I'm using org-mode to write LaTeX snippets that I later (usually) transfer into a separate latex document. Can I also write and preview pstricks code in org-mode? Also, can I do usepackage(xxx) someway do use LaTeX extensions? #+LaTeX_HEADER: \usepackage{pstricks} or something along those lines. HTH - Carsten [1.2 text/html; ISO-8859-1 (quoted-printable)] [2 text/plain; us-ascii (7bit)] ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: A simpler remember architecture
Jean-Marie Gaillourdet j...@gaillourdet.net writes: Hi, At Thu, 01 Oct 2009 14:41:39 -0400, Bernt Hansen wrote: C-u C-c C-x C-i i Perhaps, it's worth considering shorter and easier to remember keyboard shortcuts. Should clock in the interrupted task. Then I use org-clock-goto to get to it quickly (which is bound to F11 for me) Does this work in the remember buffer or after the remember buffer is finalized? Try it. Yes it works fine. Don't forget to save your remember buffer before you start a new one though. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode for budgeting/expense recording
On Fri, Oct 02, 2009 at 11:55:22AM +0100, Eric S Fraga wrote: what ledger is missing, in the context of emacs, is an easy way to see the actual output of the ledger command (e.g. bal or reg) while looking at the ledger file. I use the watch command in another window, its a very useful combination. ie: watch ledger -sEV bal Enjoy. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode for budgeting/expense recording
At Fri, 2 Oct 2009 09:08:07 -0500, Russell Adams wrote: On Fri, Oct 02, 2009 at 11:55:22AM +0100, Eric S Fraga wrote: what ledger is missing, in the context of emacs, is an easy way to see the actual output of the ledger command (e.g. bal or reg) while looking at the ledger file. I use the watch command in another window, its a very useful combination. ie: watch ledger -sEV bal Yes, that would work although I don't need to watch my ledger that often! Maybe if I were into day trading... but that requires actual funds, not to mention a strong constitution these days ;-) More importantly, it means looking somewhere else other than my org file. Nothing exists outside org-mode these days!! When I turn on my computer, it immediately starts ratpoison with emacs as the sole application and my agenda immediately in view filling the whole monitor... Thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Orgmode for budgeting/expense recording
Eric S Fraga ucec...@ucl.ac.uk writes: As do I and highly recommended indeed! It would be interesting to see a org-babel interface to ledger... what ledger is missing, in the context of emacs, is an easy way to see the actual output of the ledger command (e.g. bal or reg) while looking at the ledger file. Do you use ledger.el, which comes with the ledger source? It makes it very easy to enter new items and to invoke ledger commands from within a ledger file. I also find it indispensable for reconciling accounts. Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] pstricks in org-mode?
But is pdflatex also used for rendering the previews in emacs? The most convenient thing for me would be to see the preview while I am developing the picture and then as a last step export it to my latex document. Do you this is possible somehow? Best regards, Johan On Fri, Oct 2, 2009 at 3:28 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: Remember that because pstricks use postscript commands it is necessary to take the long route in latex (latex-DVI-PS-PDF) instead of just using pdflatex. Therefore, if you put some pstricks code in the org-file and export to PDF to see the result then this is the reason, since the exporter seems to use pdflatex to process the generated .tex file (I'm assuming this, since I don't see any DVI or PS file created by the exporter). Best, Darlan At Fri, 2 Oct 2009 14:52:33 +0200, Johan Ekh wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; ISO-8859-1 (7bit)] It seems that I can use any latex package that I want except for the pstricks ones. No picture is produced. No error message either. I load the same packages and use the same pstricks code that I have in a regular latex document (on the same computer) and it works in that document. Any ideas? //Johan On Thu, Oct 1, 2009 at 10:46 PM, Johan Ekh ekh.jo...@gmail.com wrote: Thanks, I'll try it! /Johan On Thu, Oct 1, 2009 at 1:55 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 1, 2009, at 12:30 AM, Johan Ekh wrote: Hi all, I'm using org-mode to write LaTeX snippets that I later (usually) transfer into a separate latex document. Can I also write and preview pstricks code in org-mode? Also, can I do usepackage(xxx) someway do use LaTeX extensions? #+LaTeX_HEADER: \usepackage{pstricks} or something along those lines. HTH - Carsten [1.2 text/html; ISO-8859-1 (quoted-printable)] [2 text/plain; us-ascii (7bit)] ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Orgmode for budgeting/expense recording
At Fri, 02 Oct 2009 10:52:37 -0400, Matt Lundin wrote: Do you use ledger.el, which comes with the ledger source? It makes it very easy to enter new items and to invoke ledger commands from within a ledger file. I also find it indispensable for reconciling accounts. Thanks Matt. I do use the ledger mode (of course ;-) and it helps for adding and reconciling. It's the viewing of balances and the register for specific accounts that I find is missing (i.e. just 'reg' and 'bal' commands on the command line). It would be nice if, for instance, a small window could show a subset of the output of ledger, updated with any change made to the ledger. It can obviously be done by executing a shell command within emacs, of course (cf. the watch command already suggested!). But the integration with org-mode via org-babel is so seductive... and nothing is lost in terms of ledger.el in that it can still be used to edit the source code block? Thanks again, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile
Chris Gray chrismg...@gmail.com writes: Eric Schulte wrote: with my personal Emacs configuration and I got the following in the resulting .tex file #+begin_example \lstset{language=lua} \begin{lstlisting} local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 = table_find_segment(cell.neighbors, s1) local n2 = table_find_segment(cell.neighbors, s2) \end{lstlisting} #+end_example Are you exporting to LaTeX or some intermediate org-based format? I am just using C-c C-e L to export. Should I be using an org-babel command? This looks to be resolved, but for completeness the way that I export using the listing package above is the following configuration --8---cut here---start-8--- ;; tell org to use listings (setq org-export-latex-listings t) ;; you must include the listings package (add-to-list 'org-export-latex-packages-alist '( listings)) ;; if you want colored source code then you need to include the color package (add-to-list 'org-export-latex-packages-alist '( color)) --8---cut here---end---8--- Cheers -- Eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Orgmode for budgeting/expense recording
Eric S Fraga ucec...@ucl.ac.uk writes: At Fri, 02 Oct 2009 10:52:37 -0400, Matt Lundin wrote: Do you use ledger.el, which comes with the ledger source? It makes it very easy to enter new items and to invoke ledger commands from within a ledger file. I also find it indispensable for reconciling accounts. Thanks Matt. I do use the ledger mode (of course ;-) and it helps for adding and reconciling. It's the viewing of balances and the register for specific accounts that I find is missing (i.e. just 'reg' and 'bal' commands on the command line). This is OT for the org-mode list, but I believe you can call ledger-report (C-c C-o C-r) with a prefix argument, which will allow you to enter a more complex ledger command. Or you can type C-c C-o C-r and then RET for the same thing. Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: LaTeX export of images
Darlan Cavalcante Moreira darc...@gmail.com wrote: At Fri, 2 Oct 2009 08:55:22 +0200, Carsten Dominik wrote: Do we need to implement a way so that text can be made to flow around a figure, just as it is possible in HTML export? What would be the right LaTeX package to use for this purpose? The Latex wikibook http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Wrapping_text_around_figures suggests the wrapfigure package, but it also warns that some manual adjustments is often required. Therefore, if this is implemented in the latex exporter it is probably a good idea to provide options to include latex commands that will be put before and after the \includegraphics command. See the example in the section Tip for figures with too much white space of the wikibook where some \vspace were used to adjust white space around the figure. ... and the TeX FAQ seems to agree that wrapfig is probably the best option: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=textflow It also mentions some additional limitations. Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode for budgeting/expense recording
On Fri, Oct 02, 2009 at 03:25:21PM +0100, Eric S Fraga wrote: At Fri, 2 Oct 2009 09:08:07 -0500, Russell Adams wrote: On Fri, Oct 02, 2009 at 11:55:22AM +0100, Eric S Fraga wrote: what ledger is missing, in the context of emacs, is an easy way to see the actual output of the ledger command (e.g. bal or reg) while looking at the ledger file. I use the watch command in another window, its a very useful combination. ie: watch ledger -sEV bal Yes, that would work although I don't need to watch my ledger that often! Maybe if I were into day trading... but that requires actual funds, not to mention a strong constitution these days ;-) Often? Only while matching changes or reconciling. My WM makes it easy to swap around windows so I'll let one or two reports (bal rec) running split screen and emacs full screen on another desktop. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] LaTeX export bug (skipping outline levels)
Carsten Dominik carsten.domi...@gmail.com writes: yes, the LaTeX exporter is picky about correct outline structure. I am not sure if this can be changed without breaking something. Bastien, can you see this? Now I can see (my @gnu.org email was down for two days.) But I don't see any straightforward way to fix it, sorry. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: A simpler remember architecture
Jean-Marie Gaillourdet wrote: At Thu, 01 Oct 2009 14:41:39 -0400, Bernt Hansen wrote: C-u C-c C-x C-i i Perhaps, it's worth considering shorter and easier to remember keyboard shortcuts. It is actually not quite as bad is it sounds. - C-u is the generic do it differently prefix - C-c C-x C-i is the usual start the clock in org. Unfortunately org has so many commands, that it is probably hard to find a two key sequence. At that point a menu pops up, and you choose i. d ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] newline at start of buffer
In a completely empty buffer, org-insert-heading inserts a newline before the first heading. However, if there is (e.g.) a single space character in the buffer (after point), the heading goes on the first line. I admit it's trivial, but that doesn't seem right -- there presumably isn't a reason for the newline in the first case and not in the second, right? (My preference would be no automatic blank line.) Dan diff --git a/lisp/org.el b/lisp/org.el index 73ef6c5..4883a2f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5754,7 +5754,7 @@ current headline. If point is not at the beginning, do not split the line, but create the new headline after the current line. (interactive P) (if (= (buffer-size) 0) - (insert \n* ) + (insert * ) (when (or force-heading (not (org-insert-item))) (let* ((empty-line-p nil) (head (save-excursion ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] pstricks in org-mode?
From the documentation it seems that org-mode uses dvipng. [[info:org:LaTeX%20fragments][info:org:LaTeX fragments]] But I don't know how it behaves with pstricks. I usually create the graphics in a separated file when I'm working with latex. It's a complete latex file with the necessary preamble that will be later turned into comments when I'm finished and want to actually include the graphic in my document. (using \input{graphic.tex}) When I'm working on it, Emacs occupies half of my screen (or more) and evince occupies the other half. Whenever I compile the document (using pdflatex since I use tikz to draw graphics) the pdf is automatically reloaded by evince. Since I don't rely on the preview-latex for developing the graphics I don't know if it works with tikz. I guess I'll give it a try. ... I tried with the simple example , | \begin{tikzpicture} | \draw (0,0) -- (1,1); | \end{tikzpicture} ` and it does not work. Only a little square is show in the Emacs buffer. Well, this is expected since the package tikz is not included in the temporary .tex file (and neither is pstricks as I could see). After included the usepackage{tikz} in org-format-latex-header the preview is created. However nothing is show, since the graphic generated by tikz (and pstricks) is not present at the DVI stage. This seems to be a limitation of dvipng and not org-mode. Darlan At Fri, 2 Oct 2009 16:53:54 +0200, Johan Ekh wrote: [1.1 text/plain; ISO-8859-1 (7bit)] But is pdflatex also used for rendering the previews in emacs? The most convenient thing for me would be to see the preview while I am developing the picture and then as a last step export it to my latex document. Do you this is possible somehow? Best regards, Johan On Fri, Oct 2, 2009 at 3:28 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: Remember that because pstricks use postscript commands it is necessary to take the long route in latex (latex-DVI-PS-PDF) instead of just using pdflatex. Therefore, if you put some pstricks code in the org-file and export to PDF to see the result then this is the reason, since the exporter seems to use pdflatex to process the generated .tex file (I'm assuming this, since I don't see any DVI or PS file created by the exporter). Best, Darlan At Fri, 2 Oct 2009 14:52:33 +0200, Johan Ekh wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; ISO-8859-1 (7bit)] It seems that I can use any latex package that I want except for the pstricks ones. No picture is produced. No error message either. I load the same packages and use the same pstricks code that I have in a regular latex document (on the same computer) and it works in that document. Any ideas? //Johan On Thu, Oct 1, 2009 at 10:46 PM, Johan Ekh ekh.jo...@gmail.com wrote: Thanks, I'll try it! /Johan On Thu, Oct 1, 2009 at 1:55 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 1, 2009, at 12:30 AM, Johan Ekh wrote: Hi all, I'm using org-mode to write LaTeX snippets that I later (usually) transfer into a separate latex document. Can I also write and preview pstricks code in org-mode? Also, can I do usepackage(xxx) someway do use LaTeX extensions? #+LaTeX_HEADER: \usepackage{pstricks} or something along those lines. HTH - Carsten [1.2 text/html; ISO-8859-1 (quoted-printable)] [2 text/plain; us-ascii (7bit)] ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode [1.2 text/html; ISO-8859-1 (quoted-printable)] ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode