Debian Codegraph @

debian/patches/syntax_error_luatex_man

raw
1 From: Bjarni Ingi Gislason <[email protected]>
2 Date: Wed, 14 Jun 2023 11:42:29 +0200
3 Forwarded: http://tracker.luatex.org/view.php?id=1025
4 Subject: Fix syntax errors in luatex manual page.
5
6 --- a/texk/web2c/man/luatex.man 2023-06-14 04:02:56.000000000 +0000
7 +++ b/texk/web2c/man/luatex.man 2023-06-14 04:23:51.000000000 +0000
8 @@ -5,10 +5,11 @@
9 .if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP
10 .if n .ds TX TeX
11 .if n .ds WB Web
12 -.if t .ds WB W\s-2EB\s0
13 +.if t .ds WB W\s-2EB\s+2
14 .\"=====================================================================
15 .SH NAME
16 -luatex, dviluatex, luahbtex, luajittex, texlua, texluac \- An extended version of TeX using Lua as an embedded scripting language
17 +luatex, dviluatex, luahbtex, luajittex, texlua, texluac \- \
18 +An extended version of TeX using Lua as an embedded scripting language
19 .\"=====================================================================
20 .SH SYNOPSIS
21 .B luatex
22 @@ -44,8 +45,9 @@ interpret all non\-option arguments as a
23
24 Alternatively, if the first non\-option argument begins with a \fB&\fR,
25 the
26 -next word is taken as the \fIFMT\fR to read, overriding all else. Any
27 -remaining arguments are processed as above.
28 +next word is taken as the \fIFMT\fR to read,
29 +overriding all else.
30 +Any remaining arguments are processed as above.
31
32 If no arguments or options are specified, prompt for input.
33
34 @@ -68,7 +70,7 @@ the \*(TX engine.
35 In \fIPDF\fR mode, Lua\*(TX can natively handle the \fIPDF\fR, \fIJPG\fR,
36 \fIJBIG2\fR, and \fIPNG\fR graphics formats. Lua\*(TX cannot include
37 PostScript or Encapsulated PostScript (EPS) graphics files; first convert
38 -them to PDF using \fBepstopdf\fR (1).
39 +them to PDF using \fBepstopdf\fR(1).
40
41 The luajittex variant includes the Lua just-in-time compiler.
42
43 @@ -79,11 +81,14 @@ instead of Lua\*(TX's built-in shaper.
44 .SH "OPTIONS"
45 When the Lua\*(TX executable starts, it looks for the \fB\-\-lua\fR
46 command-line option.
47 -If there is no \fB\-\-lua\fR option, the command line is interpreted in a
48 -similar fashion as in traditional pdf\*(TX and Aleph. But if the option
49 -is present, Lua\*(TX will enter an alternative mode of command-line parsing
50 -in comparison to the standard web2c programs. The presence of \fB--lua\fR
51 -makes most of other options unreliable, because the lua initialization
52 +If there is no \fB\-\-lua\fR option,
53 +the command line is interpreted in a
54 +similar fashion as in traditional pdf\*(TX and Aleph.
55 +But if the option is present,
56 +Lua\*(TX will enter an alternative mode of command-line parsing
57 +in comparison to the standard web2c programs.
58 +The presence of \fB\-\-lua\fR makes most of other options unreliable,
59 +because the lua initialization
60 file can disable kpathsea and/or hook functions into various callbacks.
61 .ig
62 Here is the list of possibly affected switches/functionality, and why:
63 @@ -95,16 +100,21 @@ The lua initialization file.
64 The following two options alter the executable behaviour:
65 .TP
66 .B \-\-luaonly
67 -Start Lua\*(TX as a Lua interpreter. In this mode, it will set Lua's
68 -\fIarg[0]\fR to the found script name, pushing preceding options in
69 +Start Lua\*(TX as a Lua interpreter.
70 +In this mode,
71 +it will set Lua's \fIarg[0]\fR to the found script name,
72 +pushing preceding options in
73 negative values and the rest of the command line in the positive values,
74 -just like the Lua interpreter. Lua\*(TX will exit immediately after
75 -executing the specified Lua script.
76 +just like the Lua interpreter.
77 +Lua\*(TX will exit immediately after executing the specified Lua script.
78 .TP
79 -.BI \-\-luaconly
80 -Start Lua\*(TX as a Lua byte compiler. In this mode, Lua\*(TX is exactly
81 -like \fBluac\fR from the standalone Lua distribution, except that it
82 -does not have the \fB\-l\fR switch, and that it accepts (but ignores)
83 +.B \-\-luaconly
84 +Start Lua\*(TX as a Lua byte compiler.
85 +In this mode,
86 +Lua\*(TX is exactly
87 +like \fBluac\fR from the standalone Lua distribution,
88 +except that it does not have the \fB\-l\fR switch,
89 +and that it accepts (but ignores)
90 the \fB\-\-luaconly\fR switch.
91 .PP
92 Then the regular web2c options:
93 @@ -190,7 +200,6 @@ or \fItfm\fR.
94 .B \-\-nosocket
95 Disable the luasocket (network) library.
96 .TP
97 -.TP
98 .BI "\-\-output\-comment=" STRING
99 In \fIDVI\fR mode, use \fISTRING\fR for the \fIDVI\fR file comment
100 instead of the date. This option is ignored in\fIPDF\fR mode.
101