Re: [Orgmode] List number resetting when using anchor tag in exported HTML

2010-01-27 Thread Eric S Fraga
At Tue, 26 Jan 2010 16:01:23 +,
Eric S Fraga wrote:

> The following works just fine (at least for HTML export, not sure about 
> anything else):
> 
> --8<---cut here---start->8---
> * This is the first header line
> 
>   1. This is line number 1
>   2. This is line number 2
>   3. This is line number 3
>  <>
>   1. This should be line number 4, but is reset by the anchor tag
>   2. This should be line number 5.
> --8<---cut here---end--->8---
> 
> Note the indentation in particular.

(responding to my own post... sorry!)

The above is a little misleading as it looks like org is confused with
respect to list numbering.  I should have said that the numbering
above was incorrect only because I hadn't given org a chance to update
the numbers.  Hitting, for instance, C-cC-c on the last line gives:

--8<---cut here---start->8---
* This is the first header line

  1. This is line number 1
  2. This is line number 2
  3. This is line number 3
 <>
  4. This should be line number 4, but is reset by the anchor tag
  5. This should be line number 5.
--8<---cut here---end--->8---

Apologies for any confusion caused!

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] A bug of org-freemind.el in org-mode package 3.34c

2010-01-27 Thread Yu Shen (MCBU)
It seems in the function of org-freemind-write-mm-buffer, in the
following code segment, the treatment of sub-node level may have some
problem. If the level is one level more than its parent's level, the
function will abort, abandoning the expert. I'd wish that it would be
more robust to do the export regardless the unusual level number, and
just give clearer warning. 

 

 

(when (> next-level current-level)

  (if (not (and org-odd-levels-only

(/= (mod current-level 2) 0)

(= next-level (+ 2 current-level

  (setq skipping-odd nil)

(setq skipping-odd t)

(setq skipped-odd (1+ skipped-odd)))

  (unless (or (= next-level (1+ current-level))

  skipping-odd)

(if (or org-odd-levels-only

(/= next-level (+ 2 current-level)))

(error "Next level step > +1 for node ending at
line %s" (line-number-at-pos))

  (error "Next level step = +2 for node ending at
line %s, forgot org-odd-levels-only?"

 (line-number-at-pos)))

))

 

Attached is an example to demonstrate the problem.

 

I'd like to know the author's (Lennart Borgman) intension before I
attempt to modify it. 

 

Yu Shen

yubrs...@gmail.com



test.org
Description: test.org
___
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] Format lists in multiple columns

2010-01-27 Thread Brody, William (Buck)
Is there a way to format lists into multiple columns.  I want to do this in 
order to preserve screen real estate and limit the number of pages used in 
printing.

For example:

* Fruits
1. Apples
2. Oranges
3. Pears
4. Strawberries
5. Grapefruit
6. blueberries
7. nectarines

Would Be

* Fruits
1. Apples   5.Grapefruit
2. Oranges6.blueberries
3. Pears  7.nectarines
4. Strawberries

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


Re: [Orgmode] org-clock mode-line format configuration

2010-01-27 Thread Carsten Dominik


On Jan 26, 2010, at 11:00 AM, Kiwon Um wrote:


Dear orgmode dev team:

When the clock is started on an item, the item is shown on the mode
line. But the string on the mode line just shows the raw string of the
item, so sometimes it looks ugly when it contains a link.

So I suggest to make it customizable,


It is customizable, see the variable org-clock-heading-function


or to vanish the link string, e.g.
using
(replace-regexp-in-string "\\[\\[.*\\]\\[\\(.*\\)\\]\\]" "\\1" str)


Yes, that makes sense, I have added this.  I have changed the "*" parts
to non-greedy though, in case there are several links in the line.

- 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] [feature request] Quotation marks in LaTeX export

2010-01-27 Thread Carsten Dominik


On Jan 26, 2010, at 7:26 AM, Scot Becker wrote:

For what it's worth, I also think that an option to do this would be  
useful.


Hi Scott, it is worth a lot - more often that not a
second voice like this is what is making the difference...

- Carsten





On Sun, Jan 24, 2010 at 7:22 PM, Sven Bretfeld  
 wrote:

Hi

"Sven Bretfeld"  writes:

> Quotation marks like "these" are converted to ``these'' by
> org-export-latex. It would be much better to use \enquote{these}.

I have seen that org-latex.el links the quotation marks to the LANG
environment. So far only French and English are supported. I think  
this

is more complicated than it needs to be. Anyway, users with a French
environment also write English texts from time to time. We already  
have

a user-configurable, language-sensitive solution with the
csquotes-package. Why not use it?

On my system, I just changed the respective code in org-latex.el to
\enquote{}. It's working and it's easy. But it will be gone with the
next update.

Greetings,

Sven


___
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] [feature request] Quotation marks in LaTeX export

2010-01-27 Thread Carsten Dominik

Hi Sven,

can you send me a path, preferably with an option to turn this on and  
off?


Thanks.

- Carsten

On Jan 24, 2010, at 8:22 PM, Sven Bretfeld wrote:


Hi

"Sven Bretfeld"  writes:


Quotation marks like "these" are converted to ``these'' by
org-export-latex. It would be much better to use \enquote{these}.


I have seen that org-latex.el links the quotation marks to the LANG
environment. So far only French and English are supported. I think  
this

is more complicated than it needs to be. Anyway, users with a French
environment also write English texts from time to time. We already  
have

a user-configurable, language-sensitive solution with the
csquotes-package. Why not use it?

On my system, I just changed the respective code in org-latex.el to
\enquote{}. It's working and it's easy. But it will be gone with the
next update.

Greetings,

Sven


___
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] Format lists in multiple columns

2010-01-27 Thread Carsten Dominik


On Jan 27, 2010, at 3:44 AM, Brody, William (Buck) wrote:

Is there a way to format lists into multiple columns.  I want to do  
this in order to preserve screen real estate and limit the number of  
pages used in printing.


For example:

* Fruits
1. Apples
2. Oranges
3. Pears
4. Strawberries
5. Grapefruit
6. blueberries
7. nectarines

Would Be

* Fruits
1. Apples   5.Grapefruit
2. Oranges6.blueberries
3. Pears  7.nectarines
4. Strawberries


No.

- 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] how to print agenda with entry text

2010-01-27 Thread Carsten Dominik


On Jan 27, 2010, at 7:46 AM, Manish wrote:


hello!

is there a way one can print/save agenda /with/ the entry text exposed
by `E' in agenda?


Please take a look at the variable
org-agenda-add-entry-text-maxlines

You can set it globally, or bind it in the options section of the  
agenda command.


- 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] [feature request] Quotation marks in LaTeX export

2010-01-27 Thread Sven Bretfeld
Hi Carsten

Carsten Dominik  writes:

> can you send me a path, preferably with an option to turn this on and
> off?

For now, I only have this dummy solution in my .emacs:

--8<---cut here---start->8---
(eval-after-load "org-latex"
'(defun org-export-latex-quotation-marks ()
  "Export quotation marks depending on language conventions."
  (let* ((lang (plist-get org-export-latex-options-plist :language))
 (quote-rpl (if (equal lang "fr")
'(("\\(\\s-\\)\"" "«~")
  ("\\(\\S-\\)\"" "~»")
  ("\\(\\s-\\)'" "`"))
  '(("\\(\\s-\\|[[(]\\)\"" "\\enquote\{")
("\\(\\S-\\)\"" "\}")
("\\(\\s-\\|(\\)'" "`")
(mapc (lambda(l) (goto-char (point-min))
(while (re-search-forward (car l) nil t)
  (let ((rpl (concat (match-string 1)
 (org-export-latex-protect-string
  (copy-sequence (cadr l))
(org-if-unprotected-1
 (replace-match rpl t t) quote-rpl)))
)
--8<---cut here---end--->8---

It's a static setup, just an altered clone of the code in org-latex.el.
I have not the skills to make a switch out of this. One has to add the
header \usepackage[babel]{csquotes}. So, an option has to make sure that
csquotes as well as babel is loaded with the correct language settings:
\usepackage[english,ngerman]{babel} in my case. If connected to babel,
csquotes will also take care to pick the correct quotation marks if the
language is switched in the midst of the document.

Greetings

Sven


___
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] [feature request] Quotation marks in LaTeX export

2010-01-27 Thread Carsten Dominik

OK, thanks, I will take a look at that.

Hmmm, I also see that csquotes is not always present in  
distributions... :(


So this really has to be optional

- Carsten

On Jan 27, 2010, at 10:29 AM, Sven Bretfeld wrote:


Hi Carsten

Carsten Dominik  writes:


can you send me a path, preferably with an option to turn this on and
off?


For now, I only have this dummy solution in my .emacs:

--8<---cut here---start->8---
(eval-after-load "org-latex"
'(defun org-export-latex-quotation-marks ()
 "Export quotation marks depending on language conventions."
 (let* ((lang (plist-get org-export-latex-options-plist :language))
 (quote-rpl (if (equal lang "fr")
'(("\\(\\s-\\)\"" "«~")
  ("\\(\\S-\\)\"" "~»")
  ("\\(\\s-\\)'" "`"))
  '(("\\(\\s-\\|[[(]\\)\"" "\\enquote\{")
("\\(\\S-\\)\"" "\}")
("\\(\\s-\\|(\\)'" "`")
   (mapc (lambda(l) (goto-char (point-min))
(while (re-search-forward (car l) nil t)
  (let ((rpl (concat (match-string 1)
 (org-export-latex-protect-string
  (copy-sequence (cadr l))
(org-if-unprotected-1
 (replace-match rpl t t) quote-rpl)))
)
--8<---cut here---end--->8---

It's a static setup, just an altered clone of the code in org- 
latex.el.

I have not the skills to make a switch out of this. One has to add the
header \usepackage[babel]{csquotes}. So, an option has to make sure  
that
csquotes as well as babel is loaded with the correct language  
settings:

\usepackage[english,ngerman]{babel} in my case. If connected to babel,
csquotes will also take care to pick the correct quotation marks if  
the

language is switched in the midst of the document.

Greetings

Sven


___
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] org-clock mode-line format configuration

2010-01-27 Thread Carsten Dominik


On Jan 27, 2010, at 10:25 AM, Kiwon Um wrote:


Carsten Dominik  writes:


On Jan 26, 2010, at 11:00 AM, Kiwon Um wrote:


Dear orgmode dev team:

When the clock is started on an item, the item is shown on the mode
line. But the string on the mode line just shows the raw string of  
the

item, so sometimes it looks ugly when it contains a link.

So I suggest to make it customizable,


It is customizable, see the variable org-clock-heading-function



Would you please show me the function defun doing what I want?  I have
no idea to how to build org-clock-heading.


Untested:

(setq org-clock-heading-function
  (lambda ()
(replace-regexp-in-string
 "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
 (nth 4 org-heading-components




or to vanish the link string, e.g.
using
(replace-regexp-in-string "\\[\\[.*\\]\\[\\(.*\\)\\]\\]" "\\1" str)


Yes, that makes sense, I have added this.  I have changed the "*"  
parts

to non-greedy though, in case there are several links in the line.



Cool. I missed that.
(replace-regexp-in-string "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1" s))

Kiwon Um


- 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] refiling : limiting the destination refile targets

2010-01-27 Thread Carsten Dominik

Hi Richard,

On Jan 27, 2010, at 3:11 AM, Richard Riley wrote:



Here is a slight extension of the previously discussed ability to
restrict what are considered valid refile targets. You can simply  
modify the

restricted list org-no-refile-targets (which can be a list as below or
simply a string tag such as "norefile".

,
| (defun org-contains-tags (tags)
|   "returns t if the currnt org item is tagged with tags wher tags  
can be a single tag or a list of tags"

|   (interactive)
|   (let ((matched nil)
| (tagslist (org-split-string (org-get-tags-string) ":")))
| (when tagslist
|   (if (nlistp tags)
|   (setq matched (member tags tagslist))
| (catch 'break
|   (dolist(tag tags)
| (if(member tag tagslist)
|   (progn (setq matched t)
|  (throw 'break t)))
| matched))
|
| (defvar org-no-refile-tags `("NOTE" ,org-archive-tag) "org items
| containing one of these tags will not be considered for refile  
targets")
| (setq org-refile-target-verify-function `(lambda()(not(org- 
contains-tags org-no-refile-tags

`

As an elisp beginner, it pains me to tell you it took me about 2 hours
to get the right quoting sequences for the org-archive-tag to evaluate
properly  I have significantly less hair now ... ;)

r.


You can also use the function org-get-local-tags to get the tags.

Your variable definition can be simplified to

(defvar org-no-refile-tags (list "NOTE" org-archive-tag))

- 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] org-clock mode-line format configuration

2010-01-27 Thread Carsten Dominik

Hi Um,

not, the result value has to be a string.

- Carsten

On Jan 27, 2010, at 2:12 PM, Kiwon Um wrote:


Carsten Dominik  writes:


On Jan 27, 2010, at 10:25 AM, Kiwon Um wrote:


Carsten Dominik  writes:


On Jan 26, 2010, at 11:00 AM, Kiwon Um wrote:


Dear orgmode dev team:

When the clock is started on an item, the item is shown on the  
mode

line. But the string on the mode line just shows the raw string of
the
item, so sometimes it looks ugly when it contains a link.

So I suggest to make it customizable,


It is customizable, see the variable org-clock-heading-function



Would you please show me the function defun doing what I want?  I  
have

no idea to how to build org-clock-heading.


Untested:

(setq org-clock-heading-function
 (lambda ()
(replace-regexp-in-string
 "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
 (nth 4 org-heading-components



This code doesn't work. According to the documentation for the  
variable
org-clock-heading-function, the result should be org-clock-heading,  
not

a string.

Kiwon Um


- 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] org-clock mode-line format configuration

2010-01-27 Thread Carsten Dominik


On Jan 27, 2010, at 2:33 PM, Kiwon Um wrote:


Carsten Dominik  writes:


Hi Um,

not, the result value has to be a string.



Hi Carsten, hmmm... If you are right, it's an easy problem as long as
I'm able to know the variable name containing the string for the mode
line at the moment, isn't it?


No, you are misunderstanding.

the variable org-clock-heading-function hast to be set to a function.
A form starting with `lambda' is a function.

The function needs to return a string, and that string will  
automatically end up
in the variable `org-clock-heading', which is then used to create the  
string

in the mode line.

Clearer now?

I had a typo in the function:

(setq org-clock-heading-function
 (lambda ()
(replace-regexp-in-string
 "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
 (nth 4 (org-heading-components)





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


Re: [Orgmode] org-clock mode-line format configuration

2010-01-27 Thread Kiwon Um
Carsten Dominik  writes:

> On Jan 26, 2010, at 11:00 AM, Kiwon Um wrote:
>
>> Dear orgmode dev team:
>>
>> When the clock is started on an item, the item is shown on the mode
>> line. But the string on the mode line just shows the raw string of the
>> item, so sometimes it looks ugly when it contains a link.
>>
>> So I suggest to make it customizable,
>
> It is customizable, see the variable org-clock-heading-function
>

Would you please show me the function defun doing what I want?  I have
no idea to how to build org-clock-heading.

>> or to vanish the link string, e.g.
>> using
>> (replace-regexp-in-string "\\[\\[.*\\]\\[\\(.*\\)\\]\\]" "\\1" str)
>
> Yes, that makes sense, I have added this.  I have changed the "*" parts
> to non-greedy though, in case there are several links in the line.
>

Cool. I missed that.
(replace-regexp-in-string "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1" s))

Kiwon Um


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


Re: [Orgmode] org-clock mode-line format configuration

2010-01-27 Thread Kiwon Um
Carsten Dominik  writes:

> On Jan 27, 2010, at 10:25 AM, Kiwon Um wrote:
>
>> Carsten Dominik  writes:
>>
>>> On Jan 26, 2010, at 11:00 AM, Kiwon Um wrote:
>>>
 Dear orgmode dev team:

 When the clock is started on an item, the item is shown on the mode
 line. But the string on the mode line just shows the raw string of
 the
 item, so sometimes it looks ugly when it contains a link.

 So I suggest to make it customizable,
>>>
>>> It is customizable, see the variable org-clock-heading-function
>>>
>>
>> Would you please show me the function defun doing what I want?  I have
>> no idea to how to build org-clock-heading.
>
> Untested:
>
> (setq org-clock-heading-function
>   (lambda ()
>   (replace-regexp-in-string
>"\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
>(nth 4 org-heading-components
>

This code doesn't work. According to the documentation for the variable
org-clock-heading-function, the result should be org-clock-heading, not
a string.

Kiwon Um


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


Re: [Orgmode] org-clock mode-line format configuration

2010-01-27 Thread Kiwon Um
Carsten Dominik  writes:

> Hi Um,
>
> not, the result value has to be a string.
>

Hi Carsten, hmmm... If you are right, it's an easy problem as long as
I'm able to know the variable name containing the string for the mode
line at the moment, isn't it?

Kiwon Um


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


Re: [Orgmode] org-clock mode-line format configuration

2010-01-27 Thread Kiwon Um
2010/1/27 Carsten Dominik :
>
> On Jan 27, 2010, at 2:33 PM, Kiwon Um wrote:
>
>> Carsten Dominik  writes:
>>
>>> Hi Um,
>>>
>>> not, the result value has to be a string.
>>>
>>
>> Hi Carsten, hmmm... If you are right, it's an easy problem as long as
>> I'm able to know the variable name containing the string for the mode
>> line at the moment, isn't it?
>
> No, you are misunderstanding.
>
> the variable org-clock-heading-function hast to be set to a function.
> A form starting with `lambda' is a function.
>
> The function needs to return a string, and that string will automatically
> end up
> in the variable `org-clock-heading', which is then used to create the string
> in the mode line.
>
> Clearer now?
>
> I had a typo in the function:
>
> (setq org-clock-heading-function
>     (lambda ()
>        (replace-regexp-in-string
>         "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
>         (nth 4 (org-heading-components)
>

Cool! Now it's clear.
Really thanks for your kind replies. :)


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


Re: [Orgmode] [org-beamer] inline slides?

2010-01-27 Thread Eric S Fraga
At Tue, 26 Jan 2010 16:38:46 -0500,
Austin Frank wrote:
> I have an idea that doesn't yet qualify as a feature request, more like
> an idea for discussion.  What do people think about the idea of adding
> the capability to write inline slides, akin to the way we can currently
> write inline TODO items?

Interesting!  I am trying to get my mind around this.  It is
definitely an intriguing idea, putting aside the complexities of
implementation.  I could see it being useful, along the lines of all
the tangling examples in org-babel.

Whether I would use something like this or not is difficult to
ascertain.  I don't need to write long documents like a thesis (any
more! although my students do ;-); more importantly, I often will
prepare more than one presentation based on a given project and each
presentation will be substantially different enough to make it
difficult to embed slides.

> [...]
> The application I have in mind has to do with writing my doctoral
> thesis.  I know that I'll be writing long chapters; I also know that
> I'll have to prepare slides for my public defense.  Ideally, during the
> writing process I'll be able to notice a series of important points and
> drop into an inline slide to jot them down for the talk.  Similarly, I
> could see wanting to start a section with an overview slide, but not
> wanting to alter the structure of the section.

Yes, this I can see.  However, the type of different content you may
wish to attach/embed will depend on its final purpose.  That is, in
terms of presentations, who will be in the audience?

> Since slides are mostly just headlines with special tags and properties,
> at the end of the process I could easily selectively export just the
> text of the dissertation or just the embedded slides.

This begs the question: maybe an "export to org based on tags"
function is all that is required?  And this is probably already
implemented; I hesitate to suggest how or where, given my lack of
awareness of all the various multitude of features of org-mode, but I
can imagine that sparse trees could be part of any solution?

Just some thoughts...

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] About Ditaa

2010-01-27 Thread Chao Lu
Dear all,

I'm trying to power my org with the ditaa block generator, so I downloaded
the jar file, and put it in ~/.emacs.d/org/var/ditaa0_9.jar. Then I include
"(setq org-ditaa-jar-path "~/.emacs.d/org/var/ditaa0_9.jar")" in my .emacs.

However it seems not work well, I do get some results like
blue-a-lot-of-random-digi.png in the exported html, but no picture. So I
went to check the *Message*, finding "Unable to access jarfile
~/.emacs.d/org/var/ditaa0_9.jar". Could not figure out why, does anybody
have some idea?

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


Re: [Orgmode] How to combine the analogue (Moleskine) world with digital (org-mode) world ?

2010-01-27 Thread Jason Dunsmore
Torsten Wagner  writes:

> My question is now. What would be the best way to combine the
> moleskine and org-mode ? Does someone have experience  with a paper
> based and digital mixture system?

I used to use similar clunky mixed org and paper systems, but this
thread just inspired me to write the following function which solves the
problem for me.  The function will allow me to non-interactively add a
message to the "Inbox" section of my Org file.


(defun phone-remember (file note)
  (interactive)
  (find-file (concat "~/repo/org/" file ".org"))
  (goto-line 5)
  (org-show-entry)
  (insert (concat "** TODO " note "\n")))


I put the following procmail rule in place to trigger that function from
my cell phone:


:0
* ^from.*1234567...@vtext.com
* ^Subject: Todo \/.*
| emacsclient.emacs-snapshot -e "(phone-remember \"todo\" \"${MATCH}\")"


So I just email myself a note from my phone staring with "Todo" and it
gets added to my todo list.

I just tested it out, and it works really well!

I run emacs in daemon mode, but the same could be done with just the
emacs command.  It might fit into others' systems better if org-remember
is somehow called non-interactively.  That way, your org-remember
templates would be available.  Please let me know if someone figures out
how to do this.

Regards,
Jason


___
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] Symbol's value as variable is void

2010-01-27 Thread Thomas S. Dye

Aloha all,

I haven't published to HTML in a while.  In the interim, I've re- 
located several .org files and updated both Org-mode and Org-babel.


When I try to publish a project, I end up with an error message and  
this in *Messages*:


Publishing file /Users/dk/org/tsdye/software/manual.org using `org- 
publish-org-to-html'

Exporting...
org-babel-exp processing...
and: Symbol's value as variable is void: progress-marker

I tried looking for progress-marker with Ctrl-h a, but didn't find  
anything appropriate.


Help appreciated.

All the best,
Tom

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.




Emacs  : GNU Emacs 23.1.91.1 (i386-apple-darwin9.8.0, Carbon Version  
1.6.0 AppKit 949.54)

 of 2010-01-01 on potofo-ou.local
Package: Org-mode version 6.33trans (release_6.34c.2.gd154)

current state:
==
(setq
 org-remember-default-headline "Tasks"
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- 
vars)

 org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)
  ("STARTED" :foreground "blue" :weight bold)
  ("DONE" :foreground "forest green" :weight  
bold)

  ("WAITING" :foreground "orange" :weight bold)
  ("APPT" :foreground "magenta" :weight bold)
  ("CANCELLED" :foreground "forest  
green" :weight bold)

  ("QUOTE" :foreground "red" :weight bold)
  ("QUOTED" :foreground "magenta" :weight bold)
  ("APPROVED" :foreground "forest  
green" :weight bold)
  ("EXPIRED" :foreground "forest  
green" :weight bold)
  ("REJECTED" :foreground "forest  
green" :weight bold)

  ("DEFERRED" :foreground "blue" :weight bold)
  ("DELEGATED" :foreground "orange" :weight  
bold))

 org-agenda-custom-commands '(("D" "Daily Action List"
   ((agenda ""
 ((org-agenda-ndays 1)
  (org-agenda-sorting-strategy
   (quote
((agenda time-up priority-down  
tag-up)))

   )
  )
 )
)
   )
  ("s" "Started Tasks" todo "STARTED"
   ((org-agenda-todo-ignore-with-date  
nil)))
  ("w" "Tasks waiting on something" tags  
"WAITING"

   ((org-use-tag-inheritance nil)))
  ("r" "Refile New Notes and Tasks" tags  
"REFILE"
   ((org-agenda-todo-ignore-with-date  
nil)))

  ("n" "Notes" tags "NOTE" nil))
 org-agenda-files '("~/org/tsdye/uh.org" "~/org/tsdye/software/ 
manual.org"

"~/org/tsdye/software/fieldwork.org"
"~/org/tsdye/software/database.org"
"~/org/tsdye/software/authors.org"
"~/org/tsdye/projects.org" "~/org/tsdye/refile.org"
"~/org/tsdye/work.org" "~/org/tsdye/research.org"
"~/Public/projects/909_makaainana_history/ 
makaainana.org"

"~/Public/projects/112/data/org/112.org"
"~/Public/projects/121/data/org/121.org"
"~/Public/projects/123/data/org/123.org"
"~/Public/projects/125/data/org/125.org"
"~/Public/projects/127/data/org/127.org"
"~/Public/projects/128/data/org/128.org"
"~/Public/projects/132/data/org/132.org"
"~/Public/projects/135/data/org/135.org"
"~/Public/projects/138/data/org/138.org"
"~/Public/projects/139/data/org/139.org"
"~/Public/projects/140/data/org/140.org"
"~/Public/projects/141/data/org/141.org"
"~/Public/projects/142/data/org/142.org"
"~/Public/projects/144/data/144.org")
 org-agenda-include-diary t
 org-completion-use-ido t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-todo-ignore-scheduled t
 org-babel-interpreters '("ditaa" "R" "python" "latex" "sh" "emacs- 
lisp")
 org-export-latex-format-toc-function 'org-export-latex-format-toc- 
default

 org-agenda-skip-scheduled-if-done t
 org-export-preprocess-hook '(org-export-blocks-preproce

Re: [Orgmode] Symbol's value as variable is void

2010-01-27 Thread Nick Dokos
Thomas S. Dye  wrote:

> Aloha all,
> 
> I haven't published to HTML in a while.  In the interim, I've re-located 
> several .org files and
> updated both Org-mode and Org-babel.
> 
> When I try to publish a project, I end up with an error message and this in 
> *Messages*:
> 
> Publishing file /Users/dk/org/tsdye/software/manual.org using 
> `org-publish-org-to-html'
> Exporting...
> org-babel-exp processing...
> and: Symbol's value as variable is void: progress-marker
> 

Set debug-on-error to t and try the export again. Then post the backtrace.

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] Re: About Ditaa

2010-01-27 Thread Óscar Fuentes
Chao Lu  writes:

[snip]

> "Unable to access jarfile
> ~/.emacs.d/org/var/ditaa0_9.jar". Could not figure out why, does anybody
> have some idea?

Check that the file's permissions allows reading for all.



___
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] Symbol's value as variable is void

2010-01-27 Thread Thomas S. Dye


On Jan 27, 2010, at 1:42 PM, Nick Dokos wrote:


Thomas S. Dye  wrote:


Aloha all,

I haven't published to HTML in a while.  In the interim, I've re- 
located several .org files and

updated both Org-mode and Org-babel.

When I try to publish a project, I end up with an error message and  
this in *Messages*:


Publishing file /Users/dk/org/tsdye/software/manual.org using `org- 
publish-org-to-html'

Exporting...
org-babel-exp processing...
and: Symbol's value as variable is void: progress-marker



Set debug-on-error to t and try the export again. Then post the  
backtrace.


HTH,
Nick


Aloha Nick,

Here it is:

Debugger entered--Lisp error: (void-variable progress-marker)
  (re-search-backward org-babel-src-block-regexp progress-marker t)
  (and (re-search-backward org-babel-src-block-regexp progress-marker  
t) (setq progress-marker (match-end 0)) (org-babel-exp-do-export (org- 
babel-get-src-block-info) (quote block)))
  (or (and (re-search-backward org-babel-src-block-regexp progress- 
marker t) (setq progress-marker ...) (org-babel-exp-do- 
export ... ...)) (save-excursion (forward-line 0) (and ... ... ...))  
(and (re-search-backward org-block-regexp progress-marker t) (setq  
progress-marker ...) (match-string 0)) (error "Unmatched block [bug in  
`org-babel-exp-src-blocks']."))
  org-babel-exp-src-blocks(#("software_update -h\nsoftware_update -- 
help" 0 41 (fontified nil org-category "manual")) #("bash" 0 4 (org- 
category "manual" fontified nil)))
  apply(org-babel-exp-src-blocks #("software_update -h 
\nsoftware_update --help" 0 41 (fontified nil org-category "manual"))  
#("bash" 0 4 (org-category "manual" fontified nil)))
  byte-code("\306\307\211\211\211\211\211\211\211#$%\310\311! 
\211&\205 \311K'\312\216\311\313M\210eb\210`\314\315\307\306# 
\203\305\316\317!G#\320\316\321!\227!\322 (\323\216\324\316\325! 
\326\"*\316\327!)\206\\\330	\235\211\204l\322 (\331\216\332\n!*

$>\204y
$B$\322 (\333\216\311\334\224\"\210*\335
*\"\211+A@)\211\203\277\336\322 (\337\216
,>\203\250\340\202\255\341\f\n	#*\306\211# 
\210\204\277\342\334\224\334\225##\210\334\225\202-\311d\".\f 
\207" [preserve-indent headers body start func type t nil fboundp  
interblock ((byte-code "\203\302	M\210\202\303\302! 
\210\302\207" [--cl-letf-bound-- --cl-letf-save-- interblock  
fmakunbound] 2)) #[(start end) "\301\302\"\207" [org-export- 
interblocks mapcar #[... "\211A@)\n\"\207" [pair x start end] 4]]  
3] re-search-forward "^\\([ 	]*\\)#\\+begin_\\(\\S-+\\)[ 	]*\\(.*\\)?[

\n]\\([^]*?\\)[
\n][ 	]*#\\+end_\\S-+.*" match-string 1 intern 2 match-data ((byte- 
code "\301\302\"\207" [save-match-data-internal set-match-data  
evaporate] 3)) org-split-string 3 "[ 	]+" 4 "-i" ((byte-code  
"\301\302\"\207" [save-match-data-internal set-match-data evaporate]  
3)) org-remove-indentation ((byte-code "\301\302\"\207" [save-match- 
data-internal set-match-data evaporate] 3)) 0 assoc replace-match  
((byte-code "\301\302\"\207" [save-match-data-internal set-match-data  
evaporate] 3)) "" apply indent-code-rigidly indentation types case- 
fold-search --cl-letf-bound-- --cl-letf-save-- save-match-data- 
internal org-src-preserve-indentation org-export-blocks x org-export- 
blocks-witheld] 10)

  org-export-blocks-preprocess()
  run-hooks(org-export-preprocess-hook)
  org-export-preprocess-string(#("#+TITLE: T. S. Dye & Colleagues On- 
line Software Manual\n\n* Mac OS X\n  - You can update Mac OS X on the  
company computer you administer.\n  - You will need to follow an  
operating system update by \nreinstalling the [[http://xquartz.macosforge.org/trac/wiki 
][X11 windowing system]].  Otherwise, Inkscape,\nGIMP, and  
Gnumeric won't be happy.\n* software\\_update\n  - Company software is  
updated over the Internet from a terminal.\n  - You can see the  
various options by issuing either of these commands:\n\n #+BEGIN_SRC  
bash\nsoftware_update -h\nsoftware_update --help\n #+END_SRC\n 
\n- Typically, you will update company software during a staff 
\n  meeting or when you receive an email with instructions.\n\n*  
upload\\_project, download\\_project\n  - We collaborate on our report  
writing by sharing files over the Internet.\n  - Use this method  
whenever possible instead of sending files via email.\n  - You can get  
help:\n\n #+BEGIN_SRC bash\nupload_project -h\nupload_project  
--help\ndownload_project -h\ndownload_project --help\n # 
+END_SRC\n\n\n* Project directories\n\n** Preamble\n   - All projects  
have the same directory structure.\n   - You create the directory  
structure with the make-project script,\n which runs in the  
terminal.\n#+BEGIN_SRC bash\nmake-project -h\nmake-project -- 
help\nmake-project -n ARDEL_data_recovery 135\n#+END_SRC\n\n**  
correspondence\n   - Holds all incoming and outgoing correspondence. 
\n*** envelope\n- Make envelopes using tsd\\_env.tex.\n*** fax 
\n- Make 

Re: [Orgmode] Symbol's value as variable is void

2010-01-27 Thread Nick Dokos
I took a quick look but I don't know what's wrong: Eric S. will have to take a 
look,
but this commit seems relevant:

commit d154f2794741275a41d4631892335d581d7da27a
Author: Eric Schulte 
Date:   Mon Jan 18 13:03:36 2010 -0700

babel: no longer overwriting non-babel src blocks org-exp-blocks: adding 
progress-marker local variable

  the progress-marker local variable set inside of a let in
  org-exp-blocks is used to constrain searches in org-babel-exp to
  ensure that a babel block doesn't overwrite non-babel src blocks

Nick

Thomas S. Dye  wrote:

> 
> On Jan 27, 2010, at 1:42 PM, Nick Dokos wrote:
> 
> > Thomas S. Dye  wrote:
> >
> >> Aloha all,
> >>
> >> I haven't published to HTML in a while.  In the interim, I've re-
> >> located several .org files and
> >> updated both Org-mode and Org-babel.
> >>
> >> When I try to publish a project, I end up with an error message and
> >> this in *Messages*:
> >>
> >> Publishing file /Users/dk/org/tsdye/software/manual.org using `org-
> >> publish-org-to-html'
> >> Exporting...
> >> org-babel-exp processing...
> >> and: Symbol's value as variable is void: progress-marker
> >>
> >
> > Set debug-on-error to t and try the export again. Then post the
> > backtrace.
> >
> > HTH,
> > Nick
> 
> Aloha Nick,
> 
> Here it is:
> 
> Debugger entered--Lisp error: (void-variable progress-marker)
>   (re-search-backward org-babel-src-block-regexp progress-marker t)
>   (and (re-search-backward org-babel-src-block-regexp progress-marker
> t) (setq progress-marker (match-end 0)) (org-babel-exp-do-export (org- 
> babel-get-src-block-info) (quote block)))
>   (or (and (re-search-backward org-babel-src-block-regexp progress-
> marker t) (setq progress-marker ...) (org-babel-exp-do-
> export ... ...)) (save-excursion (forward-line 0) (and ... ... ...))
> (and (re-search-backward org-block-regexp progress-marker t) (setq
> progress-marker ...) (match-string 0)) (error "Unmatched block [bug in
> `org-babel-exp-src-blocks']."))
>   org-babel-exp-src-blocks(#("software_update -h\nsoftware_update --
> help" 0 41 (fontified nil org-category "manual")) #("bash" 0 4 (org-
> category "manual" fontified nil)))
>   apply(org-babel-exp-src-blocks #("software_update -h
> \nsoftware_update --help" 0 41 (fontified nil org-category "manual"))
> #("bash" 0 4 (org-category "manual" fontified nil)))
>   byte-code("\306\307\211\211\211\211\211\211\211#$%\310\311!
> \211&\205 " [save-match-data-internal set-match-data
> evaporate] 3)) org-split-string 3 "[  ]+" 4 "-i" ((byte-code
> "\301\302\"\207" [save-match-data-internal set-match-data evaporate]
> 3)) org-remove-indentation ((byte-code "\301\302\"\207" [save-match- 
> data-internal set-match-data evaporate] 3)) 0 assoc replace-match
> ((byte-code "\301\302\"\207" [save-match-data-internal
> set-match-data  evaporate] 3)) "" apply indent-code-rigidly
> indentation types case- 
> fold-search --cl-letf-bound-- --cl-letf-save-- save-match-data-
> internal org-src-preserve-indentation org-export-blocks x org-export-
> blocks-witheld] 10)
>   org-export-blocks-preprocess()
>   run-hooks(org-export-preprocess-hook)
>   org-export-preprocess-string(#("#+TITLE: T. S. Dye & Colleagues On-
> line Software Manual\n\n* Mac OS X\n  - You can update Mac OS X on the 
> company computer you administer.\n  - You will need to follow an  operating 
> system update by \nreinstalling the 
> [[http://xquartz.macosforge.org/trac/wiki ][X11 windowing system]].  
> Otherwise, Inkscape,\nGIMP, and  Gnumeric won't be happy.\n* 
> software\\_update\n  - Company software is  updated over the Internet from a 
> terminal.\n  - You can see the  various options by issuing either of these 
> commands:\n\n #+BEGIN_SRC  bash\nsoftware_update -h\nsoftware_update 
> --help\n #+END_SRC\n \n- Typically, you will update company software 
> during a staff \n  meeting or when you receive an email with 
> instructions.\n\n*  upload\\_project, download\\_project\n  - We collaborate 
> on our report  writing by sharing files over the Internet.\n  - Use this 
> method  whenever possible instead of sending files via email.\n  - You can 
> get  help:\n\n #+BEGIN_SRC bash\nupload_project -h\nupload_project 
  --help\ndownload_project -h\ndownload_project --help\n # 
+END_SRC\n\n\n* Project directories\n\n** Preamble\n   - All projects  have the 
same directory structure.\n   - You create the directory  structure with the 
make-project script,\n which runs in the  terminal.\n#+BEGIN_SRC bash\n
make-project -h\nmake-project -- 
> help\nmake-project -n ARDEL_data_recovery 135\n#+END_SRC\n\n**
> correspondence\n   - Holds all incoming and outgoing
> correspondence. \n*** envelope\n- Make envelopes using
> tsd\\_env.tex.\n*** fax \n- Make fax cover sheets with
> tsd\\_fax\\_shell.tex.\n*** incoming \n- Keep incoming
> correspondence here.\n- For larger projects,  you might want to
> add subdirectorie

Re: [Orgmode] Symbol's value as variable is void

2010-01-27 Thread Thomas S. Dye

Thanks Nick,

Perhaps that is the relevant commit.  I'm pretty sure it was made  
subsequent to my last successful export.


All the best,
Tom

On Jan 27, 2010, at 2:37 PM, Nick Dokos wrote:

I took a quick look but I don't know what's wrong: Eric S. will have  
to take a look,

but this commit seems relevant:

commit d154f2794741275a41d4631892335d581d7da27a
Author: Eric Schulte 
Date:   Mon Jan 18 13:03:36 2010 -0700

   babel: no longer overwriting non-babel src blocks org-exp-blocks:  
adding progress-marker local variable


 the progress-marker local variable set inside of a let in
 org-exp-blocks is used to constrain searches in org-babel-exp to
 ensure that a babel block doesn't overwrite non-babel src blocks

Nick

Thomas S. Dye  wrote:



On Jan 27, 2010, at 1:42 PM, Nick Dokos wrote:


Thomas S. Dye  wrote:


Aloha all,

I haven't published to HTML in a while.  In the interim, I've re-
located several .org files and
updated both Org-mode and Org-babel.

When I try to publish a project, I end up with an error message and
this in *Messages*:

Publishing file /Users/dk/org/tsdye/software/manual.org using `org-
publish-org-to-html'
Exporting...
org-babel-exp processing...
and: Symbol's value as variable is void: progress-marker



Set debug-on-error to t and try the export again. Then post the
backtrace.

HTH,
Nick


Aloha Nick,

Here it is:

Debugger entered--Lisp error: (void-variable progress-marker)
 (re-search-backward org-babel-src-block-regexp progress-marker t)
 (and (re-search-backward org-babel-src-block-regexp progress-marker
t) (setq progress-marker (match-end 0)) (org-babel-exp-do-export  
(org-

babel-get-src-block-info) (quote block)))
 (or (and (re-search-backward org-babel-src-block-regexp progress-
marker t) (setq progress-marker ...) (org-babel-exp-do-
export ... ...)) (save-excursion (forward-line 0) (and ... ... ...))
(and (re-search-backward org-block-regexp progress-marker t) (setq
progress-marker ...) (match-string 0)) (error "Unmatched block [bug  
in

`org-babel-exp-src-blocks']."))
 org-babel-exp-src-blocks(#("software_update -h\nsoftware_update --
help" 0 41 (fontified nil org-category "manual")) #("bash" 0 4 (org-
category "manual" fontified nil)))
 apply(org-babel-exp-src-blocks #("software_update -h
\nsoftware_update --help" 0 41 (fontified nil org-category "manual"))
#("bash" 0 4 (org-category "manual" fontified nil)))
 byte-code("\306\307\211\211\211\211\211\211\211#$%\310\311!
\211&\205 " [save-match-data-internal set-match-data
evaporate] 3)) org-split-string 3 "[   ]+" 4 "-i" ((byte-code
"\301\302\"\207" [save-match-data-internal set-match-data evaporate]
3)) org-remove-indentation ((byte-code "\301\302\"\207" [save-match-
data-internal set-match-data evaporate] 3)) 0 assoc replace-match
((byte-code "\301\302\"\207" [save-match-data-internal
set-match-data  evaporate] 3)) "" apply indent-code-rigidly
indentation types case-
fold-search --cl-letf-bound-- --cl-letf-save-- save-match-data-
internal org-src-preserve-indentation org-export-blocks x org-export-
blocks-witheld] 10)
 org-export-blocks-preprocess()
 run-hooks(org-export-preprocess-hook)
 org-export-preprocess-string(#("#+TITLE: T. S. Dye & Colleagues On-
line Software Manual\n\n* Mac OS X\n  - You can update Mac OS X on  
the company computer you administer.\n  - You will need to follow  
an  operating system update by \nreinstalling the [[http://xquartz.macosforge.org/trac/wiki 
 ][X11 windowing system]].  Otherwise, Inkscape,\nGIMP, and   
Gnumeric won't be happy.\n* software\\_update\n  - Company software  
is  updated over the Internet from a terminal.\n  - You can see  
the  various options by issuing either of these commands:\n\n # 
+BEGIN_SRC  bash\nsoftware_update -h\nsoftware_update --help 
\n #+END_SRC\n \n- Typically, you will update company software  
during a staff \n  meeting or when you receive an email with  
instructions.\n\n*  upload\\_project, download\\_project\n  - We  
collaborate on our report  writing by sharing files over the  
Internet.\n  - Use this method  whenever possible instead of  
sending files via email.\n  - You can get  help:\n\n #+BEGIN_SRC  
bash\nupload_project -h\nupload_project
 --help\ndownload_project -h\ndownload_project --help\n #  
+END_SRC\n\n\n* Project directories\n\n** Preamble\n   - All  
projects  have the same directory structure.\n   - You create the  
directory  structure with the make-project script,\n which runs  
in the  terminal.\n#+BEGIN_SRC bash\nmake-project -h\nmake- 
project --

help\nmake-project -n ARDEL_data_recovery 135\n#+END_SRC\n\n**
correspondence\n   - Holds all incoming and outgoing
correspondence. \n*** envelope\n- Make envelopes using
tsd\\_env.tex.\n*** fax \n- Make fax cover sheets with
tsd\\_fax\\_shell.tex.\n*** incoming \n- Keep incoming
correspondence here.\n- For larger projects,  you might want to
add subdirectories for\n   

Re: [Orgmode] About Ditaa

2010-01-27 Thread Daniel J. Sinder

As Chao Lu so eloquently wrote on 1/27/2010 1:55 PM:
I'm trying to power my org with the ditaa block generator, so I 
downloaded the jar file, and put it in 
~/.emacs.d/org/var/ditaa0_9.jar. Then I include "(setq 
org-ditaa-jar-path "~/.emacs.d/org/var/ditaa0_9.jar")" in my .emacs.


However it seems not work well, I do get some results like 
blue-a-lot-of-random-digi.png in the exported html, but no picture. So 
I went to check the *Message*, finding "Unable to access jarfile 
~/.emacs.d/org/var/ditaa0_9.jar". Could not figure out why, does 
anybody have some idea?
I had a similar problem a while back due to my running emacs under 
Cygwin while JRE is actually a native Windows app.  Thus, the Windows 
JRE doesn't understand the jarfile path.  I had to hack 
org-exp-blocks.el to use cygwin-path-to-windows in a few places.  Of 
course, my issue could be completely unrelated, but without more 
information about your setup we're all flying blind.


Dan


___
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