is 4.44,5.55} \texttt{geo\_var is 4.44,5.55}
I've just pushed up a commit which should fix this problem. The
org-babel-current-exec-src-block-head variable wasn't bound during
export.
--
Eric Schulte
http://cs.unm.edu/~eschulte
Achim Gratz strom...@nexgo.de writes:
Eric Schulte writes:
As I recall I was fully in favor of applying these changes, however I am
not qualified to address the changes to property behaviors. Hopefully
someone who works more on that side of things can address those aspects.
Oh wait, now I
the permissions of tangled files. See the manual for instructions on
it's usage.
--
Eric Schulte
http://cs.unm.edu/~eschulte
Vitalie Spinu spinu...@gmail.com writes:
Eric Schulte schulte.e...@gmail.com
on Sat, 08 Jun 2013 12:05:32 -0600 wrote:
[...]
May be then: org-babel-current-src-block-location?
How about the shorter `org-babel-current-src-block'? It is somewhat
more ambiguous
Achim Gratz strom...@nexgo.de writes:
Eric Schulte writes:
I've added a :tangle-mode header argument which may be used to control
the permissions of tangled files. See the manual for instructions on
it's usage.
The change in org-babel-read now requires that :shebang values are
quoted.
Oh
-file-buffer file)
(revert-buffer t t t)))
--
Eric Schulte
http://cs.unm.edu/~eschulte
Hi Michael,
Is release_8.0.3-207-g5dc5143 the change you mention?:
yes
commit 5dc5143578a2759611a5856de9bf9d1c7eba9283
Author: Eric Schulte schulte.e...@gmail.com
Date: Thu Jun 6 10:59:27 2013 -0600
inline sets org-babel-current-exec-src-block-head
Rainer M Krug rai...@krugs.de writes:
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
[snip (46 lines)]
For now I think both padlines and link comments are required for the
jumping functionality to work. I've updated the documentation to
reflect
in the following page of
the manual.
http://orgmode.org/manual/Languages.html#Languages
--
Eric Schulte
http://cs.unm.edu/~eschulte
in favor of applying these changes, however I am
not qualified to address the changes to property behaviors. Hopefully
someone who works more on that side of things can address those aspects.
Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte
to work, first the @xref{padline} option must be set to true (the
| default setting), second the @xref{comments} header argument must be set to
| @code{links}, which will insert comments into the source code buffer which
| point back to the original Org-mode file.
`
--
Eric Schulte
http
' function so that it
now uses the same jumping mechanism used to edit source code blocks, so
your source code settings (e.g., same window or different window) should
now apply to source-org jumping.
Cheers,
Thanks,
Rainer
--
Eric Schulte
http://cs.unm.edu/~eschulte
))
-(point))
+(point-marker))
;;;###autoload
(defun org-babel-goto-src-block-head ()
--
Eric Schulte
http://cs.unm.edu/~eschulte
62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D):+49 - (0)3 21 21 25 22 44
email: rai...@krugs.de
Skype: RMkrug
--
Eric Schulte
http://cs.unm.edu/~eschulte
.
Is there any way to suppress all the extra text, and just get the
Hello, world. string as my output?
#+begin_src python :session testing
a = 1
b = 2
c = a + b
Hello, world.
#+end_src
#+RESULTS:
: Hello, world.
Best,
--
Eric Schulte
http://cs.unm.edu/~eschulte
Achim Gratz strom...@nexgo.de writes:
Eric Schulte writes:
Applied, Thanks!
Litvinov Sergey slitvi...@gmail.com writes:
I would like to propose a tiny patch which adds matrix as an input for
ob-fortran.el. See changes in testing/examples/ob-fortran-test.org for
the examples.
I've
-execute-src-block)
+
;;; test-ob-C.el ends here
-
--
Eric Schulte
http://cs.unm.edu/~eschulte
location on Google Maps with a marker and as map in the
browser
* another geo location
:PROPERTIES:
:geo: 4.44,5.55
:END:
- call_gmb() =geo_var is 4.44,5.55=
- visualize another geo location as terrain
--
Eric Schulte
http://cs.unm.edu/~eschulte
Rüdiger Sonderfeld ruedi...@c-plusplus.de writes:
Hi Eric,
On Thursday 06 June 2013 10:21:26 Eric Schulte wrote:
Thanks for sharing this patch. I looks great, however as it is 10
lines long to apply it we'll need you to sign the FSF papers. Please
see the following page for more
-8e8e-4f9c-94cd-f5a00cdeceb5
+(org-babel-next-src-block 3)
+(should (equal '((1 3) (2 4)) (org-babel-execute-src-block)
+
;;; test-ob-C.el ends here
-
--
Eric Schulte
http://cs.unm.edu/~eschulte
Michael Steeves stee...@raingods.net writes:
On 6/6/13 12:04 PM, Eric Schulte wrote:
Michael Steeves stee...@raingods.net writes:
Is there any way to suppress all the extra text, and just get the
Hello, world. string as my output?
#+begin_src python :session testing
a = 1
b = 2
c
.
Can you send an minimal example in which evaluation takes place on
export?
Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte
/no-variables-with-main ()
Test :var with explicit 'program'
(org-test-at-id 891ead4a-f87a-473c-9ae0-1cf348bcd04f
--
Eric Schulte
http://cs.unm.edu/~eschulte
rai...@krugs.de (Rainer M. Krug) writes:
Eric Schulte schulte.e...@gmail.com writes:
rai...@krugs.de (Rainer M. Krug) writes:
Hi
I am using org-babel-tangle-jump-to-org when debugging code written in
org and tangled. I have some longisch code blocks and it is always
irritating
*argv[])
{
aux(argv[1]);
return 0;
}
#+end_src
While implementing this change I did notice that this jumping
functionality only appears to work with linked code blocks, which should
I believe is a bug.
Best,
Thanks,
Rainer
--
Eric Schulte
http://cs.unm.edu/~eschulte
--
Eric Schulte
http://cs.unm.edu/~eschulte
resolves to
file:///home/emacs/install/git/worg/org-blog-wiki.html. Some http://;
was likely intended there?
François
I just pushed up a fix for this link, and also added mention of
org-ehtml to the Org-mode blog/wiki page.
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
are
already loaded, so these intructions may be not needed ?
Thanks
d.tchin writes:
I just updated the require statements in epresent.el.
https://github.com/eschulte/epresent/blob/master/epresent.el
I'm not sure what epresent-org.el is.
Thanks,
--
Eric Schulte
http://cs.unm.edu
,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
--
Eric Schulte
http://cs.unm.edu/~eschulte
-number-grouper(*this*)
cat EOF
1.55a
23000 b
3000c
40004 e
50003
EOF
#+end_src
#+RESULTS:
| 100,000,000.55 | a |
| 23,000 | b |
| 3,000 | c |
| 40,004 | e |
| 5,000 | 3 |
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
)
#+END_SRC
after evaluating the code block I get
#+RESULTS: pvals_waw
[[file:output.pdf]]
This should be documented on Worg, but there is no doubt that there is
still work to be done on language-specific header argument
documentation.
--
Eric Schulte
http://cs.unm.edu/~eschulte
in 1:2) {
print(ascii(frames[[i]]), type=org)
cat(\n)
}
#+end_src
--
Eric Schulte
http://cs.unm.edu/~eschulte
, Thanks,
Best,
--
Eric Schulte
http://cs.unm.edu/~eschulte
()
Then export to LaTeX C-c C-e l o
This fails with the message:
org-babel-ref-resolve: Reference 'req' not found in this buffer
I've just updated to current github head and the issue remains.
--
Eric Schulte
http://cs.unm.edu/~eschulte
gi...@pexip.com writes:
Eric Schulte schulte.e...@gmail.com writes:
Where *is* req defined? So far the behavior you describe seems
expected.
Sorry for the ambiguity - req isn't defined!
Let me explain a little more clearly: I'm trying to generate some
release notes using org-mode
/
+ (or (plist-get imgprops :type) )
+ (base64-encode-string (plist-get imgprops :data))
+ alt-attr))
(defconst htmlize-ellipsis ...)
(put-text-property 0 (length htmlize-ellipsis) 'htmlize-ellipsis t htmlize-ellipsis)
--
1.8.2.3
--
Eric Schulte
http://cs.unm.edu/~eschulte
args.)
In my opinion the source code of the language-specific files is
readable, but of course I'm not a good judge as I wrote most of it. We
definitely need more volunteers to add documentation on worg.
--
Eric Schulte
http://cs.unm.edu/~eschulte
-mode block.
#+name: manual
| 3 | rhubarb |
| 4 | butter |
#+BEGIN_SRC sqlite :csv :var data=manual :db test.sqlite :results silent
.separator ,
.import $data t1
#+END_SRC
--
Eric Schulte
http://cs.unm.edu/~eschulte
=data :missing ?
set key outside
set xrange [-1:4]
set yrange [0:6]
plot data u 0:1, '' u 0:2
#+end_src
Thanks for pushing this through
--
Eric Schulte
http://cs.unm.edu/~eschulte
come up before or is documented. I did a couple searches but
didn't see it.
Thanks,
John
--
Eric Schulte
http://cs.unm.edu/~eschulte
help on LaTeX and emails via org-mode will
be welcome.
Best,
Jo.
2013/5/15 Eric Schulte schulte.e...@gmail.com
Uwe Brauer o...@mat.ucm.es writes:
Eric == Eric Schulte schulte.e...@gmail.com writes:
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes
| apple pie |
| 2 | sugar |
--
Eric Schulte
http://cs.unm.edu/~eschulte
Oliver Večerník o...@vecernik.at writes:
Eric Schulte schulte.e...@gmail.com writes:
What about
#+BEGIN_SRC sqlite :csv :db test.sqlite
SELECT * from t1;
#+END_SRC
#+RESULTS:
| 1 | apple pie |
| 2 | sugar |
I needed some calculations and format tweaking with awk which I piped
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Eric Schulte schulte.e...@gmail.com writes:
Evaluate the following to exercise the bug.
;; -*- emacs-lisp -*-
(let ((org-html-with-latex 'dvipng))
(org-export-string-as
\\begin{equation}\n\\frac{Eric}{Schulte}\n
Uwe Brauer o...@mat.ucm.es writes:
Eric == Eric Schulte schulte.e...@gmail.com writes:
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes:
-
A while back Org-mode switched its method of exporting latex equations
to HTML. Equations used to be exported as png
Evaluate the following to exercise the bug.
;; -*- emacs-lisp -*-
(let ((org-html-with-latex 'dvipng))
(org-export-string-as
\\begin{equation}\n\\frac{Eric}{Schulte}\n\\end{equation}\n 'html t))
This functionality is required to port org-mime to the new exporting
backend
not
work. I can make these changes if it is important to be able to load
these source files individually.
Best,
--
Eric Schulte
http://cs.unm.edu/~eschulte
know if it is currently possible to do the javascript
pre-processing as part of the HTML export, but that would probably be
the best solution in this case.
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
Achim Gratz strom...@nexgo.de writes:
Eric Schulte writes:
This does look like a bug to me. Can you isolate where the value of
data in your example is first assigned the wrong value?
The error lies in how ob-sh tries to determine if it needs to process a
table or a vector and then forgets
changes to the `org-babel-gnuplot-table-to-data'
function. If I find any free time I'll make these changes. Although I
certainly wouldn't mind if someone else gets to them first.
Best regards (and thanks for the clear explanations),
Paul
--
Eric Schulte
http://cs.unm.edu/~eschulte
, from
the Compilation Log file to the original org-mode file (dotEmacs.org)
instead of .emacs.el.
Look at the `org-babel-tangle-jump-to-org' function, for it to work you
may need to tangle with the :comments header argument set to link.
Best,
Thanks,
Mohamed
--
Eric Schulte
http
.
--
Eric Schulte
http://cs.unm.edu/~eschulte
example works perfectly for me (and apparently for the other
poster in the previous thread as well).
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
where the value of
data in your example is first assigned the wrong value?
Thanks for reporting. I will save your example for when I next have
development time.
Best,
Thanks,
Paul
--
Eric Schulte
http://cs.unm.edu/~eschulte
data u 0:1, '' u 0:2
#+end_src
Replacing s with blank space in the following breaks the resulting
plot.
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
, e.g., bug fixes and refactoring, may safely
be applied w/o discussion.
Best,
Alan
--
Eric Schulte
http://cs.unm.edu/~eschulte
a
a = ( ( é, a ), ( a, à ) )
b = é
#+end_src
#+RESULTS:
| é | a|
| a| à |
So maybe the problem is simply Emacs not displaying utf8 characters
correctly.
Hope this helps,
--
Eric Schulte
http://cs.unm.edu/~eschulte
Andreas Röhler andreas.roeh...@easy-emacs.de writes:
Am 07.05.2013 18:41, schrieb Eric Schulte:
#+NAME: test2
#+begin_src python :results value :preamble # -*- coding: utf-8 -*- :return
a
a = ( ( é, a ), ( a, à ) )
b = é
#+end_src
#+RESULTS: test2
| \303\251
Julien Cubizolles j.cubizol...@free.fr writes:
I'm new to babel and I'm experiencing a strange problem. A
src_block created with s TAB is not indented as the heading it's
in. Here is an example:
Try TAB s TAB instead.
--
Eric Schulte
http://cs.unm.edu/~eschulte
which would allow you to
forego the intermediate code block.
--
Eric Schulte
http://cs.unm.edu/~eschulte
--
Eric Schulte
http://cs.unm.edu/~eschulte
for strings only, maybe.
I've applied a simple fix which will allow any type of object to be
inserted into an Org-mode code block. Although there is a great deal of
potential for more sophisticated behavior here, hopefully this simple
solution will suffice.
Best regards,
Seb
--
Eric
in the final document. At the moment I use the following
options in the block:
:results silent :exports results
Is it the correct way to do it?
Thanks,
Alan
Yes, this is the correct combination of header arguments for this use
case.
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
transformations as part of the plotting command which would allow you to
forego the intermediate code block.
--
Eric Schulte
http://cs.unm.edu/~eschulte
-interactive-mode)
(sleep-for 1
#+END_SRC
With this patch (and setting `org-confirm-babel-evaluate' to nil), I'm able to
export documents requiring the evaluation of caml code asynchronously.
Alan
--
Eric Schulte
http://cs.unm.edu/~eschulte
Alan Schmitt alan.schm...@polytechnique.org writes:
Hello,
I'm resurrecting this old thread as I've made some progress but I
still have questions.
Eric Schulte writes:
The suggestion: instead of appending 'org-babel-ocaml-eoe;;' to the
code, how simply put ';;' (which will make sure
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -1,6 +1,6 @@
;;; ob-core.el --- working with code blocks in org-mode
-;; Copyright (C) 2009-2012 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2013 Free Software Foundation, Inc.
;; Authors: Eric Schulte
;; Dan Davison
Achim Gratz strom...@nexgo.de writes:
Eric Schulte writes:
If you mean that there should be new syntax for setting header arguments
on a file or sub-tree basis w/o using file local variables, I'd be happy
to apply a patch.
I'm thinking that something like
#+PROPERTY: header-args:R
the general
cross-language defaults.
As I recall, at the time that the defaults were set for Org-mode code
blocks, we did not have options like drawers to allow replaceable raw
results. Perhaps the default header arguments for Org-mode should be
updated.
Best,
cheers, Greg
--
Eric Schulte
http
illustrates org-mode plus asymptote producing a .svg file during html
export, and a pdf file during any other (presumably, latex) export.
thanks again, Greg
# trying to get graphics that works for both latex/beamer and for html
# here's a suggestion from Eric Schulte
# http://article.gmane.org
from ELPA,
and got problems. He did reinstall once again version 20130422 of Org and
still gets:
org-babel-chomp: Symbol's function definition is void:
org-reverse-string
Is it something know to anybody?
Best regards,
Seb
--
Eric Schulte
http://cs.unm.edu/~eschulte
-string)
(provide 'test-ob)
--
1.7.9
--
Eric Schulte
http://cs.unm.edu/~eschulte
)
rather than strict equality should be preferable.
Thanks for contributing this test!
My pleasure.
Best regards,
Seb
Cheers,
[1] Regexp match
--
Eric Schulte
http://cs.unm.edu/~eschulte
]{someplot.pdf}
\caption{There are $11$ points in this plot}
\end{figure}
% Emacs 24.3.1 (Org mode 8.0-pre)
\end{document}
--
Eric Schulte
http://cs.unm.edu/~eschulte
=.
Regards,
--
Eric Schulte
http://cs.unm.edu/~eschulte
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Eric Schulte schulte.e...@gmail.com writes:
I'm loath to add /another/ results keyword, but perhaps it would be nice
to be able to specify that you want the results processed (e.g,
stripping the newline), but you don't want them
is
exported but has a result type of none or silent.
Best,
cheers, Greg
--
Eric Schulte
http://cs.unm.edu/~eschulte
identical.
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
the overlength header argument.
thanks in advance (and with full appreciation of what a pain macros
are to implement fully, halfly, anyly), Greg Minshall
(*)
#+MACRO: ext @@latex:pdfbeamer:pdfhtml:svg@@
--
Eric Schulte
http://cs.unm.edu/~eschulte
Alan Schmitt alan.schm...@polytechnique.org writes:
Hi Eric,
Eric Schulte writes:
I can think of some possibilities,
1. Your load-path either isn't pointing to the newest Org-mode, or you
are somehow also loading an older version of Org-mode. Although I
believe I just helped you
that the
Emacs package system will be fully loaded. That is why the other file
you load on the command line is loaded first.
--
Eric Schulte
http://cs.unm.edu/~eschulte
Alan Schmitt alan.schm...@polytechnique.org writes:
Eric Schulte writes:
I've turned on the debugger, and there is something that I find a bit
strange. Here are the last few lines.
,
|
load(/var/folders/68/fvntfrw92y50gkk_67rkhsfwgn/T/org-export-process77683E90
nil t
Alexander Poslavsky alexander.poslav...@gmail.com writes:
Alan Schmitt writes:
Eric Schulte writes:
--8 snip
Yes, the starter kit waits to load on the after-init-hook so that the
Emacs package system will be fully loaded. That is why the other file
you load on the command line is loaded
Suvayu Ali fatkasuvayu+li...@gmail.com writes:
On Mon, Apr 22, 2013 at 08:10:09PM -0600, Eric Schulte wrote:
I'd like to enclose a series of blocks which replace each other in the
Beamer overprint environment.
[...chomp...chomp...chomp...]
I see no way to generate this from Org-mode
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Eric Schulte schulte.e...@gmail.com writes:
I'd like to enclose a series of blocks which replace each other in the
Beamer overprint environment.
Here's the LateX I'd like to produce.
% latex
\begin{frame}[fragile]{The Things
be of more help. If the solution you find appears to be a
general one, please let me know if it should be folded into the starter
kit.
Thanks,
Thanks a lot,
Alan
Alan Schmitt writes:
Eric Schulte writes:
Adding a line to init.el will allow you to specify the Org-mode instill
to use
approach?
thanks,
Rodrigo
--
Eric Schulte
http://cs.unm.edu/~eschulte
(add-to-list 'load-path ~/path/to/org-mode/lisp/)
(require 'org)
(org-babel-load-file (expand-file-name starter-kit.org
starter-kit-dir
--
Eric Schulte
http://cs.unm.edu/~eschulte
that there is no way to *close* a
heading.
Any suggestions appreciated. Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte
Aaron Ecay aarone...@gmail.com writes:
Hi Eric,
2013ko apirilak 3an, Eric Schulte-ek idatzi zuen:
Aaron Ecay aarone...@gmail.com writes:
* lisp/ob-core.el (org-babel-do-key-sequence-in-edit-buffer),
(org-babel-expand-noweb-references),
* lisp/ob-tangle.el (org-babel-tangle):
Use
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:
Eric,
Eric Schulte wrote:
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:
Eric Schulte wrote:
Extra question: tested with a sh block, both of the above do work, that is
with strings or symbols. Which one is supposed to be better
with the info argument but pass it
along to o-b-initiate-session, which will recalculate it if it is
missing. So it takes 2 hops in contrast to the 1 in the other cases,
but it still gets recalculated.
--
Eric Schulte
http://cs.unm.edu/~eschulte
Here's an Org-mode Beamer example including the required Emacs/Org-mode
customization, the Org file and the resulting pdf.
http://cs.unm.edu/~eschulte/data/org-beamer-example/
Hope it is helpful,
--
Eric Schulte
http://cs.unm.edu/~eschulte
.
\usepackage{fancyvrb}
\fvset{fontsize=\scriptsize}
Hope this helps,
--
Eric Schulte
http://cs.unm.edu/~eschulte
Eric S Fraga e.fr...@ucl.ac.uk writes:
Eric Schulte schulte.e...@gmail.com writes:
Hi,
I've been wanting to add the ability to post-process the results of a
code block for some time, and some recent threads (e.g., [1] and [2])
could both have benefited from post-processing of code block
John Hendy jw.he...@gmail.com writes:
On Tue, Apr 16, 2013 at 3:23 AM, Christian Moe m...@christianmoe.com wrote:
Eric Schulte writes:
- Is =:results drawer= what we want as the syntax to get org syntax
parsed by the exporter?
Yes.
Just guessing from the name, it strikes me as a fix
, lst[i-1]);
printf(\n);
return 0;
}
#+end_src
With this change the example works as expected on my system.
Org-mode should do a better job of alerting the user to the reason why
it is not returning a result.
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte
.
-- Bob Ezrin, rock music producer
http://vanhoecke.org ... and go2 places!
Footnotes:
[1] (info (org)Extracting source code)
--
Eric Schulte
http://cs.unm.edu/~eschulte
John Hendy jw.he...@gmail.com writes:
On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte schulte.e...@gmail.com wrote:
John Hendy jw.he...@gmail.com writes:
I thought this was the proper syntax for printing stuff directly to a
LaTeX document:
#+begin_src R :session :exports results :results
it should just be including the LaTeX results as if it
wasn't in a #+RESULTS block at all, right?), OR
- I'm missing some sort of definition for an =org= environment in
LaTeX setup so that it knows what to do with \begin/end{org}
Thanks,
John
--
Eric Schulte
http://cs.unm.edu/~eschulte
with :wrap org.
That said, I don't think there is ever a case when you would want to use
:wrap org. The solution to the original question is to use :results
drawer.
Best,
--
Eric Schulte
http://cs.unm.edu/~eschulte
501 - 600 of 2930 matches
Mail list logo