doc-setup.org (2406B)
1 # SETUPFILE for Org manual 2 3 # Copyright (C) 2021-2024 Free Software Foundation, Inc. 4 # 5 # This file is part of GNU Emacs. 6 # 7 # GNU Emacs is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 3 of the License, or 10 # (at your option) any later version. 11 # 12 # GNU Emacs is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. 19 20 # XXX: We cannot use TODO keyword as a node starts with "TODO". 21 #+todo: REVIEW FIXME | DONE 22 #+property: header-args :eval no 23 #+startup: overview nologdone 24 25 # Use proper quote and backtick for code sections in PDF output 26 # Cf. Texinfo manual 14.2 27 #+texinfo_header: @set txicodequoteundirected 28 #+texinfo_header: @set txicodequotebacktick 29 30 # Contact Info 31 #+texinfo_header: @set MAINTAINERSITE @uref{https://orgmode.org,maintainers webpage} 32 #+texinfo_header: @set MAINTAINER Bastien Guerry 33 #+texinfo_header: @set MAINTAINEREMAIL @email{bzg@gnu.org} 34 #+texinfo_header: @set MAINTAINERCONTACT @uref{mailto:bzg@gnu.org,contact the maintainer} 35 36 #+options: H:4 num:t toc:t author:t \n:nil ::t |:t ^:nil -:t f:t *:t <:t e:t ':t 37 #+options: d:nil todo:nil pri:nil tags:not-in-toc stat:nil broken-links:mark 38 #+select_tags: export 39 #+exclude_tags: noexport 40 41 #+macro: cite @@texinfo:@cite{@@$1@@texinfo:}@@ 42 #+macro: var @@texinfo:@var{@@$1@@texinfo:}@@ 43 44 # The "version" macro extracts "Version" keyword from "org.el". It 45 # returns major.minor version number. This is sufficient since bugfix 46 # releases are not expected to add features and therefore imply manual 47 # modifications. 48 #+macro: version (eval (with-current-buffer (find-file-noselect "../lisp/org.el") (org-with-point-at 1 (if (re-search-forward "Version: +\\([0-9.]+\\)" nil t) (mapconcat #'identity (cl-subseq (split-string (match-string-no-properties 1) "\\.") 0 2) ".") (error "Missing \"Version\" keyword in \"org.el\""))))) 49 50 # The "kbd" macro turns KBD into @kbd{KBD}. Additionally, it 51 # encloses case-sensitive special keys (SPC, RET...) within @key{...}. 52 #+macro: kbd (eval (org-texinfo-kbd-macro $1)) 53