Skip to content

Commit

Permalink
chore: Start versioning rocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Omikhleia authored and Didier Willis committed Aug 5, 2023
1 parent f6fe274 commit 4ac46ac
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This package for the [SILE](https://github.com/sile-typesetter/sile) typesetting
system helps tuning image resolution and vector rasterization, as often requested by
professional printers and print-on-demand services.

The package requires Inkscape, GraphicMagick and Ghostscript to be available
The package requires Inkscape, GraphicsMagick and Ghostscript to be available
on your system, and uses them to convert vector files to rasters and to downsize,
if need be, raster images to the targeted resolution.
If they are not available, everything goes as usual, without conversion.
Expand All @@ -30,14 +30,13 @@ These packages require SILE v0.14 or upper.

Installation relies on the **luarocks** package manager.

To install the latest development version, you may use the provided “rockspec”:
To install the latest version, you may use the provided “rockspec”:

```
luarocks --lua-version 5.4 install --server=https://luarocks.org/dev printoptions.sile
luarocks install -printoptions.sile
```

(Adapt to your version of Lua, if need be, and refer to the SILE manual for more
detailed 3rd-party package installation information.)
(Refer to the SILE manual for more detailed 3rd-party package installation information.)

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/printoptions/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Converted images are all placed in a \code{converted} folder besides
the master file. Be cautious not having images with the same base filename
in different folders, to avoid conflicts!
The package requires Inkscape, GraphicMagick and Ghostscript to be available
The package requires Inkscape, GraphicsMagick and Ghostscript to be available
on your system.
Moreover, if the \autodoc:setting{printoptions.image.flatten} setting is
Expand Down
25 changes: 25 additions & 0 deletions printoptions.sile-1.0.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
rockspec_format = "3.0"
package = "printoptions.sile"
version = "1.0.0-1"
source = {
url = "git+https://github.com/Omikhleia/printoptions.sile.git",
tag = "v1.0.0",
}
description = {
summary = "Image tools for professional printers with the SILE typesetting system.",
detailed = [[
This package for the SILE typesetter helps tuning image resolution and vector rasterization,
as often requested by professional printers and print-on-demand services.
]],
homepage = "https://github.com/Omikhleia/printoptions.sile",
license = "MIT",
}
dependencies = {
"lua >= 5.1",
}
build = {
type = "builtin",
modules = {
["sile.packages.printoptions"] = "packages/printoptions/init.lua",
}
}

0 comments on commit 4ac46ac

Please sign in to comment.