Re: [Orgmode] Beamer support in Org-mode
An optional setting sounds great. I can't wait to see how it turns out. --Gray Carsten Dominik wrote: Hi Gray, thanks for chiming in, this was a very important piece of the puzzle. I had already realized that I should give up having fixed levels for columns, but I had still panned fixed levels for frames. Now after your post I realize that this can be useful, but is not required, which means it should be optional. Thanks! - Carsten On Nov 29, 2009, at 7:03 PM, Gray Calhoun wrote: Hi Carsten and all, Beamer export sounds fantastic. I've been using org mode for this sort of thing a lot over the last year--all of my lecture notes are typed up as an org file, and I used org mode to draft slides for a presentation over the summer, so an automated process would be helpful. But, I'm not sure that it makes sense to hardcode the frames as a level 2 headline (or any level headline); I find it easier to define a slide to be any headline that has no subheadings, regardless of its depth---the ability to outline the structure of a presentation as appropriate and then fill in the details (ie the slides) later is (imho) the reason to use org-mode for this sort of task in the first place. Columns, etc., could then be handled by using properties of the last headline, or as a special list. This approach might also make it easier to export the same file to other formats (i.e. the existing html format). I imagine that this would be a little harder to program, though, and is just my two cents. --Gray Carsten Dominik wrote: (snipped) 1.2 Frames === Level 2 headline (or the level configured in org-beamer-frame-level) become frames. The headline text become the frame title, but if no headline text is given, the frame gets no title. If the frame title contains the string \\, the line will be split at that location, and the second half become the frame /subtitle/. (snipped) -- Gray Calhoun Assistant Professor of Economics, Iowa State University http://www.econ.iastate.edu/~gcalhoun/ 467 Heady Hall Ames, IA 50011 Phone: (515) 294-6271 Fax: (515) 294-0221 - 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] Beamer support in Org-mode
Hi Carsten and all, Beamer export sounds fantastic. I've been using org mode for this sort of thing a lot over the last year--all of my lecture notes are typed up as an org file, and I used org mode to draft slides for a presentation over the summer, so an automated process would be helpful. But, I'm not sure that it makes sense to hardcode the frames as a level 2 headline (or any level headline); I find it easier to define a slide to be any headline that has no subheadings, regardless of its depth---the ability to outline the structure of a presentation as appropriate and then fill in the details (ie the slides) later is (imho) the reason to use org-mode for this sort of task in the first place. Columns, etc., could then be handled by using properties of the last headline, or as a special list. This approach might also make it easier to export the same file to other formats (i.e. the existing html format). I imagine that this would be a little harder to program, though, and is just my two cents. --Gray Carsten Dominik wrote: (snipped) 1.2 Frames === Level 2 headline (or the level configured in org-beamer-frame-level) become frames. The headline text become the frame title, but if no headline text is given, the frame gets no title. If the frame title contains the string \\, the line will be split at that location, and the second half become the frame /subtitle/. (snipped) -- Gray Calhoun Assistant Professor of Economics, Iowa State University http://www.econ.iastate.edu/~gcalhoun/ 467 Heady Hall Ames, IA 50011 Phone: (515) 294-6271 Fax: (515) 294-0221 ___ 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: Sourceforge community award
Carsten Dominik wrote: On Jun 11, 2009, at 11:31 PM, Dan Davison wrote: John Rakestraw li...@johnrakestraw.com writes: Hi Carsten and the list -- I really like the ideas, and I'm trying merely to shorten -- see suggestions below. --John I also do like Brian's description a lot. But it is 190 characters, I am not sure if we can stretch the about 140 this much? I have been trying to shorten it a bit - please check if it still captures the essence. Here is the current state of our reply to Sourceforge - please comment 1. Complete this sentence in about 140 characters: Our project is [-foo-]. For example, Our project is a tool that helps you wash your car. Org-mode masters personal/project information your way, in plain text, with features out of your way until you want them, backed by the power of Emacs. Org-mode masters personal/project information your way, in plain text, with features hidden until needed, backed by the power of Emacs. (unless (string-match Our project is a sourceforge-submission-sentence 0) (message shouldn't we follow the instructions?)) 1. Complete this sentence in about 140 characters: Our project is [-foo-]. This is a good point, maybe they will be picky about it. Also, I am now thinking the 140 chars, what to the english native speakers here think: Is this includin or excluding the given sentence start? Our project is a tool to master personal/project data your way, in plain text, with features out of your way until needed, backed by the power of Emacs. I haven't contributed anything to this project, so I feel a little funny suggesting anything. But I really like org mode and hope you win, so here's another version: Our project is an extensible outliner that lets you collect your thoughts in a text file in Emacs and organizes them to make them useful. Congratulations and good luck! --Gray ___ 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: defining LaTeX macros that work inline and at export
On Thu, May 21, 2009 at 05:13:41PM +, Gray Calhoun wrote: I'd like to define LaTeX macros that display correctly when they're embedded in an org file and are preserved when I export that file to LaTeX. Right now, I've added the LaTeX macros to org-format-latex-header, and repeated the macros in a #+LATEX_HEADER: comment. The two drawbacks of this approach are that I'd prefer to have most of the macros be file-specific and that I'd like to avoid duplicating these LaTeX commands. - cut the rest - Russell Adams RLAdams at AdamsInfoServ.Com writes: Couldn't you use the {{{macro}}} expansion in the export header? I believe you can make your own. Hi Russell, Thanks for the suggestion! I'm going to need to work with the LaTeX files themselves after writing and editing the drafts in org mode, so I want the macros to stick around after exporting the org file to LaTeX. My understanding is that the {{{macro}}} approach would expand the macros during that export. Best, Gray ___ 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: can the symbol for leading stars be changed?
Hi Tassilo, Thanks for the suggestion -- your code worked great when I loaded it on its own, but seems to be in conflict with something else in my .emacs file, so I'll have to tinker with it a little bit. This seems like an okay temporary solution, but I may look into orgstruct proper when I have some free time. Best, --Gray 2009/3/16 Tassilo Horn tass...@member.fsf.org: Gray Calhoun gray.calh...@gmail.com writes: Hi Gray, Is there a way for users to easily replace the leading stars with another symbol? In particular, I want to replace the '*' with '#' so that I use org mode to write pseduocode for R in outline form -- R uses # to designate comments and this would ensure that the headers wouldn't be read as code. I guess you want to use `orgstruct-mode' in R files, right? I also had the idea to do that, but till now I failed. As a workaround I use `outline-minor-mode' and set the `outline-regexp' to comment-character of the languageone-or-many-stars. Here's the code from my .emacs. --8---cut here---start-8--- (defun th-outline-regexp () Calculate the outline regexp for the current mode. (let ((comment-starter (replace-regexp-in-string [[:space:]]+ comment-start))) (when (string= comment-start ;) (setq comment-starter ;;)) (concat ^ comment-starter \\*+))) (defun th-outline-minor-mode-init () (interactive) (setq outline-regexp (th-outline-regexp))) (add-hook 'outline-minor-mode-hook 'th-outline-minor-mode-init) --8---cut here---end---8--- I wonder if I cannot make `orgstruct-mode' work the same way. I've always thought that it uses `outline-regexp' for the cycling and stuff, but maybe I'm wrong. What's the correct regexp that's used for `org-cycle'? `org-complex-heading-regexp'? Bye, Tassilo ___ 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 -- Gray Calhoun Economics Department UC San Diego http://gray.calhoun.googlepages.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
[Orgmode] can the symbol for leading stars be changed?
Hi everyone, Is there a way for users to easily replace the leading stars with another symbol? In particular, I want to replace the '*' with '#' so that I use org mode to write pseduocode for R in outline form -- R uses # to designate comments and this would ensure that the headers wouldn't be read as code. I don't know emacs lisp (beyond cutting and pasting to a .emacs file), but would be happy to dive in. Thanks! --Gray -- Economics Department UC San Diego http://gray.calhoun.googlepages.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