Hi eveyrone,

I've recently consolidated all of my course lectures into a single file,
which makes it a lot easier for me to organize and re-organize my notes.

I used to have an org-publish-project-alist like this:

(setq org-publish-project-alist
      '(
        ("courses"
         :components ("dh" "rlg231"))
        ("rlg231"
         :components ("rlg231-lecture-slides" "rlg231-lecture-source"))
        ("dh"
         :components ("digital-history-lecture-slides"
"digital-history-lecture-source"))

        ("rlg231-lecture-slides"
         :base-directory "~/RLG231/Lectures/"
         :base-extension "org"
         :publishing-directory "/ssh:matt@shimano
:/var/www/sandbox/RLG231/Lectures/Slides"
         :recursive t
         :publishing-function mwp-org-reveal-publish-to-html
         :headline-levels 4             ; Just the default for this project.
         :exclude "LectureOutlines.org"
         :exclude-tags note noexport
         :auto-preamble t)

        ("rlg231-lecture-source"
         :base-directory "~/RLG231/Lectures/"
         :base-extension "org"
         :publishing-directory "/ssh:matt@shimano
:/var/www/sandbox/RLG231/Lectures/Source"
         :recursive t
         :publishing-function org-org-publish-to-org
         :preparation-function nil
         :completion-function nil
         :headline-levels 4             ; Just the default for this project.
         :exclude "LecturePlans.org"
         ;; :exclude "LectureOutlines.org"
         :exclude-tags note noexport
         :auto-preamble t)

        ("digital-history-lecture-source"
         :base-directory "~/DH/Lectures"
         :base-extension "org"
         :publishing-directory "/ssh:matt@shimano
:/var/www/sandbox/DigitalHistory/Lectures/Source"
         :recursive t
         :publishing-function org-org-publish-to-org
         :preparation-function
         :completion-function
         :headline-levels 4             ; Just the default for this project.
         ;; :exclude "LecturePlans.org"
         :exclude "LectureOutlines.org"
         :exclude-tags note noexport
         :auto-preamble t)

        ("digital-history-lecture-slides"
         :base-directory "~/DH/Lectures"
         :base-extension "org"
         :publishing-directory "/ssh:matt@shimano
:/var/www/sandbox/DigitalHistory/Lectures/Slides"
         :recursive t
         :publishing-function mwp-org-reveal-publish-to-html
         :preparation-function
         :completion-function
         :headline-levels 4             ; Just the default for this project.
         ;; :exclude "LecturePlans.org"
         :exclude "LectureOutlines.org"
         :exclude-tags note noexport
         :auto-preamble t)
     ))

This worked fine before, but now no longer does what I want it to. Is there
some way to publish all the first-level headlnes from a file as separate
html and org files?  Maybe I need to just generate the org files first and
then run the publishing functions?

Thanks as always,
Matt

Reply via email to