1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
emacs/doc
Stefan Monnier 5254c582ef ox-texinfo:: Require only TEXINFO_DIR_CATEGORY
Until now @dircategory/@direntry entries were added only if
both TEXINFO_DIR_CATEGORY and TEXINFO_DIR_TITLE were set.
And the setting of TEXINFO_DIR_TITLE had to be careful to
provide exactly the right syntax.

This patch changes various things in this regard:
- Only require TEXINFO_DIR_CATEGORY in order to generate
  `@dircategory` and `@direntry`.
- Use the document title by default if TEXINFO_DIR_DESC is missing.
- Use the filename by default when TEXINFO_DIR_TITLE is missing.
- Try and make it harder to provide a direntry that does not
  have the right format or refers to a different filename than
  the one we're outputting to.

* lisp/org/ox-texinfo.el: Remove redundant `:group` arguments.
Prefer #' to quote function names.
(org-texinfo-template): Use sane defaults for `@direntry`.

* doc/misc/org.org (Texinfo specific export settings): Adjust accordingly.
2024-03-03 16:57:56 -05:00
..
emacs ; Fix markup in last change (bug#68929). 2024-02-17 18:57:12 +02:00
lispintro Fix info-xref-tests 2024-01-13 20:38:34 +02:00
lispref * doc/lispref/modes.texi (Tabulated List Mode): Unindent example. 2024-03-02 19:12:29 +02:00
man Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
misc ox-texinfo:: Require only TEXINFO_DIR_CATEGORY 2024-03-03 16:57:56 -05:00
translations ; Further copyedits of doc/translations/README. 2024-02-19 15:19:54 +02:00