#title: Anand Deopurkar #subtitle: Teaching

These are materials from the courses I have taught.

;; Our pretty-printing function
(let ((previous ""))
  (defun pretty-print ()
    (letrec ((title (org-entry-get nil "ITEM"))
             (year (org-entry-get nil "year"))
             (comment (org-entry-get nil "comment")))
      (format "- %s %s%s"
              (if (equal previous year)
                  "---"
                (setq previous year))
              title
            (if comment
                (format " (%s)" comment)
              "")
            )))
  (string-join (org-map-entries 'pretty-print nil '("../#teaching.org")) "\n"))
Created by Emacs 30.1 (Org mode 9.8-pre). Last modified: 2025-04-05 Sat 14:07. Source