Package: texlive-luatex
Version: 2025.20250927-4
Severity: minor
Tags: patch
>From "/usr/share/doc/debian/bug-reporting.txt.gz":
Don't file bugs upstream
If you file a bug in Debian, don't send a copy to the upstream software
maintainers yourself, as it is possible that the bug exists only in
Debian. If necessary, the maintainer of the package will forward the
bug upstream.
-.-
I do not send reports upstream if I have to get an account there.
The Debian maintainers have one already.
If I get a negative (or no) response from upstream, I send henceforth
bugs to Debian.
-.-
* What led up to the situation?
Checking for defects with a new version
test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z < "man page"
[Use
grep -n -e ' $' -e '\\~$' -e ' \\f.$' -e ' \\"' <file>
to find (most) trailing spaces.]
["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).
[The fate of "test-nroff" was decided in groff bug #55941.]
* What was the outcome of this action?
Output from "test-groff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ":
troff:<stdin>:458: warning: [page 3, 10.0i (diversion '3tbd4,2', 0.0i)]: cannot
adjust line in b adjust mode; overset by 4.3304n
Output from "test-nroff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ":
troff:<stdin>:450: warning [page 1, line 225, diversion '3tbd3,2', line 1]:
cannot break line in l adjust mode; overset by 2n
troff:<stdin>:458: warning [page 1, line 225, diversion '3tbd4,2', line 1]:
cannot break line in l adjust mode; overset by 7n
troff:<stdin>:498: warning [page 1, line 247, diversion '3tbd2,2', line 1]:
cannot break line in l adjust mode; overset by 3n
* What outcome did you expect instead?
No output (no warnings).
-.-
General remarks and further material, if a diff-file exist, are in the
attachments.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages texlive-luatex depends on:
ii lmodern 2.005-1
ii tex-common 6.19
ii texlive-base 2025.20250927-4
ii texlive-binaries 2025.20250727.75242+ds-4
texlive-luatex recommends no packages.
texlive-luatex suggests no packages.
Versions of packages tex-common depends on:
ii ucf 3.0052
Versions of packages tex-common suggests:
pn debhelper <none>
Versions of packages texlive-luatex is related to:
ii tex-common 6.19
ii texlive-binaries 2025.20250727.75242+ds-4
-- no debconf information
Input file is luaotfload.conf.5
Output from "mandoc -T lint luaotfload.conf.5": (shortened list)
4 STYLE: input text line longer than 80 bytes:
7 WARNING: skipping paragraph macro: sp after SH
1 WARNING: skipping paragraph macro: sp after SS
6 WARNING: unknown font, skipping request: ft C
Find most trailing spaces with:
grep -n -e ' $' -e ' \\f.$' -e ' \\"' <man page>
-.-.
Output from
test-nroff -mandoc -t -ww -z luaotfload.conf.5: (shortened list)
1 cannot break line in l adjust mode; overset by 2n
1 cannot break line in l adjust mode; overset by 3n
1 cannot break line in l adjust mode; overset by 7n
Find most trailing spaces with:
grep -n -e ' $' -e ' \\f.$' -e ' \\"' <man page>
-.-.
Show if generated from reStructuredText or rd2
1:.\" Man page generated from reStructuredText.
677:.\" Generated by docutils manpage writer.
Latest version: docutils (Docutils 0.22.2, Python 3.13.9, on linux)
-.-.
Reduce space between words.
luaotfload.conf.5:131:\fBvariable\-name = value\fP E. g.:
luaotfload.conf.5:286:\fBotf\fP (OpenType format),
luaotfload.conf.5:288:\fBttf\fP and \fBttc\fP (TrueType format),
luaotfload.conf.5:290:\fBafm\fP (Adobe Font Metrics),
luaotfload.conf.5:656:LuaLaTeX mailing list
\fI\%http://tug.org/pipermail/lualatex\-dev/\fP
luaotfload.conf.5:658:LuaTeX \fI\%http://luatex.org/\fP
luaotfload.conf.5:660:Luaotfload on CTAN
\fI\%http://ctan.org/pkg/luaotfload\fP
-.-.
Check for the font name "C" as that is not standard in "groff"
Add
.if \n(.g .ftr C CR"
before ".TH"
54:.ft C
84:.ft C
97:.ft C
122:.ft C
136:.ft C
341:.ft C
-.-.
Strings longer than 3/4 of a standard line length (80).
Use "\:" to split the string at the end of an output line, for example a
long URL (web address).
This is a groff extension.
666
\fI\%http://standards.freedesktop.org/basedir\-spec/basedir\-spec\-latest.html\fP\&.
-.-.
Wrong distance (not two spaces) between sentences in the input file.
Separate the sentences and subordinate clauses; each begins on a new
line. See man-pages(7) ("Conventions for source file layout") and
"info groff" ("Input Conventions").
The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.
Remember coding: Only one command ("sentence") on each (logical) line.
E-mail: Easier to quote exactly the relevant lines.
Generally: Easier to edit the sentence.
Patches: Less unaffected text.
Search for two adjacent words is easier, when they belong to the same line,
and the same phrase.
The amount of space between sentences in the output can then be
controlled with the ".ss" request.
Mark a final abbreviation point as such by suffixing it with "\&".
Some sentences (etc.) do not begin on a new line.
Split (sometimes) lines after a punctuation mark; before a conjunction.
Lines with only one (or two) space(s) between sentences could be split,
so latter sentences begin on a new line.
Use
#!/usr/bin/sh
sed -e '/^\./n' \
-e 's/\([[:alpha:]]\)\. */\1.\n/g' $1
to split lines after a sentence period.
Check result with the difference between the formatted outputs.
See also the attachment "general.bugs"
[List of affected lines removed.]
-.-.
Split lines longer than 80 characters (fill completly
an A4 sized page line on a terminal)
into two or more lines.
Appropriate break points are the end of a sentence and a subordinate
clause; after punctuation marks.
Add "\:" to split the string for the output, "\<newline>" in the source.
Line 179, length 87
type, \fBn\fP for \fInumber\fP, \fBb\fP for \fIboolean\fP\&. A value of
\fBnil\fP means
Line 666, length 84
\fI\%http://standards.freedesktop.org/basedir\-spec/basedir\-spec\-latest.html\fP\&.
Longest line is number 179 with 87 characters
-.-.
No need for '\&' to be in front of a period (.),
if there is a character in front of it.
Remove with "sed -e 's/\(.\)\\&\./\1./g'".
36:\fB\&./luaotfload{.conf,rc}\fP
79:\fB\&./luaotfload.conf\fP and update the font index:
179:type, \fBn\fP for \fInumber\fP, \fBb\fP for \fIboolean\fP\&. A value of
\fBnil\fP means
271:\fBluaotfload\-tool\fP\&. Since the file is only created for convenience
278:When indexing fonts these values are converted to \fBsp\fP\&. In order to
280:points, set \fBdesignsize\-dimen\fP to \fBpt\fP or \fBdd\fP\&.
294:\fBluaotfload\-tool\fP\&. Invalid or duplicate members are ignored; if the
307:option \fB\-\-max\-fonts\fP to \fBluaotfload\-tools\fP\&.
314:as removing \fBlocal\fP from \fBlocation\-precedence\fP\&.
353:an explicit value are set to \fBtrue\fP\&.
469:\fBindex\-file\fP and \fBlookups\-file\fP\&. This is the filename base for
the
551:be configured by specifying a list as the value to \fBanon\-sequence\fP\&.
576:\fBfontloader\fP\&. The most important choices are \fBdefault\fP, which will
596:\fBcontext:~/context/tex/texmf\-context\fP\&. This can be used when
630:userâs home directory which is expected at \fB~/.luaotfloadrc\fP\&.
640:tree, e. g. \fB/home/oenothea/config/luaotfload/\fP\&.
666:\fI\%http://standards.freedesktop.org/basedir\-spec/basedir\-spec\-latest.html\fP\&.
-.-.
Only one space character is after a possible end of sentence
(after a punctuation, that can end a sentence).
[List of affected lines removed.]
-.-.
Remove quotes when there is a printable
but no space character between them
and the quotes are not for emphasis (markup),
for example as an argument to a macro.
luaotfload.conf.5:30:.TH "LUAOTFLOAD.CONF" 5 "2024-12-03" "3.29" "text
processing"
-.-.
Put a (long) web address on a new output line to reduce the posibility of
splitting the address between two output lines.
Or inhibit hyphenation with "\%" in front of the name.
666:\fI\%http://standards.freedesktop.org/basedir\-spec/basedir\-spec\-latest.html\fP\&.
-.-.
Add "\&" after an ellipsis, when it does not end a sentence.
124:\&... section content ...
140: ...
-.-.
Output from "test-groff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ":
troff:<stdin>:458: warning: [page 3, 10.0i (diversion '3tbd4,2', 0.0i)]: cannot
adjust line in b adjust mode; overset by 4.3304n
Output from "test-nroff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ":
troff:<stdin>:450: warning [page 1, line 225, diversion '3tbd3,2', line 1]:
cannot break line in l adjust mode; overset by 2n
troff:<stdin>:458: warning [page 1, line 225, diversion '3tbd4,2', line 1]:
cannot break line in l adjust mode; overset by 7n
troff:<stdin>:498: warning [page 1, line 247, diversion '3tbd2,2', line 1]:
cannot break line in l adjust mode; overset by 3n
-.-
Additionally:
Change ' \-\- ' to ' \(en ', that is an en-dash.
-.-
Table:
Change a one line block to a normal item in a column (avoid breaking a
line).
-.-
Generally:
Split (sometimes) lines after a punctuation mark; before a conjunction.
-.-
--- luaotfload.conf.5 2025-11-04 20:00:43.538861144 +0000
+++ luaotfload.conf.5.new 2025-11-04 20:38:29.482631960 +0000
@@ -40,11 +40,9 @@ luaotfload.conf \- Luaotfload configurat
\fB~/.luaotfloadrc\fP
.UNINDENT
.SH DESCRIPTION
-.sp
The file \fBluaotfload.conf\fP contains configuration options for
\fILuaotfload\fP, a font loading and font management component for LuaTeX.
.SH EXAMPLE
-.sp
A small Luaotfload configuration file with few customizations could
look as follows:
.INDENT 0.0
@@ -103,7 +101,6 @@ luaotfload\-tool \-\-dumpconf > luaotflo
.sp
The result can itself be used as a configuration file.
.SH SYNTAX
-.sp
The configuration file syntax follows the common INI format. For a more
detailed description please refer to the section âCONFIGURATION FILEâ
of \fBgit\-config\fP(1). A brief list of rules is given below:
@@ -121,7 +118,7 @@ by specifying the section title in brack
.nf
.ft C
[some\-section]
-\&... section content ...
+\&...\& section content ...\&
.ft P
.fi
.UNINDENT
@@ -137,7 +134,7 @@ Sections consist of one or more variable
[foo]
bar = baz
quux = xyzzy
- ...
+ ...\&
.ft P
.fi
.UNINDENT
@@ -149,7 +146,6 @@ letters as well as dashes (\fB\-\fP).
.UNINDENT
.UNINDENT
.SH VARIABLES
-.sp
Variables in belong into a configuration section and their values must
be of a certain type. Some of them have further constraints. For
example, the âcolor callbackâ must be a string of one of the values
@@ -220,7 +216,7 @@ location\-precedence
T} T{
s
T} T{
-\fB"system,texmf,local\fP
+\fB"system,texmf,local"\fP
T}
_
T{
@@ -327,7 +323,6 @@ cannot find a requested font. Those who
\fBluaotfload\-tool\fP should unset this flag. This option does not affect
rebuilds due to version mismatch.
.SS Section \fBdefault\-features\fP
-.sp
By default Luaotfload enables \fBnode\fP mode and picks the default font
features that are prescribed in the OpenType standard. This behavior
may be overridden in the \fBdefault\-features\fP section. Global defaults
@@ -446,17 +441,13 @@ T{
index\-file
T} T{
s
-T} T{
-\fB"luaotfload\-names.lua"\fP
-T}
+T} \fB"luaotfload\-names.lua"\fP
_
T{
lookups\-file
T} T{
s
-T} T{
-\fB"luaotfload\-lookup\-cache.lua"\fP
-T}
+T} \fB"luaotfload\-lookup\-cache.lua"\fP
_
.TE
.sp
@@ -467,7 +458,7 @@ the font cache and the font index will b
Inside the index directory, the names of the index file and the font
lookup cache will be derived from the respective values of
\fBindex\-file\fP and \fBlookups\-file\fP\&. This is the filename base for the
-bytecode compiled version as well as \-\- for the index \-\- the gzipped
+bytecode compiled version as well as \(en for the index \(en the gzipped
version.
.SS Section \fBrun\fP
.TS
@@ -494,9 +485,7 @@ T{
color\-callback
T} T{
s
-T} T{
-\fB"post_linebreak_filter"\fP
-T}
+T} \fB"post_linebreak_filter"\fP
_
T{
definer
@@ -549,8 +538,8 @@ the \fB[/path/to/font/foo.ttf]\fP syntax
(\fBfile:foo.ttf\fP). Finally, the request is interpreted as a font name
and retrieved from the index (\fBname:Foo Regular\fP). This behavior can
be configured by specifying a list as the value to \fBanon\-sequence\fP\&.
-Available items are \fBtex\fP, \fBpath\fP, \fBname\fP \-\- representing the
-lookups described above, respectively \-\-, and \fBfile\fP for searching a
+Available items are \fBtex\fP, \fBpath\fP, \fBname\fP \(en representing the
+lookups described above, respectively \(en, and \fBfile\fP for searching a
filename but not an absolute path. Also, \fBmy\fP lookups are valid
values but they should only be used from within TeX documents, because
there is no means of customizing a \fBmy\fP lookups on the command line.
@@ -623,7 +612,6 @@ No one should rely on the mapping betwee
in this mode unless they tightly control all involved versions and are deeply
familiar with the implementation.
.SH FILES
-.sp
Luaotfload only processes the first configuration file it encounters at
one of the search locations. The file name may be either
\fBluaotfload.conf\fP or \fBluaotfloadrc\fP, except for the dotfile in the
@@ -644,7 +632,6 @@ The dotfile.
The \fITEXMF\fP (using kpathsea).
.UNINDENT
.SH SEE ALSO
-.sp
\fBluaotfload\-tool\fP(1), \fBluatex\fP(1), \fBlua\fP(1)
.INDENT 0.0
.IP \(bu 2
@@ -666,7 +653,6 @@ The XDG base specification
\fI\%http://standards.freedesktop.org/basedir\-spec/basedir\-spec\-latest.html\fP\&.
.UNINDENT
.SH AUTHORS
-.sp
\fILuaotfload\fP was developed by the LuaLaTeX dev team
(\fI\%https://github.com/lualatex/\fP). It is currently maintained by the
LaTeX Project Team at \fI\%https://github.com/latex3/luaotfload\fP
Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)
[gn]roff -mandoc -t -ww -b -z -K utf8 <man page>
To find trailing space use
grep -n -e ' $' -e ' \\f.$' -e ' \\"' <man page>
The same goes for man pages that are used as an input.
-.-
For a style guide use
mandoc -T lint
-.-
For general input conventions consult the man page "nroff(7)" (item
"Input conventions") or the Texinfo manual about the same item.
-.-
Any "autogenerator" should check its products with the above mentioned
'groff', 'mandoc', and additionally with 'nroff ...'.
It should also check its input files for too long (> 80) lines.
This is just a simple quality control measure.
The "autogenerator" may have to be corrected to get a better man page,
the source file may, and any additional file may.
Common defects:
Not removing trailing spaces (in in- and output).
The reason for these trailing spaces should be found and eliminated.
"git" has a "tool" to point out whitespace,
see for example "git-apply(1)" and git-config(1)")
Not beginning each input sentence on a new line.
Line length and patch size should thus be reduced.
The script "reportbug" uses 'quoted-printable' encoding when a line is
longer than 1024 characters in an 'ascii' file.
See man-pages(7), item "semantic newline".
-.-
The difference between the formatted output of the original
and patched file can be seen with:
nroff -mandoc <file1> > <out1>
nroff -mandoc <file2> > <out2>
diff -d -u <out1> <out2>
and for groff, using
\"printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - \"
instead of 'nroff -mandoc'
Add the option '-t', if the file contains a table.
Read the output from 'diff -d -u ...' with 'less -R' or similar.
-.-.
If 'man' (man-db) is used to check the manual for warnings,
the following must be set:
The option "-warnings=w"
The environmental variable:
export MAN_KEEP_STDERR=yes (or any non-empty value)
or
(produce only warnings):
export MANROFFOPT="-ww -b -z"
export MAN_KEEP_STDERR=yes (or any non-empty value)
-.-