@@ -5,11 +5,13 @@ local nostd = function ()
55 " 0.13.0" ,
66 " 0.14.0" ,
77 [[
8- Lua stdlib (std.*) is no longer provided by SILE, you may use
9- local std = require("std")
10- in your project directly if needed. Note you may need to install the Lua
11- rock as well since it no longer ships as a dependency.]]
12- )
8+ Lua stdlib (std.*) is no longer provided by SILE. You may use
9+
10+ local std = require("std")
11+
12+ in your project directly if needed. Note you may need to install the Lua rock
13+ as well since it no longer ships as a dependency.
14+ ]] )
1315end
1416-- luacheck: push ignore std
1517--- @diagnostic disable : lowercase-global
@@ -31,12 +33,12 @@ local fluentglobal = function ()
3133 " 0.14.0" ,
3234 " 0.15.0" ,
3335 [[
34- The SILE.fluent object was never more than just an instance of a
35- third party library with no relation the scope of the SILE object.
36- This was even confusing me and marking it awkward to work on
37- SILE-as-a-library. Making it a provided global clarifies whot it
38- is and is not. Maybe someday we'll actually make a wrapper that
39- tracks the state of the document language. ]]
36+ The SILE.fluent object was never more than just an instance of a third party
37+ library with no relation the scope of the SILE object. This was even confusing
38+ me and marking it awkward to work on SILE-as-a-library. Making it a provided
39+ global clarifies whot it is and is not. Maybe someday we'll actually make a
40+ wrapper that tracks the state of the document language.
41+ ]]
4042 )
4143 fluent_once = true
4244end
@@ -52,8 +54,9 @@ local nobaseclass = function ()
5254 " 0.13.0" ,
5355 " 0.14.0" ,
5456 [[
55- The inheritance system for SILE classes has been refactored using a different
56- object model.]]
57+ The inheritance system for SILE classes has been refactored using a different
58+ object model.
59+ ]]
5760 )
5861end
5962SILE .baseClass = setmetatable ({}, {
@@ -89,13 +92,13 @@ local usetypes = function (type)
8992 " 0.15.0" ,
9093 " 0.16.0" ,
9194 ([[
92- In order to keep things tidy internally, more easily allow 3rd party
93- packages to override core functions, and substitute some slow bits
94- with Rust modules, internal types have been moved from the top level
95- SILE global to a types namespace.
95+ In order to keep things tidy internally, more easily allow 3rd party packages
96+ to override core functions, and substitute some slow bits with Rust modules,
97+ internal types have been moved from the top level SILE global to a types
98+ namespace.
9699
97- Please substitute 'SILE.%s()' with 'SILE.types.%s()'.
98- ]] ):format (type , type )
100+ Please substitute 'SILE.%s()' with 'SILE.types.%s()'.
101+ ]] ):format (type , type )
99102 )
100103 return SILE .types [type ]
101104end
@@ -134,13 +137,13 @@ local usetypes2 = function (old, new, type)
134137 " 0.15.0" ,
135138 " 0.16.0" ,
136139 ([[
137- In order to keep things tidy internally, more easily allow 3rd party
138- packages to override core functions, and substitute some slow bits
139- with Rust modules, internal types have been moved from the top level
140- SILE global to a types namespace.
140+ In order to keep things tidy internally, more easily allow 3rd party packages
141+ to override core functions, and substitute some slow bits with Rust modules,
142+ internal types have been moved from the top level SILE global to a types
143+ namespace.
141144
142- Please substitute 'SILE.%s.%s()' with 'SILE.types.%s.%s()'.
143- ]] ):format (old , type , new , type )
145+ Please substitute 'SILE.%s.%s()' with 'SILE.types.%s.%s()'.
146+ ]] ):format (old , type , new , type )
144147 )
145148 return SILE .types [new ][type ]
146149end
@@ -174,7 +177,7 @@ function SILE.doTexlike (doc)
174177 " SILE.processString" ,
175178 " 0.14.0" ,
176179 " 0.16.0" ,
177- [[ Add format argument "sil" to skip content detection and assume SIL input]]
180+ [[ Add format argument "sil" to skip content detection and assume SIL input. ]]
178181 )
179182 return SILE .processString (doc , " sil" )
180183end
@@ -186,14 +189,14 @@ local nopackagemanager = function ()
186189 " 0.13.2" ,
187190 " 0.15.0" ,
188191 [[
189- The built in SILE package manager has been completely deprecated. In its place
190- SILE can now load classes, packages, and other resources installed via
191- LuaRocks. Any SILE package may be published on LuaRocks.org or any private
192- repository. Rocks may be installed to the host system root filesystem, a user
193- directory, or a custom location. Please see the SILE manual for usage
194- instructions. Package authors especially can review the template repository
195- on GitHub for how to create a package.
196- ]]
192+ The built in SILE package manager has been completely deprecated. In its place
193+ SILE can now load classes, packages, and other resources installed via
194+ LuaRocks. Any SILE package may be published on LuaRocks.org or any private
195+ repository. Rocks may be installed to the host system root filesystem, a user
196+ directory, or a custom location. Please see the SILE manual for usage
197+ instructions. Package authors especially can review the template repository
198+ on GitHub for how to create a package.
199+ ]]
197200 )
198201end
199202
0 commit comments