Add some basic agenda view support.

If `org-ehtml-allow-agenda' is non-nil then org-ehtml supports exporting
agenda views.

- /agenda/(day|week|fortnight|month|year) :: For `org-agenda-list'
- /agenda/todo :: For `org-todo-list'
- /agenda/tags/(todo/)MATCH :: for `org-tags-view'

* src/org-ehtml-server.el (org-ehtml-allow-agenda): New variable.
  (org-ehtml-serve-file): Support agenda views.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Support /agenda/(day|...)/DATE.

E.g., /agenda/day/2013-11-11 will show the agenda for <2013-11-11 Mon>.

* src/org-ehtml-server.el (org-ehtml-serve-file): Support params for
  `org-agenda-list'.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Add support for /agenda/NATNUMP.

Displays the specified amount of dates.

* src/org-ehtml-server.el (org-ehtml-serve-file): Support natnum cmd.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Typeset LaTeX after save.

It only works if MathJax is already loaded.  To fix this either MathJax
could be loaded
dynamically (http://docs.mathjax.org/en/latest/dynamic.html) or org-mode
could be changed to always include it for ehtml documents.

* src/ox-ehtml.js (save_changes): Queue div for typesetting.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Fix "File Not Found" after export.

When `org-ehtml-cached' exports the file make sure the full path is
returned.  This prevents 404 errors when the html file is generated.

* src/ox-ehtml.el (org-ehtml-cached): Expand file name.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Merge pull request #3 from ruediger/agenda

Add some basic agenda view support.
Merge pull request #4 from ruediger/mathjax

Typeset LaTeX after save.
Merge pull request #5 from ruediger/fix-gen-file-not-found

Fix "File Not Found" after export.
Don't show agendas by default

Because this behavior may be unexpected to those simply using org-ehtml
to display editable files, because it could overlap file paths, and
because it may expose more information about the running Emacs process
than the user anticipates.

* src/org-ehtml-server.el (org-ehtml-allow-agenda): Default to nil.
README: Add entry for the Agenda View.

* README (Agenda View): New entry.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Agenda View: Provide hints on error page.

* src/org-ehtml-server.el (org-ehtml-serve-file): Provide hints if
  agenda command is unknown.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Merge pull request #6 from ruediger/agenda2

README: Agenda