diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-02 14:48:29 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-03 16:57:56 -0500 |
commit | 5254c582efb3e7171e955dde653e7530d2d3ffef (patch) | |
tree | 3d3ba6364d647e6f06db272d481f3062da4c2b37 /lisp/emacs-lisp/generic.el | |
parent | db7b87867b3002d72444f06110e3625aa8de680e (diff) | |
download | emacs-5254c582efb3e7171e955dde653e7530d2d3ffef.tar.gz emacs-5254c582efb3e7171e955dde653e7530d2d3ffef.tar.bz2 emacs-5254c582efb3e7171e955dde653e7530d2d3ffef.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/generic.el')
0 files changed, 0 insertions, 0 deletions