From a6cca49d645d306df765b77269243f34cb9afb64 Mon Sep 17 00:00:00 2001 From: Omikhleia Date: Sun, 17 Mar 2024 22:59:14 +0100 Subject: [PATCH] feat: Add piecharts.sile dependency and documentation --- README.md | 1 + examples/manual-packages/packages.sil | 6 ++++++ examples/sile-resilient-manual.silm | 4 ++-- packages/resilient/styles/init.lua | 2 +- resilient.sile-2.3.0-1.rockspec | 1 + resilient.sile-dev-1.rockspec | 1 + 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 192a5f0..c5ca8c7 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ This collection also imports several modules also provided separately, would you - [Fancy table of contents](https://github.com/Omikhleia/fancytoc.sile) (an alternative two-level table of contents with nice curly braces) - [Textual graphics embedders](https://github.com/Omikhleia/embedders.sile) (support for Graphviz, Lilypond, &c) - [Markdown](https://github.com/Omikhleia/markdown.sile) (support for Markdown, Djot etc.) +- [Pie charts](https://github.com/Omikhleia/piecharts.sile) (support for pie charts) When used with this collection, the Markdown packages and the fancy table of contents are leveraged with additional capabilities. diff --git a/examples/manual-packages/packages.sil b/examples/manual-packages/packages.sil index 85fdf05..2fdf7bc 100644 --- a/examples/manual-packages/packages.sil +++ b/examples/manual-packages/packages.sil @@ -94,6 +94,12 @@ \embedder-documentation{lilypond} +\section{Pie charts} + +\admon{This package is part of the \strong{piecharts.sile} collection.} + +\package-documentation{piecharts} + %%% %%% Book parts and tools %%% diff --git a/examples/sile-resilient-manual.silm b/examples/sile-resilient-manual.silm index da16488..4f697be 100644 --- a/examples/sile-resilient-manual.silm +++ b/examples/sile-resilient-manual.silm @@ -9,9 +9,9 @@ metadata: - book authors: Didier Willis publisher: Omikhleia - pubdate: 2023-10-31 + pubdate: 2024-03-17 url: https://github.com/Omikhleia/resilient.sile - copyright: © 2021–2023, Didier Willis. + copyright: © 2021–2024, Didier Willis. legal: | This material may be distributed only subject to the terms and conditions set forth in the Creative Commons Attribution, Share-Alike License, diff --git a/packages/resilient/styles/init.lua b/packages/resilient/styles/init.lua index 9e6b2a1..78acf16 100644 --- a/packages/resilient/styles/init.lua +++ b/packages/resilient/styles/init.lua @@ -1,7 +1,7 @@ -- -- A style package for SILE -- License: MIT --- 2021-2023, Didier Willis +-- 2021-2024, Didier Willis -- local base = require("packages.base") diff --git a/resilient.sile-2.3.0-1.rockspec b/resilient.sile-2.3.0-1.rockspec index ccff393..6eec085 100644 --- a/resilient.sile-2.3.0-1.rockspec +++ b/resilient.sile-2.3.0-1.rockspec @@ -22,6 +22,7 @@ dependencies = { "fancytoc.sile >= 1.0.1", "labelrefs.sile >= 0.1.0", "printoptions.sile >= 1.0.0", + "piecharts.sile >= 0.2.0", "ptable.sile >= 3.0.0", "qrcode.sile >= 1.0.0", "textsubsuper.sile >= 1.1.1", diff --git a/resilient.sile-dev-1.rockspec b/resilient.sile-dev-1.rockspec index 5e46646..27806b0 100644 --- a/resilient.sile-dev-1.rockspec +++ b/resilient.sile-dev-1.rockspec @@ -21,6 +21,7 @@ dependencies = { "fancytoc.sile", "labelrefs.sile", "printoptions.sile", + "piecharts.sile >= 0.2.0", "ptable.sile", "qrcode.sile", "textsubsuper.sile",