Commit graph

325 commits

Author SHA1 Message Date
Dan Davison dc66d84ac4 Alter org-babel-number-p so that it recognises negative numbers 2009-09-04 23:06:05 -04:00
Dan Davison 0f781016e4 Merge branch 'R-output-eval-bug' 2009-09-04 15:10:42 -04:00
Eric Schulte e1ab32e987 removing rogue debug statement in ob-exp.el 2009-09-04 12:18:41 -06:00
Dan Davison ed688ed938 Rearrange R evaluation code so that .Last.value evaluated in :results value case only
One example of a problem that crops up without this is a block like

f <- function(x) x

without this change, in :results output mode, we make an attempt to
coerce .Last.value (a function) to a data frame, which throws an
error.
2009-09-03 11:47:32 -04:00
Dan Davison 37e152f61d Change message on tangling: "0 blocks" instead of "0 block" 2009-09-02 15:20:20 -04:00
Eric Schulte b2b62cd506 fixed error exporting the results of a source-code block 2009-09-01 15:42:14 -06:00
Eric Schulte 4346aadd6f cleanup and fixing bug RE: default header arguments on export 2009-09-01 15:30:39 -06:00
Eric Schulte d45e3d318f simplified insertion of file links (makes for better image export) 2009-09-01 15:14:45 -06:00
Eric Schulte 493e79eaf7 adding support for Haskell 2009-08-27 08:03:02 -06:00
Eric Schulte e37cea2f24 fixed small bug introduced when switching to the `org-src-lang-modes' 2009-08-25 08:34:49 -06:00
Eric Schulte cf5da73068 cleanup 2009-08-24 11:35:59 -06:00
Eric Schulte 6d4404f4cb org-babel now using the org-src-lang-modes variable newly added to org-mode 2009-08-23 12:38:16 -06:00
Eric Schulte beed8c097b added function: org-babel-tangle-clean, for cleaning up tangled files 2009-08-20 16:32:57 -06:00
Eric Schulte 101a1141cd DONE failing to write srcname to resname when evaluating a named block 2009-08-18 18:25:07 -06:00
Eric Schulte 6ca0934ead DONE new results types (org, html, latex) 2009-08-18 17:55:10 -06:00
Eric Schulte cbdd953993 DONE org-bable-tangle: no default extension if one already exists 2009-08-18 17:22:16 -06:00
Eric Schulte e56bed5fc8 adding org-src-lang-modes as place holder until something comparable makes it's way into the org core 2009-08-18 13:37:18 -06:00
Eric Schulte 57a9464d3a added the SASS css generation language (see http://sass-lang.com/) 2009-08-17 14:39:34 -06:00
Eric Schulte 5ae3234bae org-babel-exp is now using the newer org-exp-blocks.el block definition methods 2009-08-17 12:19:25 -06:00
Eric Schulte 50e29c200d recursively expanding nested noweb references 2009-08-16 21:17:16 -06:00
Eric Schulte 937e1aa981 now better at inserting wrapping comments, and using org-src-lang-modes 2009-08-16 21:14:22 -06:00
Eric Schulte c23e62cd09 small typo 2009-08-16 14:02:20 -06:00
Eric Schulte fcc0ff9010 recognizes different types of ocaml output 2009-08-16 13:59:07 -06:00
Eric Schulte cfe40c4ca1 started adding support for the ocaml language 2009-08-16 11:47:18 -06:00
Eric Schulte 2f82474d85 No longer loading all languages by default. REQUIRES A CHANGE TO YOUR CONFIG!
This fixes a bug: DONE require users to explicitly turn on each language

as we continue adding more languages (each with it's own set of major
mode requirements), we are going to want users to only turn on the
languages that they intend to use.

See the install instructions in org-babel-worg.org, also take a look
at the "Requirements" sections of org-babel-ruby.el and
org-babel-gnuplot.el for pointers to downloading and installing their
requirements (which are no longer distributed in the util directory).
2009-08-16 10:48:08 -06:00
Eric Schulte 36be1d4058 adding literate programming section to ob-worg, and fixing small tangle bug 2009-08-14 19:34:23 -06:00
Eric Schulte 99ba71d35e [BUG FIX] DONE Python session evaluation bug 2009-08-14 16:13:57 -06:00
Eric Schulte 367072d11b OK, now I really think that we're done inserting superfluous interests with results 2009-08-14 15:49:05 -06:00
Eric Schulte d07c2f3b5c [BUG FIX] DONE problem with newlines in output when :results value 2009-08-14 15:33:49 -06:00
Eric Schulte 4db86bd66f better an not inserting blank lines 2009-08-14 15:21:40 -06:00
Eric Schulte 8ba39da7e9 [BUG FIX] DONE non-orgtbl formatted lists 2009-08-14 15:15:23 -06:00
Eric Schulte 9b25adfd48 no longer adding extra lines with table output 2009-08-14 15:07:29 -06:00
Eric Schulte 945200790a fixed bug: DONE adding blank line when source-block produces no output 2009-08-14 14:57:36 -06:00
Eric Schulte fe7c63b18c STARTED new results types (org, html, latex)
added a "raw" or "org" results header
2009-08-13 13:31:51 -06:00
Eric Schulte 2f50cb659f DONE Allow source blocks to be recognised when #+ are not first characters on the line 2009-08-09 08:29:06 -06:00
Eric Schulte 5d4ac21aca languages are now able to specify that they don't support comments for tangling 2009-08-04 13:23:23 -06:00
Eric Schulte 96c9696064 added support for CSS 2009-08-04 12:43:06 -06:00
Eric Schulte 9df56be538 tangling now preserves order of source-code blocks from the original file 2009-08-03 11:00:42 -06:00
Eric Schulte 96c8457208 adding third-party gnuplot-mode to util directory 2009-08-03 10:41:45 -06:00
Eric Schulte e247c0d7f3 fixed small bug in org-babel-map-source-blocks 2009-08-03 08:19:16 -06:00
Eric Schulte 05567124a8 DONE LoB is not populated on startup 2009-08-02 11:36:54 -06:00
Eric Schulte 132eb91b68 no longer ensuring that noweb style references are inside comments
it was slow buggy and brought in more requirements
2009-08-01 19:33:01 -06:00
Eric Schulte cbae0b231f added org-babel-sql to org-babel-init.el 2009-08-01 19:22:41 -06:00
Eric Schulte 5b71912531 *very minimal* support for sql code blocks
see the comments in org-babel.org for more that can be done
2009-08-01 19:05:18 -06:00
Eric Schulte 9537047b14 Merge branch 'master' into sql-support 2009-08-01 18:24:28 -06:00
Eric Schulte 8506995b9d added 'var' as a possible header argument to be read from outline properties 2009-08-01 18:10:17 -06:00
Eric Schulte 735a1556b6 DONE take default values for header args from properties 2009-08-01 18:06:46 -06:00
Eric Schulte 883a174357 bringing back default values from properties
originally in commit 6b5747fdfa
2009-08-01 15:43:37 -06:00
Eric Schulte 46990352af started along the path towards supporting SQL 2009-08-01 14:00:37 -06:00
Eric Schulte 227540bce1 DONE new reference syntax *inside* source code blocks
noweb style references are now expanded on tangle
2009-07-31 17:01:40 -06:00