From: Tim Landscheidt <tim@tim-landscheidt.de>
To: Timothy <tecosaur@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: "DEFINITION NOT FOUND" for footnote in Org manual
Date: Sat, 24 Jul 2021 13:40:49 +0000 [thread overview]
Message-ID: <87y29vsuce.fsf@vagabond.tim-landscheidt.de> (raw)
In-Reply-To: <875yx4rm17.fsf@gmail.com> (Timothy's message of "Wed, 21 Jul 2021 18:36:37 +0800")
Timothy <tecosaur@gmail.com> wrote:
> […]
>> The original footnote seems to have been added with commit
>> e30aed8f0c62e74633f7a0398340f9bd7bdfa3cc (but personally I
>> don't find that text very helpful).
> Do you think it would be more appropriate to update or remove the
> footnote?
AFAIUI, if LANGUAGE is set, for LaTeX export,
org-latex-package-alist *must* also be set/amended, so the
documentation of this relationship cannot be removed.
But some other minor nitpicks with that setting (from a non-
native speaker):
| - =LANGUAGE= ::
| #+cindex: @samp{LANGUAGE}, keyword
| #+vindex: org-export-default-language
| Language to use for translating certain strings
| (~org-export-default-language~). With =#+LANGUAGE: fr=, for
| example, Org translates =Table of contents= to the French =Table des
| matières=[fn:122].
1. "Certain strings" is true, but which ones are they?
Without the second sentence, I couldn't imagine what
strings the documentation is talking about. And does
org-mode change user-supplied occurences of "Table of
contents" to "Table des matières" as well?
2. Neither org-mode nor anything else is /translating/
(how?) those strings. Instead, one chooses the language
for the name of the "Table of contents" section and
others.
| - =LANGUAGE= ::
| #+cindex: @samp{LANGUAGE}, keyword
| #+vindex: org-latex-package-alist
| In order to be effective, the =babel= or =polyglossia=
| packages---according to the LaTeX compiler used---must be loaded
| with the appropriate language as argument. This can be accomplished
| by modifying the =org-latex-package-alist= variable, e.g., with the
| following snippet:
|
| #+begin_src emacs-lisp
| (add-to-list org-latex-package-alist
| '("AUTO" "babel" t ("pdflatex")))
| (add-to-list org-latex-package-alist
| '("AUTO" "polyglossia" t ("xelatex" "lualatex")))
| #+end_src
3. General question: Why can't the requirement be automatic?
E. g., if LANGUAGE != "en", use babel or polyglossia?
4. In org-latex-packages-alist (or
org-latex-default-packages-alist), "AUTO" is not docu-
mented, neither is OPTIONS in general.
5. My (rudimentary) understanding of LaTeX and babel &
Co. is that one needs to use it with something like
"\usepackage[english,german]{babel}". The first sentence
("be loaded with the appropriate language as argument")
seems to confirm that. The second sentence says that
"this" can be accomplished by the following snippet.
However, there does not seem to be any argument that con-
veys a language. Does that happen automatically? I. e.,
does the snippet actually accomplish what it claims to?
(I haven't tested this.)
Tim
prev parent reply other threads:[~2021-07-24 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-11 8:29 Bug: "DEFINITION NOT FOUND" for footnote in Org manual Tim Landscheidt
2021-07-21 10:36 ` Timothy
2021-07-21 15:21 ` Maxim Nikulin
2021-07-21 15:26 ` Timothy
2021-09-01 16:05 ` Maxim Nikulin
2021-09-27 10:03 ` Bastien
2021-07-24 13:40 ` Tim Landscheidt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y29vsuce.fsf@vagabond.tim-landscheidt.de \
--to=tim@tim-landscheidt.de \
--cc=emacs-orgmode@gnu.org \
--cc=tecosaur@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).