The server behind http://orgmode.org website takes care of publishing
Worg into HTML
.
The changes should be available immediately following your git push
.
As soon as you push a commit to the worg git repository on the org server, the publishing process is triggered. You should see the output of the publishing process in your terminal. If there's a problem, you should see the error in this output.
~/worg.git/path/to/file/file.org
,http://orgmode.org/worg/sources/path/to/file/file.org
Please don't use file variables in your org files.
No. The default automated export does not allow code execution on the server for obvious security reasons.
If you absolutely need code execution:
If babel code execution works on your machine, it doesn't mean it will work on the orgmode.org server. Here is the list of available software on orgmode.org:
| Software | Version | |--------------+----------------------------| | GNU Emacs | 23.1.90.1 | | shell | 3.1 | | R | 2.11.1 | | gnuplot-mode | O.6.0 | | gnuplot | 4.4 | | latex | pdfeTeX 3.141592-1.21a-2.2 |
Here is the detailed recipe:
~/.emacs.el
to know about your publishing projects(setq org-export-htmlize-output-type 'css)
in ~/.emacs.el(Do C-h v org-export-htmlize-output-type
for more information
about this. Also C-h v org-export-htmlize-generate-css
might
help.)
~/bin/pull-worg.sh
containing this script:#+BEGIN_SRC sh-mode #!/bin/bash
# unless this is already done elsewhere: export PATH=$PATH:/home/you/bin/
# go to the place where you pull Worg cd /home/you/git/worg/;
# pull worg /home/you/bin/git-pull #+END_SRC
~/bin/publish-worg.sh
containing this script:#+BEGIN_SRC sh-mode #!/bin/bash
# Adapt it to point at your emacs executable home/you/bin/emacs23 --batch -l ~.emacs.el -f org-publish-all #+end_src
#+BEGIN_SRC generic-mode 0 * * * * /home/you/bin/pull-worg.sh >> /dev/null 2>&1 30 * * * * /home/you/bin/publish-worg.sh >> /dev/null 2>&1 #+END_SRC