I call (demo-it-presentation) repeatedly during a presentation, to navigate to arbitrary headers. (I chose not use (demo-it-presentation-advance).) org-tree-slide leaves the buffer narrowed, so demo-it-presentation-section fails.
This solves my problem:
--- /home/cdmojoli/.emacs.d/elpa/demo-it-20211221.2152/demo-it-present.el
+++ #<buffer demo-it-present.el>
@@ -166,6 +166,7 @@
(when (fboundp 'org-tree-slide-mode)
(org-tree-slide-content))
+ (widen)
(goto-char (point-min))
(re-search-forward (format "^\*+ +%s" section))
It works for me, but I have not tested for side effects.