Re: [O] [BUG] Cannot open load file: ob-sh

2014-01-21 Thread Eric Schulte
Bastien b...@gnu.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Yes, ob-sh has been renamed to ob-shell, the above should be changed to (shell . t). Can you not it in ORG-NEWS as an incompatible change in master? These things tend to get easily forgotten. Thanks

[O] Prettier (or at least fancier) code block delimiters

2014-01-21 Thread Eric Schulte
) ?¦) nil)) (add-hook 'org-mode-hook 'prettier-org-code-blocks) Add it to your config or evaluate in your scratch buffer, then open a new Org-mode file with code blocks to give it a try. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 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 https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] Using :prologue and :epilogue with unbalanced brackets

2014-01-20 Thread Eric Schulte
for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 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 https://cs.unm.edu

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Eric Schulte
emacs-lisp :flags -some-flag\n\(+ 1 1)\n#+END_SRC + (org-export-execute-babel-code) + (buffer-string) + (provide 'test-ob-exp) ;;; test-ob-exp.el ends here -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-20 Thread Eric Schulte
:tangle searchItem08.m :padline no s i08=$$zgetnp(pId,pDate,08) i i08= d LogIcErr(i08,i08) #+end_src #+begin_src text :tangle searchItem12.m :padline no s i12=$$zgetnp(pId,pDate,12) i $$zgetnp(pId,pDate,$$zgetnp(pId,pDate,i12))'=i12 d LogIcErr(i12,i12) #+end_src -- Eric Schulte https

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-20 Thread Eric Schulte
:tangle searchItem08.m :padline no s i08=$$zgetnp(pId,pDate,08) i i08= d LogIcErr(i08,i08) #+end_src #+begin_src text :tangle searchItem12.m :padline no s i12=$$zgetnp(pId,pDate,12) i $$zgetnp(pId,pDate,$$zgetnp(pId,pDate,i12))'=i12 d LogIcErr(i12,i12) #+end_src -- Eric Schulte https

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
Cell: +33 - (0)6 85 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 https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Eric Schulte
and marmalade (I'm specifically thinking of automated metadata extraction here). I hope this is constructive. Best, Footnotes: [1] http://orgmode.org/elpa/ [2] http://melpa.milkbox.net/ [3] http://marmalade-repo.org/ -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [BUG] Testing fails after rename of ob-sh

2014-01-18 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: I believe Achim's suggestion should be the correct one. See the comment of the commit making this change. The part of Bastiens patch changing (org-babel-do-load-languages 'org-babel-load-languages '((sh . t) (org . t

Re: [O] Call cache example no longer works

2014-01-18 Thread Eric Schulte
argument: listp, results=foo(\qux\) Unfortunately, due to tight work deadline, I have no time to start debugging this but need to pass this on to you experts. All the best, Jarmo -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [BUG] Testing fails after rename of ob-sh

2014-01-17 Thread Eric Schulte
Schulte schulte.e...@gmail.com | Date: Fri Dec 13 10:03:05 2013 -0700 | | fix tests with the renamed ob-shell.el | | Note, users may have to edit their local.mk files to change the | value of BTEST_OB_LANGUAGES to remove sh and include shell. ` Best, -- Eric Schulte

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-17 Thread Eric Schulte
Andrea Rossetti andrea.rosse...@gmail.com writes: Eric Schulte schulte.e...@gmail.com writes: I've written an Emacs web-server [1], which may be used to interact with Org-mode over HTTP. It has no dependencies aside from needing Emacs 24 or later and it should be easy to install and use [2

Re: [O] python :session does return

2014-01-15 Thread Eric Schulte
/jb7kfrsn2jd90hpcgj4m_wrcgn/T/babel-28022EFF/python-28022lts', 'w').write(str(_)) 'org_babel_python_eoe' 'org_babel_python_eoe' 'org_babel_python_eoe' -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Using babel to generate org syntax for export

2014-01-13 Thread Eric Schulte
,name={SinOsc},description={Sinewave oscillator. Inputs: (freq, phase)}} \end{verbatim} [3] \section{Test} \label{sec-1} \newglossaryentry{SinOsc}{type=ugen,name={SinOsc},description={Sinewave oscillator. Inputs: (freq, phase)}} -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-12 Thread Eric Schulte
hastily written directory listing made things more confusing than they needed to be. John [snipped emacs terminology discussion] -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [PATCH] Strip text properties from string code block arguments

2014-01-12 Thread Eric Schulte
the python spec, and implement custom string escaping that would be useful, but it isn't immediately required. Alternately maybe python's long-form strings should be used in all cases? -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] sending HTML e-mail

2014-01-12 Thread Eric Schulte
, On Sat, Jan 11, 2014 at 10:16 PM, Eric Schulte schulte.e...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: What's the state of the art in sending lightly formatting e-mail in HTML format? Is org-mime still the best way? This doesn't seem to be working for me. I'm doing

[O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Eric Schulte
/benchmark/ -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Eric Schulte
is running successfully, Emacs can obviously find eieio at runtime, so I wouldn't worry about batch compilation not working. Best, All the best, Tom Eric Schulte schulte.e...@gmail.com writes: A non-Org announcement which I believe may still be of interest given the recurring discussion

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Eric Schulte
-web-server/blob/master/examples/011-org-agenda.el [6] https://github.com/eschulte/org-ehtml [7] http://eschulte.github.io/emacs-web-server/benchmark/ -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Eric Schulte
is that eieio (despite being distributed with Emacs) uses some functions which are defined in the 'cl package. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Eric Schulte
John Hendy jw.he...@gmail.com writes: On Sat, Jan 11, 2014 at 4:29 PM, Eric Schulte schulte.e...@gmail.com wrote: The Hello world example worked splendidly for me out of the box. I'm having a bit of difficulty with serving up a file via this example: http://eschulte.github.io/emacs-web

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Eric Schulte
John Hendy jw.he...@gmail.com writes: On Sat, Jan 11, 2014 at 6:26 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Sat, Jan 11, 2014 at 4:29 PM, Eric Schulte schulte.e...@gmail.com wrote: The Hello world example worked splendidly for me out

Re: [O] sending HTML e-mail

2014-01-11 Thread Eric Schulte
version in the Org-mode git repo (available at [1]) does not call the org-export-string function. Best, Footnotes: [1] http://orgmode.org/w/?p=org-mode.git;a=blob;f=contrib/lisp/org-mime.el;h=b0007ac8af3ba17cd5cce84ff34ea59f5c32526f;hb=HEAD -- Eric Schulte https://cs.unm.edu/~eschulte PGP

Re: [O] [BABEL] Define tables with names in org?

2014-01-09 Thread Eric Schulte
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 https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-tsv-field does though

2014-01-08 Thread Eric Schulte
-index #+end_src TIA, Miguel Ruiz. CYGWIN_NT-6.1-WOW64 usuario-PC 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin GNU Emacs (emacs-w32) 24.3.1 (i686-pc-cygwin) of 2013-08-14 on moufang Org-mode version 8.2.5a (release_8.2.5a @ /home/usuario/org-mode/maint/lisp/) -- Eric Schulte https

Re: [O] patch for ob-sql and postgresql for supporting :colnames

2014-01-08 Thread Eric Schulte
Can anyone suggest to me why this should not be in ob-sql.el? It is already implemented for the mysql engine (via -N). regards, Joost -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Let's discuss citation and Org syntax

2014-01-02 Thread Eric Schulte
/netgear-repair.html -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Emacs: unifying citations between html and latex in org-mode - Stack Overflow

2014-01-02 Thread Eric Schulte
. Many thanks, Jo. See my reply in the Let's discuss citation and Org syntax thread. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Contribution: ob-groovy.el

2013-12-29 Thread Eric Schulte
Miro Bezjak bezjak.m...@gmail.com writes: Sure - attached. Applied, Thanks! -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Contribution: ob-groovy.el

2013-12-28 Thread Eric Schulte
, if you haven't already done so. The FSF papers will be required before we can add this to Org-mode proper. In the mean time I'd be happy to add this to contrib. Could you send a patch adding ob-groovy.el to contrib/lisp/ formatted with git format-patch. Thanks again, -- Eric Schulte https

Re: [O] [BUG] Add ob-J.el

2013-12-21 Thread Eric Schulte
comint interaction, I could eventually remove this dependency. regards, Oleh I just removed the top-level require, thanks for reporting. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [PATCH] Add ob-J.el

2013-12-20 Thread Eric Schulte
] http://orgmode.org/worg/org-contrib/babel/languages.html -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] words starting with call_ confuse C-c C-c and export

2013-12-16 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric Schulte schulte.e...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: In fact, they are already mandatory. The problem is different. Current regexp is: \\([^\n]*?\\)call_\\([^()\n

Re: [O] words starting with call_ confuse C-c C-c and export

2013-12-15 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric Schulte schulte.e...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Just to be clear, I thought about making parens mandatory in inline Babel call syntax. Underscore is overloaded already: underline, subscript

Re: [O] Babel support for the D language

2013-12-15 Thread Eric Schulte
Thierry Banel tbanelweb...@free.fr writes: Eric Schulte schulte.eric at gmail.com writes: I think this incorporation into ob-C.el would be the next logical step. You'd want to use the `org-babel-c-variant' in the same manner as C++ does currently. But there's no rush, and any changes

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
Greg Troxel g...@ir.bbn.com writes: Eric Schulte schulte.e...@gmail.com writes: Just an fyi: I had to set org-babel-sh-command to bash for this to work. Why is sh the default value of this variable? I think sh is more portable, but I guess almost any system should have bash as well, I've

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
serious error of using bash notation in a shell script starting with #!/bin/sh). I think we only disagree on the current meaning of sh in code blocks, which hopefully the suggestion above will rectify. Best, Greg -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
transition time. Thoughts? From 7a6c0e35415c4a173d101336029262f3a09abb91 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Fri, 13 Dec 2013 09:52:05 -0700 Subject: [PATCH 1/4] multiple code block types for multiple shells * lisp/ob-sh.el (org-babel-sh-command): Now set from

Re: [O] Org mode and shunt exporters?

2013-12-13 Thread Eric Schulte
(append org-element-all-objects org-element-all-elements) (lambda (el) (org-element-put-property el :parent nil))) (with-temp-file path (insert (json-encode tree) -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] Bug when updating the hash: meta-lines get deleted

2013-12-13 Thread Eric Schulte
#+results[663ebd0c20f3ed9105d254971336679e44354a3e]: : Hello2 #+ATTR_LaTeX: } --8---cut here---end---8--- Best regards, Seb -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] Bug when updating the hash: meta-lines get deleted

2013-12-13 Thread Eric Schulte
Sebastien Vauban sva-n...@mygooglest.com writes: Hello Eric, Eric Schulte wrote: When results caching is enabled, and when the hash must be updated, the meta-lines in front of the results block are _deleted_. You should use a named code block if you want to decorate the results

Re: [O] [PATCH] make vanilla: run Emacs -Q with this Org loaded

2013-12-13 Thread Eric Schulte
in default.mk. Okay, this last point was just a bug, I changed the name part way through. I've cleaned up this patch per your suggestions and just pushed a better version up. Thanks for the feedback, Achim. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
Regards, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [BUG] inline source breaks paragraphs

2013-12-13 Thread Eric Schulte
\n (unwind-protect (progn (when outside-scope-p (widen)) -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Org mode and shunt exporters?

2013-12-12 Thread Eric Schulte
#+headers: :var out-path=/tmp/org-to-json.json #+begin_src lisp :results none (with-open-file (in in-path) (with-open-file (out out-path :direction :output) (cl-json:encode-json (read in) out))) #+end_src org-to-json.json Description: application/json -- Eric Schulte

Re: [O] [babel] Lisp error: (void-variable params)

2013-12-11 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: I just pushed up a change which fixes this when exporting on my system, if the problem persists please provide an ECM. This test is still failing: Test test-ob/noweb-expansions-in-cache condition: (void-variable foo

Re: [O] [babel] Lisp error: (void-variable params)

2013-12-10 Thread Eric Schulte
! -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Problem with #+BEGIN_SRC shell, and export

2013-12-10 Thread Eric Schulte
. Whatever solution is adopted should be easily discovered and sidestepped in case anyone actually did want to export code using shell-mode for highlighting. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] Lisp error: (void-variable params)

2013-12-10 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: I just pushed up a change which fixes this when exporting on my system, if the problem persists please provide an ECM. This test is still failing: Test test-ob/noweb-expansions-in-cache condition: (void-variable foo

Re: [O] [Babel] [Bug] Cache

2013-12-06 Thread Eric Schulte
Sebastien Vauban sva-n...@mygooglest.com writes: Hi Eric, Eric Schulte wrote: Sebastien Vauban sva-n...@mygooglest.com writes: IIRC, some time ago, a bug involving the computation of the hash (when option cache is enabled) and NoWeb code blocks. I remember that it had been fixed

Re: [O] words starting with call_ confuse C-c C-c and export

2013-12-06 Thread Eric Schulte
onerous. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] bash alias and history in code block

2013-12-06 Thread Eric Schulte
My guess with the empty history is that bash can tell it isn't an interactive session, which you might be able to fake with tty pipe STDIN and STDOUT nonsense in ob-sh. But in general I don't see the utility of history in a code block. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Eric Schulte
result is not stripped anymore, pointing to the change in ob-core. IIRC we flip-flopped a few times already with including or not including this final newline, so I don't know whether the code or the test should change. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] words starting with call_ confuse C-c C-c and export

2013-12-06 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric Schulte schulte.e...@gmail.com writes: We may tweak `org-babel-inline-lob-one-liner-regexp' in order to make it harder to trigger it unwillingly. The trade-off here is between raising an error when e.g., a like matching the call

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Eric Schulte
Skip Collins skip.coll...@gmail.com writes: On Fri, Dec 6, 2013 at 2:05 PM, Eric Schulte schulte.e...@gmail.com wrote: Skip Collins skip.coll...@gmail.com writes: Would it make sense to automatically enforce passing all tests before git accepts a change? I for one would strongly oppose

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: Fixed. The test was trying to ascertain that an inline babel codeblock didn't force a newline at the end. What makes this code block inline? You've just made it test that there is a trailing newline introduced by the inline babel

Re: [O] [Babel] [Bug] Cache

2013-12-06 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: In that thread we agreed that the expansion of no-web references *should* be included in code blocks for hashing, but no-one has had the time to implement this. I think we may have discussed this before, but if you make the hashes

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-05 Thread Eric Schulte
Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: Hi Eric, The attached works fine for me (using sh since I don't have octave). Dear Eric, thanks for your quick reply and sorry for taking so long to get back to you. I ended up going to Chile for a week

Re: [O] Org mode and shunt exporters?

2013-12-05 Thread Eric Schulte
for converting lisp to JSON or YAML. I've used cl-json for Common Lisp, I would imagine something similar exists for Emacs Lisp. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] Output table

2013-12-02 Thread Eric Schulte
-char (point-min)) (while (re-search-forward ^Retrieving newsgroup: \\(.+\\) nil t) (push (match-string 1) txts))) txts) #+end_src -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Babel support for the D language

2013-12-01 Thread Eric Schulte
in Org-Babel for executing Digital Mars D code. This is derived from the code in ob-C.el, by Eric Schulte (thanks Eric). I release it under the same GPL license as Emacs and Org-mode. Comments and enhancements are welcome ! * Example. The following source block: #+begin_src D import

Re: [O] Babel support for the D language

2013-12-01 Thread Eric Schulte
Thierry Banel tbanelweb...@free.fr writes: Eric Schulte schulte.eric at gmail.com writes: Hi Thierry, I've added ob-D.el to the contrib/lisp directory of Org-mode. Would it make sense to add D as a c-variant in ob-C.el? Thanks for the contribution, and for the documentation

Re: [O] not handling failing sql statements in ob-sql.el with postgresql

2013-12-01 Thread Eric Schulte
? Or will it break things? regards, Joost I just applied this change. Thanks, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Creating hline in table from source block?

2013-11-26 Thread Eric Schulte
Loris Bennett loris.benn...@fu-berlin.de writes: Eric Schulte schulte.e...@gmail.com writes: Loris Bennett loris.benn...@fu-berlin.de writes: Dear List, This #+BEGIN_SRC sh echo a b c d echo 1 2 3 4 echo 5 6 7 8 #+END_SRC produces this: #+RESULTS: | a | b | c | d | | 1 | 2

Re: [O] ox-bibtex.el -- how to join sequential citations

2013-11-26 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Feng Shu tuma...@gmail.com writes: Eric Schulte schulte.e...@gmail.com writes: When exporting multiple sequential citations e.g., cite:foo cite:bar etc... I would like to see something like the following (latex used for this example

[O] Captions on Code Blocks -- work for ox-ascii but not ox-html or ox-latex

2013-11-26 Thread Eric Schulte
Hi, I see that Captions on code blocks work as expected for ASCII export, but not for HTML or LaTeX export. Is this intentional? If not could captions be easily added to HTML and LaTeX export? Thanks, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Captions on Code Blocks -- work for ox-ascii but not ox-html or ox-latex

2013-11-26 Thread Eric Schulte
Rüdiger Sonderfeld ruedi...@c-plusplus.de writes: On Tuesday 26 November 2013 07:23:33 Eric Schulte wrote: I see that Captions on code blocks work as expected for ASCII export, but not for HTML or LaTeX export. Is this intentional? If not could captions be easily added to HTML and LaTeX

Re: [O] Creating hline in table from source block?

2013-11-25 Thread Eric Schulte
| |-+---+---+---| | 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 | ? Most easily done with an Emacs Lisp code block. #+BEGIN_SRC emacs-lisp '((a b c d) hline (1 2 3 4) (5 6 7 8)) #+END_SRC #+RESULTS: | a | b | c | d | |---+---+---+---| | 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 | -- Eric Schulte https

Re: [O] imaxima babel

2013-11-23 Thread Eric Schulte
code block into a latex code block, and then use the existing latex code block functionality to convert the imaxima output to images of different types depending on the export target [1]. Best, All the best, Johnny Eric Schulte schulte.e...@gmail.com writes: Changing :results output

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Eric Schulte
Charles Berry ccbe...@ucsd.edu writes: Eric Schulte schulte.eric at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: [snip] Thanks for pointing this out, I've just pushed up a fix. AFAICS, it is still broken. I did a git pull, downloaded the patches, applied them

[O] ox-bibtex.el -- how to join sequential citations

2013-11-23 Thread Eric Schulte
the export engine already have processes in place to handle these sorts of export context issues? Thanks, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] how to pass data to gnuplot from another block

2013-11-23 Thread Eric Schulte
Nick Dokos ndo...@gmail.com writes: Eric Schulte schulte.e...@gmail.com writes: The attached works fine for me (using sh since I don't have octave). #+name: uptime #+begin_src sh paste (echo -e 1\n5\n15) (uptime|sed 's/^.*average: //;s/,//g'|tr ' ' '\n') #+end_src Just an fyi: I

Re: [O] org-table and elisp

2013-11-23 Thread Eric Schulte
, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Eric Schulte
)) for inline src blocks. So changing org-babel-get-src-block-infodoes not fix the inline src block issue. Oh, I was testing with interactive evaluation, not export. I've just pushed up another fix which should fix this for export too. Thanks again, -- Eric Schulte https://cs.unm.edu

[O] reference #+label: in export to both LaTeX and HTML

2013-11-23 Thread Eric Schulte
construct for referencing labels? Thanks, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] reference #+label: in export to both LaTeX and HTML

2013-11-23 Thread Eric Schulte
Eric Schulte schulte.e...@gmail.com writes: Hi, How would I reference a label in export to HTML? For example. #+label: mutation-ops [[file:mut-ops.svg]] In LaTeX export I could use \ref{mutation-ops} which would be passed directly through to LaTeX, however this syntax is not understood

Re: [O] [babel] how to pass data to gnuplot from another block

2013-11-22 Thread Eric Schulte
for the first src block but to no avail. I have tried this with emacs -Q, by the way, and my org is up to date as of a few minutes ago! What am I doing wrong please? Thanks, eric -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [Babel] [Bug] Cache

2013-11-22 Thread Eric Schulte
for computing the hash). It stays printing Hello. Best regards, Seb -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-22 Thread Eric Schulte
-babel-evaluate (lambda (rest args) (message info: %S (org-babel-get-src-block-info 'light)) nil)) #+END_SRC #+RESULTS: src_R{1+1} # Thanks for pointing this out, I've just pushed up a fix. -- Eric Schulte https://cs.unm.edu/~eschulte PGP

Re: [O] rainbow parenthesis with org babel for reveal.js export

2013-11-21 Thread Eric Schulte
advice would be greatly appreciated ! Best Regards Bernard [0] https://github.com/yjwen/org-reveal Footnotes: [1] http://www.emacswiki.org/emacs/Htmlize -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

[O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Eric Schulte
exporting function and/or the org-export-before-parsing-hook). Thanks, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Eric Schulte
Richard Lawrence richard.lawre...@berkeley.edu writes: Eric Schulte schulte.e...@gmail.com writes: Ian Barton li...@wilkesley.net writes: On 19/11/13 01:40, Christopher W. Ryan wrote: Not sure citational is even a word, but hopefully it conveys my meaning! I've been using LaTeX

Re: [O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Eric Schulte
. Best, 2013/11/22 Eric Schulte schulte.e...@gmail.com Hi, I'd like to add a new option to the LaTeX backend from a contrib/ package so that it can be set with a #+ keyword. Is this possible? If so how would one go about making this change. If not what's the best way to add a new

Re: [O] imaxima babel

2013-11-21 Thread Eric Schulte
. Thanks, Johnny Footnotes: [1] http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-maxima.html -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] new export question: how to add a new option to an existing backend

2013-11-21 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric Schulte schulte.e...@gmail.com writes: I'd like to add a new option to the LaTeX backend from a contrib/ package so that it can be set with a #+ keyword. Is this possible? If so how would one go about making this change

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Eric Schulte
retrieve information from a DB and construct the correct text reference and the correct bibliography entry across all exports. Is there such a DB and tool? Cheers, Alan Checkout ox-bibtex.el in contrib used in combination with either ebib or org-bibtex-extras.el. Best, -- Eric Schulte https

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-21 Thread Eric Schulte
In the mean time I just pushed up a small change to this file which will resolve cite: links and export them correctly to LaTeX. I just reverted my addition to org-bibtex-extras.el as it looks like ox-bibtex.el (also in contrib) already handles cite: links on export. Best, -- Eric Schulte

Re: [O] Lisp code blocks fail

2013-11-19 Thread Eric Schulte
)--at least that is the last code line edebug stops at before getting to the (error) line. The modeline says Result: 2 just before the error. Does this help? Tom Eric Schulte schulte.e...@gmail.com writes: Hi Tom, That example works for me. Perhaps you could edebug (C-u C-M-x) the `org

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-19 Thread Eric Schulte
wonder if there's an easy way to automatically include the content of the :KEYWORDS: property in tag searches. Best, Ian. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Is it possible to repeat a block of org-mode text on export, maybe with replacement?

2013-11-19 Thread Eric Schulte
answer is I should write a python script to generate my org-mode text, well, that's OK too. :-) -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-19 Thread Eric Schulte
Alan L Tyree alanty...@gmail.com writes: On 20/11/13 03:25, Eric Schulte wrote: Ian Barton li...@wilkesley.net writes: On 19/11/13 01:40, Christopher W. Ryan wrote: Not sure citational is even a word, but hopefully it conveys my meaning! I've been using LaTeX for academic writing

Re: [O] Lisp code blocks fail

2013-11-13 Thread Eric Schulte
-- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Babel: the disappearing hline

2013-11-13 Thread Eric Schulte
#+RESULTS: | numbers | |-| | 3 | | 3 | | 5 | | 4 | Perhaps we should change `org-babel-default-inline-header-args' to include `(:hlines yes)'. If there is no push back on that change I'd be happy to make it. Regards, -- Eric Schulte https

Re: [O] [feature request] refernce to call results

2013-11-13 Thread Eric Schulte
#+begin_src sh :var input=original echo input=$input #+end_src #+RESULTS: echo-input : input=original #+name: echo-new #+call: echo-input(new) #+RESULTS: echo-new : input=new #+begin_src sh :var input=echo-new() echo this=$input #+end_src #+RESULTS: : this=input=new Best, -- Eric Schulte

Re: [O] Lisp code blocks fail

2013-11-13 Thread Eric Schulte
(org-ctrl-c-ctrl-c nil nil) Org-mode version 8.2.3b (release_8.2.3b-200-gb6522a @ /Users/dk/.emacs.d/src/org-mode/lisp/) All the best, Tom Eric Schulte schulte.e...@gmail.com writes: Hi Tom, Could you provide a minimal example? I'm unable to debug from the stack trace alone. -- Eric

Re: [O] [BUG] call results not creating #results

2013-11-13 Thread Eric Schulte
: two #+END_SRC rick -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Babel: the disappearing hline

2013-11-13 Thread Eric Schulte
Rick Frankel r...@rickster.com writes: On 2013-11-13 09:17, Eric Schulte wrote: Perhaps we should change `org-babel-default-inline-header-args' to include `(:hlines yes)'. If there is no push back on that change I'd be happy to make it. I agree. It would probably make the behavior less

Re: [O] Babel: the disappearing hline

2013-11-11 Thread Eric Schulte
() #+results: table-two-without | a | | b | | c | #+NAME: table-two-with #+CALL: table-one() :hlines yes #+results: table-two-with | a | | b | |---| | c | -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

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