Re: [Orgmode] Exporting for word processors
On May 9, 2009, at 1:04 AM, Scot Becker wrote: I'm doing something similar. Also in the humanities, and also the lone non-Word user in my department (also with biblatex). In my case, no one minds what tools I use, so I'm lucky. I'm using org latex PDF and pass those on to my supervisor. I hope that you find something that works. Conversion seems to always have a few niggles, which makes me think that conversion on an ongoing basis may have some rough spots. I expect that if you use HTML as an intermediary format, you won't have the footnotes where you want them. And LaTeX just seems to think differently from Word, which means that things don't come out how you want them. If your committee is happy to pay attention to content, and not worry about exactly how things look until the end, it should be fine. If they care about how things look, you might persuade them that a nicely done LaTeX PDF is the thing. Also it's worth noting that the org-mode exporter does have a few quirks, which I just managed to figure out. You can't end italics *after* a comma (you have to do it before), Hmmm, you could try to change this by customizing org-emphasis-regexp- components. the third string lists the characters forbidden as first and last characters in an emphasis region. The comma is listed here, but I don't remember exactly why. There probably was a reason in an example posted by someone. But it might be relatively safe to remove the comma from this list. Same for single and double quotes. This stuff is really hard to get right for everyone, which is why this variable exists to make your own rules. - Carsten and you can't mix bold and italics unless you specify explicit LaTeX markup for one of them. And bold or italics and quote marks also have problems, which I haven't wholly sorted out. But if you go with LaTeX, you can get away with a lot just by passing LaTeX commands through. All the best, Scot On Fri, May 8, 2009 at 9:03 PM, Matthew Lundin m...@imapmail.org wrote: Hi Jeffrey, Jeffrey Windsor windsor...@osu.edu writes: I'm a PhD candidate in English literature, trying to break free from the crappy tools that proliferate among humanists. My advisor and committee are all incorrigible Microsoft Word users -- there's no chance that they'll ever switch. I'd rather use emacs, and specifically org, for my dissertation. But I need to regularly send drafts to my committee. I am in the same position --- i.e., I use emacs/auctex/org-mode/ biblatex in a field in which MS Word is the default option. Many of the things I write have to be converted to doc format at some point. In the past, I've used PDFs (created in org via LaTeX), which works fine from my perspective, but I've detected some grumbling from the Microsoft Word users. They want me to fit in with the rest of the crowd and send them Word docs, too. Are they adding comments to the Word document, or are they simply printing it out for reading? If the latter is the case, then this might be an opportunity to inform them (gently) about the advantages of pdf files for exchanging documents. :) Before org, I used MultiMarkdown, which exports to RTF. Since discovering the more robust org-mode, I've wished I could do the same. The fact is, I probably *can* do the same, but simply lack the know-how. Perhaps the easiest route would be to export to html and then save as a doc file from within Open Office or Word. For simple LaTeX export to rtf (i.e., export of tex files exported from org-mode), I've had great success with latex2rtf: http://latex2rtf.sourceforge.net/ It's as simple as typing: --8---cut here---start-8--- latex2rtf document.tex --8---cut here---end---8--- It will spit out a few warnings about unknown packages, but the resulting rtf file is usually quite good. Can anyone help me out? I suspect that docbook is the key, but I've tried to find an answer there and am flummoxed by the docbook documentation. Plus, if possible I'd like to have this be a simple process: if possible I'd like to have a straightforward C-c C-e R and, voila!, an RTF (or wordml?) file appears on my desktop. I'm a Mac (aquamacs emacs) user running org 6.26trans, if that makes any difference. I think it would be pretty easy to write a function combines org-export-as-latex with latex2rtf to deposit an rtf on the desktop. I'll see what I can come up with. For more complicated stuff (e.g., if you use the excellent biblatex package for managing citations), tex4ht is a nice option: http://www.cse.ohio-state.edu/~gurari/TeX4ht/ This is a very powerful export tool that will convert a tex file to a variety of formats. It can handle a lot of extra tex packages (e.g., biblatex) that other exporters can't handle. Hope this helps. Matt ___ Emacs-orgmode
Re: [Orgmode] Re: checkbox statistics (fixed version)
On May 9, 2009, at 1:50 AM, Eddward DeVilla wrote: That's true, but to be honest, before I knew about the [-] feature, I used [/] tokens on list items with checkboxes under them. I'd consider this an improvement. Consider what exactly an improvement? - Carsten Edd On Fri, May 8, 2009 at 10:27 AM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Richard, your patch works, almost. Where it goes wrong is here: * test [3/6] - one - [X] two - three - [-] four - [X] five - [-] six - seven - [ ] eight - [X] nine The statistics cookie talks about 6 checkboxes below it, but in fact there are only 4, two (at four and six) are a summary checkboxes. So we get the funny effect that toggling eight will make the cookie jump from 3/6 directly to 6/6 Maybe this is acceptable, because the summary checkboxes don't really make sense when the statistics covers the entire tree Opinions? - Carsten On Apr 24, 2009, at 3:01 PM, Richard KLINDA wrote: This is the fixed patch, it actually works on my real life org files so this has a slight chance of being right. diff --git a/lisp/org-list.el b/lisp/org-list.el index 7469add..872dddf 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -110,6 +110,9 @@ with \\[org-ctrl-c-ctrl-c\\]. :group 'org-plain-lists :type 'boolean) +(defcustom org-recursive-checkbox-statistics nil + Non-nil means, that checkbox counting should happen recursively.) + (defcustom org-description-max-indent 20 Maximum indentation for the second line of a description list. When the indentation would be larger than this, it will become @@ -402,7 +405,10 @@ the whole buffer. (org-beginning-of-item) (setq curr-ind (org-get-indentation)) (setq next-ind curr-ind) - (while (and (bolp) (org-at-item-p) (= curr-ind next- ind)) +(while (and (bolp) (org-at-item-p) +(if org-recursive-checkbox-statistics +(= curr-ind next-ind) +(= curr-ind next-ind))) (save-excursion (end-of-line) (setq eline (point))) (if (re-search-forward re-box eline t) (if (member (match-string 2) '([ ] [-])) @@ -410,7 +416,12 @@ the whole buffer. (setq c-on (1+ c-on)) ) ) -(org-end-of-item) + (if org-recursive-checkbox-statistics + (progn +(end-of-line) +(when (re-search-forward org-list- beginning-re lim t) + (beginning-of-line))) + (org-end-of-item)) (setq next-ind (org-get-indentation)) ))) (goto-char continue-from) -- Richard ___ 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
Re: [Orgmode] Links to tomboy notes in org files
On May 9, 2009, at 12:15 AM, Marcelo de Moraes Serpa wrote: Hello list, Well, first, once again (I don't get tired of doing this) let me congratulate the org developer for such an awesome piece of software! I use org to implement GTD, and most of my list management lies in emacs+org. However, for reference material and notes (that are reference in nature) I use tomboy. I have two inboxes: Remember and Tomboy. When I feel the data is amorphous (I'm not sure yet what it means) I just dump it in inbox.org through Remember to then process -- it may turn out to be reference material and may go to tomboy. However, if it's a note, blog post draft, or any other data that is is bigger in nature and has a reference and that will probably not be accessed that often, I dump into tomboy. I have a main gtd.org file and in its top I have a list of other org files that I have, for example: * Workout plan - [[workout.org]] * Nutrition - [[nutrition.org]] What I would like to do is create a link to a tomboy note. I'm sure it would be possible somehow, but I have no idea how though. Something like: * Check out Blog post draft [[tomboy:my draft]] And C-u C-o on it would open this tomboy note in tomboy. Any ideas on how this could be implemented? Is there a command line command that will fire up tomboy and display a specific note? The this could be easily done. - 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] Exporting for word processors
Matthew Lundin m...@imapmail.org wrote: I am in the same position --- i.e., I use emacs/auctex/org-mode/biblatex in a field in which MS Word is the default option. Many of the things I write have to be converted to doc format at some point. Hi Matthew, could you elaborate on how you use biblatex with org-mode and auctex, since auctex doesn't support biblatex? Ciao Sebastian ___ 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: higher level headline as category
The *best solution* I can think of... would be to enable to aganda to *show parent headline as prefix*. If this is not possible: Is there already a *convenient* way to *enter the category* property? On Fri, May 8, 2009 at 14:40, Tassilo Horn tass...@member.fsf.org wrote: :PROPERTIES: :CATEGORY: headline1 :END: Or do I have to type: :PROPERTIES: :CATEGORY: headline :END: by hand every time? I would like to be able to add the *category* with a *keyboard-shortcut*instead of typing all it all out. Any (alternative) suggestions? Take care, Eraldo ___ 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: higher level headline as category
Eraldo Helal ad...@eraldo.at writes: Hi Eraldo, I would like to be able to add the *category* with a *keyboard-shortcut*instead of typing all it all out. See ,[ (info (org)Property syntax) ] | `M-TAB' | After an initial colon in a line, complete property keys. All | keys used in the current file will be offered as possible | completions. | | `C-c C-x p' | Set a property. This prompts for a property name and a value. If | necessary, the property drawer is created as well. ` 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
[Orgmode] Long clocktable runs off page (PDF export). Page-break and flow to next page?
When my worklog clocktable gets longer than the PDF export page, it simply runs off the bottom of the page. Is there a LaTeX-customization (and/or consider this a feature request) such that the table could page-break and flow to the next page at any row? #+BEGIN: clocktable :maxlevel 2 :scope subtree The worklogs are simple: one L1 heading, and many clocked L2 tasks. There are often several day's gaps between L2 tasks, so I don't use the step and tstart tend clocktable options Thanks, Jeff ___ 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] Long clocktable runs off page (PDF export). Page-break and flow to next page?
On May 9, 2009, at 2:50 PM, Jeff Kowalczyk wrote: When my worklog clocktable gets longer than the PDF export page, it simply runs off the bottom of the page. Is there a LaTeX-customization (and/or consider this a feature request) such that the table could page-break and flow to the next page at any row? #+BEGIN: clocktable :maxlevel 2 :scope subtree The worklogs are simple: one L1 heading, and many clocked L2 tasks. There are often several day's gaps between L2 tasks, so I don't use the step and tstart tend clocktable options #+CAPTION: A really long table for the clocking summary #+LABEL: tbl:clock #+ATTR_LaTeX: longtable #+BEGIN: clocktable :maxlevel 2 :scope subtree #+END HTH - 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] Exporting for word processors
Hi Sebastian, Sebastian Titz sebastian.t...@gmail.com writes: Matthew Lundin m...@imapmail.org wrote: I am in the same position --- i.e., I use emacs/auctex/org-mode/biblatex in a field in which MS Word is the default option. Many of the things I write have to be converted to doc format at some point. could you elaborate on how you use biblatex with org-mode and auctex, since auctex doesn't support biblatex? I'll try to keep this brief, since I don't want to talk too much about AUCTeX in the org-mode forum. I've found that AUCTeX and RefTeX work very well with biblatex, since all biblatex requires is to run latex, then bibtex, then latex again. I use the Chicago Manual of Style biblatex package: http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/biblatex-chicago-notes-df/ To make this work with AUCTeX, I've created a custom reftex-cite-format for the citation types I use most often: --8---cut here---start-8--- (setq reftex-cite-format '( (?c . \\cite[]{%l}) (?C . \\cites[]{%l}) (?t . \\citetitle[]{%l}) (?T . \\citetitles[]{%l}) (?a . \\autocite[]{%l}) (?A . \\autocites[]{%l}) (?h . \\headlessfullcite[]{%l}) (?x . []{%l}) (?X . {%l}) )) (setq reftex-cite-prompt-optional-args t) --8---cut here---end---8--- I've also set the following variable to get the appropriate faces: --8---cut here---start-8--- (setq font-latex-match-reference-keywords '((cites [{) (autocite [{) (autocites [{) (citetitle [{) (citetitles [{) (headlessfullcite [{))) --8---cut here---end---8--- Finally, I've had to hack at a couple of reftex functions to change the regular expressions that are used to identify citation macros for: 1) jumping to the matching entry in the bib file (reftex-view-crossref) 2) generating a bib file from a tex file (reftex-all-used-citation-keys). - This is necessary because the current regexps don't recognize the plural citation macros (e.g. \cites, \autocites, etc.). Unfortunately, these regexps are hardcoded into reftex, so I have to load the rewritten functions via a reftex-mode-hook. And since Carsten is no longer the maintainer of RefTeX, it's not quite as easy to get a customize option for a RefTeX regexp as it is to get one in org-mode. :) The whole setup is by no means perfect, but it works fine for me. Now, for the org-mode part of the post. I generally use org-mode for drafting and AUCTeX for revising/polishing and adding formal citations. If I plan exporting something quickly from org-mode, I use the following function for a quick and dirty way to get citation info from my bib files into my org-mode files. (And, of course, I make heavy use of org-mode's wonderful footnote features.) --8---cut here---start-8--- (defun my-reftex-citations () (interactive) (let ((reftex-cite-format '( (?f . %a. %t. %j, %v, %b. %r: %u, %y. %p.\n) (?F . %l\n\n%a. %t. %j, %v, %b. %r: %u, %y. %p.\n) (?s . %a, %t, %y\n) (?c . \\cite[]{%l} (?l . [[%l]]\n) (?L . %a, %t, %y. [[%l]]\n (reftex-citation))) (define-key text-mode-map (kbd C-c y) 'my-reftex-citations) --8---cut here---end---8--- If I wanted to export for biblatex directly from org-mode (which I haven't tried yet), I think I would ignore most of the special biblatex/Chicago macros and just use the \cite macro inside of footnotes to make conversion/export to other formats a bit easier. Hope this helps. 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] Exporting for word processors
@Carsten. Thanks for pointing that variable out. I'll experiment. I was encouraged by the fact that even when italics didn't work the way I wanted, the /slashes/ were always still intact. I figured if I got desperate, I could always do a second pass on an export hook, but I'll mess with the variable. How nice that it's flexible. @ Matthew: Thanks for your setup. I'll be glad to poke around with it. @ Sebastian: Matthew's setup is considerably more refined than mine, but so far I've had good sucess with ebib, another BibTeX manager for Emacs. It lets you customize a few citation commands and makes it very easy to snag a quick citation key while writing. So far I write in org-mode and try to arrange it so I never have to look at the LaTeX file. But mine is a thesis, and it's not to the final stages yet. At the moment I still run (xe)latex-bibtex-(xe)latex manually, but that's only because I haven't sat down to customize the org variable to customize the latex command and run bibtex. Scot On Sat, May 9, 2009 at 4:48 PM, Matthew Lundin m...@imapmail.org wrote: Hi Sebastian, Sebastian Titz sebastian.t...@gmail.com writes: Matthew Lundin m...@imapmail.org wrote: I am in the same position --- i.e., I use emacs/auctex/org-mode/biblatex in a field in which MS Word is the default option. Many of the things I write have to be converted to doc format at some point. could you elaborate on how you use biblatex with org-mode and auctex, since auctex doesn't support biblatex? I'll try to keep this brief, since I don't want to talk too much about AUCTeX in the org-mode forum. I've found that AUCTeX and RefTeX work very well with biblatex, since all biblatex requires is to run latex, then bibtex, then latex again. I use the Chicago Manual of Style biblatex package: http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/biblatex-chicago-notes-df/ To make this work with AUCTeX, I've created a custom reftex-cite-format for the citation types I use most often: --8---cut here---start-8--- (setq reftex-cite-format '( (?c . \\cite[]{%l}) (?C . \\cites[]{%l}) (?t . \\citetitle[]{%l}) (?T . \\citetitles[]{%l}) (?a . \\autocite[]{%l}) (?A . \\autocites[]{%l}) (?h . \\headlessfullcite[]{%l}) (?x . []{%l}) (?X . {%l}) )) (setq reftex-cite-prompt-optional-args t) --8---cut here---end---8--- I've also set the following variable to get the appropriate faces: --8---cut here---start-8--- (setq font-latex-match-reference-keywords '((cites [{) (autocite [{) (autocites [{) (citetitle [{) (citetitles [{) (headlessfullcite [{))) --8---cut here---end---8--- Finally, I've had to hack at a couple of reftex functions to change the regular expressions that are used to identify citation macros for: 1) jumping to the matching entry in the bib file (reftex-view-crossref) 2) generating a bib file from a tex file (reftex-all-used-citation-keys). - This is necessary because the current regexps don't recognize the plural citation macros (e.g. \cites, \autocites, etc.). Unfortunately, these regexps are hardcoded into reftex, so I have to load the rewritten functions via a reftex-mode-hook. And since Carsten is no longer the maintainer of RefTeX, it's not quite as easy to get a customize option for a RefTeX regexp as it is to get one in org-mode. :) The whole setup is by no means perfect, but it works fine for me. Now, for the org-mode part of the post. I generally use org-mode for drafting and AUCTeX for revising/polishing and adding formal citations. If I plan exporting something quickly from org-mode, I use the following function for a quick and dirty way to get citation info from my bib files into my org-mode files. (And, of course, I make heavy use of org-mode's wonderful footnote features.) --8---cut here---start-8--- (defun my-reftex-citations () (interactive) (let ((reftex-cite-format '( (?f . %a. %t. %j, %v, %b. %r: %u, %y. %p.\n) (?F . %l\n\n%a. %t. %j, %v, %b. %r: %u, %y. %p.\n) (?s . %a, %t, %y\n) (?c . \\cite[]{%l} (?l . [[%l]]\n) (?L . %a, %t, %y. [[%l]]\n (reftex-citation))) (define-key text-mode-map (kbd C-c y) 'my-reftex-citations) --8---cut here---end---8--- If I wanted to export for biblatex directly from org-mode (which I haven't tried yet), I think I would ignore most of the special biblatex/Chicago macros and just use the \cite macro inside of footnotes to make conversion/export to other formats a bit easier. Hope this helps. Matt
Re: [Orgmode] Re: checkbox statistics (fixed version)
The behaviour of the [/] token counter all of it decendents and not just it's immediate children. I under stand it's not ideal in the case of [-] tokens or position that could get [-] tokens, but I still prefer being able to collapse a list and still being able to tell roughly how much is left to do under it. So given something like the example we've been working with but with org's current behaviour... * test [3/4] - [X] one - [X] two - [X] three - [-] four - [ ] five - [ ] six - [ ] seven - [ ] eight - [ ] nine If I collapse test and just scan the file, I would think I'm mostly done. With the older behaviour I could have done something more like... * test [3/7] - [X] one - [X] two - [X] three - [0/4] four - [ ] five - [0/3] six - [ ] seven - [ ] eight - [ ] nine I would realized that there was a bit more to do and maybe I should expand that tree an inspect it a bit more. I use collapsible lists and I tend to set up large lists. This behaviour works a lot better for me. Edd On Sat, May 9, 2009 at 1:56 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On May 9, 2009, at 1:50 AM, Eddward DeVilla wrote: That's true, but to be honest, before I knew about the [-] feature, I used [/] tokens on list items with checkboxes under them. I'd consider this an improvement. Consider what exactly an improvement? - Carsten Edd On Fri, May 8, 2009 at 10:27 AM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Richard, your patch works, almost. Where it goes wrong is here: * test [3/6] - one - [X] two - three - [-] four - [X] five - [-] six - seven - [ ] eight - [X] nine The statistics cookie talks about 6 checkboxes below it, but in fact there are only 4, two (at four and six) are a summary checkboxes. So we get the funny effect that toggling eight will make the cookie jump from 3/6 directly to 6/6 Maybe this is acceptable, because the summary checkboxes don't really make sense when the statistics covers the entire tree Opinions? - Carsten On Apr 24, 2009, at 3:01 PM, Richard KLINDA wrote: This is the fixed patch, it actually works on my real life org files so this has a slight chance of being right. diff --git a/lisp/org-list.el b/lisp/org-list.el index 7469add..872dddf 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -110,6 +110,9 @@ with \\[org-ctrl-c-ctrl-c\\]. :group 'org-plain-lists :type 'boolean) +(defcustom org-recursive-checkbox-statistics nil + Non-nil means, that checkbox counting should happen recursively.) + (defcustom org-description-max-indent 20 Maximum indentation for the second line of a description list. When the indentation would be larger than this, it will become @@ -402,7 +405,10 @@ the whole buffer. (org-beginning-of-item) (setq curr-ind (org-get-indentation)) (setq next-ind curr-ind) - (while (and (bolp) (org-at-item-p) (= curr-ind next-ind)) + (while (and (bolp) (org-at-item-p) + (if org-recursive-checkbox-statistics + (= curr-ind next-ind) + (= curr-ind next-ind))) (save-excursion (end-of-line) (setq eline (point))) (if (re-search-forward re-box eline t) (if (member (match-string 2) '([ ] [-])) @@ -410,7 +416,12 @@ the whole buffer. (setq c-on (1+ c-on)) ) ) - (org-end-of-item) + (if org-recursive-checkbox-statistics + (progn + (end-of-line) + (when (re-search-forward org-list-beginning-re lim t) + (beginning-of-line))) + (org-end-of-item)) (setq next-ind (org-get-indentation)) ))) (goto-char continue-from) -- Richard ___ 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] How not to export blocked tasks to iCal?
Hello everyone, I use orgmode to write down TODO tasks with dependencies (using org-enforce-todo-dependencies). I want to export the tasks to an iCalendar file, but *without* the blocked tasks (i.e, tasks that have unfinished dependencies). The agenda view hides these tasks if you set org-agenda-dim-blocked-tasks. It there a way to configure the iCalendar export to ignore these tasks too, like in the agenda view? Thanks, Guy Wiener. ___ 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] ditaa and dot blocks with docbook export
So I was looking at http://doc.norang.ca/org-mode.html and saw the integration with ditaa, and wondered how hard that would be to get workign with the docbook exporter. Oh! There is a dot block in there too! Cool. Hmm. Lets try adding docbookp. Boy was *that* easy! Works great. Thanks Baoqiu Cui. -Dale From 0c534df7af71e0a742a7123a14e0293da9f0e4c6 Mon Sep 17 00:00:00 2001 From: Dale Smith da...@flexo.cle.vtiinstruments.lcl Date: Fri, 8 May 2009 10:54:49 -0400 Subject: [PATCH] Add support for docbook export for dot and ditaa blocks. --- contrib/lisp/org-exp-blocks.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-exp-blocks.el b/contrib/lisp/org-exp-blocks.el index 5803458..bbecd18 100644 --- a/contrib/lisp/org-exp-blocks.el +++ b/contrib/lisp/org-exp-blocks.el @@ -187,7 +187,7 @@ passed to the ditaa utility as command line arguments. (org-split-string body \n) \n))) (cond - ((or htmlp latexp) + ((or htmlp latexp docbookp) (with-temp-file data-file (insert body)) (message (concat java -jar org-ditaa-jar-path args data-file out-file)) (shell-command (concat java -jar org-ditaa-jar-path args data-file out-file)) @@ -222,7 +222,7 @@ digraph data_relationships { (args (if (cdr headers) (mapconcat 'identity (cdr headers) ))) (data-file (make-temp-file org-ditaa))) (cond - ((or htmlp latexp) + ((or htmlp latexp docbookp) (with-temp-file data-file (insert body)) (message (concat dot data-file args -o out-file)) (shell-command (concat dot data-file args -o out-file)) -- 1.6.0.3 -- Dale P. Smith da...@vtiinstruments.com 216-447-4059 x2018 216-447-8951 FAX (Company mandated disclaimer follows...) The information in this e-mail and any attachments is intended solely for use by the recipient(s) to whom this e-mail is addressed and may contain confidential and/or privileged information which is exempt from disclosure. If you are not an intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this e-mail and any attachments in error and that dissemination, distribution, review or copying of this e-mail and its attachments is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete all electronic and paper copies of this e-mail as well as any attachments. Thank you. http://www.vtiinstruments.com/images/vtiemaillogo.gif ___ 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] How not to export blocked tasks to iCal?
Guy Wiener gwie...@cs.bgu.ac.il writes: Hello everyone, I use orgmode to write down TODO tasks with dependencies (using org-enforce-todo-dependencies). I want to export the tasks to an iCalendar file, but *without* the blocked tasks (i.e, tasks that have unfinished dependencies). The agenda view hides these tasks if you set org-agenda-dim-blocked-tasks. It there a way to configure the iCalendar export to ignore these tasks too, like in the agenda view? Thanks, Guy Wiener. It would be nice if the results from #+CATEGORY: Anniv %%(org-bbdb-anniversaries) were included too. My initial test indicate they are not. ___ 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