Re: [O] calculating column averages

2011-07-22 Thread Ken Williams
Jude DaShiell jdashiel at shellworld.net writes: In this case I don't want to tell org-mode how many rows to calculate, and I put a table together with an averages line in its own footer section. Since you have a header footer, one solution is to use a formula like this:

[O] LaTeX export crashes

2011-10-14 Thread Ken Williams
Hi, the following document makes a LaTeX export (C-c C-e d) crash with Args out of range: , -1, 0.  After that, exporting (to any format) dies with the same error. -- #+TITLE: Test doc #+AUTHOR: Ken Williams Some stuff. #+begin_src R 5+5 #+end_src

[O] LaTeX export crashes

2011-10-14 Thread Ken Williams
Hi, the following document makes a LaTeX export (C-c C-e d) crash with Args out of range: , -1, 0. After that, -- #+TITLE: Test doc #+AUTHOR: Ken Williams Some stuff. #+begin_src R 5+5 #+end_src -- Is this a known problem? If I either omit the R source block

Re: [O] LaTeX export crashes

2011-10-17 Thread Ken Williams
On Thu, Oct 13, 2011 at 4:48 PM, Ken Williams kena...@gmail.com wrote: Hi, the following document makes a LaTeX export (C-c C-e d) crash with Args out of range: , -1, 0.  After that, exporting (to any format) dies with the same error. [snip] Then Sebastien Vauban wrote: Works for me

Re: [O] LaTeX export crashes

2011-10-17 Thread Ken Williams
On Mon, Oct 17, 2011 at 4:52 PM, Nick Dokos nicholas.do...@hp.com wrote: Ken Williams kena...@gmail.com wrote: Here's a full stack trace, does this make it any more evident what's going on? Not really: you have not mentioned what version you are using. I did post my complete config, which

Re: [O] LaTeX export crashes

2011-10-17 Thread Ken Williams
On Mon, Oct 17, 2011 at 8:31 PM, Nick Dokos nicholas.do...@hp.com wrote: As I pointed out in the subsequent message, that's not good enough: 7.7 came out on July 28 and the fix (at least what I *think* is the fix) did not go in until September 13. Ah, I see - I was thinking 7.7 came out

Re: [O] zotero plain, org-odt, and citations in general

2011-11-09 Thread Ken Williams
Jambunathan K kjambunathan at gmail.com writes: Basically all that one can do in org-mode at the moment is insert update citations, and following citation links to the entry in Zotero. Can you or someone provide me how such an Org file with citation definition and reference looks

[O] Hang on incomplete input

2011-11-30 Thread Ken Williams
that's now being called, or even just on long-running calculations. Any chance evaluation could be done in a separate thread or something? Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use

Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams
Rafael wrote: In Ubuntu 10.10, emacs 23.2 and recent org, I get an *Org-Babel Error Output* buffer, saying: Error: unexpected '}' in: ddply(x, } Execution halted I'm using: GNU Emacs 23.3 (from http://vgoulet.act.ulaval.ca/en/emacs/windows/) Windows 7 org-mode 7.7 ESS 5.14 What version

Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams
this: ### #+TITLE: Test doc #+AUTHOR: Ken Williams #+BABEL: :session *Rt* * My Header Some code: #+begin_src R ddply(x, #+end_src ### With that change, is the hang reproducible? If that does not bear fruit, you can M-x toggle-debug-on-quit, run the code block and press C-g

Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams
-Original Message- From: nicholas.dokos Sent: Thursday, December 01, 2011 12:19 PM Note also that #+BABEL: is obsolete for versions of org more recent than Oct. 20 or so. You seem to still be running 7.7 from late July or early August, so you should still be OK, but when you

[O] More specific LaTeX output classes

2011-12-02 Thread Ken Williams
. Or of course it's possible some of this is already implemented and I've missed it. =) -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged

[O] No pictures when exporting narrowed/subtree

2012-01-04 Thread Ken Williams
: A Document #+AUTHOR: Ken Williams #+BABEL: :session *Rt* :results output :exports both * Section 1 Some text. * Section 2 Some more text. #+begin_src R :results graphics :file testout.png plot(1:10, (1:10)^2) #+end_src #+results: [[file:testout.png]] Where's the plot

Re: [O] org-jira.el updated

2012-01-06 Thread Ken Williams
Bao Haojun baohaojun at gmail.com writes: I have updated the org-jira.el as suggested by Bastien and Richard Riley: Amazing. Just 120 seconds ago I got out of a meeting where we talked about using Jira more widely in our company, and I worried that I'd duplicate too much between my org-mode

Re: [O] No pictures when exporting narrowed/subtree

2012-01-13 Thread Ken Williams
-Original Message- ... if I put my cursor near Some more text and choose 'switch buffer/subtree export' when exporting, or if I narrow (C-x n d) to that subtree and then export, the 'testout.png' plot doesn't show up. Ping - anyone able to replicate or not replicate this? -Ken

Re: [O] Don't ask, don't run

2011-07-11 Thread Ken Williams
Eric Schulte schulte.eric at gmail.com writes: There is no way to customize `org-confirm-evaluate' to achieve this behavior, however it can be accomplished through creative use of the :eval header argument, by using the `org-export-current-backend' variable to inhibit evaluation during

[O] Export width for generated SVG image?

2013-03-26 Thread Ken Williams
any effect, nor does wrapping like so: #+BEGIN_HTML div style=width:100% #+END_HTML ... dot diagram here ... #+BEGIN_HTML /div #+END_HTML ... because the interior SVG just overrides the width of its parent. Any suggestions? I'm using version 7.9.2-dist . Thanks. -- Ken Williams, Senior

Re: [O] Export width for generated SVG image?

2013-03-26 Thread Ken Williams
-Original Message- From: John Hendy [mailto:jw.he...@gmail.com] Sent: Tuesday, March 26, 2013 3:49 PM Are you using the new exporter or old? I believe the old syntax would have been: #+attr_html width=100% [[image.svg]] Beautiful, thanks. -Ken

[O] attr_html for table.el tables?

2013-03-27 Thread Ken Williams
without borders the structure isn't very clear. It looks like `#+attr_html` doesn't have any effect on table.el tables, correct? Is there another mechanism to specify export options when org-mode renders table.el tables to HTML? -- Ken Williams, Senior Research Scientist WindLogics http

[O] Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)]

2013-03-28 Thread Ken Williams
(wrong side of point). The key piece seems to be the '...' string in the 4th cell. = #+TITLE: Example Doc #+AUTHOR: Ken Williams * Failing table Example: +--+---+ |Name |Examples | +--+---+ |foo |x ... y

Re: [O] Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)]

2013-03-28 Thread Ken Williams
-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '((perl . pl) (emacs-lisp . el)) org-babel-load-languages '((emacs-lisp . t) (sh . t) (plantuml . t) (R . t) (dot . t) (perl . t)) org-confirm-shell-link-function 'yes-or-no-p ) -Original Message- From: Ken

Re: [O] Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)]

2013-03-28 Thread Ken Williams
-Original Message- From: Nicolas Goaziou [mailto:n.goaz...@gmail.com] Sent: Thursday, March 28, 2013 10:49 AM To: Ken Williams Ken Williams ken.willi...@windlogics.com writes: Something apparently even ate part of the attachment - there are some Null bytes in there I guess

Re: [O] Can't get dvipng to work

2013-09-18 Thread Ken Williams
Rasmus rasmus at gmx.us writes: So in short I think the easiest course of action is upgrading to the newest release, e.g. using ELPA (M-x list-packages). I agree - I'm trying to update now. I hadn't used ELPA before, so I tried that route and I'm getting a ton of 'ox-*' related errors like

Re: [O] Can't get dvipng to work

2013-09-18 Thread Ken Williams
Ken Williams kenahoo at gmail.com writes: I can try installing manually but it would be great if I could get ELPA working. So I installed org-8.1.2 manually and now it does seem to be *trying* to process the images through LaTeX. But it's not succeeding. In the *Messages* buffer, I see

Re: [O] Can't get dvipng to work

2013-09-19 Thread Ken Williams
Nick Dokos ndokos at gmail.com writes: Ken Williams kenahoo at gmail.com writes: I pasted the contents of ~/AppData/Local/Temp/orgtex6488Qq2.log here, but I don't see anything strange in it: https://gist.github.com/kenahoo/6613374 What happens if you run latex on the tex file

Re: [O] Can't get dvipng to work

2013-09-20 Thread Ken Williams
Rasmus rasmus at gmx.us writes: Then try to run dvipng FILE.dvi or perhaps just dvipng FILE. Does this work? Yes, it produces a proper output PNG that looks good, but note that the base filename has a '1' appended: % dvipng orgtex6488Qq2.dvi This is dvipng 1.14 Copyright 2002-2010 Jan-Ake

[O] Breadcrumbs?

2012-09-24 Thread Ken Williams
shown at the top of the frame, but maybe it would be better as something shown on demand in the minibuffer, possibly making it taller while shown. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message

Re: [O] Breadcrumbs?

2012-09-25 Thread Ken Williams
Very nice, thanks. I like to see the top-level heading too, so I removed the (rest ...) call near the beginning. -Ken From: Anthony Lander [mailto:anth...@landerfamily.ca] Sent: Monday, September 24, 2012 7:45 PM To: Ken Williams Cc: emacs-orgmode@gnu.org Subject: Re: [O] Breadcrumbs? Hi

[O] Base64 embedded images?

2012-10-27 Thread Ken Williams
.). -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure

[O] Outline export styles

2012-11-09 Thread Ken Williams
distributions 1.1 Create a vector of 1,000 uniformly-sampled random integers is there a configuration somewhere for that? Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient

Re: [O] Outline export styles

2012-11-09 Thread Ken Williams
I found the 'section-number-format' variable, which customizes nicely to do what I asked about. But on second thought, I guess that's not what I really want. Because my Create a vector... stuff is actually a paragraph or so, and doesn't fit nicely on one line as a headline. So it looks like

[O] Can't get 'sh' blocks working

2013-01-02 Thread Ken Williams
mention of agenda stuff in my .emacs. Any pointers for the 'sh' error or for getting a stack trace? Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use

Re: [O] Can't get 'sh' blocks working

2013-01-02 Thread Ken Williams
)) org-alphabetical-lists t org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-confirm-babel-evaluate nil ) From: Ken Williams Sent: Wednesday, January 02, 2013 1:03 PM To: emacs-orgmode@gnu.org Subject: Can't get 'sh' blocks working I'm having some trouble getting 'sh' babel blocks

[O] Problem exporting code

2013-01-20 Thread Ken Williams
I'm giving a talk tomorrow on org-mode and R, and I'm having an exporting problem that's tripping me up. Usually when I export code/output sections to HTML, they get CSS classes like src-R for R code, src-perl for perl code, example for output. But now they're all example. Has anyone seen this?

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
. On Sun, Jan 20, 2013 at 5:44 PM, Ken Williams kena...@gmail.com wrote: I'm giving a talk tomorrow on org-mode and R, and I'm having an exporting problem that's tripping me up. Usually when I export code/output sections to HTML, they get CSS classes like src-R for R code, src-perl for perl code

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
On Sun, Jan 20, 2013 at 9:15 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Ken Williams kena...@gmail.com writes: Unfortunately, downgrading to 7.8.11 didn't change the behavior - all code sections are still exported to HTML as class example. I also see that on one machine, using 7.9.2, I get

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
On Sun, Jan 20, 2013 at 10:57 PM, Ken Williams kena...@gmail.com wrote: I'm grasping at straws too, not knowing my way around the elisp code very well. =) It looks like the function controlling this behavior is `org-export-format-source-code-or-example`, in org-exp.el

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
Thanks John. Here's a small org file: #+TITLE: Sample Doc #+AUTHOR:Ken Williams #+EMAIL: kena...@gmail.com #+DATE: 2013-01-21 #+PROPERTY: results output #+PROPERTY: exports both #+LATEX_HEADER: \usepackage{amsmath} #+begin_src R 5+5 #+end_src #+RESULTS: : [1] 10 The code gets

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
20, 2013 at 10:57 PM, Ken Williams kena...@gmail.com wrote: On Sun, Jan 20, 2013 at 9:15 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Ken Williams kena...@gmail.com writes: Unfortunately, downgrading to 7.8.11 didn't change the behavior - all code sections are still exported to HTML

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
downloading htmlize 1.43 and adding the following to my .emacs, I seem to be in business again: (load-file ~/share/emacs/site-lisp/htmlize/htmlize.el) Thanks everyone. On Mon, Jan 21, 2013 at 1:39 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Ken Williams kena...@gmail.com writes: Thanks

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
On Mon, Jan 21, 2013 at 10:48 AM, John Hendy jw.he...@gmail.com wrote: Awesome that you got it going. Do you still have =(require 'org-install)= in your .emacs? ETA: just checked and you do. I checked as I had an issue with emacs not using the git version of org because I stupidly had

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
On Mon, Jan 21, 2013 at 4:16 PM, John Hendy jw.he...@gmail.com wrote: On Mon, Jan 21, 2013 at 11:45 AM, Ken Williams kena...@gmail.com wrote: On Mon, Jan 21, 2013 at 10:48 AM, John Hendy jw.he...@gmail.com wrote: Awesome that you got it going. Do you still have =(require 'org-install

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
On Mon, Jan 21, 2013 at 5:02 PM, John Hendy jw.he...@gmail.com wrote: On Jan 21, 2013 4:51 PM, Ken Williams kena...@gmail.com wrote: It's been a while since I've used this machine, so I'd updated to the latest Aquamacs, but it looks like Aquamacs itself hasn't seen a release in over

Re: [O] Problem exporting code

2013-01-22 Thread Ken Williams
On Tue, Jan 22, 2013 at 1:49 AM, Bastien b...@altern.org wrote: Hi Thomas and all, t...@tsdye.com (Thomas S. Dye) writes: Ken Williams kena...@gmail.com writes: I've been using this: - http://vgoulet.act.ulaval.ca/en/emacs/mac/ Thanks for the pointer, I was not aware

[O] More decoration for babel output

2013-01-23 Thread Ken Williams
by green/red. Would this be helpful to include by default? Patch attached. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain

[O] SO question on dynamic arguments

2012-02-09 Thread Ken Williams
I asked this question on Stack Overflow today, I wonder if someone might know the answer here: http://stackoverflow.com/questions/9215216/computing-argument-values-dynamically It's about computing arguments to a #+begin_src R block based on previous R results. Thanks. -- Ken Williams

[O] I'm tripping over #+BABEL: vs. #+PROPERTY:

2012-03-14 Thread Ken Williams
may still be labeled with named with #+tblname: will be considered to be named results. What on earth does that mean?? I would offer a doc patch but I can't figure it out. =) -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail

Re: [O] I'm tripping over #+BABEL: vs. #+PROPERTY:

2012-03-14 Thread Ken Williams
Aha! That was the trick, thanks. How about a translation of the text for question 2)? -Ken -Original Message- From: Eric Schulte [mailto:eric.schu...@gmx.com] Sent: Wednesday, March 14, 2012 1:29 PM To: Ken Williams Cc: emacs-orgmode@gnu.org Subject: Re: [O] I'm tripping over

Re: [O] I'm tripping over #+BABEL: vs. #+PROPERTY:

2012-03-14 Thread Ken Williams
-Original Message- From: Eric Schulte [mailto:eric.schu...@gmx.com] Sent: Wednesday, March 14, 2012 1:40 PM To: Ken Williams Cc: emacs-orgmode@gnu.org Subject: Re: [O] I'm tripping over #+BABEL: vs. #+PROPERTY: How about a translation of the text for question 2)? [...] Hope

[O] Bug: Tabbing error with asterisks [7.8.03]

2012-03-23 Thread Ken Williams
I have the following document: -- #+TITLE: Test Doc #+AUTHOR: Ken Williams * Top header Top paragraph. #+begin_src R library(testthat) test_that(failures, { expect_that(6, equals(9)) expect_that(6, equals(9)) expect_that(6, equals(9)) expect_that(6, equals(9

Re: [O] Bug: Tabbing error with asterisks [7.8.03]

2012-03-27 Thread Ken Williams
Bastien bzg at gnu.org writes: Hit C-c ' twice and you'll have commas inserted before the lines starting with an asterisk. That works as a workaround, as long as I remember to do it. Is there a reason not to automatically do this to the return value of doing C-c C-c on all #begin_src R

[O] Auto-fill-mode with code sections

2012-05-01 Thread Ken Williams
a configuration that will get me folding in the body sections, but not in the code sections? It could use another mechanism besides auto-fill-mode if that's what's preferred these days, but auto-fill-mode is the one I'm familiar with. Thanks. -- Ken Williams, Senior Research Scientist

Re: [O] Auto-fill-mode with code sections

2012-05-04 Thread Ken Williams
Ping - I'm still interested in this, if anyone has any recommendations. Thanks. -Ken From: Ken Williams Sent: Tuesday, May 01, 2012 8:51 AM To: emacs-orgmode@gnu.org Subject: Auto-fill-mode with code sections Hi, I use org-mode extensively with R code sections, as a scientific notebook

[O] Subscripts in URLs

2012-08-06 Thread Ken Williams
. Was there a subsequent commit that changes things back, or maybe something else I'm missing? I'd like for the anchor text to just appear without org-mode's formatting stuff. Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e

Re: [O] Subscripts in URLs

2012-08-07 Thread Ken Williams
From: Bastien Guerry [mailto:bastiengue...@googlemail.com] Ken Williams ken.willi...@windlogics.com writes: and export to HTML, I get a link with anchor text http://www.mmm.ucar.edu/events/ISP/presentations/JNTforecastevaluati on concepts.pdf, where forecastevaluationconcepts

[O] Exporting inline code sections

2012-08-13 Thread Ken Williams
(\306\307\211\211\211\211\211\211\211\211\211\211+,-./0\310\311!\2111\205) - I'm still at version 7.8.03, apologies if this has been addressed in a later version already. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com

Re: [O] Exporting inline code sections

2012-08-13 Thread Ken Williams
-Original Message- From: Ken Williams Sent: Monday, August 13, 2012 3:37 PM I'm still at version 7.8.03, apologies if this has been addressed in a later version already. FWIW, I just downloaded 7.8.11 and confirmed that the problem still exists there. I wonder if the inline-code

Re: [O] Exporting inline code sections

2012-08-13 Thread Ken Williams
-Original Message- From: Bastien Guerry [mailto:bastiengue...@googlemail.com] Sent: Monday, August 13, 2012 4:56 PM Now fixed in git, thanks. Such service! =) Yes. Patch welcome! I'll have a shot at it. I'm very bad at elisp though. The other thing I just noticed was that

Re: [O] Exporting inline code sections

2012-08-14 Thread Ken Williams
-Original Message- From: Bastien Guerry [mailto:bastiengue...@googlemail.com] Sent: Monday, August 13, 2012 4:56 PM Ken Williams ken.willi...@windlogics.com writes: FWIW, I just downloaded 7.8.11 and confirmed that the problem still exists there. Now fixed in git, thanks

Re: [O] Exporting inline code sections

2012-08-14 Thread Ken Williams
-Original Message- From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Monday, August 13, 2012 6:34 PM Ken Williams ken.willi...@windlogics.com wrote: The other thing I just noticed was that every time I edit a table.el table with C-c ', two more spaces get

Re: [O] Exporting inline code sections

2012-08-14 Thread Ken Williams
-Original Message- From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Tuesday, August 14, 2012 10:20 AM You might want to try edebug instead of the standard debugger, MUCH better, thanks! -Ken CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the

[O] [patch] change indentation logic for edit-src

2012-08-16 Thread Ken Williams
or not. One change that would be nice to make to it is to avoid prefixing the final line if it's blank, but I couldn't get that to work. Also - could that essentially be replaced by a call to string-insert-rectangle? -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com

Re: [O] [patch] change indentation logic for edit-src

2012-08-17 Thread Ken Williams
Hi, I know Bastien's out of touch for a few days, but could someone say whether a patch to the mailing list is the right place to put it, or should I put it on GitHub or somewhere else? Thanks. -Ken From: Ken Williams Sent: Thursday, August 16, 2012 2:30 PM To: emacs-orgmode@gnu.org

[O] Testing the git latest

2012-08-17 Thread Ken Williams
\ -l lisp/org-id.el -l testing/org-test.el \ --eval (progn (org-reload) (setq org-confirm-babel-evaluate nil)) \ -f org-test-run-batch-tests Searching for program: no such file or directory, /bin/zsh I'm on Cygwin, is that not a supported testing configuration maybe? -- Ken Williams

Re: [O] [patch] change indentation logic for edit-src

2012-08-22 Thread Ken Williams
-Original Message- From: Bastien Guerry [mailto:bastiengue...@gmail.com] Sent: Tuesday, August 21, 2012 6:14 PM Mh... for me there is no change. There are always 2 spaces added before table.el tables. The prior behavior I've been seeing is that there are 2 spaces added *every