The server behind http://orgmode.org website takes care of publishing
Worg into HTML
.
Export happens in two steps: the first step is to pull Worg repository on the server (this is cron'ed every 20 minutes, starting at 00:00), the second one is to publish the last version of Worg on the website (cron'ed every 20 minutes, starting at 00:10).
So for example, if you push a change in Worg at 00:37, this will be pulled on the server at 00:40 and will appear on the website at 00:50.
The output of both cron jobs are readable here:
Unmodified files are skipped during the process of exporting.
~/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 work on your machine, it doesn't mean it will work on the orgmode.org server. Here is the list of available softwares 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