decasify 0.7.3__tar.gz → 0.7.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -306,7 +306,7 @@ dependencies = [
306
306
 
307
307
  [[package]]
308
308
  name = "decasify"
309
- version = "0.7.3"
309
+ version = "0.7.5"
310
310
  dependencies = [
311
311
  "anyhow",
312
312
  "assert_cmd",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "decasify"
3
- version = "0.7.3"
3
+ version = "0.7.5"
4
4
  authors = ["Caleb Maclennan <caleb@alerque.com>"]
5
5
  edition = "2021"
6
6
  rust-version = "1.73.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: decasify
3
- Version: 0.7.3
3
+ Version: 0.7.5
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Natural Language :: English
@@ -33,7 +33,7 @@ Project-URL: Source Code, https://github.com/alerque/decasify
33
33
  [![PyPi (latest)](https://img.shields.io/pypi/v/decasify?logo=python&color=blue)](https://pypi.org/project/decasify)
34
34
  [![NPM Version](https://img.shields.io/npm/v/decasify?logo=npm&color=blue)](https://www.npmjs.com/package/decasify)
35
35
 
36
- A CLI utility, Rust crate, Lua rock, Python module, JavaScript module, and Neovim plugin to cast strings to title-case (and other cases) according to locale specific style guides including Turkish support.
36
+ A CLI utility, Rust crate, Lua rock, Python module, JavaScript module, Neovim plugin, and SILE package to cast strings to title-case (and other cases) according to locale specific style guides including Turkish support.
37
37
 
38
38
  This project was born out of frustration with authors and editors leaving ALL CAPS TITLES in Markdown sources.
39
39
  No tooling I could find properly supported casting these to title-cased strings (which are more versatile for typesetting purposes).
@@ -239,5 +239,16 @@ vim.b.decasify_locale = "tr"
239
239
  vim.g.decasify_style = "gruber"
240
240
  ```
241
241
 
242
+ ## Use as a SILE package
243
+
244
+ [The SILE Typesetter](https://sile-typesetter.org/) leverages LuaRocks to manage 3rd party packages.
245
+ The [decasify.sile][rock.sile] rock can be installed with `luarocks install decasify.sile`.
246
+ Typically you'll want to adjust the Lua version to match your SILE installation, perhaps with `luarocks --lua $(sile -q <<< SILE.lua_version) install decasify.sile`.
247
+ Additionally you make want to use `--local` to install to your user account instead of the system root, or `--tree lua_modules` to install locally inside a single project.
248
+ Loading it in a SILE document uses the usual `\use[module=package.decasify]` (see notes in the SILE manual about setting package paths if you installed via `--local`).
249
+ Once loaded the package exposes a `\decasify{}` function that can take any combination of `case`, `locale`, and `style` settings and applies the appropriate transformation to the content.
250
+ By default it will track the language of the document content.
251
+
242
252
  [rock]: http://luarocks.org/modules/alerque/decasify
253
+ [rock.sile]: http://luarocks.org/modules/alerque/decasify.sile
243
254
 
@@ -11,7 +11,7 @@
11
11
  [![PyPi (latest)](https://img.shields.io/pypi/v/decasify?logo=python&color=blue)](https://pypi.org/project/decasify)
12
12
  [![NPM Version](https://img.shields.io/npm/v/decasify?logo=npm&color=blue)](https://www.npmjs.com/package/decasify)
13
13
 
14
- A CLI utility, Rust crate, Lua rock, Python module, JavaScript module, and Neovim plugin to cast strings to title-case (and other cases) according to locale specific style guides including Turkish support.
14
+ A CLI utility, Rust crate, Lua rock, Python module, JavaScript module, Neovim plugin, and SILE package to cast strings to title-case (and other cases) according to locale specific style guides including Turkish support.
15
15
 
16
16
  This project was born out of frustration with authors and editors leaving ALL CAPS TITLES in Markdown sources.
17
17
  No tooling I could find properly supported casting these to title-cased strings (which are more versatile for typesetting purposes).
@@ -217,4 +217,15 @@ vim.b.decasify_locale = "tr"
217
217
  vim.g.decasify_style = "gruber"
218
218
  ```
219
219
 
220
+ ## Use as a SILE package
221
+
222
+ [The SILE Typesetter](https://sile-typesetter.org/) leverages LuaRocks to manage 3rd party packages.
223
+ The [decasify.sile][rock.sile] rock can be installed with `luarocks install decasify.sile`.
224
+ Typically you'll want to adjust the Lua version to match your SILE installation, perhaps with `luarocks --lua $(sile -q <<< SILE.lua_version) install decasify.sile`.
225
+ Additionally you make want to use `--local` to install to your user account instead of the system root, or `--tree lua_modules` to install locally inside a single project.
226
+ Loading it in a SILE document uses the usual `\use[module=package.decasify]` (see notes in the SILE manual about setting package paths if you installed via `--local`).
227
+ Once loaded the package exposes a `\decasify{}` function that can take any combination of `case`, `locale`, and `style` settings and applies the appropriate transformation to the content.
228
+ By default it will track the language of the document content.
229
+
220
230
  [rock]: http://luarocks.org/modules/alerque/decasify
231
+ [rock.sile]: http://luarocks.org/modules/alerque/decasify.sile
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes