One better than just using Jekyll, today I found a document on Using org to Blog with Jekyll, unfortunately it has a few typos which made getting up to speed with it a pain for me (small amount of knowledge of Jekyll, infinitely small amount of knowledge of Org mode).
The main problems seem to be:
- writing
#_BEGIN_HTML
instead of#+BEGIN_HTML
- not writing
#+END_HTML
at all
Then I was hit by having an out-of-date copy of Org mode — and consequently it was ignoring the body-only publishing directive in my $HOME/.emacs
file, for some reason Org mode was installed on the system, but not in the DPKG database. apt-get install org-mode
fixed that and now I’ve got version 6.34c.
So far it looks promising, far-less crufty than the mix of muse-mode and pyblosxom that is my current publishing method.
Macro tests: 2010-03-15_org-jekyll.org and 2021-11-071 and 2021-11-07 11:26:05.
Can I get ¼" or € or ™ and a formula \(x=\sqrt{b}\) to display? Yes I can if I upgrade from Org mode 6.34c that is distributed with lucid ubuntu to 6.35i. 2 & 3
If \(a^2=b\) and \(b=2\), then the solution must be either \(a=+\sqrt{2}\) or \(a=-\sqrt{2}\).
Refs:
- http://articles.sitepoint.com/article/jekyll-sites-made-simple
- http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/
- search http://www.google.com/search?q=org-mode
Footnotes
1 the ‘date’ macro no longer exists and has been replaced by an equivalent ’time’ macro.
2 moving from Org mode and jekyll to Org mode and hugo and the equations don’t publish as they should – I’ll fix them when I get a #roundtoit
3 some minor syntax changes and the equations publish again