Re: [Orgmode] Pretty org-entities in org-mode buffers

2010-06-04 Thread Eric Schulte
Hi Carsten, Carsten Dominik writes: > On Jun 3, 2010, at 7:51 PM, Eric Schulte wrote: > >> Hi Carsten, >> >> This appears to be an issue in the HEAD (as of two weeks ago) of the >> Emacs git repository. I was able to get around this issue (and a >> couple o

Re: [Orgmode] Re: org-babel-R export parameters

2010-06-07 Thread Eric Schulte
Hi Russel, Russell Adams writes: [...] > > So my current issue is that it appears that even though I set :export > none, the png is still included in my Latex output. > > Suggestions? > The png is still included your output because the link to the png is part of your org-mode buffer. > > #+res

Re: [Orgmode] Re: org-babel-R export parameters

2010-06-07 Thread Eric Schulte
Erik Iverson writes: >> I personally find this useful because it allows me to use code blocks to >> generate results, and then when I'm content with the file I can set >> ":exports none" to avoid re-generating the file on every export -- while >> retaining the existing link keeps the file include

[Orgmode] better result insertion into Org-mode buffers

2010-06-07 Thread Eric Schulte
Hi, In a (fairly) recent thread [1] Graham Smith has brought up the fact that org-babel does not replace existing results in-place where they originally existed in an org-mode buffer, but rather deletes any existing results, and inserts new results immediately afterwards. Thanks for bringing this

Re: [Orgmode] Beamer presentation in the document

2010-06-09 Thread Eric Schulte
Hi Sébastien, Sébastien Vauban writes: [...] > > 1. How could I use the same table in the slides as in the document, without >copy/pasting it? > >Is there, maybe, some Babel black magic at hand? Export/import? > The following babel solution should work. It uses a code block to copy th

Re: [Orgmode] Re: Beamer presentation in the document

2010-06-10 Thread Eric Schulte
Hi Sébastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >> Sébastien Vauban writes: >>> >>> 1. How could I use the same table in the slides as in the document, without >>>copy/pasting it? >>> >>>Is t

Re: [Orgmode] Re: Beamer presentation in the document

2010-06-10 Thread Eric Schulte
Hi Sébastien, Sébastien Vauban writes: [...] >> for the first time a block is run the results will not be indented >> currently, although it would probably be worthwhile to default to indenting >> the results to the same level as the code block -- I'll add this as a TODO. > > Less important, eve

Re: [Orgmode] org-plot file export options

2010-06-11 Thread Eric Schulte
Hi John, If you're going to be doing anything complicated with your plots you may want to try using org-babel [1] rather than using org-plot. The following should Org-babel alternative should work. 1) ensure org-babel in installed on your system, and gnuplot is activated. ;; Org-babel

[Orgmode] Re: [OT] gnuplot quality

2010-06-12 Thread Eric Schulte
Eric S Fraga writes: > On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" > wrote: > > [...] > >> WRT: the ugliness of gnuplot to file, I've wrestled with this myself and >> I know exactly what you mean. Currently I try to use svg or png images >&g

Re: [Orgmode] Debate about "One clock per user, but user is identified"

2010-06-12 Thread Eric Schulte
Hi Sébastien, Sébastien Vauban writes: [...] > > I don't ask for multiple clocks running simultaneously, but (as I currently > envision it -- reason for collecting *your* ideas) for an identifier > [something like `org-user-identifier'] to be added to the clock lines, so that > we can filter bas

Re: [Orgmode] [PATCH] Fix typo in documentation

2010-06-12 Thread Eric Schulte
Applied Thanks -- Eric Puneeth Chaganti writes: > Hi, > > Fixed mis-spelt variable org-columns-skip-archived-trees. > > Thanks, > Puneeth > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http:/

[Orgmode] [bug] overprotective begin/end during latex export

2010-06-12 Thread Eric Schulte
Hi, I've run across the following bug a couple of times before, but have finally had a chance to really distill it. When exporting the following --8<---cut here---start->8--- #+TITLE: latex environments bug there is markup /out here/ #+LaTeX: \begin{enumerat

Re: [Orgmode] [patch] overprotective begin/end during latex export

2010-06-13 Thread Eric Schulte
Hi Nicolas, Your patch has been applied, many thanks. I looked at your previous email, and it's not immediately clear to me where the problem is either. Thanks for the quick solution on this issue however -- Eric Nicolas Goaziou writes: >>>>>> Eric Schulte writes: &

Re: [Orgmode] [OT] what about asymptote ?

2010-06-13 Thread Eric Schulte
Hi Nicolas, I agree asymptote does generate beautiful figures (does it use the same pgf backend as tikz)? However my most common graphical need is to display data read in from an external file or from the command line, which I believe is orthogonal to the main asymptote functionality. Best -- Er

[Orgmode] [PATCH] recursively resolve #+INCLUDE files

2010-06-13 Thread Eric Schulte
e-include-files' while checking to see if the | process has entered an infinite loop. ` >From 3c3dbd683857041703109e950e0ad85e6fec8a13 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 13 Jun 2010 15:14:08 -0700 Subject: [PATCH] org-exp: now recursively resolve #+INCLU

Re: [Orgmode] Re: [PATCH] lists and exportation to latex

2010-06-14 Thread Eric Schulte
Hi Nicolas, This patch looks great. Since it's >10 lines long, I must ask if you've signed the FSF papers for contributions to Emacs? If not is that something you're willing to do? http://orgmode.org/worg/org-contribute.php Thanks -- Eric Nicolas Goaziou writes: > The example illustrating t

Re: [Orgmode] Bug: lists, maths and export to latex

2010-06-14 Thread Eric Schulte
Hi Nicolas, I think you forgot to attach the actual patch. Best -- Eric Nicolas Goaziou writes: > Hello, > > With the following minimal example, the list isn't properly exported > to latex (please note there is no problem with html). The culprit is > obviously the equation split across two lin

Re: [Orgmode] Bug: lists, maths and export to latex

2010-06-14 Thread Eric Schulte
sorry, please disregard this email -- Eric "Eric Schulte" writes: > Hi Nicolas, > > I think you forgot to attach the actual patch. > > Best -- Eric > > Nicolas Goaziou writes: > >> Hello, >> >> With the following minimal example, the list is

Re: [Orgmode] Re: [PATCH] lists and exportation to latex

2010-06-14 Thread Eric Schulte
$some stuff # some more stuff$ -- I should be a comment line --8<---cut here---end--->8--- Best -- Eric "Eric Schulte" writes: > Hi Nicolas, > > This patch looks great. Since it's >10 lines long, I must ask if you've &

Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-14 Thread Eric Schulte
Hi William, Your code snippet exports as expected for me using the latest version of Org-mode. What values do you have set for the `org-export-latex-default-packages-alist' and `org-export-latex-packages-alist' variables? My guess is that the problem could be in a rogue entry in one of those

[Orgmode] [babel] now possible to set buffer-wide header arguments

2010-06-14 Thread Eric Schulte
Hi, I've just added the ability to set buffer-wide header arguments using a #+BABEL: line at the beginning of the buffer. For more information see http://eschulte.github.com/babel-dev/DONE-set-header-argument-values-on-a-buffer-bases.html feedback welcome. Cheers -- Eric __

Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-14 Thread Eric Schulte
typo in my previous mail -- see below "Eric Schulte" writes: [...] > (setq org-export-latex-default-packages-alist > '(("" "inputenc") > ("T1" "fontenc" t) > ("" "fixltx2e" ni

Re: [Orgmode] [PATCH] comments exporting

2010-06-14 Thread Eric Schulte
Hi Nicolas, Nicolas Goaziou writes: >>>>>> Eric Schulte writes: > >> A potentially related issue, >> The following org-mode snippet doesn't export correctly to latex, >> presumably because of protection issues similar to those addressed in >> y

Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-14 Thread Eric Schulte
William Henney writes: > Hi Eric > > Thanks for your response > > On Mon, Jun 14, 2010 at 1:17 PM, Eric Schulte wrote: >> Your code snippet exports as expected for me using the latest version of >> Org-mode. >> >> What values do you have set for the >&

[Orgmode] [OT] emacs-lisp compilation question

2010-06-14 Thread Eric Schulte
I have a general emacs-lisp compilation question, that maybe someone here can shed some light on. In trying to fold Org-babel into the core of Org-mode [1], I want to resolve all warning being thrown by the emacs-lisp compiler. One persistent warning is the following : In end of data: : ob-tangl

Re: [babel] Re: [Orgmode] Re: [OT] gnuplot quality

2010-06-15 Thread Eric Schulte
Eric S Fraga writes: > On Sun, 13 Jun 2010 12:35:43 +1000, "Alan E. Davis" wrote: > >> I use the gri plotting language to make plots. Does anyone here use this? >> >> I am over my head in trying to use babel as a literate programming tool; yet >> that's exactly what I need to do, else at least

Re: [Orgmode] [PATCH] comments exporting

2010-06-15 Thread Eric Schulte
Hi Nicolas, Thanks for the thoughtful response. Nicolas Goaziou writes: > Hello, >>>>>> Eric Schulte writes: > >> Not to look a gift patch in the mouth, but while this patch fixes the >> above issue it looks like it introduces a new problem. > > If yo

Re: [Orgmode] importing external files as LaTeX module

2010-06-16 Thread Eric Schulte
Hi soichi, Take a look at the #+INCLUDE: directive, in the manual at http://orgmode.org/manual/Include-files.html#Include-files it should be able to do what you need. Best -- Eric Soichi Ishida writes: > Hi. I have recently started using org-mode. > > I wanted to import external files into the

Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code

2010-06-16 Thread Eric Schulte
Just to make sure we don't lose these idea, I've posed them up in the babel dev repo http://eschulte.github.com/babel-dev/PROPOSED-tangle-entire-org-mode-file-in-comments.html Best -- Eric "Thomas S. Dye" writes: > Hi Erik, > > I am *not* a programmer so expect considerable chaff for every kern

Re: [Orgmode] [babel] exports, caching, remote execution

2010-06-17 Thread Eric Schulte
Hi Austin, Austin Frank writes: > Hey all-- > > Two (hopefully quick) questions: > > 1) Does the exporter respect the :cache argument? When I evaluate a >buffer, I can tell that cached blocks are not re-run, as expected. >When I export to \LaTeX or PDF, it seems that all blocks in the f

[Orgmode] [PATCH] remove newline characters from the contents of table cells

2010-06-18 Thread Eric Schulte
m external files, or from the results of code blocks. Best -- Eric >From 34aacc9aa037e8f17c8d32ed61a25f0a350713a0 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Fri, 18 Jun 2010 12:38:26 -0700 Subject: [PATCH] org-table: will now strip newlines from the text of table cells * lisp/org-tab

[Orgmode] Re: [OT] gnuplot quality

2010-06-18 Thread Eric Schulte
John Hendy writes: > Tried this and it works well -- the output is definitely much better! One > oddity -- the EPS generated is black and white whereas the typical output > was in color... silly option I'm missing? > try set terminal postscript eps color enhanced 20 instead of set termina

Re: [Orgmode] html export

2010-06-19 Thread Eric Schulte
Hi Tom, "Thomas S. Dye" writes: > Aloha all, > > Exporting this small file to html here doesn't put a caption on the > figure. > > * No caption > > #+CAPTION: Histogram of adze weights on a logarithmic scale > #+LABEL: fig:wt-log > > [[file:~/Public/projects/903_adzes/r/sr-nb-scatter.png]] > > D

Re: [Orgmode] html export

2010-06-20 Thread Eric Schulte
"Thomas S. Dye" writes: [...] > Removing the blank line doesn't work for me either. > > Org-mode version 6.36trans (release_6.36.291.gaf90f) > Hmm, I just tried the above again using the HEAD (same org-version output as you have above) of the org-mode git repository and a minimal emacs config, a

Re: [Orgmode] a better way with babel

2010-06-21 Thread Eric Schulte
text --8<---cut here---end--->8--- Hope this helps, Best -- Eric > > > > All this with org version 6.36c > > > What have I missed? What is the best way to do this? > > > Cheers, > > Robert Cunningham > > &

[Orgmode] [ANN] Org-babel integrated into Org-mode

2010-06-23 Thread Eric Schulte
Hi, I've just merged the babel branch into the main branch of Org-mode. This merge culminates much integration work by Dan Davison and Tom Dye, as well as myself. Babel is now part of Org-mode. The biggest changes are: 1) Babel now has documentation! It is part of Org-mode's documentation

Re: [Orgmode] [ANN] Org-babel integrated into Org-mode

2010-06-23 Thread Eric Schulte
Hi Sebastian, Sebastian Rose writes: [...] > > it seems ob-oz.el is not renamed as intended? > Ah, I should have mentioned. ob-oz.el is the only language-specific file for which we were not able to secure FSF copyright assignment. For this reason it still lives in the contrib directory, under

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-23 Thread Eric Schulte
Bernt Hansen writes: > > The documentation still has (require 'org-babel-identifier) and should > probably be updated. > updated, Thanks -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org h

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-23 Thread Eric Schulte
Hi Nathan, Nathan Neff writes: > I checked out the latest org mode, and I'm getting "Symbol's function > definition is void: second" > > I ran git-bisect, and the error was introduced with the merge of > org-babel into the main > branch. > Part of merging into Org-mode (and meeting the Emacs co

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-24 Thread Eric Schulte
Hi Sébastien, Sébastien Vauban writes: [...] > > For my own understanding, what's the status of `Org-babel-screen', for which > I've never been able to understand completely all the differences with `sh' in > `Org-babel'? > I believe screen has more of a focus on sustained interaction with an i

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-25 Thread Eric Schulte
ot;R")) org-babel-tangle-langs))) > #+end_src > the above can be omitted entirely If you've made it this far, then thanks for your patience, and please let me know if you run into any problems with the above. Best -- Eric > > which custimizes the shebang creation and t

[Orgmode] [BUG] nested blocks aren't protected on export

2010-06-25 Thread Eric Schulte
Hi, When exporting nested blocks, the results of the inner blocks are not fully protected from further exportation. For example, the following org-mode text --8<---cut here---start->8--- ** protecting block bodies #+begin_src org ,#+begin_src emacs-lisp ,

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-26 Thread Eric Schulte
Štěpán Němec writes: [...] > > How come some of your rewrites above still use the `org-babel-' prefix? > (As a side note, I don't see what Emacs guidelines suggest `ob-' is more > appropriate than `org-babel-', and I would personally prefer to retain > the latter -- it's much more descriptive.) >

Re: [Orgmode] Org-babel `:hlines yes` no longer working for python

2010-06-26 Thread Eric Schulte
Hi Christopher, Thanks for pointing this out, this is an error in the documentation, which I will update. The code you posted should generate the error you have received. Currently the only language which can handle hlines is emacs-lisp, all other languages will result in errors like the one you

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-26 Thread Eric Schulte
Štěpán Němec writes: > "Eric Schulte" writes: > >> Štěpán Němec writes: >> >> [...] >>> >>> How come some of your rewrites above still use the `org-babel-' prefix? >>> (As a side note, I don't see what Emacs guidelin

Re: [Orgmode] Org-babel `:hlines yes` no longer working for python

2010-06-26 Thread Eric Schulte
', 'b', 'c'], '|-', ['d', 'e', 'f'], ['g', 'h', 'i']] > > Which would produce: > > | a | b | c | > |---+---+---| > | d | e | f | > | g | h | i | > > Alternately maybe the same thing could be d

Re: [Orgmode] Org-babel `:hlines yes` no longer working for python

2010-06-27 Thread Eric Schulte
g because "nil" can be represented with an empty list "[]". Thanks for bringing this up! -- Eric > > - cwebb > > "Eric Schulte" writes: > >> Hi Christopher, >> >> I'm certainly no Python expert, but I implemented your idea of >>

Re: [Orgmode] org-mode stopped compiling recently

2010-06-27 Thread Eric Schulte
Hi Daniel, The ob.el file (referenced by ob-table.el) is now explicitly requiring 'outline which provides the show-all function. Hopefully this will fix the issue below, please let me know if it doesn't -- I'm unable to reproduce this problem on my install and I think it may have something to do

Re: [Orgmode] Re: org-mode stopped compiling recently

2010-06-27 Thread Eric Schulte
Hopefully once your make is completing without errors this problem will resolve itself. Best -- Eric Daniel Mahler writes: > also to load the source i need to do (require 'org) > if i just (require 'org-install) and try to open my notes file > i get: > > Debugger entered--Lisp error: (void-vari

[Orgmode] Re: [BUG] nested blocks aren't protected on export

2010-06-27 Thread Eric Schulte
Thanks -- Eric >From 47fcfd522294560dbe01f00b640631964e063cf0 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 27 Jun 2010 19:35:34 -0700 Subject: [PATCH 1/2] org-exp: check for protection before removing comments * lisp/org-exp.el (org-export-handle-comments): check for protection before

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-27 Thread Eric Schulte
One way to deal with this without adding even more complexity to the core of org-mode could be through the use of "Library of Babel" functions. The attached org-mode file provides a function for exporting to the longtable environment with some example usage. If this looks generally useful it (and

Re: [Orgmode] Re: org-mode stopped compiling recently

2010-06-27 Thread Eric Schulte
d. > Adding > (defmacro declare-function (FN FILE &optional ARGLIST FILEONLY) nil) > at the top of ob.el seems to fix everything. > > cheers > Daniel > > > > On Mon, Jun 28, 2010 at 3:01 AM, Eric Schulte wrote: >> Hopefully once your make is completing wi

Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export

2010-06-28 Thread Eric Schulte
tion of a match that has not been processed, > that would create in infinite loop. > Great, I've just applied this patch with the fix you described. > >> >> From d422f564163e37c51d0727e2992b24b85caf54ea Mon Sep 17 00:00:00 2001 >> From: Eric Schulte >> Date: S

Re: [Orgmode] Re: org-mode stopped compiling recently

2010-06-28 Thread Eric Schulte
Carsten Dominik writes: > On Jun 28, 2010, at 8:15 AM, Eric Schulte wrote: > >> Thanks Daniel, I've just applied this fix. -- Eric > > Hi Eric, > > alternatively you could have done > > (require 'org-macs) > or > (require 'org) > > In

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-28 Thread Eric Schulte
Hi Sébastien, Sébastien Vauban writes: > Hi Eric, > > Carsten Dominik wrote: >> On Jun 28, 2010, at 7:09 AM, Eric Schulte wrote: >> >>> One way to deal with this without adding even more complexity to the core >>> of org-mode could be through the use of &q

Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export

2010-06-28 Thread Eric Schulte
Hi Nicolas, Nicolas Goaziou writes: > Hello, > >> Carsten Dominik writes: > >> The above patch looks definitely right to me. In fact, I think the >> org-if-unprotected should be around the entire content of the while >> loop - with an additional fix to make sure search is resumed not >> fro

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-28 Thread Eric Schulte
Hi Rainer, I'm happy this was useful Rainer M Krug writes: > On Fri, Jun 25, 2010 at 5:37 PM, Eric Schulte wrote: [...] >> > >> > *** Start babel >> > #+begin_src emacs-lisp >> > (org-babel-load-library-of-babel) >> > #+end_src >>

Re: [Orgmode] [ANN] Org-babel integrated into Org-mode

2010-06-28 Thread Eric Schulte
n victim to bit-rot. I've done a fairly thorough cleanup of the file (just pushed up the commit). Please give it a test run and let me know if/where I missed issues. > > > I also get a lot of warnings when I compile org-mode, see the attached > buiild log. > Yes, the language-s

Re: [Orgmode] org-babel and emacs init

2010-06-28 Thread Eric Schulte
Hi Richard, Happy this is sorted out. A similar startup example is available in the init.el file in my copy of the Emacs Starter Kit [1], which also tangles all configuration from org files. Cheers -- Eric Richard Riley writes: > Firstly : Carsten and Eric I emailed you privately as I had no

Re: [Orgmode] Org-babel `:hlines yes` no longer working for python

2010-06-28 Thread Eric Schulte
t;a", "b", "None of the above"], ['1', 2, 3]] > #+end_src > > #+results: > | foo | bar | baz| > | a | b | hline of the above | > | 1 | 2 | 3 | > > This also replaces the word "None" anywh

Re: [Orgmode] Re: org-mode stopped compiling recently

2010-06-28 Thread Eric Schulte
Carsten Dominik writes: [...] > > Ah, I see. > > there are these solutions > > 1. require only org-macs, not org > went with this approach. Thanks -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmod

Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export

2010-06-28 Thread Eric Schulte
Carsten Dominik writes: [...] > > For now I don't see anything wrong with this. The fastest > way to find out is to put it into master and watch the list :-) > Please go ahead and do that. > Great, I'll go ahead and try this. Thanks -- Eric ___ Emacs

Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export

2010-06-28 Thread Eric Schulte
l run it locally in the meantime to see if any unexpected behavior develops. Thanks -- Eric > > Thanks. > > - Carsten Footnotes: [1] >From 251647d34f599dd025bb08376c0a3eabac604c9d Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Mon, 28 Jun 2010 12:52:44 -0700 Subject: [PATCH]

Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export

2010-06-28 Thread Eric Schulte
Carsten Dominik writes: [...] > > The reason why this fails seems to be because of the looking-at. > When this code was first written, (match-beginning 0) referred to > the earlier regexp match, but the looking-at, if it matches, > changes the meaning of that form. > > Could you please try if my

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-29 Thread Eric Schulte
nd at the bottom > of the table. So, one would want a function that let each of the > rules take a different value. The default for each could be hline, > giving the current behavior of the exporter. Francesco Pizzolante set > this out nicely a while back: > http://www.mail-archive.com

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

2010-06-29 Thread Eric Schulte
Hi Torsten, Thanks for bringing this up. I think you're right that Org-babel does need to expose some simple points of entry. However in reviewing the points of complexity, - tangling - noweb references - the profusion of header arguments - the library of babel my immersed and subjective persp

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

2010-06-29 Thread Eric Schulte
Hi Erik, Erik Iverson writes: [...] > > I have not used it for Python, but for R coding I've found it > incredibly intuitive. However, that might be because R has long > supported literate programming through Sweave, complete with noweb > syntax and code tangling. > Speaking of the Sweave/Babe

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-29 Thread Eric Schulte
Hi Matt, Thanks for raising the point about potentially dangerous code blocks. Matt Lundin writes: > Hi Eric, > > Thanks again for all the work that you, Dan, and Tom have put into > org-babel. I'm glad to see it become part of org-mode! > > "Eric Schulte"

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-29 Thread Eric Schulte
Hi all, "Eric Schulte" writes: > Hi Matt, > > Thanks for raising the point about potentially dangerous code blocks. > > Matt Lundin writes: [...] >> >> Also, with make install, the ob-* files are installed on the same >> level as the org-files, yet

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-29 Thread Eric Schulte
with attachment ;) >From 24f99a2ebd3de464fdb60902f003b828c2f71003 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Tue, 29 Jun 2010 15:53:15 -0700 Subject: [PATCH] update Makefile for correct instillation of Babel files --- Makefile |

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-29 Thread Eric Schulte
Nick Dokos writes: > Eric Schulte wrote: > >> --=-=-= >> >> with attachment ;) >> >> > >> > I hardly believe this worked since it is the product of naive Makefile >> > pattern matching (which has never worked for me in the pa

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-29 Thread Eric Schulte
lisp/babel cp -r $(DOCFILES) $(CARDFILES) org-$(TAG)/doc cp -r $(DISTFILES_extra) org-$(TAG)/ cp -r README_DIST org-$(TAG)/README "Eric Schulte" writes: > Nick Dokos writes: > >> Eric Schulte wrote: >> >>> --=-=-= >>> >>> with attachm

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-30 Thread Eric Schulte
nd I fully understand that the general consensus may be that we need more layers of protection. Best -- Eric > > - Carsten > > > On Jun 29, 2010, at 8:23 PM, Matt Lundin wrote: > >> Hi Eric, >> >> Thanks again for all the work that you, Dan, and Tom have put into >

Re: [Orgmode] [babel] Evaluating all source blocks in a document?

2010-06-30 Thread Eric Schulte
Russell Adams writes: [...] > > OTOH this may not make it easier to debug, the babel error window > doesn't list line numbers or blocks where the error occurred. Perhaps > that should be a feature request to log what src block or org file > line number the errors occurred in. > I think most of t

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-30 Thread Eric Schulte
Dan Davison writes: > "Eric Schulte" writes: > >> Hi Carsten, Matt, Scott, >> >> Carsten Dominik writes: >> [...] >>> 1. A new variable org-turn-on-babel. We can discuss the default. >>>If it is nil, org-babel should not be

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-30 Thread Eric Schulte
This booktabs function has now been added to the library of babel. Cheers -- Eric "Eric Schulte" writes: > Hi Tom, > > How about the following proposed library of babel function which > constructs a booktabs environment using a toprule, (conditionally) a >

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-30 Thread Eric Schulte
Matt Lundin writes: [...] > > When I run make clean && make && make install I find that the language > directory is not installed. Does the langs directory require a manual > installation? > > Also, with make install, the ob-* files are installed on the same level > as the org-files, yet lines 10

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-30 Thread Eric Schulte
`org-babel-disable:emacs-lisp' function which can be called from a users configuration to ensure that *no* emacs-lisp code blocks can be evaluated on the user's system. Best -- Eric >From 993dda2b88220a994422becdef11773986094ce6 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 30

Re: [Orgmode] Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)]

2010-06-30 Thread Eric Schulte
Hi, The attached patch fixes this issue (and I believe the issue Sébastien mentioned earlier) on my system. Best -- Eric >From 9a80e142eb9d39d70dbaa4a574653bea76abb31b Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 30 Jun 2010 13:41:13 -0700 Subject: [PATCH] org-exp: comment regexp

Re: [Orgmode] Good way to try new org-mode code?

2010-06-30 Thread Eric Schulte
Hi Nathan, There are a couple of options here. If you are only playing around with a couple of functions, or in a single file, you can interactively evaluate single functions by pressing C-M-x `eval-defun' with your cursor over the function, similarly you can interactively evaluate entire files w

Re: [Orgmode] Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)]

2010-06-30 Thread Eric Schulte
Hi Nicolas, Nicolas Goaziou writes: > Hi Eric, > > I do not think this is the right fix. You are only allowing lines > like : > > --- > # a line of text > --- > > to be treated as comments, when they are not! The first regex is the > one matching comments definition (# on column 0 and '#+ '

Re: [Orgmode] Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)]

2010-06-30 Thread Eric Schulte
Hi Nicolas, Nicolas Goaziou writes: > I don't know about #+BEGIN_changemargin (but as far as I understand, > it's coming from org-exp-blocks and should be handled during > preprocess-hook, so it is beyond the scope of this patch). > > There is some design choice involved here. Until recently, th

Re: [Orgmode] Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)]

2010-06-30 Thread Eric Schulte
"Eric Schulte" writes: [...] > > I'll add a function for clearing out tblname and tblfm lines, and insert > it at the appropriate place in the export process. > done -- Eric ___ Emacs-orgmode mailing list Please use `Reply

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-07-01 Thread Eric Schulte
ving > this discussion. > > On Jun 30, 2010, at 6:25 PM, Eric Schulte wrote: > >> Hi Carsten, Matt, Scott, >> >> Carsten Dominik writes: >> >>> Hi Matt, hi Eric, >>> >>> Matt, thanks a lot for bringing this up. This is indeed a very &

Re: [Orgmode] org-babel-tangle-w-comments has no effect in R?

2010-07-01 Thread Eric Schulte
Hi Rainer, There is one more requirement for tangling with comments, that is the presence of a :comments header argument. If this argument is not set for a code block then that code block *will not* be tangled with comments regardless of the value of `org-babel-tangle-w-comments'. You can set th

Re: [Orgmode] a better way with babel

2010-07-01 Thread Eric Schulte
Of course, an updated patch is attached. Best -- Eric >From 5cbb38e25a2d2eae7c3c688d347f80619ecb8463 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 1 Jul 2010 08:07:17 -0700 Subject: [PATCH] add short-names to #+captions with support for latex export captions specified with

Re: [Orgmode] [BABEL] html export for R not working, but for sh and others

2010-07-01 Thread Eric Schulte
Hi Rainer, Rainer M Krug writes: > Hi > > I am trying to export the attached test.org file to HTML, but I can only > export it, when I change the source block language to anything different > from R. > > I also attach my emacs.org file, but I am not doing any customisations to R. > I've just st

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-07-01 Thread Eric Schulte
t folded into main along with the version 7.0 release so that it will be accompanied with web-accessible documentation how to handle the incomparable changes. Thanks -- Eric "Eric Schulte" writes: > Hi, > > Thanks for finding such a good compromises solution. This new plan > lo

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

2010-07-01 Thread Eric Schulte
Hi Torsten, I love the idea of a "Babel for dummies" manual, and I'm an even bigger fan of the manual being produced by user's of Babel (i.e. not myself). I'll be more than happy to support this effort in any way. Also, the beta-testing role you mention could be extremely helpful. In the absence

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-07-02 Thread Eric Schulte
malicious code can change this setting through file variables. > > I have made a first draft of the security section in the manual, > please take a look, add to it, and add a link to it from a good location > in chapter 14. > I'm not able to find this section. Which branch is

[Orgmode] Re: FEATURE FREEZE, for a short time

2010-07-02 Thread Eric Schulte
Carsten Dominik writes: [...] > > P.S. Eric and Dan, please decide yourself how to get to > a good and stable state in this time frame, babel integration > is by far the biggest thing in this release. Hi Carsten, I'm looking forward to a feature-quiet period of stabilization. There is one mo

[Orgmode] [PATCH] double-O-LaTeX: retain meta-information during LaTeX Export

2010-07-02 Thread Eric Schulte
Revoking org-latex's license to kill. Hi, I've noticed a sneaky bug when exporting to LaTeX. Org-babel uses top-level #+BABEL: or #+PARAMETERS: lines to set global values for header arguments. When exporting to latex, the latex exporter removes *all* meta-information header lines when exporting

Re: [Orgmode] org-babel-tangle-w-comments has no effect in R?

2010-07-02 Thread Eric Schulte
Hi Rainer, Rainer M Krug writes: [...] >> >> I think that moving forward it might make sense to remove the >> org-babel-tangle-w-comments variable, as it's confusing to have two >> points of control for comments during tangling. Also, it looks like I >> need to add the :comments header argument

Re: [Orgmode] [BABEL] literate Lisp games development questions

2010-07-02 Thread Eric Schulte
Hi David, "David O'Toole" writes: [...] > > I have gotten some very basic support working, where you can execute Common > Lisp blocks via slime, and basic tangling works as well. > > See http://github.com/dto/org-babel-lisp/ for my very basic code. Feel > free to use this, I already have FSF p

Re: [Orgmode] [BABEL] html export for R not working, but for sh and others

2010-07-02 Thread Eric Schulte
ck-keywords > (append ess-R-mode-font-lock-keywords > (list (cons (concat "\\<" (regexp-opt > ess-my-extra-R-function-keywords 'enc-paren) "\\>") > 'font-lock-function-name-face)) > > If I disable that section, it works. Do you have any ide

Re: [Orgmode] No subscript when exporting

2010-07-02 Thread Eric Schulte
Hi Ivanov, add something like the following to the top of your file #+OPTIONS: ^:nil see http://orgmode.org/manual/Export-options.html#Export-options for more information -- Eric Ivanov Dmitry writes: > I create a program documentation in org mode. When I export to html names > with undersc

Re: [Orgmode] Bug: Export error with images with no caption [6.36trans (release_6.36.509.g9e9b)]

2010-07-05 Thread Eric Schulte
The attached patch fixes this bug. diff --git a/lisp/org-latex.el b/lisp/org-latex.el index d725fc8..180c498 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1894,7 +1894,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER." (t (insert "\\texttt{" desc "}")

Re: [Orgmode] Re: problem exporting an image to latex

2010-07-05 Thread Eric Schulte
Hi, I've just pushed up the fix for this issue. Sorry about the inconvenience. Best -- Eric Tassilo Horn writes: > Hi Eric, > > I already reported that bug. See the message > <87tyoee2ev@thinkpad.tsdh.de>. > > Bye, > Tassilo > > > ___ > Emacs-o

Re: [Orgmode] Bug: Export error with images with no caption [6.36trans (release_6.36.509.g9e9b)]

2010-07-05 Thread Eric Schulte
No problem, this should be fixed now. Carsten Dominik writes: > Hi Eric, > > I guess you saw this? Seems that this patch is missing a change in the > definition of org-export-latex-format-image? > > You are calling it with 5 arguments, but the function accepts only > 4. > Sorry to have to a

[Orgmode] [Update Config] Babel changes -- security updates and final integration push

2010-07-05 Thread Eric Schulte
Hi, I've just merged a large set of Babel related security measures and layout/initialization updates into the master branch of the git repository. These changes will require existing babel users to update their configuration, see the following instructions for details -- even if you think you've

<    2   3   4   5   6   7   8   9   10   11   >