2021-10-02 13:30:24 -04:00
|
|
|
# SETUPFILE for Org manual
|
|
|
|
|
2023-01-01 05:31:12 -05:00
|
|
|
# Copyright (C) 2021-2023 Free Software Foundation, Inc.
|
2021-10-02 13:30:24 -04:00
|
|
|
#
|
|
|
|
# This file is part of GNU Emacs.
|
|
|
|
#
|
|
|
|
# GNU Emacs is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
2019-03-18 21:12:37 -04:00
|
|
|
|
|
|
|
# XXX: We cannot use TODO keyword as a node starts with "TODO".
|
|
|
|
#+todo: REVIEW FIXME | DONE
|
|
|
|
#+property: header-args :eval no
|
|
|
|
#+startup: overview nologdone
|
|
|
|
|
|
|
|
# Use proper quote and backtick for code sections in PDF output
|
|
|
|
# Cf. Texinfo manual 14.2
|
|
|
|
#+texinfo_header: @set txicodequoteundirected
|
|
|
|
#+texinfo_header: @set txicodequotebacktick
|
|
|
|
|
|
|
|
# Contact Info
|
|
|
|
#+texinfo_header: @set MAINTAINERSITE @uref{https://orgmode.org,maintainers webpage}
|
2020-02-12 11:41:29 -05:00
|
|
|
#+texinfo_header: @set MAINTAINER Bastien Guerry
|
|
|
|
#+texinfo_header: @set MAINTAINEREMAIL @email{bzg@gnu.org}
|
|
|
|
#+texinfo_header: @set MAINTAINERCONTACT @uref{mailto:bzg@gnu.org,contact the maintainer}
|
2019-03-18 21:12:37 -04:00
|
|
|
|
|
|
|
#+options: H:4 num:t toc:t author:t \n:nil ::t |:t ^:nil -:t f:t *:t <:t e:t ':t
|
|
|
|
#+options: d:nil todo:nil pri:nil tags:not-in-toc stat:nil broken-links:mark
|
|
|
|
#+select_tags: export
|
|
|
|
#+exclude_tags: noexport
|
|
|
|
|
|
|
|
#+macro: cite @@texinfo:@cite{@@$1@@texinfo:}@@
|
|
|
|
#+macro: var @@texinfo:@var{@@$1@@texinfo:}@@
|
|
|
|
|
|
|
|
# The "version" macro extracts "Version" keyword from "org.el". It
|
|
|
|
# returns major.minor version number. This is sufficient since bugfix
|
|
|
|
# releases are not expected to add features and therefore imply manual
|
|
|
|
# modifications.
|
|
|
|
#+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\"")))))
|
|
|
|
|
2019-11-12 08:44:05 -05:00
|
|
|
# The "kbd" macro turns KBD into @kbd{KBD}. Additionally, it
|
2019-03-18 21:12:37 -04:00
|
|
|
# encloses case-sensitive special keys (SPC, RET...) within @key{...}.
|
2022-01-31 18:45:37 -05:00
|
|
|
#+macro: kbd (eval (org-texinfo-kbd-macro $1))
|
2019-03-18 21:12:37 -04:00
|
|
|
|