diff --git a/README.md b/README.md index 5f16e22..41bc629 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 diff --git a/packages/printoptions/init.lua b/packages/printoptions/init.lua index ad1d9fa..18a8dad 100644 --- a/packages/printoptions/init.lua +++ b/packages/printoptions/init.lua @@ -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 diff --git a/printoptions.sile-1.0.0-1.rockspec b/printoptions.sile-1.0.0-1.rockspec new file mode 100644 index 0000000..b55ca7b --- /dev/null +++ b/printoptions.sile-1.0.0-1.rockspec @@ -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", + } +}