Previous: Sample configuration, Up: Publishing


13.4 Triggering publication

Once properly configured, Org can publish with the following commands:

C-c C-e C
Prompt for a specific project and publish all files that belong to it.
C-c C-e P
Publish the project containing the current file.
C-c C-e F
Publish only the current file.
C-c C-e E
Publish every project.

Org uses timestamps to track when a file has changed. The above functions normally only publish changed files. You can override this and force publishing of all files by giving a prefix argument to any of the commands above, or by customizing the variable org-publish-use-timestamps-flag. This may be necessary in particular if files include other files via #+SETUPFILE: or #+INCLUDE:.