mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 01:57:54 +00:00
21 lines
7.5 KiB
HTML
21 lines
7.5 KiB
HTML
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>Org mode: Babel</title><script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script id="MathJax-script" async="" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script type="text/x-mathjax-config">
|
|
MathJax = {
|
|
tex: {
|
|
inlineMath: [ ['$','$'], ['\(','\)'] ],
|
|
displayMath: [ ['$$','$$'], ['[',']'] ]
|
|
},
|
|
options = {
|
|
processHtmlClass = "math"
|
|
}
|
|
}
|
|
</script><meta name="next-head-count" content="6"/><link rel="preload" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" as="style"/><link rel="stylesheet" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" data-n-g=""/><noscript data-n-css=""></noscript><link rel="preload" href="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" as="script"/></head><body><div id="__next"><main><h1>Org mode: Babel</h1><section class="post-metadata"><span>Date: <!-- -->2020-04-17 21:41:30 +08:00</span><span>Date modified: <!-- -->2021-07-17 19:03:50 +08:00</span></section><nav class="toc"><ol class="toc-level toc-level-1"></ol></nav><p>Babel is the framework that enables <a href="/wiki/2020-04-20-16-51-40">Org mode</a> to be a <a href="/wiki/2020-04-12-11-20-53">Reproducible research</a> tool.
|
|
It is comparable to Jupyter and R Markdown that other computational scientists use it.
|
|
</p><p>Among other features, it can do the following.
|
|
</p><ul><li><p>Prints the results from code blocks.
|
|
</p></li><li><p>Create files from a single document, making it possible to create entire computational reports.
|
|
</p></li><li><p>Pass values from one code block to another, even with different programming languages.
|
|
</p></li><li><p>Create graphics similarly to Jupyter and R Markdown notebooks.
|
|
</p></li><li><p>Call code blocks either inline, as a block, or inside of another code block, thereby enabling metaprogramming and dynamic contents.
|
|
</p></li></ul><p>The unfortunate thing is most of these features are only available when using with <a href="/wiki/2021-06-20-20-42-44">GNU Emacs</a>.
|
|
</p><p>For more details, you can see <a href="/wiki/text.org-mode.babel">The basics of org-babel</a>.
|
|
</p><section><h2>Backlinks</h2><ul><li><a href="/wiki/2020-04-20-16-51-40">Org mode</a></li><li><a href="/wiki/2021-06-20-20-42-44">GNU Emacs</a></li><li><a href="/wiki/text.org-mode.babel">The basics of org-babel</a></li></ul></section></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"metadata":{"date":"\"2020-04-17 21:41:30 +08:00\"","date_modified":"\"2021-07-17 19:03:50 +08:00\"","language":"en","source":""},"title":"Org mode: Babel","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Babel is the framework that enables "},{"type":"element","tagName":"a","properties":{"href":"/2020-04-20-16-51-40"},"children":[{"type":"text","value":"Org mode"}]},{"type":"text","value":" to be a "},{"type":"element","tagName":"a","properties":{"href":"/2020-04-12-11-20-53"},"children":[{"type":"text","value":"Reproducible research"}]},{"type":"text","value":" tool.\nIt is comparable to Jupyter and R Markdown that other computational scientists use it.\n"}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Among other features, it can do the following.\n"}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Prints the results from code blocks.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Create files from a single document, making it possible to create entire computational reports.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Pass values from one code block to another, even with different programming languages.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Create graphics similarly to Jupyter and R Markdown notebooks.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Call code blocks either inline, as a block, or inside of another code block, thereby enabling metaprogramming and dynamic contents.\n"}]}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The unfortunate thing is most of these features are only available when using with "},{"type":"element","tagName":"a","properties":{"href":"/2021-06-20-20-42-44"},"children":[{"type":"text","value":"GNU Emacs"}]},{"type":"text","value":".\n"}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"For more details, you can see "},{"type":"element","tagName":"a","properties":{"href":"/text.org-mode.babel"},"children":[{"type":"text","value":"The basics of org-babel"}]},{"type":"text","value":".\n"}]}]},"backlinks":[{"path":"/2020-04-20-16-51-40","title":"Org mode"},{"path":"/2021-06-20-20-42-44","title":"GNU Emacs"},{"path":"/text.org-mode.babel","title":"The basics of org-babel"}]},"__N_SSG":true},"page":"/[[...slug]]","query":{"slug":["2020-04-17-21-41-30"]},"buildId":"Ie9t5zutrXP6Of75Cb5xF","assetPrefix":"/wiki","nextExport":false,"isFallback":false,"gsp":true}</script><script nomodule="" src="/wiki/_next/static/chunks/polyfills-99d808df29361cf7ffb1.js"></script><script src="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" async=""></script><script src="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" async=""></script><script src="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" async=""></script><script src="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" async=""></script><script src="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" async=""></script><script src="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" async=""></script><script src="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_buildManifest.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_ssgManifest.js" async=""></script></body></html> |