From 0d2de41c99c95a36722a90129e36417e662e6a32 Mon Sep 17 00:00:00 2001 From: Chad Walstrom Date: Sat, 20 Sep 2025 10:50:28 -0500 Subject: [PATCH] docs(org): Warn if makeinfo is missing The "Org Mode" and "Org Guide" documents have broken links. This is due to the `docs` subfolder make process failing for lack of the `makeinfo` binary. This is not a preventable error, but rather a missing dependency requirement on the target operating systems. This update simply documents this with a `doctor.el` update and a single line example on how to fix it in the `README.org`. - modules/lang/org/README.org - modules/lang/org/doctor.el Fixes 5457 --- modules/lang/org/README.org | 1 + modules/lang/org/doctor.el | 3 +++ 2 files changed, 4 insertions(+) diff --git a/modules/lang/org/README.org b/modules/lang/org/README.org index 465814c0f..bff16f197 100644 --- a/modules/lang/org/README.org +++ b/modules/lang/org/README.org @@ -223,6 +223,7 @@ For [[doom-module:+jupyter]], install =jupyterlab= or =jupyter-notebook= ([[http #+begin_src sh apt-get install texlive dvipng apt-get install gnuplot +apt-get install texinfo # for makeinfo binary #+end_src ** NixOS diff --git a/modules/lang/org/doctor.el b/modules/lang/org/doctor.el index b32bfd294..87c396e34 100644 --- a/modules/lang/org/doctor.el +++ b/modules/lang/org/doctor.el @@ -1,6 +1,9 @@ ;; -*- lexical-binding: t; no-byte-compile: t; -*- ;;; lang/org/doctor.el +(unless (executable-find "makeinfo") + (warn! "Couldn't find makeinfo. Org Mode and Org Guide info manuals will not be available.")) + (when (modulep! +gnuplot) (unless (executable-find "gnuplot") (warn! "Couldn't find gnuplot. org-plot/gnuplot will not work")))