Re: [Orgmode] Repeating tasks in an interval

2010-02-02 Thread Eric S Fraga
At Wed, 3 Feb 2010 05:02:51 + (UTC),
Robert P. Goldman wrote:
> 
> Is there some way to specify a repeating task over an interval?  That is a 
> task
> that is done, for example, every month, over a finite period?
> 
> Here's an example that I tried:
> 
> DEADLINE: <2009-12-01 Tue +1m>--<2009-11-01 Sun>
> 
> But this one doesn't work --- the tasks keep appearing after November ended.
> 
> Is this possible?  Do I just have the wrong syntax?  Or must I do this with 
> C-c
> C-x c (cloning)?

You can use sexp diary constructs for this: see the Timestamps section
in the org manual, specifically the DIARY-STYLE SEXP ENTRIES heading.

HTH,
eric


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-babel - First line of file created by tangle

2010-02-02 Thread Rainer M Krug
Hi

I am sure I can customize it, but I could not find it.
When tangling R code, I would like to skip (or customize) the first line of
the resulting R file. It reads "#!/usr/bin/env Rscript" and I would either
like to exclude it completely, or replace it with e.g. "## R"

I am sourcing the files anyway from a different R session and I don't need
to execute them directly.

Cheers,

Rainer

-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.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] Aligning table is incorrect when containing japanese character

2010-02-02 Thread Carsten Dominik

Hi Taiki,

Org-mode will do this right if you are using a font
that uses a wdith of exactly 2 ASCII characters for each japanese  
character.


- Carsten

On Feb 2, 2010, at 7:58 PM, Taiki SUGAWARA wrote:


Hi,

When I align table containing japanese character as following steps:

 1. insert following table to buffer.
   | 日本語  |   |
   | foo bar baz |   |
 2. move cursor to top-left corner of table.

 3. Hit Tab, Tab

Aligning table is incorrect as following:
   | 日本語   |   |
   | foo bar baz |   |

I think, `org-table-justify-field-maybe' should use string width
instead of buffer's point distance.

I wrote attached patch to use string width. Would you review it?

Regards,
Taiki
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Misleading error message from beamer export

2010-02-02 Thread Carsten Dominik

Hi Ben,

I don't think

 #+LaTeX_CLASSS_OPTIONS: [presentation]

can mess with org-export-latex-classes.  You must hve been missing  
something else.

Try to re-introduce the line - I am sure it will work just fine.

- Carsten

On Feb 2, 2010, at 8:01 PM, Ben Smith wrote:


Trying my first beamer document
I was getting this error message:

No definition for class `beamer' in `org-export-latex-classes'

I tried Carston's example.. same error.

Looking at the org-export-latex-classes, I found indeed that there  
was not specification for 'beamer.' However, if removed  
customization for this setting, the class appeared.


So I searched and searched through all of my init.el but found  
nothing that might have overwritten the export-latex-classes.


Restarted emacs and tried Carston's example.. IT WORKED just fine.
Sure enough, beamer was defined.

Conclusion: it must be something in my own document that was mucking  
up the class list.


And it was here:

 #+LaTeX_CLASSS_OPTIONS: [presentation]

see the error? CLASSS (too many S's)

It only took 2 hours to figure this one out.
-ben
--
Capt. Ben Smith
R/V Coastal Surveyor - R/V Cocheco - S/V Mother of Perl
Center for Coastal and Ocean Mapping Joint Hydrographic Center
University of New Hampshire, Durham, NH, U.S.A.
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Export to HTML & open in browser error

2010-02-02 Thread Carsten Dominik

Hi Russel,

I cannot reproduce this.  I open a file with

emacs test/xx\ yy.org

and C-c C-e b opens the corresponding HTML file in the correctly
in Firefox.

- Carsten

On Feb 3, 2010, at 12:10 AM, Russell Adams wrote:


Whitespace in the filename isn't being escaped when launching the
external browser.

Thanks!

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
Emacs-orgmode mailing list
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] Is it possible to control info.js' behavior

2010-02-02 Thread Chao Lu
Dear all,

I'm writing to see is it possible to control info.js' behavior, for
currently it will unfolded the content under the first headline, but what I
want is folded all.

Any suggestion?

Thanks a lot.

Chao
<><>___
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] Another question

2010-02-02 Thread Chao Lu
Dear all,

I know it's a silly question... But it is possible for emacs support free
hand input (tablet), since for a student on physics, most notes are math
equation related...

Any suggestion?

Chao
___
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] Repeating tasks in an interval

2010-02-02 Thread Robert P . Goldman
Is there some way to specify a repeating task over an interval?  That is a task
that is done, for example, every month, over a finite period?

Here's an example that I tried:

DEADLINE: <2009-12-01 Tue +1m>--<2009-11-01 Sun>

But this one doesn't work --- the tasks keep appearing after November ended.

Is this possible?  Do I just have the wrong syntax?  Or must I do this with C-c
C-x c (cloning)?

thanks,
Robert



___
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] Is there any IN Buffer setting for preamble and Remember

2010-02-02 Thread Chao Lu
Dear all,

When exporting, NOT publishing, is it possible to still use the preamble,
but in-buffer setting it?

Another question will be for remember, I tried several times, seem for the
remember template, a headline is required, say, if I just want to add a
line, like below, which is quite often when just want to write some idea
down:


- Don't forget buy some binders


Could I do so, but let org know not generate the headline automatically?

Thanks in advance,

Chao
___
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: interacting with word processors (opeonffice, word)

2010-02-02 Thread Matt Lundin
David Maus  writes:

> At Tue, 2 Feb 2010 12:55:42 -0600,
> Russell Adams wrote:
>>
>> On Tue, Feb 02, 2010 at 08:44:54PM +0200, Rainer M Krug wrote:
>> > Hi Matt
>> >
>> > try latex2rtf: export org-mode to LaTeX and use latex2rtf to convert it to
>> > rtf.
>> > I am using latex2rtf to convert LaTeX code (generated by LyX) into rtf for
>> > exactly the same purpose.
>>
>> That's a great idea!
>>
>> Currently I export to HTML and then let Word users import that. It
>> preserves most of the formatting that is important to me, though
>> external files have to be manually inserted in Word.
>>
>> Does RTF help with external references? (ie: embedded images?)
>
> You may also give tex4ht[1] a shot. I don't use it that often but my
> impression is that it gives better results than latex2rtf

I recommend both latex2rt and tex4ht (i.e., mk4ht oolatex). I use the
former for simple documents (i.e., articles without bibtex references
or special LaTeX packages) and the former for anything more complicated.

Best,
Matt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Publish-current-file error

2010-02-02 Thread Carsten Dominik


On Feb 3, 2010, at 12:13 AM, Chao Lu wrote:


Hey Nick,

Thanks a lot for your detailed explanation, now I'm pretty clear  
about the error. But I just get the idea why we could not publish  
arbitrary org file as html to current directory, I guess it could be  
kind of troublesome that every time to set up the project first?


That process is called "exporting", not "publishing", it needs no  
further

setup and is described in the manual.

- Carsten



What do you think?

Chao

On Tue, Feb 2, 2010 at 6:01 PM, Nick Dokos   
wrote:

Chao Lu  wrote:

> I just start a new org file, say, PHY.org, type very simple words,  
then

> tried
> M-x org-publish-current-file.
>
> The *backtrace* tells:
> 
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   file-name-as-directory(nil)

... and as you can see, the problem is that file-name-as-directory  
is called

with a nil argument, whereas it expects a string.

>   (let* ((project-plist ...) (base-dir ...) (include-list ...)  
(recurse ...)

> (extension ...) (match ...)) (setq org-publish-temp-files nil)
> (org-publish-get-base-files-1 base-dir recurse match exclude-regexp
> exclude-regexp) (mapc (lambda ... ...) include-list) org-publish- 
temp-files)


>   org-publish-get-base-files(("options" :section-numbers nil
> :table-of-contents nil :style " type=\"text/javascript\">\n/* > org_html_manager.set(" TOC ", 1);\n 
org_html_manager.set("
> LOCAL_TOC ", 1);\norg_html_manager.set("  
VIEW_BUTTONS ", "
> true ");\norg_html_manager.set(" MOUSE_HINT ", "  
underline
> "); // or background-color like '#ee'\n
> org_html_manager.setup ();\n/* ]]> */\n
> ") nil)

... and this tells us that org-publish-get-base-files got called and
somewhere in the execution of the let* form, it got the error.
So you look at that let* form in org-publish-get-base-files and you
see this:

 (let* ((project-plist (cdr project))
(base-dir (file-name-as-directory
   (plist-get project-plist :base-directory)))
...

which tells me that you *have* to have a project-plist and it *has*
to have a :base-directory property in order to be able to publish.
You just cannot take an arbitrary org file and publish it without
providing the publishing framework for it.

HTH,
Nick


> >
> > > Today I was trying to publish a single org file using
> > > org-publish-current-file, however, org refused to do so, the  
error

> > message
> > > is
> > >
> > > 
> > > let*: Wrong type argument: stringp, nil
> > > 
> > >
> > > I believe the org-publish function work well, for I could get  
the
> > > pre-defined project published smoothly. So do anyone has met  
similar

> > > problem?
> > >
> >
> > Please set debug-on-error to t and after recreating the error,  
post the
> > resulting backtrace. See the "Feedback" section of the Org  
manual for more

> > details on how to report problems.
> >
> > HTH,
> > Nick



- 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: Hang after agenda export [6.34c]

2010-02-02 Thread manonfire
> "Symbol's function definition is void: flet"

 You need

 cl.el --- Common Lisp extensions for Emacs
>>>
>>>
>>
>> When I do a C-u M-x org-reload beforehand there is no error message
>> and
>> the pdf export succeeds.
>
> That sounds like there still is a loading conflict - most likely you
> are doing something to load org-mode (like setting up appt with org,
> or visiting an Org file or constructing an agenda view) before adding
> the org directories to the load path.
>
> - Carsten
>

Ok, thanks.

I'm inexperienced with emacs and lisp and probably can't be of much help
to decide if this is a bug or not.
(require 'cl) in .emacs is a workaround for me.

So just for the record, I have the load-path lines as first two lines in
my .emacs file and (require 'org-install) as third one. Commenting out the
first two lines makes emacs load my older system-wide installation of org
under /usr/local/share/emacs/... which doesn't seem to know "flet" either.
Looking at ~/org-6.34c/lisp/, every *.el file has a *.elc equivalent, so I
have no idea...

Maybe it's because of the ppa.launchpad emacs built I have. I'm going to
install Ubuntu karmic on another system and test the emacs version that
comes with it (and if it hangs with the mentioned exporter-settings).

Regards
manonfire




___
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] Publish-current-file error

2010-02-02 Thread Nick Dokos
Chao Lu  wrote:

> Thanks a lot for your detailed explanation, now I'm pretty clear about the
> error. But I just get the idea why we could not publish arbitrary org file
> as html to current directory, I guess it could be kind of troublesome that
> every time to set up the project first?
> 
> What do you think?
> 

Assuming you do a good job of implementing it, Carsten will happily
accept patches. :-)

Cheers,
Nick


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Just a piece of advice

2010-02-02 Thread Nick Dokos
Chao Lu  wrote:

> 
> As I walking around the internet using firefox and came across something
> interesting, I just press the Win+A global key to call Evernote or C-S-L to
> call Scrapbook(plugin of firefox) to remember it. But as I totally move to
> Org now, here comes my question, can our org do so, which is capture the
> html globally? This can be really nice, since I live in firefox heavily,
> (w3m is good, but sometimes, still need cookie, javascript, flash).
> 
> If there's already procedure for configure Org to do so, could anybody who
> is familiar with this give me some hint?
> 

Check out org-protocol.el, section 9.4 "Protocols for external access" in the
org manual and the Worg pointer therein.

Cheers,
Nick


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Just a piece of advice

2010-02-02 Thread Chao Lu
Dear all,

As I walking around the internet using firefox and came across something
interesting, I just press the Win+A global key to call Evernote or C-S-L to
call Scrapbook(plugin of firefox) to remember it. But as I totally move to
Org now, here comes my question, can our org do so, which is capture the
html globally? This can be really nice, since I live in firefox heavily,
(w3m is good, but sometimes, still need cookie, javascript, flash).

If there's already procedure for configure Org to do so, could anybody who
is familiar with this give me some hint?

Thanks,

Chao
___
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] Publish-current-file error

2010-02-02 Thread Chao Lu
Hey Nick,

Thanks a lot for your detailed explanation, now I'm pretty clear about the
error. But I just get the idea why we could not publish arbitrary org file
as html to current directory, I guess it could be kind of troublesome that
every time to set up the project first?

What do you think?

Chao

On Tue, Feb 2, 2010 at 6:01 PM, Nick Dokos  wrote:

> Chao Lu  wrote:
>
> > I just start a new org file, say, PHY.org, type very simple words, then
> > tried
> > M-x org-publish-current-file.
> >
> > The *backtrace* tells:
> > 
> > Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> >   file-name-as-directory(nil)
>
> ... and as you can see, the problem is that file-name-as-directory is
> called
> with a nil argument, whereas it expects a string.
>
> >   (let* ((project-plist ...) (base-dir ...) (include-list ...) (recurse
> ...)
> > (extension ...) (match ...)) (setq org-publish-temp-files nil)
> > (org-publish-get-base-files-1 base-dir recurse match exclude-regexp
> > exclude-regexp) (mapc (lambda ... ...) include-list)
> org-publish-temp-files)
>
> >   org-publish-get-base-files(("options" :section-numbers nil
> > :table-of-contents nil :style " > type=\"text/javascript\">\n/*  > org_html_manager.set(" TOC ", 1);\norg_html_manager.set("
> > LOCAL_TOC ", 1);\norg_html_manager.set(" VIEW_BUTTONS ",
> "
> > true ");\norg_html_manager.set(" MOUSE_HINT ", "
> underline
> > "); // or background-color like '#ee'\n
> > org_html_manager.setup ();\n/* ]]> */\n
> > ") nil)
>
> ... and this tells us that org-publish-get-base-files got called and
> somewhere in the execution of the let* form, it got the error.
> So you look at that let* form in org-publish-get-base-files and you
> see this:
>
>  (let* ((project-plist (cdr project))
> (base-dir (file-name-as-directory
>(plist-get project-plist :base-directory)))
> ...
>
> which tells me that you *have* to have a project-plist and it *has*
> to have a :base-directory property in order to be able to publish.
> You just cannot take an arbitrary org file and publish it without
> providing the publishing framework for it.
>
> HTH,
> Nick
>
>
> > >
> > > > Today I was trying to publish a single org file using
> > > > org-publish-current-file, however, org refused to do so, the error
> > > message
> > > > is
> > > >
> > > > 
> > > > let*: Wrong type argument: stringp, nil
> > > > 
> > > >
> > > > I believe the org-publish function work well, for I could get the
> > > > pre-defined project published smoothly. So do anyone has met similar
> > > > problem?
> > > >
> > >
> > > Please set debug-on-error to t and after recreating the error, post the
> > > resulting backtrace. See the "Feedback" section of the Org manual for
> more
> > > details on how to report problems.
> > >
> > > HTH,
> > > Nick
>
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Export to HTML & open in browser error

2010-02-02 Thread Russell Adams
Whitespace in the filename isn't being escaped when launching the
external browser.

Thanks!

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Publish-current-file error

2010-02-02 Thread Chao Lu
Hey nick,

My Emacs is GNU Emacs 23.1.90.1 (i386-mingw-nt5.1.2600).
Org: Org-mode version 6.34c.

I just start a new org file, say, PHY.org, type very simple words, then
tried
M-x org-publish-current-file.

The *backtrace* tells:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-as-directory(nil)
  (let* ((project-plist ...) (base-dir ...) (include-list ...) (recurse ...)
(extension ...) (match ...)) (setq org-publish-temp-files nil)
(org-publish-get-base-files-1 base-dir recurse match exclude-regexp
exclude-regexp) (mapc (lambda ... ...) include-list) org-publish-temp-files)
  org-publish-get-base-files(("options" :section-numbers nil
:table-of-contents nil :style "\n/*  */\n
") nil)
  (and p (org-publish-get-base-files p exclude))
  (let* ((exclude ...) (files ...)) (mapc (lambda ... ...) files))
  (lambda (p) (let* (... ...) (mapc ... files)))(("options" :section-numbers
nil :table-of-contents nil :style "\n/*  */\n
"))
  mapc((lambda (p) (let* (... ...) (mapc ... files))) (("org-notes"
:base-directory "~/.emacs.d/org/org/" :base-extension "org" :recursive t
:publishing-function org-publish-org-to-html :publishing-directory
"~/.emacs.d/org/public_html/" :headline-levels 4 :footnotes t :language
"utf-8" :auto-index t :index-filename "index.org" :index-title "LooChao's
Homepage" :auto-preamble t :auto-postamble t :postamble "\n\n\n\n\n\n\n\n" :style "
\n \n http://orgmode.org/org-info.js\";>") ("org-static"
:base-directory "~/.emacs.d/org/org/" :base-extension
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory
"~/.emacs.d/org/public_html/" :recursive t :publishing-function
org-publish-attachment) ("options" :section-numbers nil :table-of-contents
nil :style "\n/*  */\n")))
  (let (all-files) (mapc (lambda ... ...) (org-publish-expand-projects
projects-alist)) all-files)
  org-publish-get-files((("org-notes" :base-directory "~/.emacs.d/org/org/"
:base-extension "org" :recursive t :publishing-function
org-publish-org-to-html :publishing-directory "~/.emacs.d/org/public_html/"
:headline-levels 4 :footnotes t :language "utf-8" :auto-index t
:index-filename "index.org" :index-title "LooChao's Homepage" :auto-preamble
t :auto-postamble t :postamble "\n\n\n\n\n\n\n\n" :style "
\n \n http://orgmode.org/org-info.js\";>") ("org-static"
:base-directory "~/.emacs.d/org/org/" :base-extension
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory
"~/.emacs.d/org/public_html/" :recursive t :publishing-function
org-publish-attachment) ("org" :components ("org-notes" "org-static"))
("options" :section-numbers nil :table-of-contents nil :style "\n/*  */\n
")))
  (setq org-publish-files-alist (org-publish-get-files
org-publish-project-alist))
  (progn (setq org-publish-files-alist (org-publish-get-files
org-publish-project-alist)))
  (if (or refresh (not org-publish-files-alist)) (progn (setq
org-publish-files-alist ...)))
  (when (or refresh (not org-publish-files-alist)) (setq
org-publish-files-alist (org-publish-get-files org-publish-project-alist)))
  org-publish-initialize-files-alist()
  org-publish-current-file(nil)
  call-interactively(org-publish-current-file t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)
--

Anything else I could do?

Thanks a lot,

Chao

On Tue, Feb 2, 2010 at 5:36 PM, Nick Dokos  wrote:

> Chao Lu  wrote:
>
>
> > Today I was trying to publish a single org file using
> > org-publish-current-file, however, org refused to do so, the error
> message
> > is
> >
> > 

[Orgmode] Publish-current-file error

2010-02-02 Thread Chao Lu
Dear all,

Today I was trying to publish a single org file using
org-publish-current-file, however, org refused to do so, the error message
is


let*: Wrong type argument: stringp, nil


I believe the org-publish function work well, for I could get the
pre-defined project published smoothly. So do anyone has met similar
problem?

All the best,

Chao
___
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] latex enumeration issue

2010-02-02 Thread Mark Elston

A year ago Flavio de Souza asked a question about latex enumerations
that is similar to a problem I now have.  The answer given then was a
workaround that doesn't apply in my case.

This stems from my project of using a single file to maintain source
for generating my class notes *and* student handouts for my classes.
This allows me to take advantage of the common outline and common
text while specifying text that should go into only one or the other
document.

I manage to do this by something like:

* Common heading

  Some common text

** A common subheading

   More common text

***  :handouts:
Something for handouts only

***  :both:
More common text

***  :notes:
My class notes text

***  :both:
More common text


I have a makefile which creates a temporary .org file by
prepending a specific header on this file for each type of
output (handouts or notes), exporting to a latex file, running
a perl script to remove any (sub)+sections with just the
tags in them, and running pdflatex to generate the output.

So far, so good.

However, I ran into a problem with enumerations.  Sometimes I
have enumerations in my original org file which are separated by
the 'empty' sectioning commands.  This ends the enumeration and
the next enumerated item starts a new one.  The result is a set
of enumerations with a single element in it.  I get something
like:

   1.  Blah

   handout-specific text

   1.  More Blah

etc.  These should really have been 1, 2, etc.

The only workaround I have so far is to make all these items lists
instead of enumerations.  This works OK but they would make much more
sense as enumerations.

Is there anything I can do here?

Mark


___
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: interacting with word processors (opeonffice, word)

2010-02-02 Thread Shelagh Manton
On Tue, 02 Feb 2010 21:40:49 +0200, Rainer M Krug wrote:

> On Tue, Feb 2, 2010 at 8:34 PM, Matt Price 
> wrote:
> 
>> Hi,
>>
>> I;m getting more and more used to using org for my own writing
>> purposes, and love it.  But I still find it pretty difficult to work
>> with word-processor users whoexpect to get a doument in .doc or .odt
>> formats. I've just found odt2org
>> (http://mantiel.wikidot.com/os:odt2org) which looks great for importing
>> odt files into org; but my main concern right now is getting things
>> from org-mode out into odt or doc.  May i ask what other people tend to
>> do in this situation?  I I guess I could export to html, then import in
>> Openoffice, then edit & save as odf, but this seems a little
>> cumbersome.  If someone has a better solution I'd love to hear it.
>>
>>
> Oh - and ther is also:
> 
> mk4ht oolatex
> 
> which converts LaTeX to odt.
> 
> Cheers,
> 
> Rainer
> 
Wouldn't the org-docbook package be suitable as there are docbook to odt 
transformers (which makes sense as odt is a type of xml like docbook) 

http://open.comsultia.com/docbook2odf/ might be helpful.

Shelagh
> 
>> Thanks much,
>>
>> Matt
>>
>> --
>> Matt Price
>> matt.pr...@utoronto.ca
>>
>> ___ 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] Re: S-Tab strange behavour

2010-02-02 Thread Ryan Thompson
S-Tab probably checks the value of last-command to see if the previous
command was also a S-Tab. If the previous command was anything else,
then Org Mode has no idea whether the buffer or its visibility has
changed since the last-executed S-Tab, since it cannot know which
other commands will affect buffer visibility and which will not. So,
if the previous command is not S-Tab, then the next S-Tab will restart
the cycle from the beginning. Similarly, when you first open a buffer,
the value of last-command is probably 'find-file or something.

On Tue, Feb 2, 2010 at 12:38 PM, Ivan Vanyushkin  wrote:
> There is org-startup-folded that controls startup state, so org-mode should
> know it.
>
> Also S-Tab forgets state even in the middle of document. Key presses to
> reproduce:
>
> 1) S-Tab - OVERVIEW
> 2) S-Tab - CONTENTS
> 3) C-G (or any other)
> 4) S-Tab - OVERVIEW (expected: SHOW ALL)
>
> or
>
> 1) S-Tab - OVERVIEW
> 3) C-G (or any other)
> 4) S-Tab - OVERVIEW (nothing changed! expected: CONTENTS)
>
> Is it by design? Why?
>
>
> On 02.02.2010 21:40, Ryan Thompson wrote:
>>
>> I don't think it is possible in general to know the startup state of a
>> file. Files with a #+STARTUP line may be an execption.
>>
>> On Tue, Feb 2, 2010 at 11:28 AM, Ivan Vanyushkin
>>  wrote:
>>>
>>> Hello.
>>>
>>> On initial file opening, S-  cycles through
>>> 1) OVERVIEW ->  2) CONTENTS ->  3) SHOW ALL
>>> not depending on current state of document.
>>>
>>> So, if (as default) document is in OVERVIEW state, first press
>>> _does nothing_ (switch to OVERVIEW again). Expected: CONTENTS.
>>>
>>> If document initially "#+STARTUP: content", then first press switches it
>>> back to OVERVIEW. Expected: SHOW ALL.
>>>
>>> So, S-Tab (and maybe Tab) doesn't use context state when start cycling.
>>>
>>> Is it correct and why?
>>>
>>> org-version 6.21 and 6.34c
>>> Emacs 23.1.1
>>>
>>> Thank you for your answer!
>>>
>>>
>>> --
>>> Ivan Vanyushkin - Vanav.
>
>


___
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] images in orgmode

2010-02-02 Thread Nick Dokos
Erwin Panen  wrote:

> Question:
> When I click on one of the links between [ ] square brackets, my window=20
> splits in half, and in the bottom half the image appears.
> Looking at iimage here:=20
> http://www.netlaputa.ne.jp/~kose/Emacs/iimage.html#4.+Key+bin
> It should be possible to visualize these images inline with the text=20
> instead of a separate window.
> 
> What needs to be done to achieve this? Any pointer to a concise tutorial?=

Download the source of iimage.el from the page above, and save it into some
file, say ~/iimage.el.

Then load the file:

 M-x load-file  ~/iimage.el 

Then visit your file and turn on iimage-mode:

M-x iimage-mode

To turn off iimage-mode, give it a negative argument:

   ESC - M-x iimage-mode

HTH,
Nick



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] images in orgmode

2010-02-02 Thread Dan Davison
Erwin Panen  writes:

> Hi all,
>
> I'm finally trying out image support for Orgmode.
> I've set up .emacs ((23.1.1 windows)according to
> http://orgmode.org/worg/org-configs/org-config-examples.php
> After some slight modifications it seems to work.
>
> I created a test.org file like this:
> ---begin test file
> * Let's add a headline
> * And a secong one
> ** Now a secondary level one
>[[~/images/scenario_27.png]]
>Try another one
>[[~/images/scenario_27.jpg]]
>
> ** Yes!! This works!!
> ** Now let's try this:
>`images/scenario_27.png´
> --end test file---
>
> Question:
> When I click on one of the links between [ ] square brackets, my
> window splits in half, and in the bottom half the image appears.
> Looking at iimage here:
> http://www.netlaputa.ne.jp/~kose/Emacs/iimage.html#4.+Key+bin
> It should be possible to visualize these images inline with the text
> instead of a separate window.
>
> What needs to be done to achieve this? Any pointer to a concise tutorial?.

This works really well. From Eric Schulte's Emacs Starter Kit[fn:1]
Use M-x org-toggle-iimage-in-org to toggle links to images into the
images themselves. (Maybe this should also go on Worg hacks?)

** Support for viewing images
This allows for the viewing of images in-line in Org-mode documents.

#+begin_src emacs-lisp
  (require 'iimage)
  (setq iimage-mode-image-search-path (expand-file-name "~/"))
  ;; Match org file: links
  (add-to-list 'iimage-mode-image-regex-alist
   (cons (concat "\\[\\[file:\\(~?" iimage-mode-image-filename-regex
 "\\)\\]")  1))
  (defun org-toggle-iimage-in-org ()
(interactive)
(let ((turning-on (not iimage-mode)))
  (set-face-underline-p 'org-link (not turning-on))
  (iimage-mode (or turning-on 0
#+end_src

Dan

>
> Thanks for your precious help,
>
> Erwin
>
>
> ___
> 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

Footnotes:

[fn:1]  http://github.com/eschulte/emacs-starter-kit
This is an org-mode literate programming fork of 
http://github.com/technomancy/emacs-starter-kit.






___
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: file link format question - How to format link when square brackets [ ] are already in filename?

2010-02-02 Thread Erwin Panen

David, thanks for clarifying :-)
I think I get it now.
Your example helps!

What I did (wrongly) was to exchange the outer brackets with %5B and %5D
Instead I should have exchanged the brackets enclosing 32
I get an error of the file not found now, but at least Emacs/org does 
fold the link now and only leaves the description!


I guess I'll figure out the missing file problem.

Thanks very much for helping out!

Erwin

David Maus wrote:

Hi Erwin,

At Tue, 02 Feb 2010 20:43:27 +0100,
Erwin Panen wrote:

Hi David,

Thanks for replying;
I don't understand what you mean. I was not aware off url-encoding, but found 
help here: http://www.eskimo.com/~bloo/
indexdot/html/topics/urlencoding.htm
So far so good.
The way I interpret this is that I can 'replace' [square brackets] in orgmode  
with %5Bsquare brackets%5D


That's exactly what I meant. The behaviour you notice when /not/
encoding the square brackets is absolutely correct because of the way
Orgmode works: If you display a file in org-mode, the Orgmode
functions interpret the file's content and change the way certain
portions of the file look ("folding" of the link, i.e. only display
the description) and what you can do on this regions (i.e. open the
link).

So there is for instance a pattern that "tells" Orgmode that something
is a link: [[]] is recognized
as a link with a target (first set of characters) and a description
(second set of characters). If there are literal square brackets in
either the description or the target, Orgmode simply does not
recognize the string as a link.

The same principle (interpreting strings/a sequence of characters)
causes Orgmode to recognize the [32] as a footnote. Why? Because there
is a definition that says the "a number between two square brakets is
a footnote".


However when I try this, org does not 'convert' to a link...? What
am I missing?


Strange. What Emacs and Orgmode version do you use?[1] I use 


"GNU Emacs 23.1.92.1 (i486-pc-linux-gnu, GTK+ Version 2.18.6) of
 2010-01-31 on elegiac, modified by Debian"

with

"Org-mode version 6.34trans (release_6.34c.65.g45c58)"

For me encoding the square brackets in the link name with %5B and %5D
works. That is: Emacs/Orgmode "collapses" the link and only displays
the description part.

,
| [[\\Dcerouter\public\videos\STORY_Station (sdb1)-CORE %5B32%5D\Les Rivières 
Pourpres 720x304\The Crimson Rivers.mkv][The Crimson Rivers.mkv]]
`

gives:

,
| The Crimson Rivers.mkv
`

Regards,
 -- David


[1] To find out your version simply execute "org-version" (M-x
org-version RET) and "emacs-version" (M-x emacs-version RET) and
switch to the buffer called "*Messages*" to see the version strings of
Emacs and Orgmode.




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] file link format question - How to format link when square brackets [ ] are already in filename?

2010-02-02 Thread Erwin Panen

Hi David,

Thanks for replying;
I don't understand what you mean. I was not aware off url-encoding, but 
found help here: 
http://www.eskimo.com/~bloo/indexdot/html/topics/urlencoding.htm 


So far so good.
The way I interpret this is that I can 'replace' [square brackets] in 
orgmode  with %5Bsquare brackets%5D
However when I try this, org does not 'convert' to a link...? What am I 
missing?


Perhaps for clarification:
The link I used in my example may be confusing, it is a long UNC path to 
a file on a network server that has somewhere [32] in it's name.

It's the [32] that seems to confuse org's linking.
I also noticed when hovering over [32] that org seems to recognize this 
as a footnote??


Thanks,

Erwin

David Maus wrote:

At Tue, 02 Feb 2010 11:50:31 +0100,
Erwin Panen wrote:
  

Hi everyone,

I guess this is a minor question, but it has puzzled me already more 
than once.

My example: The below example is normally all on one line.
---Begin code--
** Action: started to play video 
[[\\Dcerouter\public\videos\STORY_Station (sdb1)-CORE [32]\Les Rivières 
Pourpres 720x304\The Crimson Rivers.mkv][The Crimson Rivers.mkv]]

---End code

The problem is that the file location already contains a number between 
square brackets [32] which renders Org to treat the link in an 
unsuspected way.


Is there any way to circumvent this behaviour e.g. by inserting special 
characters to avoid Org to look inbetween the special characters?



You can url-encode the square brackets with %5B ("[") and %5D ("]") --
orgmode does this when calling `org-store-link' (C-c l) for a place
that contains square brackets and opens the links fine.

HTH
 -- David

  
___
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: switching to emacs via keboard shortcut

2010-02-02 Thread Brody, William (Buck)
Thanks.  These are great and work like a charm.

-Original Message-
From: Rainer Stengele [mailto:rainer.steng...@online.de] 
Sent: Tuesday, February 02, 2010 12:37 PM
To: Brody, William (Buck)
Cc: emacs-orgmode@gnu.org
Subject: Re: switching to emacs via keboard shortcut

Am 02.02.2010 16:52, schrieb Brody, William (Buck):
> I run org-mode on GMU Emacs for Windows.  During my workflow I am
> frequently alt-tab 'ing to get back to Emacs. Does anyone have a way to
> use a keyboard shortcut (maybe via an autohotkey script) to get back to
> emacs.
>
> Thanks
>
>
>
> ___
> 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

In an AutoHotkey script I have

; 
---
; raise Emacs with "Ctrl-Meta-Shift-e"
^!+e::
if WinExist("ahk_class Emacs")
{
   IfWinActive
   {
 WinMinimize
   }
   else
   {
 WinActivate
   }
}
else
{
 Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe
}
return
; 
---
; raise Emacs with "Windows + Shift + e"
#+e::
if WinExist("ahk_class Emacs")
{
   IfWinActive
   {
 WinMinimize
   }
   else
   {
 WinActivate
   }
}
else
{
 Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe
}
return
-
I also have


; 
---
#t:: ; raise Thunderbird with "Windows + Shift + t"
IfWinExist, Thunderbird
{
   IfWinActive
   {
 WinMinimize
   }
   else
   {
 WinActivate
   }
}
return
; 
---
#f:: ; Firefox vorholen
IfWinExist, Mozilla Firefox
{
   IfWinActive
   {
 WinMinimize
   }
   else
   {
 WinActivate
   }
}
return
; 
---
#p:: raise a specific Putty
; if WinExist("fritz.diplan.de - PuTTY")
if WinExist("debian2.diplan.de - PuTTY")
{
   WinActivate
}
return
; 
---
; jump to clocked-in org todo
^!+F12::
; IfWinExist, Emacs
if WinExist("ahk_class Emacs")
{   WinActivate
 ; Send ^s
 Send ^!{F12}
}
else
{
 Run Notepad
}
return
; 
---
; Org Remember
^!+r::
; IfWinExist, Emacs
if WinExist("ahk_class Emacs")
{   WinActivate
 ; Send ^s
 Send ^!r
}
else
{
 Run Notepad
}
return
; 
---

All this and a lot more scripts and helpers makes Windows really usable ...


Rainer



___
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] Misleading error message from beamer export

2010-02-02 Thread Ben Smith

Trying my first beamer document
I was getting this error message:

 No definition for class `beamer' in `org-export-latex-classes'

I tried Carston's example.. same error.

Looking at the org-export-latex-classes, I found indeed that there was 
not specification for 'beamer.' However, if removed customization for 
this setting, the class appeared.


So I searched and searched through all of my init.el but found nothing 
that might have overwritten the export-latex-classes.


Restarted emacs and tried Carston's example.. IT WORKED just fine.
Sure enough, beamer was defined.

Conclusion: it must be something in my own document that was mucking up 
the class list.


And it was here:

  #+LaTeX_CLASSS_OPTIONS: [presentation]

see the error? CLASSS (too many S's)

It only took 2 hours to figure this one out.
-ben
--
Capt. Ben Smith
R/V Coastal Surveyor - R/V Cocheco - S/V Mother of Perl
Center for Coastal and Ocean Mapping Joint Hydrographic Center
University of New Hampshire, Durham, NH, U.S.A.
<>___
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] images in orgmode

2010-02-02 Thread Erwin Panen

Hi all,

I'm finally trying out image support for Orgmode.
I've set up .emacs ((23.1.1 windows)according to 
http://orgmode.org/worg/org-configs/org-config-examples.php

After some slight modifications it seems to work.

I created a test.org file like this:
---begin test file
* Let's add a headline
* And a secong one
** Now a secondary level one
   [[~/images/scenario_27.png]]
   Try another one
   [[~/images/scenario_27.jpg]]

** Yes!! This works!!
** Now let's try this:
   `images/scenario_27.png´
--end test file---

Question:
When I click on one of the links between [ ] square brackets, my window 
splits in half, and in the bottom half the image appears.
Looking at iimage here: 
http://www.netlaputa.ne.jp/~kose/Emacs/iimage.html#4.+Key+bin
It should be possible to visualize these images inline with the text 
instead of a separate window.


What needs to be done to achieve this? Any pointer to a concise tutorial?.

Thanks for your precious help,

Erwin


___
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] file link format question - How to format link when square brackets [ ] are already in filename?

2010-02-02 Thread David Maus
Hi Erwin,

At Tue, 02 Feb 2010 20:43:27 +0100,
Erwin Panen wrote:
> 
> Hi David,
> 
> Thanks for replying;
> I don't understand what you mean. I was not aware off url-encoding, but found 
> help here: http://www.eskimo.com/~bloo/
> indexdot/html/topics/urlencoding.htm
> So far so good.
> The way I interpret this is that I can 'replace' [square brackets] in 
> orgmode  with %5Bsquare brackets%5D

That's exactly what I meant. The behaviour you notice when /not/
encoding the square brackets is absolutely correct because of the way
Orgmode works: If you display a file in org-mode, the Orgmode
functions interpret the file's content and change the way certain
portions of the file look ("folding" of the link, i.e. only display
the description) and what you can do on this regions (i.e. open the
link).

So there is for instance a pattern that "tells" Orgmode that something
is a link: [[]] is recognized
as a link with a target (first set of characters) and a description
(second set of characters). If there are literal square brackets in
either the description or the target, Orgmode simply does not
recognize the string as a link.

The same principle (interpreting strings/a sequence of characters)
causes Orgmode to recognize the [32] as a footnote. Why? Because there
is a definition that says the "a number between two square brakets is
a footnote".

> However when I try this, org does not 'convert' to a link...? What
> am I missing?

Strange. What Emacs and Orgmode version do you use?[1] I use 

"GNU Emacs 23.1.92.1 (i486-pc-linux-gnu, GTK+ Version 2.18.6) of
 2010-01-31 on elegiac, modified by Debian"

with

"Org-mode version 6.34trans (release_6.34c.65.g45c58)"

For me encoding the square brackets in the link name with %5B and %5D
works. That is: Emacs/Orgmode "collapses" the link and only displays
the description part.

,
| [[\\Dcerouter\public\videos\STORY_Station (sdb1)-CORE %5B32%5D\Les Rivières 
Pourpres 720x304\The Crimson Rivers.mkv][The Crimson Rivers.mkv]]
`

gives:

,
| The Crimson Rivers.mkv
`

Regards,
 -- David


[1] To find out your version simply execute "org-version" (M-x
org-version RET) and "emacs-version" (M-x emacs-version RET) and
switch to the buffer called "*Messages*" to see the version strings of
Emacs and Orgmode.
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com


pgp3bg8EKpn5t.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: S-Tab strange behavour

2010-02-02 Thread Ivan Vanyushkin
There is org-startup-folded that controls startup state, so org-mode 
should know it.


Also S-Tab forgets state even in the middle of document. Key presses to 
reproduce:


1) S-Tab - OVERVIEW
2) S-Tab - CONTENTS
3) C-G (or any other)
4) S-Tab - OVERVIEW (expected: SHOW ALL)

or

1) S-Tab - OVERVIEW
3) C-G (or any other)
4) S-Tab - OVERVIEW (nothing changed! expected: CONTENTS)

Is it by design? Why?


On 02.02.2010 21:40, Ryan Thompson wrote:

I don't think it is possible in general to know the startup state of a
file. Files with a #+STARTUP line may be an execption.

On Tue, Feb 2, 2010 at 11:28 AM, Ivan Vanyushkin  wrote:

Hello.

On initial file opening, S-  cycles through
1) OVERVIEW ->  2) CONTENTS ->  3) SHOW ALL
not depending on current state of document.

So, if (as default) document is in OVERVIEW state, first press
_does nothing_ (switch to OVERVIEW again). Expected: CONTENTS.

If document initially "#+STARTUP: content", then first press switches it
back to OVERVIEW. Expected: SHOW ALL.

So, S-Tab (and maybe Tab) doesn't use context state when start cycling.

Is it correct and why?

org-version 6.21 and 6.34c
Emacs 23.1.1

Thank you for your answer!


--
Ivan Vanyushkin - Vanav.




___
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: ics file not understood by google calendar

2010-02-02 Thread Vagn Johansen
Carsten Dominik  writes:

> Hi Vagn
>
> On Feb 1, 2010, at 8:47 PM, Vagn Johansen wrote:
>
>> Carsten Dominik  writes:
>>
>>> Hi Vagn,
>>>
>>> you are saying that this used to work out of the box and no longer
>>> does?
>>> Could you please git bisect to identify the offending commit?

I tried git bisect with "grep -R VTODO .". It seems that org-mode has
always used VTODO so it is not a regression in org-mode.  I think the
problem is caused by a change in google calendar. They no longer
support VTODO.

-- 
Vagn Johansen



___
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] S-Tab strange behavour

2010-02-02 Thread Ryan Thompson
I don't think it is possible in general to know the startup state of a
file. Files with a #+STARTUP line may be an execption.

On Tue, Feb 2, 2010 at 11:28 AM, Ivan Vanyushkin  wrote:
> Hello.
>
> On initial file opening, S- cycles through
> 1) OVERVIEW -> 2) CONTENTS -> 3) SHOW ALL
> not depending on current state of document.
>
> So, if (as default) document is in OVERVIEW state, first press
> _does nothing_ (switch to OVERVIEW again). Expected: CONTENTS.
>
> If document initially "#+STARTUP: content", then first press switches it
> back to OVERVIEW. Expected: SHOW ALL.
>
> So, S-Tab (and maybe Tab) doesn't use context state when start cycling.
>
> Is it correct and why?
>
> org-version 6.21 and 6.34c
> Emacs 23.1.1
>
> Thank you for your answer!
>
>
> --
> Ivan Vanyushkin - Vanav.
> http://vanav.com.ua
> mailto:va...@vanav.com.ua
> Jabber/GTalk: va...@vanav.com.ua
> ICQ: 19068
> Yahoo: Vanav_I
> MSN: va...@vanav.com.ua
>
>
> ___
> 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] interacting with word processors (opeonffice, word)

2010-02-02 Thread Rainer M Krug
On Tue, Feb 2, 2010 at 8:34 PM, Matt Price  wrote:

> Hi,
>
> I;m getting more and more used to using org for my own writing purposes,
> and love it.  But I still find it pretty difficult to work with
> word-processor users whoexpect to get a doument in .doc or .odt formats.
> I've just found odt2org (http://mantiel.wikidot.com/os:odt2org) which
> looks great for importing odt files into org; but my main concern right
> now is getting things from org-mode out into odt or doc.  May i ask what
> other people tend to do in this situation?  I I guess I could export to
> html, then import in Openoffice, then edit & save as odf, but this seems
> a little cumbersome.  If someone has a better solution I'd love to hear
> it.
>

Oh - and ther is also:

mk4ht oolatex

which converts LaTeX to odt.

Cheers,

Rainer

>
> Thanks much,
>
> Matt
>
> --
> Matt Price
> matt.pr...@utoronto.ca
>
> ___
> 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
>
>


-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.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] interacting with word processors (opeonffice, word)

2010-02-02 Thread Rainer M Krug
On Tue, Feb 2, 2010 at 8:55 PM, Russell Adams wrote:

> On Tue, Feb 02, 2010 at 08:44:54PM +0200, Rainer M Krug wrote:
> > Hi Matt
> >
> > try latex2rtf: export org-mode to LaTeX and use latex2rtf to convert it
> to
> > rtf.
> > I am using latex2rtf to convert LaTeX code (generated by LyX) into rtf
> for
> > exactly the same purpose.
>
> That's a great idea!
>
> Currently I export to HTML and then let Word users import that. It
> preserves most of the formatting that is important to me, though
> external files have to be manually inserted in Word.
>
> Does RTF help with external references? (ie: embedded images?)
>

I think it embeds the picture and does not preserve the link.

But the might be a way of keeping the links.

Rainer

>
> Thanks.
>
>
>
> --
> Russell Adamsrlad...@adamsinfoserv.com
>
> PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
>
> Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.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] interacting with word processors (opeonffice, word)

2010-02-02 Thread David Maus
At Tue, 2 Feb 2010 12:55:42 -0600,
Russell Adams wrote:
>
> On Tue, Feb 02, 2010 at 08:44:54PM +0200, Rainer M Krug wrote:
> > Hi Matt
> >
> > try latex2rtf: export org-mode to LaTeX and use latex2rtf to convert it to
> > rtf.
> > I am using latex2rtf to convert LaTeX code (generated by LyX) into rtf for
> > exactly the same purpose.
>
> That's a great idea!
>
> Currently I export to HTML and then let Word users import that. It
> preserves most of the formatting that is important to me, though
> external files have to be manually inserted in Word.
>
> Does RTF help with external references? (ie: embedded images?)

You may also give tex4ht[1] a shot. I don't use it that often but my
impression is that it gives better results than latex2rtf

HTH
 -- David

[1] http://www.cse.ohio-state.edu/~gurari/TeX4ht/
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com


pgpVenwU6ODlT.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] S-Tab strange behavour

2010-02-02 Thread Ivan Vanyushkin

Hello.

On initial file opening, S- cycles through
1) OVERVIEW -> 2) CONTENTS -> 3) SHOW ALL
not depending on current state of document.

So, if (as default) document is in OVERVIEW state, first press
_does nothing_ (switch to OVERVIEW again). Expected: CONTENTS.

If document initially "#+STARTUP: content", then first press switches it 
back to OVERVIEW. Expected: SHOW ALL.


So, S-Tab (and maybe Tab) doesn't use context state when start cycling.

Is it correct and why?

org-version 6.21 and 6.34c
Emacs 23.1.1

Thank you for your answer!


--
Ivan Vanyushkin - Vanav.
http://vanav.com.ua
mailto:va...@vanav.com.ua
Jabber/GTalk: va...@vanav.com.ua
ICQ: 19068
Yahoo: Vanav_I
MSN: va...@vanav.com.ua


___
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] Aligning table is incorrect when containing japanese character

2010-02-02 Thread Taiki SUGAWARA
Hi,

When I align table containing japanese character as following steps:

  1. insert following table to buffer.
| 日本語  |   |
| foo bar baz |   |
  2. move cursor to top-left corner of table.

  3. Hit Tab, Tab

Aligning table is incorrect as following:
| 日本語   |   |
| foo bar baz |   |

I think, `org-table-justify-field-maybe' should use string width
instead of buffer's point distance.

I wrote attached patch to use string width. Would you review it?

Regards,
Taiki


org-table.el.patch
Description: Binary data
___
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] interacting with word processors (opeonffice, word)

2010-02-02 Thread Russell Adams
On Tue, Feb 02, 2010 at 08:44:54PM +0200, Rainer M Krug wrote:
> Hi Matt
> 
> try latex2rtf: export org-mode to LaTeX and use latex2rtf to convert it to
> rtf.
> I am using latex2rtf to convert LaTeX code (generated by LyX) into rtf for
> exactly the same purpose.

That's a great idea!

Currently I export to HTML and then let Word users import that. It
preserves most of the formatting that is important to me, though
external files have to be manually inserted in Word.

Does RTF help with external references? (ie: embedded images?)

Thanks.



--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] interacting with word processors (opeonffice, word)

2010-02-02 Thread Rainer M Krug
Hi Matt

try latex2rtf: export org-mode to LaTeX and use latex2rtf to convert it to
rtf.
I am using latex2rtf to convert LaTeX code (generated by LyX) into rtf for
exactly the same purpose.

Cheers,

Rainer


On Tue, Feb 2, 2010 at 8:34 PM, Matt Price  wrote:

> Hi,
>
> I;m getting more and more used to using org for my own writing purposes,
> and love it.  But I still find it pretty difficult to work with
> word-processor users whoexpect to get a doument in .doc or .odt formats.
> I've just found odt2org (http://mantiel.wikidot.com/os:odt2org) which
> looks great for importing odt files into org; but my main concern right
> now is getting things from org-mode out into odt or doc.  May i ask what
> other people tend to do in this situation?  I I guess I could export to
> html, then import in Openoffice, then edit & save as odf, but this seems
> a little cumbersome.  If someone has a better solution I'd love to hear
> it.
>
> Thanks much,
>
> Matt
>
> --
> Matt Price
> matt.pr...@utoronto.ca
>
> ___
> 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
>
>


-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.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


[Orgmode] interacting with word processors (opeonffice, word)

2010-02-02 Thread Matt Price
Hi,

I;m getting more and more used to using org for my own writing purposes,
and love it.  But I still find it pretty difficult to work with
word-processor users whoexpect to get a doument in .doc or .odt formats.
I've just found odt2org (http://mantiel.wikidot.com/os:odt2org) which
looks great for importing odt files into org; but my main concern right
now is getting things from org-mode out into odt or doc.  May i ask what
other people tend to do in this situation?  I I guess I could export to
html, then import in Openoffice, then edit & save as odf, but this seems
a little cumbersome.  If someone has a better solution I'd love to hear
it.  

Thanks much,

Matt

-- 
Matt Price
matt.pr...@utoronto.ca


signature.asc
Description: This is a digitally signed message part
___
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: Using R in Org mode with several sourced files

2010-02-02 Thread Rainer M Krug
On Tue, Feb 2, 2010 at 8:03 PM, Thomas S. Dye  wrote:

>
> On Feb 2, 2010, at 3:35 AM, Rainer M Krug wrote:
>
> Hi
>
>  Following a discussion about how one could create a TODO list in ESS (see
> below), Thomas Dye and Dan Davison suggested to look into org-mode and
> org-babel and it looks really interesting. I just have one aspect, which
> would be more difficult with my workflow. Let me explain. I am writing
> fairly complex simulations, and I prefer to keep functions for different
> aspects of the simulation in different files. Therefore I have several
> files, each one containing R code, which is sourced from a main file, which
> then sets the simulation up, which I then can start with calling
> simulateIt() in R. I could use .org files and tangle the code, but, as I am
> not that organised, I even forget sometimes to save before I source the file
> and therefore still work with the old version - this would be more
> difficult, if I had to tangle each file in addition to the saving (Ctrl-x s
> saves all files - very useful for me!).
>
> One option would be to combine all actual files into a single one, and then
> tangle in different .R files, but I somehow do not like the idea of having
> one HUGE file, with all the code, which then will be tangled into several .R
> files.
> So I would like to have several .org files, where each one will be tangled
> into a separate .R file, which then will be sourced from a final main file.
> As I understand org-mode, I could still have a single TODO list, based on
> the agenda in org-mode.
>
> So my question is, if this process could be automated. One idea was a kind
> of a "make file", in which I specify:
> tangle file1.org
> tangle file2.org
> tangle file3.org
> tangle fileAll.org
>
> These would then result in the files attached, which then can be used from
> fileAll.R
>
> Another idea was to have emacs automatically tangle the file after saving.
>
> But I am sure there are also other possibilities.
>
> I have to say, I am absolutely new to org-mode, and know nearly nothing
> about lisp.
>
> Cheers,
>
> Rainer
>
>
> -- Forwarded message --
> From: Dan Davison 
> Date: Mon, Feb 1, 2010 at 9:59 PM
> Subject: Re: Fwd: [ESS] generating TODO list?
> To: Rainer M Krug 
> Cc: "Thomas S. Dye" 
>
>
> [...]
> > Sure, when you change the code in the org file, you have to re-run
> > org-babel-tangle before you run your new R code.
> >
> >
> > Ant this is the critical point: I can save all files which need to be
> saved in
> > ESS by Ctrl-x s (or was it Ctrl-x Ctrl-s ? I always do both). But having
> > manually to go through all files, is something I am likely to forget. If
> I
> > could tangle all files with one command, that wouls work (I have about 10
> files
> > for the project which are then sourced...). Could I combine the save-all
> with a
> > tangle-all, or have the saving action automatically followed by a
> tangling (if
> > it is an org file)?
> >
> >
> > But that's just one possibility. Another would be simply to tangle
> all
> > the blocks of R code to the same file. Then when you run that file,
> you
> > know that your function definitions will be up to date.
> >
> >
> > It is quite strange, that there is no possibility to script emacs from
> org mode
> > like all the other languages? because that would be perfect for this.
>
>
> I am certain that there is going to be a good solution for all your
> concerns! I think you want to be thinking along the lines of maintaining
> a _single_ org file for your project, and either including the code in
> different subtrees of that file, or referring to external files from
> within that file. But if the right solution doesn't doesn't already
> exist, and it's a good idea, then someone will cook it up in
> elisp. Could we move this discussion to the org-mode list? If you
> describe what you want to do, with a toy example if that's helpful, then
> I believe you will see that problems do not remain without solution for
> very long on emacs-orgm...@gnu.org.
>
> Meanwhile, have a look at this
>
> http://doc.norang.ca/org-mode.html
>
> to see some of what org-mode can do (the website itself is made in
> org-mode of course).
>
> Dan
>
>
> >
> >
> >
> > By the way, have you tried out the export facilities of org-mode?
> Have a
> > look at the html export of the above org file [C-c C-e (org-export)
> > brings up the export options]. You can create links in the org file
> to
> > graphical output from R and these graphs will be included in the
> > exported HTML/LaTeX.
> >
> >
> > No - I just discovered the org-mode yesterday.
> >
> > Cheers,
> >
> > Rainer
> >
> >
> >
> > Dan
> >
> > >
> > > If that could be done, it would be a perfect example, how one could
> use
> > > org-babel in real R programming. The other option, would be a "make
> file"
> > > equivalent, which contains all the "tangle file ..." commands, and
> which
> > could
> > > be executed i

[Orgmode] Re: Using R in Org mode with several sourced files

2010-02-02 Thread Thomas S. Dye


On Feb 2, 2010, at 3:35 AM, Rainer M Krug wrote:


Hi

 Following a discussion about how one could create a TODO list in  
ESS (see below), Thomas Dye and Dan Davison suggested to look into  
org-mode and org-babel and it looks really interesting. I just have  
one aspect, which would be more difficult with my workflow. Let me  
explain. I am writing fairly complex simulations, and I prefer to  
keep functions for different aspects of the simulation in different  
files. Therefore I have several files, each one containing R code,  
which is sourced from a main file, which then sets the simulation  
up, which I then can start with calling simulateIt() in R. I could  
use .org files and tangle the code, but, as I am not that organised,  
I even forget sometimes to save before I source the file and  
therefore still work with the old version - this would be more  
difficult, if I had to tangle each file in addition to the saving  
(Ctrl-x s saves all files - very useful for me!).


One option would be to combine all actual files into a single one,  
and then tangle in different .R files, but I somehow do not like the  
idea of having one HUGE file, with all the code, which then will be  
tangled into several .R files.
So I would like to have several .org files, where each one will be  
tangled into a separate .R file, which then will be sourced from a  
final main file. As I understand org-mode, I could still have a  
single TODO list, based on the agenda in org-mode.


So my question is, if this process could be automated. One idea was  
a kind of a "make file", in which I specify:

tangle file1.org
tangle file2.org
tangle file3.org
tangle fileAll.org

These would then result in the files attached, which then can be  
used from fileAll.R


Another idea was to have emacs automatically tangle the file after  
saving.


But I am sure there are also other possibilities.

I have to say, I am absolutely new to org-mode, and know nearly  
nothing about lisp.


Cheers,

Rainer


-- Forwarded message --
From: Dan Davison 
Date: Mon, Feb 1, 2010 at 9:59 PM
Subject: Re: Fwd: [ESS] generating TODO list?
To: Rainer M Krug 
Cc: "Thomas S. Dye" 


[...]
> Sure, when you change the code in the org file, you have to re- 
run

> org-babel-tangle before you run your new R code.
>
>
> Ant this is the critical point: I can save all files which need to  
be saved in
> ESS by Ctrl-x s (or was it Ctrl-x Ctrl-s ? I always do both). But  
having
> manually to go through all files, is something I am likely to  
forget. If I
> could tangle all files with one command, that wouls work (I have  
about 10 files
> for the project which are then sourced...). Could I combine the  
save-all with a
> tangle-all, or have the saving action automatically followed by a  
tangling (if

> it is an org file)?
>
>
> But that's just one possibility. Another would be simply to  
tangle all
> the blocks of R code to the same file. Then when you run that  
file, you

> know that your function definitions will be up to date.
>
>
> It is quite strange, that there is no possibility to script emacs  
from org mode
> like all the other languages? because that would be perfect for  
this.



I am certain that there is going to be a good solution for all your
concerns! I think you want to be thinking along the lines of  
maintaining

a _single_ org file for your project, and either including the code in
different subtrees of that file, or referring to external files from
within that file. But if the right solution doesn't doesn't already
exist, and it's a good idea, then someone will cook it up in
elisp. Could we move this discussion to the org-mode list? If you
describe what you want to do, with a toy example if that's helpful,  
then
I believe you will see that problems do not remain without solution  
for

very long on emacs-orgm...@gnu.org.

Meanwhile, have a look at this

http://doc.norang.ca/org-mode.html

to see some of what org-mode can do (the website itself is made in
org-mode of course).

Dan


>
>
>
> By the way, have you tried out the export facilities of org- 
mode? Have a
> look at the html export of the above org file [C-c C-e (org- 
export)
> brings up the export options]. You can create links in the org  
file to

> graphical output from R and these graphs will be included in the
> exported HTML/LaTeX.
>
>
> No - I just discovered the org-mode yesterday.
>
> Cheers,
>
> Rainer
>
>
>
> Dan
>
> >
> > If that could be done, it would be a perfect example, how  
one could use
> > org-babel in real R programming. The other option, would be  
a "make file"
> > equivalent, which contains all the "tangle file ..."  
commands, and which

> could
> > be executed in the block above.
> >
> >
> >
> > And it's also worth looking at the noweb-style  
references for

> assembling
> >
> > different code blocks into a single code block. So with

[Orgmode] Re: Any idea why the git repo is so huge

2010-02-02 Thread Richard Riley
Leo  writes:

> On 2010-02-02 12:29 +, Ian Barton wrote:
>>>
>>> The git repo I just checked out a minute ago is 54M, 20 times bigger
>>> than the org lisp files. Any idea why it is so large? Thanks.
>>>
>>> Leo
>>>
>> Don't forget it has a complete history of all org development since
>> the initial import of the source.
>>
>> You may be able to reduce the size of your local repo by running:
>>
>> git gc
>>
>> See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html
>>
>> Ian.
>
> Of course. But git is supposed to be very efficient in storing history
> and other things. I remembered when it first appeared when Linus was
> still maintaining it, it could have the Linux kernel's source tree with
> complete history and other things within 1.5 times the size of the net
> source.
>
> Git gc won't help because 54M is the size of the first checkout.
>

I was under the impression that the one thing that git does not
advertise is space efficiency - it stores total file blobs for each and
every change. So I think its efficiency is in terms of speed, not in
terms of disk usage. And to be honest, if you worry about 54M in a
development scenario then I'd be surprised when you consider how cheap
disk is these days.



___
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: switching to emacs via keboard shortcut

2010-02-02 Thread Tom
Brody, William (Buck  darden.virginia.edu> writes:
> 
> I run org-mode on GMU Emacs for Windows.  During my workflow
> I am frequently alt-tab ‘ing to get back to Emacs.  Does anyone have a
> way to use a keyboard shortcut (maybe via an autohotkey script) to get back to
> emacs.

I use this:


CapsLock:: 
  SetCapsLockState, off
  winactivate ahk_class Emacs
  sendinput {f12}
  return



Pressing capslock (which is a useless key, imo) puts me into Agenda from 
anywhere. Note that I bound F12 in Emacs to get to the Agenda and the above 
script relies on that. 



___
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: switching to emacs via keboard shortcut

2010-02-02 Thread Rainer Stengele

Am 02.02.2010 16:52, schrieb Brody, William (Buck):

I run org-mode on GMU Emacs for Windows.  During my workflow I am
frequently alt-tab ‘ing to get back to Emacs. Does anyone have a way to
use a keyboard shortcut (maybe via an autohotkey script) to get back to
emacs.

Thanks



___
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


In an AutoHotkey script I have

; 
---
; raise Emacs with "Ctrl-Meta-Shift-e"
^!+e::
if WinExist("ahk_class Emacs")
{
  IfWinActive
  {
WinMinimize
  }
  else
  {
WinActivate
  }
}
else
{
Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe
}
return
; 
---
; raise Emacs with "Windows + Shift + e"
#+e::
if WinExist("ahk_class Emacs")
{
  IfWinActive
  {
WinMinimize
  }
  else
  {
WinActivate
  }
}
else
{
Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe
}
return
-
I also have


; 
---
#t:: ; raise Thunderbird with "Windows + Shift + t"
IfWinExist, Thunderbird
{
  IfWinActive
  {
WinMinimize
  }
  else
  {
WinActivate
  }
}
return
; 
---
#f:: ; Firefox vorholen
IfWinExist, Mozilla Firefox
{
  IfWinActive
  {
WinMinimize
  }
  else
  {
WinActivate
  }
}
return
; 
---
#p:: raise a specific Putty
; if WinExist("fritz.diplan.de - PuTTY")
if WinExist("debian2.diplan.de - PuTTY")
{
  WinActivate
}
return
; 
---
; jump to clocked-in org todo
^!+F12::
; IfWinExist, Emacs
if WinExist("ahk_class Emacs")
{   WinActivate
; Send ^s
Send ^!{F12}
}
else
{
Run Notepad
}
return
; 
---
; Org Remember
^!+r::
; IfWinExist, Emacs
if WinExist("ahk_class Emacs")
{   WinActivate
; Send ^s
Send ^!r
}
else
{
Run Notepad
}
return
; 
---

All this and a lot more scripts and helpers makes Windows really usable ...


Rainer


___
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] file link format question - How to format link when square brackets [ ] are already in filename?

2010-02-02 Thread David Maus
At Tue, 02 Feb 2010 11:50:31 +0100,
Erwin Panen wrote:
> 
> Hi everyone,
> 
> I guess this is a minor question, but it has puzzled me already more 
> than once.
> My example: The below example is normally all on one line.
> ---Begin code--
> ** Action: started to play video 
> [[\\Dcerouter\public\videos\STORY_Station (sdb1)-CORE [32]\Les Rivières 
> Pourpres 720x304\The Crimson Rivers.mkv][The Crimson Rivers.mkv]]
> ---End code
> 
> The problem is that the file location already contains a number between 
> square brackets [32] which renders Org to treat the link in an 
> unsuspected way.
> 
> Is there any way to circumvent this behaviour e.g. by inserting special 
> characters to avoid Org to look inbetween the special characters?

You can url-encode the square brackets with %5B ("[") and %5D ("]") --
orgmode does this when calling `org-store-link' (C-c l) for a place
that contains square brackets and opens the links fine.

HTH
 -- David

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.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


[Orgmode] switching to emacs via keboard shortcut

2010-02-02 Thread Brody, William (Buck)
I run org-mode on GMU Emacs for Windows.  During my workflow I am frequently 
alt-tab 'ing to get back to Emacs.  Does anyone have a way to use a keyboard 
shortcut (maybe via an autohotkey script) to get back to emacs.

Thanks
___
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] colors in agenda view

2010-02-02 Thread Krause, Joerg
Hello all,

I am using emacs 23.1 on windows xp. In my agenda view, some topics show up in 
light green, which is difficult to read on a white background. I've tried to 
google around, but I can't find how to influence the colors in this view. Any 
help will be appreciated...

Joerg Krause
Stuttgart, Germany

Mit freundlichen Grüßen / Kind regards,





i.A. Jörg Krause


Informationstechnologie / IT
GEZE GmbH

Reinhold-Vöster-Straße 21-29
D-71229 Leonberg
Phone:  +49 7152 203-421
Fax:+49 7152 203-77421
E-Mail: j.kra...@geze.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


[Orgmode] file link format question - How to format link when square brackets [ ] are already in filename?

2010-02-02 Thread Erwin Panen

Hi everyone,

I guess this is a minor question, but it has puzzled me already more 
than once.

My example: The below example is normally all on one line.
---Begin code--
** Action: started to play video 
[[\\Dcerouter\public\videos\STORY_Station (sdb1)-CORE [32]\Les Rivières 
Pourpres 720x304\The Crimson Rivers.mkv][The Crimson Rivers.mkv]]

---End code

The problem is that the file location already contains a number between 
square brackets [32] which renders Org to treat the link in an 
unsuspected way.


Is there any way to circumvent this behaviour e.g. by inserting special 
characters to avoid Org to look inbetween the special characters?


Looking forward to a solution :-)

Thanks,

Erwin


___
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: Any idea why the git repo is so huge

2010-02-02 Thread Leo
On 2010-02-02 12:29 +, Ian Barton wrote:
>>
>> The git repo I just checked out a minute ago is 54M, 20 times bigger
>> than the org lisp files. Any idea why it is so large? Thanks.
>>
>> Leo
>>
> Don't forget it has a complete history of all org development since
> the initial import of the source.
>
> You may be able to reduce the size of your local repo by running:
>
> git gc
>
> See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html
>
> Ian.

Of course. But git is supposed to be very efficient in storing history
and other things. I remembered when it first appeared when Linus was
still maintaining it, it could have the Linux kernel's source tree with
complete history and other things within 1.5 times the size of the net
source.

Git gc won't help because 54M is the size of the first checkout.

Leo



___
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: \log and friends are not recognized as math [6.34b]

2010-02-02 Thread Nick Dokos
Carsten Dominik  wrote:

> Hi Nick,
> 
> am I right that you are now through with this, so that I can start my
> work based on your last iteration?
> 

Carsten,

yes, I think it's done.

Nick


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] headline numbering in html export

2010-02-02 Thread Bill Powell

Thanks for sharing this! I'm sure I'll find this useful.

Bill Powell

At Tue, 02 Feb 2010 09:17:22 +0100,
Martin G. Skjæveland wrote:
> 
> Hi,
> 
> I thought I'd share some stuff I'm quite happy with so that others can 
> enjoy it if it is good, and so that I can stop using or improve it if it 
> is not so good! :)
> 
> I am writing a set of exercises for a course and publishing a chapter 
> once a week in both pdf and html. I like having the exercises for week 2 
> start the headline numbering with 2 (and so on), so for the latex export 
> I set the section counter to the appropriate value, in this example 
> (week 2):
> 
>#+LATEX_HEADER: \setcounter{section}{1}
> 
> For the html export I could not find a similar easy setting, but then I 
> found that css2 has introduced counters:
> 
>http://www.w3.org/TR/CSS2/generate.html#counters
> 
> So by adding the css stylesheet below, I can start my numbering for html 
> in a similar fashion as for pdf export:
> 
>#+STYLE: h1{counter-reset:section 1;}
> 
> 
> Thanks!
> Martin
> 
> 
> 
> The stylesheet:
> 
> #+begin_src css :tangle exercises.css
> /*
> Do not display numbering entered by org-mode,
> but use css2 counters instead.
>   */
> .section-number-2,
> .section-number-3,
> .section-number-4,
> .section-number-5
> {
>display: none;
>}
> h2
> {
>counter-reset:subsection;
>}
> h2:before
> {
>counter-increment:section;
>content:counter(section);
>}
> h2.footnotes:before
> {
>content:"";
>}
> h3
> {
>counter-reset:subsubsection;
>}
> h3:before
> {
>counter-increment:subsection;
>content:counter(section) "." counter(subsection) " ";
>}
> h4:before
> {
>counter-increment:subsubsection;
>content:counter(section) "." counter(subsection) "." 
> counter(subsubsection) " ";
>}
> #+end_src
> 
> 
> ___
> 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] Table equations: II on lhs

2010-02-02 Thread Kim Toms
Hm.  I hadn't noticed that; thanks!

On Mon, Feb 1, 2010 at 1:58 PM, Russell Adams wrote:

> On Mon, Feb 01, 2010 at 12:08:20PM -0500, Kim Toms wrote:
> > I am using a simple table to add up some estimates for tasks.  On the
> left
> > hand side of the equations in the TBLFM line I can't get an expression
> like
> > @II$2 to work.
> >
> > Here's an example
> > | task  | estimate | probable |
> > |---+--+--|
> > | one   |   12 |2 |
> > | two   |   10 |3 |
> > |---+--+--|
> > | total |   22 |5 |
> > #+TBLFM: @4$2=vsum(@i...@ii-1)::@4$3=vsum(@i...@ii-1)
> >
> > I'd like to be able to put @II$2 on the LHS of the equation.  That way,
> when
> > I add a row to the table, the equation doesn't have to change.
> >
> > A workaround for the above table is to use $LR2 and $LR3 instead of the
> more
> > general references.
>
> I do this fairly often. Just use enter to add a row in the table, the
> references are automatically updated. Now, if you copy and paste it
> won't work.
>
> I just tried your example with the LR, and that worked fine for me.
>
> |---+--+--|
> | task  | estimate | probable |
> |---+--+--|
> | one   |   12 |2 |
> | two   |   10 |3 |
> | three |8 |8 |
> | three |8 |8 |
> | three |8 |8 |
> | three |8 |8 |
> |---+--+--|
> | total |   54 |   37 |
> |---+--+--|
> #+TBLFM: $LR2=vsum(@-...@-ii)::$LR3=vsum(@-...@-ii)
>
> This isn't copy/paste sensitive at all.
>
> Does that answer your question?
>
> --
> Russell Adamsrlad...@adamsinfoserv.com
>
> PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
>
> Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
>
>
> ___
> Emacs-orgmode mailing list
> 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] problem exporting latex fragments to html: Debian's dvipng 1.12-1 is buggy

2010-02-02 Thread Eric S Fraga
Hi,

I'm obviously having a bad two days with org-mode but, this time, I've
actually solved the problem myself.  I thought I would highlight the
issue in case anybody else runs into this.

Short summary: exporting org files with latex fragments to HTML failed
to create the images.  I tracked the problem down to dvipng failing
(memory reference problems).  My system is Debian with a mixture of
testing and unstable (yes, this will do it to you every time!).  In
any case, version 1.12-1 of dvipng seems to have problems; the latest
in testing is 1.12-3 and this one works.

However, I thought I would bring up a minor point: the failure to
create images was not obvious; I had to resort to going through my
*Messages* buffer.  I then tried toggling debug on error to see why
the image creation was failing but this had no effect as an error
condition is not raised; this begs the question: should an error
condition be raised when an image creation fails?

Thanks,
eric


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Announcing org-jekyll

2010-02-02 Thread Juan Reyero
On Tue, Feb 2, 2010 at 11:37 AM, Rick Moynihan  wrote:
> On 1 February 2010 19:14, Juan Reyero  wrote:
>> On Mon, Feb 1, 2010 at 12:23 PM, Rick Moynihan  
>> wrote:
>>> On 29 January 2010 23:16, Juan Reyero  wrote:
 Full description: http://juanreyero.com/open/org-jekyll/
 Source code: http://github.com/juanre/org-jekyll
>>>
>>> I'm not entirely clear on how the org-publish-project-alist relates to
>>> org-jekyll and org-jekyll-export-blog?  What do you need to do to set
>>> this up, other than annotate headlines with :blog: keywords and :on:
>>> properties?
>>
>> You set it up so that the files that contain blog entries belong to an
>> org-publish project, as described for example in
>> http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php
>>> I've found that calling org-jekyll-export-blog, seems to do nothing...
>>
>> It should, if the file from which you are calling is part of an
>> org-publish project, and there are entries with the :blog: tag and the
>> :on: property.
>
> Ok, it turns out that there were several problems I had...  After some
> time in the emacs debugger, it turned out that the default values for
> org-jekyll-category and org-jekyll-localize-dir are non-nil... which
> was causing the _posts/ directory to be set to a directory that
> doesn't exist.  Overriding these to nil fixed the first problem.

Souds like the most sensible default, just changed in the repository.
It should only fail if you happened to have a :lang: property in your
entries, though.

> The second problem was that my tags and property keys are all in
> uppercase, yet org-jekyll only works for lower-case keys.

Changed that too.  Now it accepts both lower- and upper-case :BLOG: and :ON:.

> Also it would be nice for org-jekyll-export-blog to fail with an
> error, rather than just dying silently.  Alternatively even better
> might be for it to construct the _post and category directories it
> needs if they don't already exist

Changed to create the directories if they don't exist.  Now the
biggest thing still on my list is taking care of accented characters
in entry names.  Looks like some browsers don't like them in urls.

Best,

Juan
-- 
http://juanreyero.com/
http://unarueda.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


[Orgmode] Using R in Org mode with several sourced files

2010-02-02 Thread Rainer M Krug
Hi

 Following a discussion about how one could create a TODO list in ESS (see
below), Thomas Dye and Dan Davison suggested to look into org-mode and
org-babel and it looks really interesting. I just have one aspect, which
would be more difficult with my workflow. Let me explain. I am writing
fairly complex simulations, and I prefer to keep functions for different
aspects of the simulation in different files. Therefore I have several
files, each one containing R code, which is sourced from a main file, which
then sets the simulation up, which I then can start with calling
simulateIt() in R. I could use .org files and tangle the code, but, as I am
not that organised, I even forget sometimes to save before I source the file
and therefore still work with the old version - this would be more
difficult, if I had to tangle each file in addition to the saving (Ctrl-x s
saves all files - very useful for me!).

One option would be to combine all actual files into a single one, and then
tangle in different .R files, but I somehow do not like the idea of having
one HUGE file, with all the code, which then will be tangled into several .R
files.
So I would like to have several .org files, where each one will be tangled
into a separate .R file, which then will be sourced from a final main file.
As I understand org-mode, I could still have a single TODO list, based on
the agenda in org-mode.

So my question is, if this process could be automated. One idea was a kind
of a "make file", in which I specify:
tangle file1.org
tangle file2.org
tangle file3.org
tangle fileAll.org

These would then result in the files attached, which then can be used from
fileAll.R

Another idea was to have emacs automatically tangle the file after saving.

But I am sure there are also other possibilities.

I have to say, I am absolutely new to org-mode, and know nearly nothing
about lisp.

Cheers,

Rainer


-- Forwarded message --
From: Dan Davison 
Date: Mon, Feb 1, 2010 at 9:59 PM
Subject: Re: Fwd: [ESS] generating TODO list?
To: Rainer M Krug 
Cc: "Thomas S. Dye" 


[...]
> Sure, when you change the code in the org file, you have to re-run
> org-babel-tangle before you run your new R code.
>
>
> Ant this is the critical point: I can save all files which need to be
saved in
> ESS by Ctrl-x s (or was it Ctrl-x Ctrl-s ? I always do both). But having
> manually to go through all files, is something I am likely to forget. If I
> could tangle all files with one command, that wouls work (I have about 10
files
> for the project which are then sourced...). Could I combine the save-all
with a
> tangle-all, or have the saving action automatically followed by a tangling
(if
> it is an org file)?
>
>
> But that's just one possibility. Another would be simply to tangle all
> the blocks of R code to the same file. Then when you run that file,
you
> know that your function definitions will be up to date.
>
>
> It is quite strange, that there is no possibility to script emacs from org
mode
> like all the other languages? because that would be perfect for this.


I am certain that there is going to be a good solution for all your
concerns! I think you want to be thinking along the lines of maintaining
a _single_ org file for your project, and either including the code in
different subtrees of that file, or referring to external files from
within that file. But if the right solution doesn't doesn't already
exist, and it's a good idea, then someone will cook it up in
elisp. Could we move this discussion to the org-mode list? If you
describe what you want to do, with a toy example if that's helpful, then
I believe you will see that problems do not remain without solution for
very long on emacs-orgm...@gnu.org.

Meanwhile, have a look at this

http://doc.norang.ca/org-mode.html

to see some of what org-mode can do (the website itself is made in
org-mode of course).

Dan


>
>
>
> By the way, have you tried out the export facilities of org-mode? Have
a
> look at the html export of the above org file [C-c C-e (org-export)
> brings up the export options]. You can create links in the org file to
> graphical output from R and these graphs will be included in the
> exported HTML/LaTeX.
>
>
> No - I just discovered the org-mode yesterday.
>
> Cheers,
>
> Rainer
>
>
>
> Dan
>
> >
> > If that could be done, it would be a perfect example, how one could
use
> > org-babel in real R programming. The other option, would be a "make
file"
> > equivalent, which contains all the "tangle file ..." commands, and
which
> could
> > be executed in the block above.
> >
> >
> >
> > And it's also worth looking at the noweb-style references for
> assembling
> >
> > different code blocks into a single code block. So with
reference to
> the
> > distinction between "source is real" vs. "R objects are real",
from
> > the org-babel point of view the org-mode

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-02-02 Thread Stephen Eglen
> 
> I often use org-agenda-diary-entry to make simple entries into
> an agenda.org file.  I see that the agenda is clever enough to recognise
> if a time range has been typed into the heading.  However, this time
> range is not exported by the icalendar code.

Attached is a patch to the code underlying 'i d' entries in the *Org
Agenda* buffer.  If a time of day is specified in the entry, it is
extracted from the entry and put into the timestamp of the diary entry.
(The .ics exporting code recognises these timestamps and therefore the
ics export code does not need altering.)

For example, given the following three entries added using 'i d' from
*Org Agenda*:

i d RET test 1 12:00-14:00 classes RET
i d RET test 2 did you get 7am wake up call? RET
i d RET test 3 find 3--5 volunteers RET

then the following entries are added to agenda.org:

*** 2010-02-03 Wednesday

 test 3 find 3--5 volunteers
 <2010-02-03 Wed>
 test 2 did you get wake up call?
 <2010-02-03 Wed 07:00>
 test 1 classes
 <2010-02-03 Wed 12:00-14:00>

As this behvaiour may not be desired by all, I've currently put the code
conditional on org-agenda-search-headline-for-time being non-nil (the
default is t).  If that variable is nil, then the above three test
entries generates the regular tree:

*** 2010-02-03 Wednesday

 test 3 find 3--5 volunteers
 <2010-02-03 Wed>
 test 2 did you get 7am wake up call?
 <2010-02-03 Wed>
 test 1 12:00-14:00 classes
 <2010-02-03 Wed>


Perhaps org-agenda-search-headline-for-time is not the right variable
though (happy to had another) given that it defaults to t?

Stephen

2010-02-02  Stephen Eglen  

* org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
Optionally extract time specification from text and add to the
timestamp.

*** /tmp/ediff11782joC  2010-02-02 13:07:49.0 +
--- /home/stephen/langs/emacs/elisp-ds/org-mode/lisp/org-agenda.el  
2010-02-02 09:48:10.0 +
***
*** 6891,6903 
(insert (format "(diary-anniversary %s) %s"
(calendar-date-string d1 nil t) text
   ((eq type 'day)
!   (if (eq org-agenda-insert-diary-strategy 'top-level)
! (org-agenda-insert-diary-as-top-level text)
!   (require 'org-datetree)
!   (org-datetree-find-date-create d1)
!   (org-agenda-insert-diary-make-new-entry text))
!   (org-insert-time-stamp (org-time-from-absolute
! (calendar-absolute-from-gregorian d1)))
(end-of-line 0))
   ((eq type 'block)
(if (> (calendar-absolute-from-gregorian d1)
--- 6891,6919 
(insert (format "(diary-anniversary %s) %s"
(calendar-date-string d1 nil t) text
   ((eq type 'day)
!   (let*
! (fmt time time2
!  (org-agenda-time-leading-zero t))
!   (if org-agenda-search-headline-for-time
!   ;; Use org-format-agenda-item to parse text for a time-range and
!   ;; remove it.  
!   (setq fmt (org-format-agenda-item nil text nil nil t)
! time (get-text-property 0 'time fmt)
! time2 (if (> (length time) 0)
!   ;; split-string removes trailing .. if
!   ;; no end time given.  First space
!   ;; separates time from date.
!   (concat " " (car (split-string time "\\.")))
! nil)
! text (get-text-property 0 'txt fmt)))
!   (if (eq org-agenda-insert-diary-strategy 'top-level)
!   (org-agenda-insert-diary-as-top-level text)
! (require 'org-datetree)
! (org-datetree-find-date-create d1)
! (org-agenda-insert-diary-make-new-entry text))
!   (org-insert-time-stamp (org-time-from-absolute
!   (calendar-absolute-from-gregorian d1))
!  nil nil nil nil time2))
(end-of-line 0))
   ((eq type 'block)
(if (> (calendar-absolute-from-gregorian d1)


___
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] Announcing org-jekyll

2010-02-02 Thread Juan Reyero
On Mon, Feb 1, 2010 at 9:20 PM, Eric Schulte  wrote:
> I have been exporting org-mode subtrees to jekyll blog posts on a couple
> of projects, and I've found it really handy
> - resulting in more attractive web pages than I'm able to generate
>  directly from org
> - for the liquid syntax which jekyll provides for programmatic
>  generation of elements of html files
> - and for the ability to automatically generate xml/atom/rss from my
>  projects
>
> One issue that I've not been able to solve is the resolution of
> intra-file links when I'm exporting subtrees to external files.  For
> example say I have the following file
> Taking the above idea one step further, if say each subtree has an
> "EXPORT_FILE_NAME" property then it would be great to support link
> maintenance during export of all such subtrees in a file

It is a great idea.  Most of my links end up being in http format
pointing to the final location of things, which is a brittle solution
and prevents following them from org-mode.

For exporting subtrees in jekyll format you'd probably want to allow
the value of EXPORT_FILE_NAME to be a function that computes it from
the entry properties.

Another problem is how to export images and attachments.  I haven't
solved it yet: I manually copy them to their final destination, and
have a link in org-mode that will translate to something correct when
exported.  It'd be great to be able to refer to an attached file from
a link in an entry, and copy during export the attachments directory.

Best,

Juan
-- 
http://juanreyero.com/
http://unarueda.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] Any idea why the git repo is so huge

2010-02-02 Thread Ian Barton




The git repo I just checked out a minute ago is 54M, 20 times bigger
than the org lisp files. Any idea why it is so large? Thanks.

Leo

Don't forget it has a complete history of all org development since the 
initial import of the source.


You may be able to reduce the size of your local repo by running:

git gc

See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html

Ian.


___
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] Any idea why the git repo is so huge

2010-02-02 Thread Eric S Fraga
At Tue, 02 Feb 2010 09:01:57 +,
Leo wrote:
> 
> Hello,
> 
> The git repo I just checked out a minute ago is 54M, 20 times bigger
> than the org lisp files. Any idea why it is so large? Thanks.

ummm because there is a great deal of active development?  Each change
requires an entry in the repository with the changes that entry was
responsible for.


___
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] Radio targets don't work in headers

2010-02-02 Thread Tom
If I create a radio target in the file

<<>>


and then somewhere else in the document I use the target in a header like


* collection of some info on project X
** collected info about stuff
*** note 1
*** note 2
...


Then the word stuff will be a link, but when I click on it it says "No links". 
If the word stuff is not in a header line then the link works fine. I see no 
reason why it shouldn't work in the header, so it seems like a bug.

Org-mode version 6.34




___
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] Announcing org-jekyll

2010-02-02 Thread Rick Moynihan
Replies inline below:

On 1 February 2010 19:14, Juan Reyero  wrote:
> On Mon, Feb 1, 2010 at 12:23 PM, Rick Moynihan  
> wrote:
>> On 29 January 2010 23:16, Juan Reyero  wrote:
>>> Full description: http://juanreyero.com/open/org-jekyll/
>>> Source code: http://github.com/juanre/org-jekyll
>>
>> I'm not entirely clear on how the org-publish-project-alist relates to
>> org-jekyll and org-jekyll-export-blog?  What do you need to do to set
>> this up, other than annotate headlines with :blog: keywords and :on:
>> properties?
>
> You set it up so that the files that contain blog entries belong to an
> org-publish project, as described for example in
> http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php
>
> The idea is that you might want to combine a blog with a bunch of
> org-published files, as I do in http://juanreyero.com and
> http://greaterskies.com, and you shouldn't have to spend too much time
> separating the two things.  So it boils down to defining your
> org-publish-project-alist.  Then you open a file that belongs to the
> project and do org-jekyll-export-blog or
> org-jekyll-export-current-entry, depending on what you need.

Yes, I like this flexibility.

>> I've found that calling org-jekyll-export-blog, seems to do nothing...
>
> It should, if the file from which you are calling is part of an
> org-publish project, and there are entries with the :blog: tag and the
> :on: property.

Ok, it turns out that there were several problems I had...  After some
time in the emacs debugger, it turned out that the default values for
org-jekyll-category and org-jekyll-localize-dir are non-nil... which
was causing the _posts/ directory to be set to a directory that
doesn't exist.  Overriding these to nil fixed the first problem.

The second problem was that my tags and property keys are all in
uppercase, yet org-jekyll only works for lower-case keys.

I seem to be up and running with it for now...  I just need to modify
my setup a bit more to account for the changes... But this definitely
seems a lot less hacky than the happyblogger setup I was playing
with!!

I think setting both of those vars to default to nil would make
sense...  As I'd imagine people would probably want to start with a
minimal config/setup and grow into the more advanced multi-lingual
features you have.

Also it would be nice for org-jekyll-export-blog to fail with an
error, rather than just dying silently.  Alternatively even better
might be for it to construct the _post and category directories it
needs if they don't already exist

Great work though  I've been waiting for something like this for
years!!!  (Though I'm also a tiny bit dissapointed that you stole my
march; as I was looking forward to learning a bit more Emacs Lisp and
reworking happyblogger into something like this)  But again,
thanks a bunch this is a valuable addition to the org community!


--
Rick Moynihan
http://twitter.com/RickMoynihan
http://delicious.com/InkyHarmonics
http://sourcesmouth.co.uk/


___
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: \log and friends are not recognized as math [6.34b]

2010-02-02 Thread Carsten Dominik

Hi Nick,

am I right that you are now through with this, so that I can start my  
work based on your last iteration?


- Carsten

On Feb 2, 2010, at 12:37 AM, Nick Dokos wrote:


I went through the rest - same conventions apply.


1. If something is undefined in LaTeX, this is notated by  
commenting the item out

  in the appended LaTeX file, e.g.

%\nbsp

2. If something requires math mode, this is notated by marking the  
item like this:

  \ensuremath{\foo} in the appended LaTeX file, e.g.

\ensuremath{\vert}

3. If an item is defined and does not require math mode, it is left  
unadorned in

  the appended LaTeX file, e.g.

  \copy




In addition, there are some symbols that are defined in packages.  
Where

I knew about that, I indicated the package in a comment. There are a
couple of things (\divide, \and and \or) that are defined, but they  
are

not useful as symbols - where applicable, I have indicated that in a
comment as well. And there is a bug in org-exp.el that caused  
\heartsuit

to be omitted and \diamondsuit to be duplicated:

...
   ("hearts") ("diamondsuit"."♥")
...

HTH,
Nick

---
\documentclass{article}

\begin{document}
% \nbsp
% \iexcl
% \cent
% \pound
% \curren
% \yen
% \brvbar

\ensuremath{\vert}
% \sect
% \uml
\copy
% \ordf
% \laquo
\not
% \shy
% \reg
% \macr
\ensuremath{\deg}
\ensuremath{\pm}
%\plusmn
\ensuremath{\sup }%2
\ensuremath{\sup }%3

\ensuremath{\acute x}
% \micro
% \para
% \middot
\ensuremath{\odot}
\ensuremath{\star}
%\cedil
\ensuremath{\sup1}
% \ordm
% \raquo
\ensuremath{\frac 1 4}
\ensuremath{\frac 1 2}
\ensuremath{\frac 3 4}
% \iquest
% \Agrave
% \Aacute
% \Acirc
% \Atilde
% \Auml
% \Aring
\AA
% \AElig
% \Ccedil
% \Egrave
% \Eacute
% \Ecirc
% \Euml
% \Igrave
% \Iacute
% \Icirc
% \Iuml
% \ETH
% \Ntilde
% \Ograve
% \Oacute
% \Ocirc
% \Otilde
% \Ouml
\ensuremath{\times}
% \Oslash
% \Ugrave
% \Uacute
% \Ucirc
% \Uuml
% \Yacute
% \THORN
% \szlig
% \agrave
% \aacute
% \acirc
% \atilde
% \auml
% \aring
% \aelig
% \ccedil
% \checkmark
% \egrave
% \eacute
% \ecirc
% \euml
% \igrave
% \iacute
% \icirc
% \iuml
% \eth
% \ntilde
% \ograve
% \oacute
% \ocirc
% \otilde
% \ouml
{\count240=240
 \divide\count240 by 2% not useful as a symbol
}
% \oslash
% \ugrave
% \uacute
% \ucirc
% \uuml
% \yacute
% \thorn
% \yuml
% \fnof
% \Alpha
% \Beta
\ensuremath{\Gamma}
\ensuremath{\Delta}
% \Epsilon
% \Zeta
% \Eta
\ensuremath{\Theta}
% \Iota
% \Kappa
\ensuremath{\Lambda}
% \Mu
% \Nu
\ensuremath{\Xi}
%\Omicron
\ensuremath{\Pi}
%\Rho
\ensuremath{\Sigma}
%\Tau
\ensuremath{\Upsilon}
\ensuremath{\Phi}
%\Chi
\ensuremath{\Psi}
\ensuremath{\Omega}
\ensuremath{\alpha}
\ensuremath{\beta}
\ensuremath{\gamma}
\ensuremath{\delta}
\ensuremath{\epsilon}
\ensuremath{\varepsilon}
\ensuremath{\zeta}
\ensuremath{\eta}
\ensuremath{\theta}
\ensuremath{\iota}
\ensuremath{\kappa}
\ensuremath{\lambda}
\ensuremath{\mu}
\ensuremath{\nu}
\ensuremath{\xi}
%\omicron
\ensuremath{\pi}
\ensuremath{\rho}
%\sigmaf
\ensuremath{\varsigma}
\ensuremath{\sigma}
\ensuremath{\tau}
\ensuremath{\upsilon}
\ensuremath{\phi}
\ensuremath{\chi}
\ensuremath{\psi}
\ensuremath{\omega}
%\thetasym
\ensuremath{\vartheta}
%\upsih
% \piv
% \bull
\ensuremath{\bullet}
%\hellip
\dots
\ensuremath{\prime}
%\Prime
% \oline
% \frasl
% \weierp
% \image
% \real
% \trade
% \alefsym
% \larr
\ensuremath{\leftarrow}
\ensuremath{\gets}
%\uarr
\ensuremath{\uparrow}
%\rarr
\ensuremath{\to}
\ensuremath{\rightarrow}
%\darr
\ensuremath{\downarrow}
%\harr
\ensuremath{\leftrightarrow}
%\crarr
\ensuremath{\hookleftarrow}
%\lArr
\ensuremath{\Leftarrow}
%\uArr
\ensuremath{\Uparrow}
%\rArr
\ensuremath{\Rightarrow}
%\dArr
\ensuremath{\Downarrow}
%\hArr
\ensuremath{\Leftrightarrow}
\ensuremath{\forall}
\part{foo}
\ensuremath{\partial}
%\exist
\ensuremath{\exists}
\empty
\ensuremath{\emptyset}
\ensuremath{\nabla}
%\isin
\ensuremath{\in}
\ensuremath{\notin}
\ensuremath{\ni}
\ensuremath{\prod}
\ensuremath{\sum}
%\minus
%\lowast
\ensuremath{\ast}
% \radic
% \prop
% \proptp
% \infin
\ensuremath{\infty}
%\ang

\ensuremath{\angle}
% \and  - not useful as a symbol
\ensuremath{\wedge}
% \or   - not useful as a symbol
\ensuremath{\vee}
\ensuremath{\cap}
\ensuremath{\cup}
\ensuremath{\int}
% \there4
\ensuremath{\sim}
\ensuremath{\cong}
\ensuremath{\simeq}
\ensuremath{\asymp}
\ensuremath{\approx}
\ensuremath{\ne}
\ensuremath{\neq}
\ensuremath{\equiv}
\ensuremath{\le}
\ensuremath{\ge}
%\sub
\ensuremath{\subset}
\ensuremath{\sup}
\ensuremath{\supset}
%\nsub
% \sube
% \supe
\ensuremath{\oplus}
\ensuremath{\otimes}
\ensuremath{\perp}
%\sdot
\ensuremath{\cdot}
\ensuremath{\lceil}
\ensuremath{\rceil}
\ensuremath{\lfloor}
\ensuremath{\rfloor}
% \lang
% \rang
% \loz
% \Diamond % latexsym.sty
% \spades
\ensuremath{\spadesuit}
% \clubs
\ensuremath{\clubsuit}
% \hearts
\ensuremath{\heartsuit}% added for this testing
\ensuremath{\diamondsuit}
% \diams
% \diamondsuit  

Re: [Orgmode] Re: a bug @ remember template

2010-02-02 Thread Carsten Dominik


On Feb 2, 2010, at 8:46 AM, zwz wrote:


Carsten Dominik  gmail.com> writes:




On Jan 31, 2010, at 5:00 PM, zwz wrote:


I use org-remember for my contact records.

This is a template in org-remember-templates
("Contact" ?c "* %^{Name} \n%[~/.contact]\n" "contact.org"  
"Contacts")


the content of the file "~/.contact":
:PROPERTIES:
:Mobile: %^{mobile}
:Email:
:Added: %u
:END:

I found that the prompt "%^{mobile}" works, but *the inactive time
stamp "%u"
does not.* It is not replaced.

I guess it is a bug.



Maybe not a bug - this simplt depends on the sequence
in which % escapes are expanded in the template.


Yes, it indeed depend on the expanding-order.

Yesterday, I tried a workaround.

I moved ":Added: %u \n :END:" from "~/.contact" to "~/.emacs",
which makes the new template in org-remember-templates as
("Contact" ?c "* %^{Name} \n%[~/.contact] :Added: %u \n :END:"  
"contact.org"

"Contacts")

But then I found that the content of the file "~/.contact" was not  
inserted at

all.  *Maybe this is a bug.*


This does work just fine for me.

- Carsten



I added "\n" before ":Added:":
("Contact" ?c "* %^{Name} \n%[~/.contact]\n :Added: %u \n :END:"  
"contact.org"

"Contacts")
then it did the work, but the result was not perfect.





However, I can see that it could be nice to define the templates
in a separate file like you do - so I have changed the sequence now.
File insertion happens first, so that this should now work  
(untested).


HTH

- 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


- 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









___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Only show a certain weekday in the agenda view

2010-02-02 Thread Darlan Cavalcante Moreira

You can use day view ("v d" in the agenda) in a Thursday. When you want to go to
the next one just pass a prefix argument 7 and then hit "f" to go forward. You
could also create a function that do this and assign a key for it in the agenda.

 - Darlan

At Mon, 1 Feb 2010 10:57:07 +0100,
Björn Steffen  wrote:
> 
> Hi Carsten,
> 
> > I am not sure I understand what your request is.  You want a view like the
> > agenda, but only Thursdays?
> 
> Basically I want a view like the agenda, but so that I see only the
> events on Thursdays and the other weekdays are skipped.
> I'm sorry, my question was a little confusing.
> 
> Björn
> 
> 
> ___
> 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] Any idea why the git repo is so huge

2010-02-02 Thread Leo
Hello,

The git repo I just checked out a minute ago is 54M, 20 times bigger
than the org lisp files. Any idea why it is so large? Thanks.

Leo



___
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: Autoset org-agenda-files

2010-02-02 Thread Fredrik

Thanks,

exactly what I was looking for...have some things that needs to be  
excluded and have som subfolders so this helps a lot..


Thank you all for your input...

Regards,

Fredrik

On 1 feb 2010, at 22.34, David Maus wrote:


At Mon, 1 Feb 2010 21:52:01 +0100,
Carsten Dominik wrote:



On Feb 1, 2010, at 9:47 PM, BKnoth wrote:


On 2/1/2010 7:59 AM, Fredrik wrote:
I wonder if someone with some elisp knowledge could help me  
out I

have a folder containing all my org-files named as X.org and would
like
to autopopulate the org-agenda-files when I start emacs. So in  
short

terms search folder for *.org (and exclude *-archive.org) so it is
always done when starting emacs...


This is a FAQ.

http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards



Or if your org folder contains subdirs and you store org-files as
attachments to headlines (read: more subfolders) you may use the
`find-list' library.

In my configuration file:

(require 'find-lisp)
(setq org-agenda-files (find-lisp-find-files org-directory "^[^#].+\ 
\.org$"))


adds all .org files to the list of agenda files.

HTH
-- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.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




___
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] headline numbering in html export

2010-02-02 Thread Martin G. Skjæveland

Hi,

I thought I'd share some stuff I'm quite happy with so that others can 
enjoy it if it is good, and so that I can stop using or improve it if it 
is not so good! :)


I am writing a set of exercises for a course and publishing a chapter 
once a week in both pdf and html. I like having the exercises for week 2 
start the headline numbering with 2 (and so on), so for the latex export 
I set the section counter to the appropriate value, in this example 
(week 2):


  #+LATEX_HEADER: \setcounter{section}{1}

For the html export I could not find a similar easy setting, but then I 
found that css2 has introduced counters:


  http://www.w3.org/TR/CSS2/generate.html#counters

So by adding the css stylesheet below, I can start my numbering for html 
in a similar fashion as for pdf export:


  #+STYLE: h1{counter-reset:section 1;}


Thanks!
Martin



The stylesheet:

#+begin_src css :tangle exercises.css
/*
   Do not display numbering entered by org-mode,
   but use css2 counters instead.
 */
.section-number-2,
.section-number-3,
.section-number-4,
.section-number-5
{
  display: none;
  }
h2
{
  counter-reset:subsection;
  }
h2:before
{
  counter-increment:section;
  content:counter(section);
  }
h2.footnotes:before
{
  content:"";
  }
h3
{
  counter-reset:subsubsection;
  }
h3:before
{
  counter-increment:subsection;
  content:counter(section) "." counter(subsection) " ";
  }
h4:before
{
  counter-increment:subsubsection;
  content:counter(section) "." counter(subsection) "." 
counter(subsubsection) " ";

  }
#+end_src


___
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] The ditaa picture

2010-02-02 Thread Chao Lu
Hey Eric,

Thanks for you tip, but I guess the dvipng command works well. Things get
kind of strange, since if I type $2^6$, Org recognizes it, and generates the
right results, which means, it could find all the latex package needed. But
if I try


#+BEGIN_LaTeX
\begin{equation}  % arbitrary environments,
x=\sqrt{b}% even tables, figures
\end{equation}% etc
#+END_LaTeX


It will end up with some strange picture in ltxpng directory, which is just
all black, nothing...

Do you have any idea?

Thanks a lot!

Chao

On Mon, Feb 1, 2010 at 2:56 PM, Eric Schulte  wrote:

> Hey Chao,
>
> Chao Lu  writes:
>
> > Hey Eric,
> >
> > Now it works! Thank you s much. I'll read through the reference,
> sorry to bother you
> > so much, a little busy on research.
> >
>
> I'm happy to help.
>
> >
> > And, Could I ask for more... Say, are you using Org to generate LaTeX or
> beamer, by any
> > chance? If so, I'm trying to configure the LaTeX part, my Org has been
> able to find the
> > dvipng and latex bins, for it recognized the LaTeX blocks, and produced
> the images in
> > the ltxpng dir. But problems the images it generated is just black, with
> nothing... Do
> > you have any idea?
> >
>
> Hmm, I do use org for both latex and Beamer presentations, it sounds
> like what you're describing is an issue during the preview of latex
> fragments from within org-mode files?
>
> I've had problems with that in the past, but they've mainly ended up
> being issue with org finding and using my dvipng command.  I'd take a
> look at your messages buffer, and if you continue to have problems you
> can submit a bug report to the org-mode mailing list.
>
> Good Luck -- Eric
>
> >
> > Best,
> >
> > Chao
> >
> > On Mon, Feb 1, 2010 at 2:00 PM, Eric Schulte 
> wrote:
> >
> > Hi Chao,
> >
> > Try the following alternative to your statement
> >
> > --
> > #+begin_src emacs-lisp :exports results
> >  (defun fibonacci (n)
> >(if (or (= n 0) (= n 1))
> >n
> >  (+ (fibonacci (- n 1)) (fibonacci (- n 2)
> >
> >  (mapcar (lambda (row)
> >(mapcar #'fibonacci row)) fib-inputs)
> > #+end_src
> > --
> >
> > for more information on Org-babel see [1], and specifically for more
> > information on the use of header arguments like :exports see [2].
> >
> > Best -- Eric
> >
> > Chao Lu  writes:
> >
> > > Hey Eric,
> > >
> > > Thanks again for your instruction, now it works well. But could I
> ask more about
> > > org-babel?
> > >
> > > Actually I tried to enabled it by:
> > > ---
> > > (require 'org-babel-init)
> > > (require 'org-babel-ditaa)
> > > (org-babel-load-library-of-babel)
> > > ---
> > >
> > > Then tried to evaluate it by
> > > --
> > > #+begin_src emacs-lisp
> > >   (defun fibonacci (n)
> > > (if (or (= n 0) (= n 1))
> > > n
> > >   (+ (fibonacci (- n 1)) (fibonacci (- n 2)
> > >
> > >   (mapcar (lambda (row)
> > > (mapcar #'fibonacci row)) fib-inputs)
> > > #+end_src
> > > --
> > >
> > > But seems did not get what I want, which should be a series of
> numbers, what I got
> > from
> > > is just a colored output when I export this file to html.
> > >
> > > Would you mind explain a little bit?
> > >
> > > Many thanks,
> > >
> > > Chao
> > >
> > > On Mon, Feb 1, 2010 at 10:40 AM, Eric Schulte <
> schulte.e...@gmail.com> wrote:
> > >
> > > Chao Lu  writes:
> > >
> > > > Hey Eric,
> > > >
> > > > Thanks for the tip, it works well here!
> > > >
> > > > Yet another further question, is it possible to assign the
> directory where
> > the
> > > picture
> > > > should be exported to? For it is kind of messy if all the
> figures goes to
> > the root
> > > > directory.
> > > >
> > >
> > > Yes, just add it to the :file name, i.e.
> > >
> > > #+begin_src ditaa :file data/communication.png :exports results
> > >
> > > Best -- Eric
> > >
> > > >
> > > > Thanks a lot for your help,
> > > >
> > > > Chao
> > > >
> > > > On Sat, Jan 30, 2010 at 7:46 PM, Eric Schulte <
> schulte.e...@gmail.com>
> > wrote:
> > > >
> > > > Hi Chao,
> > > >
> > > > I don't believe that it is currently possible to
> customize the file
> > > > names in the ways you have described using the standard
> begin_ditaa
> > > > blocks.  It is possible to have complete control over the
> file names
> > > > using org-babel, in which case the corresponding block
> would look like
> > > >
> > > > -