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.
- {decasify-0.7.3 → decasify-0.7.5}/Cargo.lock +1 -1
- {decasify-0.7.3 → decasify-0.7.5}/Cargo.toml +1 -1
- {decasify-0.7.3 → decasify-0.7.5}/PKG-INFO +13 -2
- {decasify-0.7.3 → decasify-0.7.5}/README.md +12 -1
- {decasify-0.7.3 → decasify-0.7.5}/build-aux/build.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/pyproject.toml +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/bin/decasify.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/cli.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/content.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/lib.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/lua.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/python.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/types.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/src/wasm.rs +0 -0
- {decasify-0.7.3 → decasify-0.7.5}/tests/cli.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: decasify
|
|
3
|
-
Version: 0.7.
|
|
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
|
[](https://pypi.org/project/decasify)
|
|
34
34
|
[](https://www.npmjs.com/package/decasify)
|
|
35
35
|
|
|
36
|
-
A CLI utility, Rust crate, Lua rock, Python module, JavaScript module,
|
|
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
|
[](https://pypi.org/project/decasify)
|
|
12
12
|
[](https://www.npmjs.com/package/decasify)
|
|
13
13
|
|
|
14
|
-
A CLI utility, Rust crate, Lua rock, Python module, JavaScript module,
|
|
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
|