Re: [Orgmode] Bug: Incorrect escaping of braces on LaTeX export [6.33trans (release_6.33f.122.g7062a.dirty)]
Hi Mark, On Dec 18, 2009, at 12:16 AM, Mark Elston wrote: Carsten, Notice the title line in the generated latex code. It looks like: \title{ABC Class Notes\} ^^ Ah, yes, it was actually in your first email, only further down that I expected. Sorry about this. This problem is now fixed. - Carsten The closing brace is escaped. Mark Carsten Dominik wrote: Hi Mark, what is the error you are getting? - Carsten On Dec 17, 2009, at 1:05 AM, Mark Elston wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. While attempting to generate some notes for a class I give I ran into an error in the generated latex file. I use memoir for my notes since this package gives me the particular formatting I like without any hassle so I created an org-export-latex-class to make use of it. Since my boilerplate for my notes includes a number of lines after the \begin{document} line I have added these to #+TEXT entries in the org file. I use the memoir titlingpage facility as it gives me the control and look I want without a lot of code. However, this causes a problem with org export since the \maketitle line must be inside a titlingpage environment. To accomplish this I have set the #+TITLE: directive to an empty value and put the entire titlingpage environment (3 lines) in #+TEXT lines. I have included a simple ErrorSample latex class in my configuration which demonstrates the problem without as much being generated. A sample org file looks like this: --- #+TITLE: #+OPTIONS: toc:nil #+LaTeX_CLASS: ErrorSample #+TEXT: \title{ABC Class Notes} #+TEXT: \begin{titlingpage} #+TEXT: \maketitle #+TEXT: \end{titlingpage} #+TEXT: \maxtocdepth{subsection} #+TEXT: \pagenumbering{roman} #+TEXT: \cleartooddpage #+TEXT: \tableofcontents #+TEXT: \cleartooddpage #+TEXT: \chapterstyle{companion} #+TEXT: \pagestyle{companion} #+TEXT: \aliaspagestyle{part}{companion} #+TEXT: \aliaspagestyle{chapter}{headings} #+TEXT: \aliaspagestyle{cleared}{companion} #+TEXT: \include{Preface} #+TEXT: \pagenumbering{arabic} * Simple First Heading Some text. * Simple Second Heading Other text. --- The generated tex file is shown next. Notice the escaped closing brace on the \title{} instruction: --- % Created 2009-12-16 Wed 15:54 \documentclass[letter,twoside,openright]{memoir} \usepackage{varioref} \usepackage{shorttoc} \usepackage{color} \usepackage{graphicx} \usepackage{bbding} \setlength{\parindent}{0pt} \setlength{\parskip}{1ex} \title{} \author{Mark Elston} \date{16 December 2009} \begin{document} \title{ABC Class Notes\} \begin{titlingpage} \maketitle \end{titlingpage} \maxtocdepth{subsection} \pagenumbering{roman} \cleartooddpage \tableofcontents \cleartooddpage \chapterstyle{companion} \pagestyle{companion} \aliaspagestyle{part}{companion} \aliaspagestyle{chapter}{headings} \aliaspagestyle{cleared}{companion} \include{Preface} \pagenumbering{arabic} \chapter{Simple First Heading} \label{sec-1} Some text. \chapter{Simple Second Heading} \label{sec-2} Other text. \end{document} --- Emacs : GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) of 2009-07-29 on SOFT-MJASON Package: Org-mode version 6.33trans (release_6.33f.122.g7062a.dirty) current state: == (setq org-log-done 'time org-export-latex-after-initial-vars-hook '(org-beamer-after- initial-vars) org-agenda-custom-commands '((S Schedule for the week ((agenda ) (todo TODO org-agenda-files '(~/org) org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or- parent org-block-todo-from-checkboxes) org-list-demote-modify-bullet '((- . +) (+ . -)) org-fontify-whole-heading-line t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-interpreters '(R asymptote dot ditaa python sh emacs-lisp) org-export-latex-format-toc-function 'org-export-latex-format-toc- default org-protocol-protocol-alist '((Fireforg get bibtex entry: fireforg-bibtex-entry://bibtex entry (encoded) :protocol fireforg-bibtex-entry :function org-fireforg-receive-bibtex-entry) (Fireforg show annotation: fireforg- show-annotation://file (encoded)/header (encoded) :protocol fireforg-show-annotation :function org-fireforg-show-annotation) ) org-agenda-skip-scheduled-if-done
[Orgmode] Re: [babel] Tiny problems
Hi Eric, Eric Schulte wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: In fact, a better specification is: copy whatever (any character) is in front of `code here' in front of every line of the referenced block (same amount of characters, be it spaces or something else). That way, a commented SQL source block like the following would be correctly outputted: -- -- set flag -- UPDATE dossier -- SET DossierSentToSector = @now -- WHERE ID -- IN (SELECT actID_fk -- FROM actions -- WHERE (actID = 338 AND actEtat = 3)) -- AND F1SignDate @firstDayOfThisMonth -- AND DossierSentToSector IS NULL -- AND -- ConditionForSector Currently, the first line of the condition block is commented, the others not, resulting in incorrect code being tangled. With the above spec, I guess all cases are covered. What do you think? I like it a lot, I'll add this to the TODO. Thanks -- Eric I just pushed up a commit which should implement your idea mentioned below. Please try it out and let me know if it doesn't work as expected. Simply perfect! The only impact is that we cannot expect a multi-line block to be correctly exported in the following case: --8---cut here---start-8--- -- set flag UPDATE dossier SET DossierSentToSector = @now WHERE ID IN (SELECT actID_fk FROM actions WHERE (actID = 338 AND actEtat = 3)) AND F1SignDate @firstDayOfThisMonth AND DossierSentToSector IS NULL AND ConditionForSector --8---cut here---end---8--- Because `AND' would be copied in front of every line, which may not be OK. But, for me, that's both perfectly comprehensible and perfectly acceptable. Would the source block be mono-line, the above must perfectly work. Do we agree on this? Thank you very much, anyway, for this very nice fix, which fixes the above problem of commented block, and the indentation one... 2 flies with 1 stone. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] Idiomatic handling of quotes
Hi Thomas, In the example below, note that the R representation of the directory listing escapes the quotes in the original and encloses it all in a second set of quotes, e.g. \theta-1.csv\. This must come up a lot. Is there an idiomatic way to change \theta-1.csv\ to theta-1.csv so that it could be assigned to x and the following statement would yield a valid path? afile - paste(r/,x,sep=) I'm aware the answer might be R code, but it is to tightly tied to org- babel I figure it makes sense to ask the question here. I already sent an email related to double quotes in result tables. See the email hereunder. In order to get a result table without the double quotes for all texts, I use the patch enclosed in my email and add the :results noquotes header parameter. In your example, I would get the following result: --8---cut here---start-8--- #+srcname: thetas() #+begin_src shell :results noquotes cd r ls theta* #+end_src #+results: thetas | theta-1.csv | | theta-2.csv | --8---cut here---end---8--- Is this what you need? Here's the email I sent a few days ago. It contains the patch I use to remove the double quotes when I need it: - From: Francesco Pizzolante f...@missioncriticalit.com Subject: [Orgmode] [babel] double quotes in tables To: mailing-list-org-mode emacs-orgmode@gnu.org Date: Mon, 14 Dec 2009 17:18:30 +0100 Hi, Often, I find useful that babel could generate result tables without the double quotes () enclosing all the text values in the cells. In order to do that, I added a 'noquotes` option to the :results header argument. Here's my patch. As I'm not an elisp expert, please tell me if there's a better/safer way to do that or maybe that it already exists an option to do that... --8---cut here---start-8--- diff --git a/contrib/babel/lisp/org-babel.el b/contrib/babel/lisp/org-babel.el index 4c9bff5..13c8237 100644 --- a/contrib/babel/lisp/org-babel.el +++ b/contrib/babel/lisp/org-babel.el @@ -706,6 +706,9 @@ code the results are extracted in the syntax of the source code of the language being evaluated and are added inside of a #+BEGIN_SRC block with the source-code language set appropriately. + (setq outputformat %S) + (if (member noquotes result-params) + (setq outputformat %s)) (if (stringp result) (progn (setq result (org-babel-clean-text-properties result)) @@ -739,7 +742,7 @@ code the results are extracted in the syntax of the source (if (and (listp (car result)) (listp (cdr (car result result (list result)) -'(:fmt (lambda (cell) (format %S cell \n)) +'(:fmt (lambda (cell) (format outputformat cell \n)) (forward-line -1) (org-cycle)) ((member file result-params) (insert result)) @@ -827,7 +830,8 @@ parameters when merging lists. (let ((results-exclusive-groups '((file vector table scalar raw org html latex code pp) (replace silent) - (output value))) + (output value) + (noquotes))) (exports-exclusive-groups '((code results both none))) params results exports tangle cache vars var ref) --8---cut here---end---8--- Thanks, Francesco - Regards, Francesco ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug: Emacs opens a new instance for each file in agenda list on org-mobile-push
On 17/12/2009 19:18, Carsten Dominik wrote: Hi Steve, I have no idea why this might be happening. I know that AquaEmacs on the Mac has a default setting that will visit any new files in a new frame - maybe you Windows Emacs has a similar setting. But I don't know how to help you find it. Thank you, I appreciate the quick answer very much. I can't find any setting that may change this either. I've minimised the number of org files that I use so it's tolerable for now. If I manage to resolve this I'll come back to this thread and let you know ;-) In the meantime can I wish you all a very Merry Christmas and the very best of New Years. Steve ___ 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] Organizing a students live
Hello, I came to org-mode through the Tutorial of John Wiegley[1] and I'm loving it! A great thanks to all of you who are working on this awesome piece of code. Actually I'm trying to integrate all my university stuff into my org-files and I'm a bit stuck. All my university stuff means: there is a certain date when a semester starts and another one when it ends. During that time I have to go to a couple of classes which usually have homeworks related to them. In addition there are vacations (hooray!) and holidays. At the end of a semester some examens and theses need to be written. How would you guys express all this in an org-file? I solved the start, end and vacation thing like this: ** APPT segundo cuatrimestre SCHEDULED: 2010-02-08 Mon *** vacaciones SCHEDULED: 2010-03-15 Mon--2010-03-19 Fri *** finaliza segundo cuatrimestre DEADLINE: 2010-06-04 Fri Examens are APPTs too. Well, it works, but to me it doesn't seem to be the proper way to do all this. Espacially I have no idea how to integrate the classes and their homeworks now. Greets, Thomas. Footnotes: [1] http://www.newartisans.com/2007/08/using-org-mode-as-a-day-planner.html ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Beamer support in Org-mode
On Tue, Dec 15, 2009 at 04:49:23PM -0300, Darlan Cavalcante Moreira wrote: In addition, while I also agree that footnotes shouldn't be in a presentation they are allowed when working with beamer and may be useful in some cases. If org-mode export footnotes as beamer notes then some months from now someone would be asking here in the mailing-list how to enter a standard footnote when exporting to beamer. I agree - unfortunately there are genuinely sensible uses of footnotes in presentations. For example, citation of sources for quotations, data etc. is ideally accomplished by footnotes: they are not used during the presentation itself, but by distributing paper and/or electronic copies after the talk, footnotes provide essential reference data for perusal by the audience at a later date. Imagine a slide showing the results of a benchmark, claiming X is much faster than Y! You might want to talk briefly about how the results were obtained, and about the impact of the results, but you would also need to be able to tell the audience they could independently verify the results by obtaining a copy of the slides and visiting the URL contained in the footnote - especially if the results are controversial! In this case, it would not matter that the URL was too small to be legible from the back of the room. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Beamer support - 2nd round
On Mon, Dec 14, 2009 at 09:11:49AM +0100, Carsten Dominik wrote: On Dec 10, 2009, at 10:32 PM, Adam Spiers wrote: 2.2 Frames === The BEAMER_FRAME_LEVEL setting governs which levels become frames. If that option is set to 0, then frames are only created by setting the `BEAMER_env' property of an entry to the value `frame'. The heading of the entry will become the frame title. If the frame title contains the string `\\', the line will be split at that location, and the second half will become the frame /subtitle/. If you need a line break in the frame title, use `\newline' or `\linebreak'. If the frame title is long enough to require a line break, most likely it will start creeping over the right-hand margin of the emacs frame during editing. Consequently anything which can save a few columns might be helpful, so how about allowing \n to mean the same as \newline ? I am not sure I'd like this as a default, because the used of \n may be many including in source code examples Hmm, it seems quite unlikely you'd need a literal \n in the frame *title*, but it's possible I guess ... but why don't you just do this: (defun my-make-backslash-n-mean-newline () (save-excursion (goto-char (point-min)) (replace-regexp n\\ newline))) (add-hook 'org-export-preprocess-hook 'my-make-backslash-n-mean-newline) That's cool, thanks :-) I don't have a strong need for this, but was just suggesting it as an idea to help promote the legibility and ease of entry of org-beamer source code. Thanks, Adam ___ 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: OrgmodeWiki Support
On Wed, Dec 09, 2009 at 09:38:42AM -0800, Wes Hardaker wrote: On Sun, 6 Dec 2009 23:23:35 +0100, Marc li...@barisch.com said: M If I got it right, this is not completly implemented (e.g. nested M bullet lists are not supported). Are there plans to complete the M export function? IMHO, this is a really good feature that might save M a lot of time. I actually almost implemented bullet-parsing yesterday for org-export-generic, but in the end I was swamped with other things to do. So yes, I'd like to see it done. But no, it's not done currently... M Are there plans to do it vice versa, i.e. translate from wiki syntax M to org-mode ? That'd certainly be helpful as well. I don't know of anyone with plans though (maybes someone else does) I would *love* to see auto-linking of WikiWords as a customisable option. I'm not sure if anyone's looked at supporting WikiWords yet. ___ 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] RFC on enhancement for org-cancel-clock with no active clock
Currently org-cancel-clock just warns 'No active clock' when there is no active clock. Would it make sense to extend the behaviour in that case so that it interactively prompts whether you would like to remove the most recently active clock entry? This would be a nice kind of 'undo' in the case where you clock out when you actually meant to cancel the active clock. Thanks, Adam ___ 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] resolving idle time after accidentally cancelling prompt
Hi there, The `org-clock-idle-time' feature is really fantastic. However I occasionally miss the [(kK)eep (sS)ubtract (C)ancel] prompt in the minibuffer and press another key which cancels it; then I have to run org-resolve-clocks manually. I can imagine a scenario where I mistakenly thought that the window manager focus was in another window, started typing, accidentally cancelled the prompt, and never even noticed it was there in the first place - resulting in a permanently dangling clock. Would it be worth making this code idiot-proof ... (if (or (null ch) (not (memq ch '(?k ?K ?s ?S ?C (message ) .. so that the only way to cancel the prompt is to press `C' ? It would also be nice if upon cancellation it did (message Use `M-x org-resolve-clocks' to resolve dangling clocks at any time.) Thanks, Adam ___ 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: OrgmodeWiki Support
On Dec 18, 2009, at 12:28 PM, Adam Spiers wrote: On Wed, Dec 09, 2009 at 09:38:42AM -0800, Wes Hardaker wrote: On Sun, 6 Dec 2009 23:23:35 +0100, Marc li...@barisch.com said: M If I got it right, this is not completly implemented (e.g. nested M bullet lists are not supported). Are there plans to complete the M export function? IMHO, this is a really good feature that might save M a lot of time. I actually almost implemented bullet-parsing yesterday for org-export-generic, but in the end I was swamped with other things to do. So yes, I'd like to see it done. But no, it's not done currently... M Are there plans to do it vice versa, i.e. translate from wiki syntax M to org-mode ? That'd certainly be helpful as well. I don't know of anyone with plans though (maybes someone else does) I would *love* to see auto-linking of WikiWords as a customisable option. I'm not sure if anyone's looked at supporting WikiWords yet. Where should the link go? To a file WikiWord.org? Or doing an etags search? ___ 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
[Orgmode] Re: Bug: Emacs opens a new instance for each file in agenda list on org-mobile-push
Just a quick follow up to my own post. The only thing I *hadn't* done was to revert to 22.3, so I tried that this lunchtime, et voila - no more spurious frames/instances. Thanks to everyone who helped or gave advice, very much appreciated. Steve ___ 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] Organizing a students live
Thomas Bach bac...@uni-mainz.de writes: Hi, Thomas, Actually I'm trying to integrate all my university stuff into my org-files and I'm a bit stuck. All my university stuff means: there is a certain date when a semester starts and another one when it ends. ** APPT segundo cuatrimestre SCHEDULED: 2010-02-08 Mon I'd use only timestamps and not SCHEDULE or DEADLINES, and not appointments for the beginning and the end of the semester ** APPT segundo cuatrimestre starts 2010-02-08 Mon *** vacaciones 2010-03-15 Mon--2010-03-19 Fri *** finaliza segundo cuatrimestre 2010-06-04 Fri During that time I have to go to a couple of classes which usually have homeworks related to them. I suggest to you to write down the classes (with the tag :class:, if you want ) and the corresponding homeworks to do ... or TODO ? ;-) So your file may become: ** segundo cuatrimestre starts 2010-02-08 Mon *** org-mode :class: read the manual :homework: SCHEDULED: 2010-02-10 Wed I shall read the manual and I will start today TODO write a summary of the manual DEADLINE: 2010-03-10 Wed Carsten wants my summary for today!! Panic on the street!! *** finaliza segundo cuatrimestre 2010-06-04 Fri 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
Re: [Orgmode] Re: OrgmodeWiki Support
On Fri, Dec 18, 2009 at 01:15:59PM +0100, Carsten Dominik wrote: On Dec 18, 2009, at 12:28 PM, Adam Spiers wrote: I would *love* to see auto-linking of WikiWords as a customisable option. I'm not sure if anyone's looked at supporting WikiWords yet. Where should the link go? To a file WikiWord.org? Or doing an etags search? To a file WikiWord.org would cater for the majority of my needs. Would be even cooler if you could specify a list of directories as a search path, where each directory was either absolute or relative to the current file! Maybe others could make use of an etags option too; I'm not sure. I guess you might then need a custom function to translate the WikiWord into a tag to lookup, since a lot of tags are not CamelCase. ___ 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] Organizing a students live
The best thing about org-mode is that it is very flexible and anyway you fell comfortable with is good way. For me, I prefer to use SCHEDULED and DEADLINE only for tasks and active time stamps for appointments or special dates (birthdays, for example). For instance, if you have Math classes on Mondays and Wednesdays and a Physics classes on Tuesdays and Thursdays you could use active time stamps for the actual class and SCHEDULE and DEADLINE for the tasks and tests you have to do. See below an example , | * Classes | :PROPERTIES: | :CATEGORY: Classes | :END: | *** Math class | 2009-12-14 Mon +7d 8:00-10:00 | 2009-12-16 Wed +7d 8:00-10:00 | | * Tests | :PROPERTIES: | :CATEGORY: Math Tests | :END: | *** TODO Study for the fist test | DEADLINE: 2010-01-18 Mon | Here you could put what you need to study | *** TODO Study for the second test | DEADLINE: 2010-02-22 Mon -20d | etc etc | | | * Homeworks | :PROPERTIES: | :CATEGORY: Math Homeworks | :END: | *** TODO Do homework from day [2009-12-14 Mon] | DEADLINE: 2009-12-21 Mon | | *** Physics class | 2009-12-15 Tue +7d 10:00-11:30 | 2009-12-17 Thu +7d 10:00-11:30 | | * Tests | * Homeworks ` The CATEGORY property is useful to easily differentiate in the agenda view which class a study task belongs to, but you could also just add it to the headline and forget about the category. Also, deadlines are shown in the agenda 14 days before they are due (by default), but you may change this as I did in the second Math test (more days for difficult tests and less days for easy ones). You could also use attachments to add PDF files to the study tasks, etc. Org-mode is really powerful. - Darlan Cavalcante At Fri, 18 Dec 2009 11:48:40 +0100, Thomas Bach bac...@uni-mainz.de wrote: Hello, I came to org-mode through the Tutorial of John Wiegley[1] and I'm loving it! A great thanks to all of you who are working on this awesome piece of code. Actually I'm trying to integrate all my university stuff into my org-files and I'm a bit stuck. All my university stuff means: there is a certain date when a semester starts and another one when it ends. During that time I have to go to a couple of classes which usually have homeworks related to them. In addition there are vacations (hooray!) and holidays. At the end of a semester some examens and theses need to be written. How would you guys express all this in an org-file? I solved the start, end and vacation thing like this: ** APPT segundo cuatrimestre SCHEDULED: 2010-02-08 Mon *** vacaciones SCHEDULED: 2010-03-15 Mon--2010-03-19 Fri *** finaliza segundo cuatrimestre DEADLINE: 2010-06-04 Fri Examens are APPTs too. Well, it works, but to me it doesn't seem to be the proper way to do all this. Espacially I have no idea how to integrate the classes and their homeworks now. Greets, Thomas. Footnotes: [1] http://www.newartisans.com/2007/08/using-org-mode-as-a-day-planner.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 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Beamer support in Org-mode
Adam Spiers orgm...@adamspiers.org wrote: On Tue, Dec 15, 2009 at 04:49:23PM -0300, Darlan Cavalcante Moreira wrote: In addition, while I also agree that footnotes shouldn't be in a presentation they are allowed when working with beamer and may be useful in some cases. If org-mode export footnotes as beamer notes then some months from now someone would be asking here in the mailing-list how to enter a standard footnote when exporting to beamer. I agree - unfortunately there are genuinely sensible uses of footnotes in presentations. For example, citation of sources for quotations, data etc. is ideally accomplished by footnotes: they are not used during the presentation itself, but by distributing paper and/or electronic copies after the talk, footnotes provide essential reference data for perusal by the audience at a later date. I think that's an argument *for* Eric's idea (assuming that the handout includes notes - that's my practice, but maybe not everybody does that, although they *should* :-) ). In general, I think slides should be very simple: single-level lists, single idea per slide, no footnotes - but I know that generalities like that are just guidelines: meant to be broken, given a good enough cause. Imagine a slide showing the results of a benchmark, claiming X is much faster than Y! You might want to talk briefly about how the results were obtained, and about the impact of the results, but you would also need to be able to tell the audience they could independently verify the results by obtaining a copy of the slides and visiting the URL contained in the footnote - especially if the results are controversial! In this case, it would not matter that the URL was too small to be legible from the back of the room. How does inverting Eric's idea sound: invent a new kind of footnote, let's call it, say, a pnote, which is treated exactly like a footnote in all exports *except* beamer. In beamer, footnotes end up in the frame and pnotes end up in the notes. Not sure whether the implementation would be as simple as this makes it sound, but who knows?[1] Thanks, Nick [1] Well, OK: Carsten knows... ___ 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] double quotes in tables
Hi Francesco, Thanks for bringing this up. I'm thinking that a more aggressive version of your patch should be applied here. It seems that org-babel should not change the values of tables which pass through it. I'm leaning towards applying the following lines of your patch -'(:fmt (lambda (cell) (format %S cell \n)) +'(:fmt (lambda (cell) (format outputformat cell \n)) That change doesn't seem to break any of our unit tests. Can anyone think of a reason not to make this change? Thanks -- Eric Francesco Pizzolante f...@missioncriticalit.com writes: Hi, Often, I find useful that babel could generate result tables without the double quotes () enclosing all the text values in the cells. In order to do that, I added a 'noquotes` option to the :results header argument. Here's my patch. As I'm not an elisp expert, please tell me if there's a better/safer way to do that or maybe that it already exists an option to do that... diff --git a/contrib/babel/lisp/org-babel.el b/contrib/babel/lisp/org-babel.el index 4c9bff5..13c8237 100644 --- a/contrib/babel/lisp/org-babel.el +++ b/contrib/babel/lisp/org-babel.el @@ -706,6 +706,9 @@ code the results are extracted in the syntax of the source code of the language being evaluated and are added inside of a #+BEGIN_SRC block with the source-code language set appropriately. + (setq outputformat %S) + (if (member noquotes result-params) + (setq outputformat %s)) (if (stringp result) (progn (setq result (org-babel-clean-text-properties result)) @@ -739,7 +742,7 @@ code the results are extracted in the syntax of the source (if (and (listp (car result)) (listp (cdr (car result result (list result)) - '(:fmt (lambda (cell) (format %S cell \n)) + '(:fmt (lambda (cell) (format outputformat cell \n)) (forward-line -1) (org-cycle)) ((member file result-params) (insert result)) @@ -827,7 +830,8 @@ parameters when merging lists. (let ((results-exclusive-groups '((file vector table scalar raw org html latex code pp) (replace silent) -(output value))) +(output value) + (noquotes))) (exports-exclusive-groups '((code results both none))) params results exports tangle cache vars var ref) Thanks, Francesco ___ 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: OrgmodeWiki Support
On Dec 18, 2009, at 3:19 PM, Adam Spiers wrote: On Fri, Dec 18, 2009 at 01:15:59PM +0100, Carsten Dominik wrote: On Dec 18, 2009, at 12:28 PM, Adam Spiers wrote: I would *love* to see auto-linking of WikiWords as a customisable option. I'm not sure if anyone's looked at supporting WikiWords yet. Where should the link go? To a file WikiWord.org? Or doing an etags search? To a file WikiWord.org would cater for the majority of my needs. Would be even cooler if you could specify a list of directories as a search path, where each directory was either absolute or relative to the current file! Maybe others could make use of an etags option too; I'm not sure. I guess you might then need a custom function to translate the WikiWord into a tag to lookup, since a lot of tags are not CamelCase. I think it would be useful to discuss this proposal first in a broader sense. Let me try to make a start. A few days ago, Paul Sexton submitted his proposal for simple file-to-file links based on etags. He wanted to make [[sometext]] be a link to sometext where the target definition sometext can be in a different file. Furthermore, his proposal uses an external program to do the indexing of the tags, and following the links uses the etags code shipped with Emacs. Finally, Paul's proposal also contains a way to automatically create new topics when a link is called that does not yet have a target. Now we are talking about WikiWords, or CamelCase links. Here the idea is that any such mixed-case word automatically is treated as a link. Traditionally these links to a separate file with name given by the link text directly. But I suppose it could also got to a target somewhere in a file? For a couple of reasons it seems to me that it would be useful to look at these proposals together. For one thing, I am not a huge fan of the zillions of files that will be created when using the one-file-per-word approach. Since Org-mode is outline based, it seem to make a lot of sense to have many topics per file. One way to move into this direction would be to still use etags to index the possible targets, and then to turn specific words (like CamelCase words) directly into links without the need to surround them with [[...]]. But of course, we could also have an implementation as Adam proposes it, with CamelCase words linking to files, and then [[target]] linking to targets. Can we discuss this for a bit? - 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] Re: Integrating ctags org mode (patch)
Hi Paul, I have now made a new hook `org-open-link-functions'. Each function in this hook will be called with the link text as the single argument. If the function feels responsible for this link, it should follow the link and return a non-nil value. If it does not feel responsible for the link, it should return nil. Can I persuade you to change your implementation to use this hook instead of a patch modifying org.el? The we could wrap this functionality into org-etags.el and include it with Emacs. Could you please at the same time start the paperwork with Emacs? To see how, follow the link near the end of http://orgmode.org Thanks - Carsten P.S. Actually, before getting to work on this, maybe you should wait for the discussion just started in another thread. On Dec 15, 2009, at 10:08 PM, Paul Sexton wrote: Sorry guys, I seem to be spamming this topic, but I just fixed another problem -- properties on the link string were causing problems with find- tag, which expected a propertyless string. Fixed patch follows. BEGIN PATCH for org.el (delete this line) 8349,8369c8349,8350 { (condition-case nil (eval cmd) { ;; ORG-TAGS { (error {(progn { (widen) { (condition-case nil (eval cmd) {(error { ;; No matching link found anywhere in this file { ;; See if we can find a tag {;; If so, jump to it {(let ((linktext path)) { (set-text-properties 0 (length linktext) { nil linktext) { (condition-case nil (find-tag linktext) {(error { (cond { (org-make-new-topics-for-missing-links-p { (if (y-or-n-p {(format Topic `%S' not found; append to current buffer? {linktext)) { (org-append-new-topic linktext nil))) { (t { (error No match found) { { --- } (condition-case nil (eval cmd) } (error (progn (widen) (eval cmd)) 8592,8595d8572 { ;; ORG-TAGS { ((not org-open-link-defaults-to-normal-string-search-p) { ;; We don't want to search for a plain text match. { (error No match.)) 8651,8682d8627 { { { ;; ORG-TAGS { { (defvar org-open-link-defaults-to-normal-string-search-p nil { Behaviour when attempting to open a 'thisfile' hyperlink for which no { EXACT match can be found (i.e. no match in angled brackets, etc). { If true (default), exhibit normal org behaviour of doing a search for a string { matching the link name. { If nil, abort the attempt to open the link.) { { { (defvar org-make-new-topics-for-missing-links-p nil { If true, when attempting to follow a 'plain' hyperlink for which no precise { match is found, offer to append a top-level heading with the same name as the { hyperlink, to the end of the buffer.) { { { (defun org-append-new-topic (word) { (interactive s) { (widen) { (end-of-buffer) { (newline 2) { (insert (format * %s word)) ; to make radio word { (backward-char 4) { ;;(org-update-radio-target-regexp) { (end-of-line) { (newline 2) { (next-line 2)) { { { END PATCH (delete this line) ___ 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
[Orgmode] ordered list start with number other than 1
Can someone point me to documentation about making an ordered list starting with a number other than '1.' so that when it is exported to html the numbers will be sequential using the numbers I put in the list? E.g., instead of a list as follows: BEGINNING OF LIST 1. Some text 2. Some text 3. Some text END OF LIST I would like the list to start as follows: BEGINNING OF LIST 27. Some text 28. Some text 29. Some text END OF LIST Thank you, Shawn ___ 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: Incorrect escaping of braces on LaTeX export [6.33trans (release_6.33f.122.g7062a.dirty)]
Thank you very much, Carsten. I can confirm it works perfectly now. Mark Carsten Dominik wrote: Hi Mark, On Dec 18, 2009, at 12:16 AM, Mark Elston wrote: Carsten, Notice the title line in the generated latex code. It looks like: \title{ABC Class Notes\} ^^ Ah, yes, it was actually in your first email, only further down that I expected. Sorry about this. This problem is now fixed. - Carsten The closing brace is escaped. Mark Carsten Dominik wrote: Hi Mark, what is the error you are getting? - Carsten On Dec 17, 2009, at 1:05 AM, Mark Elston wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. While attempting to generate some notes for a class I give I ran into an error in the generated latex file. I use memoir for my notes since this package gives me the particular formatting I like without any hassle so I created an org-export-latex-class to make use of it. Since my boilerplate for my notes includes a number of lines after the \begin{document} line I have added these to #+TEXT entries in the org file. I use the memoir titlingpage facility as it gives me the control and look I want without a lot of code. However, this causes a problem with org export since the \maketitle line must be inside a titlingpage environment. To accomplish this I have set the #+TITLE: directive to an empty value and put the entire titlingpage environment (3 lines) in #+TEXT lines. I have included a simple ErrorSample latex class in my configuration which demonstrates the problem without as much being generated. A sample org file looks like this: --- #+TITLE: #+OPTIONS: toc:nil #+LaTeX_CLASS: ErrorSample #+TEXT: \title{ABC Class Notes} #+TEXT: \begin{titlingpage} #+TEXT: \maketitle #+TEXT: \end{titlingpage} #+TEXT: \maxtocdepth{subsection} #+TEXT: \pagenumbering{roman} #+TEXT: \cleartooddpage #+TEXT: \tableofcontents #+TEXT: \cleartooddpage #+TEXT: \chapterstyle{companion} #+TEXT: \pagestyle{companion} #+TEXT: \aliaspagestyle{part}{companion} #+TEXT: \aliaspagestyle{chapter}{headings} #+TEXT: \aliaspagestyle{cleared}{companion} #+TEXT: \include{Preface} #+TEXT: \pagenumbering{arabic} * Simple First Heading Some text. * Simple Second Heading Other text. --- The generated tex file is shown next. Notice the escaped closing brace on the \title{} instruction: --- % Created 2009-12-16 Wed 15:54 \documentclass[letter,twoside,openright]{memoir} \usepackage{varioref} \usepackage{shorttoc} \usepackage{color} \usepackage{graphicx} \usepackage{bbding} \setlength{\parindent}{0pt} \setlength{\parskip}{1ex} \title{} \author{Mark Elston} \date{16 December 2009} \begin{document} \title{ABC Class Notes\} \begin{titlingpage} \maketitle \end{titlingpage} \maxtocdepth{subsection} \pagenumbering{roman} \cleartooddpage \tableofcontents \cleartooddpage \chapterstyle{companion} \pagestyle{companion} \aliaspagestyle{part}{companion} \aliaspagestyle{chapter}{headings} \aliaspagestyle{cleared}{companion} \include{Preface} \pagenumbering{arabic} \chapter{Simple First Heading} \label{sec-1} Some text. \chapter{Simple Second Heading} \label{sec-2} Other text. \end{document} --- Emacs : GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) of 2009-07-29 on SOFT-MJASON Package: Org-mode version 6.33trans (release_6.33f.122.g7062a.dirty) current state: == (setq org-log-done 'time org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-agenda-custom-commands '((S Schedule for the week ((agenda ) (todo TODO org-agenda-files '(~/org) org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent org-block-todo-from-checkboxes) org-list-demote-modify-bullet '((- . +) (+ . -)) org-fontify-whole-heading-line t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-interpreters '(R asymptote dot ditaa python sh emacs-lisp) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-protocol-protocol-alist '((Fireforg get bibtex entry: fireforg-bibtex-entry://bibtex entry (encoded) :protocol fireforg-bibtex-entry :function org-fireforg-receive-bibtex-entry) (Fireforg show annotation: fireforg-show-annotation://file (encoded)/header (encoded) :protocol fireforg-show-annotation :function
Re: [Orgmode] [babel] Idiomatic handling of quotes
Hi Francesco, On Dec 17, 2009, at 11:20 PM, Francesco Pizzolante wrote: Hi Thomas, In the example below, note that the R representation of the directory listing escapes the quotes in the original and encloses it all in a second set of quotes, e.g. \theta-1.csv\. This must come up a lot. Is there an idiomatic way to change \theta-1.csv\ to theta-1.csv so that it could be assigned to x and the following statement would yield a valid path? afile - paste(r/,x,sep=) I'm aware the answer might be R code, but it is to tightly tied to org- babel I figure it makes sense to ask the question here. I already sent an email related to double quotes in result tables. See the email hereunder. In order to get a result table without the double quotes for all texts, I use the patch enclosed in my email and add the :results noquotes header parameter. In your example, I would get the following result: --8---cut here---start-8--- #+srcname: thetas() #+begin_src shell :results noquotes cd r ls theta* #+end_src #+results: thetas | theta-1.csv | | theta-2.csv | --8---cut here---end---8--- Is this what you need? Here's the email I sent a few days ago. It contains the patch I use to remove the double quotes when I need it: - From: Francesco Pizzolante f...@missioncriticalit.com Subject: [Orgmode] [babel] double quotes in tables To: mailing-list-org-mode emacs-orgmode@gnu.org Date: Mon, 14 Dec 2009 17:18:30 +0100 Hi, Often, I find useful that babel could generate result tables without the double quotes () enclosing all the text values in the cells. In order to do that, I added a 'noquotes` option to the :results header argument. Here's my patch. As I'm not an elisp expert, please tell me if there's a better/safer way to do that or maybe that it already exists an option to do that... --8---cut here---start-8--- diff --git a/contrib/babel/lisp/org-babel.el b/contrib/babel/lisp/ org-babel.el index 4c9bff5..13c8237 100644 --- a/contrib/babel/lisp/org-babel.el +++ b/contrib/babel/lisp/org-babel.el @@ -706,6 +706,9 @@ code the results are extracted in the syntax of the source code of the language being evaluated and are added inside of a #+BEGIN_SRC block with the source-code language set appropriately. + (setq outputformat %S) + (if (member noquotes result-params) + (setq outputformat %s)) (if (stringp result) (progn (setq result (org-babel-clean-text-properties result)) @@ -739,7 +742,7 @@ code the results are extracted in the syntax of the source (if (and (listp (car result)) (listp (cdr (car result result (list result)) -'(:fmt (lambda (cell) (format %S cell \n)) +'(:fmt (lambda (cell) (format outputformat cell \n)) (forward-line -1) (org-cycle)) ((member file result-params) (insert result)) @@ -827,7 +830,8 @@ parameters when merging lists. (let ((results-exclusive-groups '((file vector table scalar raw org html latex code pp) (replace silent) - (output value))) + (output value) + (noquotes))) (exports-exclusive-groups '((code results both none))) params results exports tangle cache vars var ref) --8---cut here---end---8--- This does work for me. Grazie. Tom ___ 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: [babel] Tiny problems
Hi Seb, Sébastien Vauban wxhgmqzgw...@spammotel.com writes: [...] Simply perfect! The only impact is that we cannot expect a multi-line block to be correctly exported in the following case: -- set flag UPDATE dossier SET DossierSentToSector = @now WHERE ID IN (SELECT actID_fk FROM actions WHERE (actID = 338 AND actEtat = 3)) AND F1SignDate @firstDayOfThisMonth AND DossierSentToSector IS NULL AND ConditionForSector Because `AND' would be copied in front of every line, which may not be OK. But, for me, that's both perfectly comprehensible and perfectly acceptable. you can't please everyone all the time, I think the current solution is the best option Would the source block be mono-line, the above must perfectly work. Do we agree on this? yes, it should work for single-line blocks Thank you very much, anyway, for this very nice fix, which fixes the above problem of commented block, and the indentation one... 2 flies with 1 stone. Thanks for the idea. Best -- Eric Best regards, Seb ___ 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: Babel - simple getting started problem
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Dan, Dan Davison wrote: * meantest #+srcname: calcmean(data=trial) #+begin_src R mean(data) #+end_src #+results: calcmean : 6.5 or alternative syntax #+begin_src R :var data=trial mean(data) #+end_src #+results: : 6.5 As I am as well *learning* Org-babel and its satellites (R, GNU screen, etc.), I'm wondering if there is one of the two above syntaxes that gets more chance to be the survivor -- would there be a war between both ;-) I mean: I'm not yet attached to any of the two. Which one should I use better, ensuring more portability over time? Or are these both totally equivalent, and will it stay so for the coming years? Both of these syntaxes are totally equivalent, and both should be fully supported into the foreseeable future. As for the winner in a war between the two it would be the :var syntax. The :var syntax is more fundamental as it's part of the header-argument syntax which is core to org-babel so there is no conceivable way that it would not be supported, while the srcname(args) syntax is more syntactic-sugar on top of the existing header argument syntax. That said you should be safe using either. -- Eric Best regards, Seb ___ 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] On demand face for headers
In this thread there was a solution for highlighting the whole header line, so it stands out more from the buffer text: http://thread.gmane.org/gmane.emacs.orgmode/15721/ This solution was a bit too heavy, because it affected all header lines, and I didn't want all headers to be so conspicuous everywhere, so I set a background color only for top-level headers in my setup. Here's an other solution which can be used to highlight headers selectively if you want only particular headers to stand out (bigger font, background color, etc.) without affecting other headers on the same level. To highlight a header with a custom color, simply put a space to the end of the header line. (Headers with tags are not handled, because I did not need it.) (defface my-org-level-2 '((t :background darkseagreen1)) ) (defface my-org-level-3 '((t :background moccasin)) ) (setq my-org-level-emphasis-faces '((org-level-2 . my-org-level-2) (org-level-3 . my-org-level-3) )) (defadvice org-get-level-face (after my-org-get-level-face activate) (if (and (eq (ad-get-arg 0) 3) (equal (aref (match-string 0) (- (length (match-string 0)) (if org-fontify-whole-heading-line 2 1))) ? )) (let ((new-face (assoc-default ad-return-value my-org-level-emphasis-faces))) (if new-face (setq ad-return-value new-face) ___ 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: OrgmodeWiki Support
Carsten Dominik carsten.dominik at gmail.com writes: [snip] I think it would be useful to discuss this proposal first in a broader sense. Let me try to make a start. A few days ago, Paul Sexton submitted his proposal for simple file-to-file links based on etags. He wanted to make [[sometext]] be a link to sometext where the target definition sometext can be in a different file. Furthermore, his proposal uses an external program to do the indexing of the tags, and following the links uses the etags code shipped with Emacs. Finally, Paul's proposal also contains a way to automatically create new topics when a link is called that does not yet have a target. Now we are talking about WikiWords, or CamelCase links. Here the idea is that any such mixed-case word automatically is treated as a link. Traditionally these links to a separate file with name given by the link text directly. But I suppose it could also got to a target somewhere in a file? For a couple of reasons it seems to me that it would be useful to look at these proposals together. For one thing, I am not a huge fan of the zillions of files that will be created when using the one-file-per-word approach. Since Org-mode is outline based, it seem to make a lot of sense to have many topics per file. One way to move into this direction would be to still use etags to index the possible targets, and then to turn specific words (like CamelCase words) directly into links without the need to surround them with [[...]]. But of course, we could also have an implementation as Adam proposes it, with CamelCase words linking to files, and then [[target]] linking to targets. Can we discuss this for a bit? - Carsten Hi Carsten, In the other thread, you say you have implemented a hook whose function(s) are run when attempting to open a link. From your description it sounds like the hook is run FIRST, and org's default behaviour only happens if the hook functions don't override it. However, both the link-to-file-of-same-name proposal and my etags functionality would be more easily implemented with a hook function that is called only when org can't find a specific target for [[plain link]]. At the moment org defaults to performing a full-text search for plain link. Both the wikiwords and the etags behaviours need to happen instead of that default behaviour, but neither needs to override the rest of org's link-opening behaviour. Re the WikiWords idea -- this could be done in 2 independent parts: 1. Option to tell org to interpret all CamelCase words as plain links (this might be behaviour that some people want by itself) 2. Function, called when org can't find target for plain link, that tries to open and visit a file with the same name as the link. I think a hook to change the default behaviour of org when it can't find an explicit target for a plain link is a very good idea and would probably lead to other useful stuff. Personally I don't find the default behaviour of full-text search to be useful. Paul P.S. My wishlist includes using a different colour to fontify links whose targets don't exist (a la wikipedia with its undefined links in red). Can be done, but not sure how to do it efficiently. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Beamer support in Org-mode
\pnote could be an option Another idea is to reserve the lowest level to notes * section ** subsection *** frame etc ** notes (I don't know how many *'s are needed) maybe we can set a number / variable like org-beamer-frame-level we could create org-beamer-notes-level Daniel 2009/12/18 Nick Dokos nicholas.do...@hp.com: Adam Spiers orgm...@adamspiers.org wrote: On Tue, Dec 15, 2009 at 04:49:23PM -0300, Darlan Cavalcante Moreira wrote: In addition, while I also agree that footnotes shouldn't be in a presentation they are allowed when working with beamer and may be useful in some cases. If org-mode export footnotes as beamer notes then some months from now someone would be asking here in the mailing-list how to enter a standard footnote when exporting to beamer. I agree - unfortunately there are genuinely sensible uses of footnotes in presentations. For example, citation of sources for quotations, data etc. is ideally accomplished by footnotes: they are not used during the presentation itself, but by distributing paper and/or electronic copies after the talk, footnotes provide essential reference data for perusal by the audience at a later date. I think that's an argument *for* Eric's idea (assuming that the handout includes notes - that's my practice, but maybe not everybody does that, although they *should* :-) ). In general, I think slides should be very simple: single-level lists, single idea per slide, no footnotes - but I know that generalities like that are just guidelines: meant to be broken, given a good enough cause. Imagine a slide showing the results of a benchmark, claiming X is much faster than Y! You might want to talk briefly about how the results were obtained, and about the impact of the results, but you would also need to be able to tell the audience they could independently verify the results by obtaining a copy of the slides and visiting the URL contained in the footnote - especially if the results are controversial! In this case, it would not matter that the URL was too small to be legible from the back of the room. How does inverting Eric's idea sound: invent a new kind of footnote, let's call it, say, a pnote, which is treated exactly like a footnote in all exports *except* beamer. In beamer, footnotes end up in the frame and pnotes end up in the notes. Not sure whether the implementation would be as simple as this makes it sound, but who knows?[1] Thanks, Nick [1] Well, OK: Carsten knows... ___ 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] Org-mode as QDA-Software?
Hi all, especially you org developers out there Org mode would be a nice base for bringing a good QDA-Software to the world of free software, isn't it? QDAS is a special type of software for qualitative data analysis[¹], mostly used in Sociology and related fields of Science. Existing programs like Atlas.ti[²] and MaxQDA[³] are what I deem the essence of proprietary stuff: very expensive, elitist and utterly unfree (but widely used by research groups who have enough money at their disposal). AFAIK, there is only one piece of QDA software available for Linux, gTAMS Analyzer, which is quite awkward in my opinion. I often advocate QDAS to students and PhD students for managing Discourse Analysis projects, and its always embarrassing to push them to expensive programs. But I think org-mode is just one step away from being a powerful QDAS, especially with org-babel, I think. This lack in the world of free software might be only a small addon-package away. It would be the first cross-platform solution, and group functionalities could be implemented via git, CVS or SVN. To my regret, I'm just a devoted user, in no way a developer. Is any developer out there who deems this a worthwhile project? Students all over the world would be grateful (if we manage to make it known via Google and Wikipedia). Greetings Sven [¹] http://en.wikipedia.org/wiki/Qualitative_research. [²] http://www.atlasti.com/en/. [³] http://www.maxqda.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-mode as QDA-Software?
2009/12/18 Sven Bretfeld sven.bretf...@gmx.ch: Hi all, especially you org developers out there Org mode would be a nice base for bringing a good QDA-Software to the world of free software, isn't it? QDAS is a special type of software for qualitative data analysis[¹], mostly used in Sociology and related fields of Science. Existing programs like Atlas.ti[²] and MaxQDA[³] are what I deem the essence of proprietary stuff: very expensive, elitist and utterly unfree (but widely used by research groups who have enough money at their disposal). AFAIK, there is only one piece of QDA software available for Linux, gTAMS Analyzer, which is quite awkward in my opinion. I often advocate QDAS to students and PhD students for managing Discourse Analysis projects, and its always embarrassing to push them to expensive programs. But I think org-mode is just one step away from being a powerful QDAS, especially with org-babel, I think. This lack in the world of free software might be only a small addon-package away. It would be the first cross-platform solution, and group functionalities could be implemented via git, CVS or SVN. To my regret, I'm just a devoted user, in no way a developer. Is any developer out there who deems this a worthwhile project? Students all over the world would be grateful (if we manage to make it known via Google and Wikipedia). Greetings Sven [¹] http://en.wikipedia.org/wiki/Qualitative_research. [²] http://www.atlasti.com/en/. [³] http://www.maxqda.com/. Without a clearer understanding of what features you want, I don't think anyone's going to be able to answer you to your or their satisfaction. From skimming the first section of http://www.maxqda.com/products/functionstab (Data management) it looks like orgmode already supports most of these requirements. The latter two, related to weighting paragraphs of text (presumably to mark up relevance?) are not trivially supported unless you wanted to make them subsections and assign them Properties. I've never used this software but the list of features seems very much a grab-bag of stuff all glommed together into one big product with little attention paid to the core requirements: maybe some clear thinking about what the fundamentals of qualitative data analysis tools are will prove useful. ___ 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: Question about searches (ultimately for agenda)
On 12/17/09 13:26, Carsten Dominik wrote: Yes, so that the search only continues after that entry. But yes, you are right, this can fail for the final entry in a file. Try '(when (org-entry-is-done) (outline-next-heading) (point)) Seems to work. Also, I'm pretty weak with Emacs Lisp. What does (point) do? Google's no help (obviously). Point returns the buffer position of he cursor, in this case the position where the next entry starts. OK. I guess I don't understand why we need to know where the point is. Is this returning the value of the point in whatever buffer I am when I /execute/ the agenda command? Or is this more like the function is sweeping the point across all agenda files to find headlines? Or...? ___ 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] Folding, unexpected behavior
Aloha all, I'm experiencing some unexpected behavior as I struggle to upgrade to Emacs 23 and the emacs starter kit from Carbon Emacs. In my org files, TAB only folds a headline on columns 4 and higher. In columns 1-3 on a headline TAB sends an error to the mini-buffer that says Symbol's value as variable is void: some-value. I checked the documentation on folding, but didn't find anything that looked like it would cause the behavior I'm seeing. Any pointers on where I should start poking around would be appreciated. All the best, Tom ___ 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: ordered list start with number other than 1
It may be bad form to answer your own query, but a workaround using the following works for now. #+BEGIN_VERSE 3 Some text 4 Some text 5 Some text #+END_VERSE ---Although it /would/ be nice to have it auto-magically begin numbering starting at a particular number . I am using Lamport's book LaTeX: User's Guide and Reference Manual to see if there may be a LaTeX answer to this problem. If this sort of question should be directed to a different mailing list or forum, please let me know so I don't waste anyone's time. On Fri, Dec 18, 2009 at 10:41 AM, Shawn Koons srko...@gmail.com wrote: Can someone point me to documentation about making an ordered list starting with a number other than '1.' so that when it is exported to html the numbers will be sequential using the numbers I put in the list? E.g., instead of a list as follows: BEGINNING OF LIST 1. Some text 2. Some text 3. Some text END OF LIST I would like the list to start as follows: BEGINNING OF LIST 27. Some text 28. Some text 29. Some text END OF LIST Thank you, Shawn ___ 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