dfeich / org-babel-examples Goto Github PK
View Code? Open in Web Editor NEWExamples using emacs org mode babel inline source code with different backend languages
Examples using emacs org mode babel inline source code with different backend languages
Just thought I'd let you know that the documentation has quite a few dead links. For example, in Section 4 of the IPython section, the link to the .png file is 404.
Hi!
I'm getting:
Executing Ipython code block at position 109...
Code block evaluation complete.
error in process sentinel: cons: JSON readtable error: 47
error in process sentinel: JSON readtable error: 47
when trying to run a simple code block with ipython.
I have
#+PROPERTY: header-args:ipython :session py-1
as a header.
Hello. I was testing your nice ob-C examples.
When I was testing this https://github.com/dfeich/org-babel-examples/blob/master/C/c-babel.org#42-passing-a-table, my Emacs spitted out errors in below.
Only homogeneous lists are supported by C. You can not mix char and int
What am I missing?
I'm using Org mode 8.2.10 and the document used Org mode 8.2.8. So I am guessing there are some deprecated function between Org mode v 8.2.10 and 8.2.8..
It would be very great appreciated for you, if it's going to upgrade orgbabelhelper to work with python3x.
I know this is a problem about org-mode table, instead of orgtable-to-dataframe.
But, I'd like to get help from you.
Thanks.
There are string-type numbers in 'id' column originally, but it is always interpreted as numbers by org-babel.
I wonder how keep those leading zeros in org-babel?
id | name | age |
---|---|---|
0001 | Apollo | 16 |
0002 | Bmw | 16 |
#+name: TBL
| id | name | age |
|------|--------|-----|
| 0001 | Apollo | 16 |
| 0002 | Bmw | 16 |
#+BEGIN_SRC python :results output :var tbl=TBL
print(tbl)
#+END_SRC
#+RESULTS:
: [[1, 'Apollo', 16], [2, 'Bmw', 16]]
OS: macOS
Org-version: 9.1.9
plantuml: working
I followed your example in the latex folder
#+BEGIN_SRC plantuml :file svg-sequence1.svg :exports both
' this is a comment
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
John --> Alice: another Authentication Request
Alice --> John: another Authentication Response
#+END_SRC
#+RESULTS:
[[file:svg-sequence1.svg]]
I also included the package \usepackage{svg}
and org export does not render the svg in my pdf. I followed the instructions by exporting the svg file in the same directory as my org file and I also included the svg package. PNG images get rendered but not SVG. After I inspected the .tex
file, I see that there is no inclusion of \includegraphics{svg-sequence1.svg}
, but I do see that line for my png files. Do you know why the SVG does not get added to its tex doc but png images do get added?
These examples are great! Is the best way to use it to just clone from GitHub?
I tried to use conda to install the package but it was unable to find it:
conda install -c dfeich orgbabelhelper
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- orgbabelhelper
Current channels:
- https://conda.anaconda.org/dfeich/win-64
- https://conda.anaconda.org/dfeich/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.