Re: [O] Problems with org-publish w/ #+INCLUDE:

2011-10-16 Thread Daniel Brunner
Carsten Dominik carsten.domi...@gmail.com writes:

(...)

 This should be fixed now, please verify.

 - Carsten


Hi, 

thanks for the fast fix. I tested it with the test case and with my
working environment and the fix seems to work! Thanks a lot!

Best wishes, Daniel.




Re: [O] Can not export to LaTeX anymore

2011-10-15 Thread Daniel Brunner
Hi!

Well, in the meantime I found the error and a workaround. It resulted
from an (require 'org-export-latex) somewhere in my .emacs because I
wanted to add some LaTeX export definitions to
org-export-latex-classes. The effect was the the very old org-latex.el
(v 6.21) from the original Emacs distribution has been loaded and that
didn't work with the rest of the 7.7 org-mode distribution. 

I was thinking, that the new org-mode gets rid of old parts. I changed
the (require 'org-export-latex) to (require 'org-latex) and then it
worked (because the newest org-latex exports org-latex as well as
org-export-latex).

Kind regards, Daniel




[Orgmode] Re: [org-babel] Does org-babel needs some simplification?

2010-06-30 Thread Daniel Brunner
Hello everyone,

thanks for bringing this topic up. I do not want to be misunderstood:
org-mode is one of the greatest things developed the last years. I use
it every day and it is a great help. I also appreciate the work of all
those developers contributing to org-mode / babel.

My setup is: I use the git repository because I like some of the new
features und from time to time I pull the new things. Normalley a
make does the job and flipping through the log messages helps me to
understand the new things. I use org-mode on my main business machine;
ok, perhaps it is a bit risky. And I try to use as much as possible
out-of-the-box. 

But then my .emacs reported problems: org-babel has changed its place
and the way it is loaded. I found the reason for that in the news
group. But then the nice patch by Eric Schulte for tangling org-mode
files doesn't work any more because org-babel-tangle-langs does not
exist any more. And David Maus' addition org-atom for generating atom
feeds is broken because there is something with a
org-export-inbuffer-options-extra variable (which is not a org-babel
problem as I suppose).

I know, org-mode is a growing project and I really really like the
org-babel features. But for me it is now not advisable any more to keep
on the master branch. Today I spent several hours for finding the
reasons why something is not working any more. And that is too much for
a productive environment. 

Today, I am a bit sad about my broken org-mode installation and I am
going back to the 6.36c. 

Kind regards, Daniel. 


___
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: [org-babel] How to tangle org-mode files?

2010-04-16 Thread Daniel Brunner
Hi Dan,

thanks for the advice. After the org-babel-add-interpreter I got another
error message that org-babel-execute:org is not defined. 

I then added (I took the code from org-babel-css.el) a 

(defun org-babel-execute:org (body params)
  Execute a block of org code with org-babel. This function is calles by 
`org-babel-execute-src-block'.
  (message executing ORG source code block)
  body)

and after that the tangle worked. But you're right: The remaining commas
are not that helpful and my opinion would be too to strip them out. If I
could help please let me know. 

Best wishes,


Daniel

Dan Davison davi...@stats.ox.ac.uk writes:

 Daniel Brunner dan...@dbrunner.de writes:

 Hi,

 I am testing some ideas with org-babel (which is really great work) and
 got the following problem: I want to put several org-mode source blocks
 in one org-mode file and tangle them afterwards. Therefore I produced
 the following a.org:

 --8--
 #+begin_src org :tangle in-a.org
   ,* Foo
   ,** Bar
 #+end_src
 --8--

 Then I thought I have to add org to the list of known tangle
 languages:

 (add-to-list 'org-babel-tangle-langs '(org org))

 And when I know try a org-babel-tangle for example with

 (org-babel-tangle-file a.org) 

 Nothing happens. 

 Can anybody help with what I am doing wrong? 

 Hi Daniel,

 Short answer: please add

 (org-babel-add-interpreter org)

 Long answer: I think there is room for improvement in org-babel
 here. For example, the protective commas are not stripped out on
 tangling, but I feel that they should be. And we need to clarify in the
 documentation when org-babel-add-interpreter is needed and when adding
 to org-babel-tangle-langs is required. I'm adding this to our todo list.

 Best wishes,

 Dan




 Kind regards, Daniel


 ___
 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



___
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] How to tangle org-mode files?

2010-04-15 Thread Daniel Brunner
Hi,

I am testing some ideas with org-babel (which is really great work) and
got the following problem: I want to put several org-mode source blocks
in one org-mode file and tangle them afterwards. Therefore I produced
the following a.org:

--8--
#+begin_src org :tangle in-a.org
  ,* Foo
  ,** Bar
#+end_src
--8--

Then I thought I have to add org to the list of known tangle
languages:

 (add-to-list 'org-babel-tangle-langs '(org org))

And when I know try a org-babel-tangle for example with

 (org-babel-tangle-file a.org) 

Nothing happens. 

Can anybody help with what I am doing wrong? 


Kind regards, Daniel


___
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: Publish atom feeds based on Org files

2010-03-22 Thread Daniel Brunner
Hello David,

I have been waiting for that feature as well. A nice thing and for me it
seem to work very nicely. 

 I would definitely vote for org-atom.el to be included in the standard
 org distribution!

Me too! 

Thanks, 

Daniel. 


___
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