From 7889328076c19f79f2be357a360025ccf75e66cf Mon Sep 17 00:00:00 2001 From: Dhruva Sambrani <44899822+DhruvaSambrani@users.noreply.github.com> Date: Tue, 29 Nov 2022 18:44:11 +0530 Subject: [PATCH] Update v0.4.0 \## New Features: - Inbuilt changing content and style of inline citations via `style_citations` - `apply_css_fixes` now allows you to turn off certain fixes \## Fixes - Tiny UI fixes - allow break-inside for reference list --- Manifest.toml | 34 +++++------ Project.toml | 2 +- docs/Manifest.toml | 42 +++++++------- docs/src/example.html | 10 ++-- examples/notebook.jl | 68 +++++++++++++++------- src/PlutoReport.jl | 53 ++++++++--------- src/references.jl | 128 ++++++++++++++++++++++++++++++++++++------ 7 files changed, 228 insertions(+), 109 deletions(-) diff --git a/Manifest.toml b/Manifest.toml index dc12c80..75dc0b0 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -1,6 +1,6 @@ # This file is machine-generated - editing it directly is not advised -julia_version = "1.8.2" +julia_version = "1.8.3" manifest_format = "2.0" project_hash = "73079b8eb332c5740c784bcfc9140e840924e18b" @@ -38,9 +38,9 @@ uuid = "f1be7e48-bf82-45af-a471-ae754a193061" version = "0.2.19" [[deps.BitFlags]] -git-tree-sha1 = "84259bb6172806304b9101094a7cc4bc6f56dbc6" +git-tree-sha1 = "43b1a4a8f797c1cddadf60499a8a077d4af2cd2d" uuid = "d1d4a3ce-64b1-5f1a-9ba4-7e7e69966f35" -version = "0.1.5" +version = "0.1.7" [[deps.CodecZlib]] deps = ["TranscodingStreams", "Zlib_jll"] @@ -56,9 +56,9 @@ version = "0.11.4" [[deps.Compat]] deps = ["Dates", "LinearAlgebra", "UUIDs"] -git-tree-sha1 = "3ca828fe1b75fa84b021a7860bd039eaea84d2f2" +git-tree-sha1 = "00a2cccc7f098ff3b66806862d275ca3db9e6e5a" uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" -version = "4.3.0" +version = "4.5.0" [[deps.CompilerSupportLibraries_jll]] deps = ["Artifacts", "Libdl"] @@ -97,9 +97,9 @@ version = "0.8.4" [[deps.HTTP]] deps = ["Base64", "CodecZlib", "Dates", "IniFile", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"] -git-tree-sha1 = "8c7e6b82abd41364b8ffe40ffc63b33e590c8722" +git-tree-sha1 = "e1acc37ed078d99a714ed8376446f92a5535ca65" uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" -version = "1.5.3" +version = "1.5.5" [[deps.Hyperscript]] deps = ["Test"] @@ -142,9 +142,9 @@ version = "0.21.3" [[deps.JSON3]] deps = ["Dates", "Mmap", "Parsers", "SnoopPrecompile", "StructTypes", "UUIDs"] -git-tree-sha1 = "65edf3850efb9cb4ca3b0bf488e29c6c38a23d2d" +git-tree-sha1 = "84b10656a41ef564c39d2d477d7236966d2b5683" uuid = "0f8b85d8-7281-11e9-16c2-39a750bddbf1" -version = "1.11.1" +version = "1.12.0" [[deps.JSONSchema]] deps = ["HTTP", "JSON", "URIs"] @@ -189,9 +189,9 @@ uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" [[deps.LoggingExtras]] deps = ["Dates", "Logging"] -git-tree-sha1 = "5d4d2d9904227b8bd66386c1138cf4d5ffa826bf" +git-tree-sha1 = "cedb76b37bc5a6c702ade66be44f831fa23c681e" uuid = "e6f89c97-d47a-5376-807f-9c37f3926c36" -version = "0.4.9" +version = "1.0.0" [[deps.MIMEs]] git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb" @@ -231,9 +231,9 @@ version = "0.3.20+0" [[deps.OpenSSL]] deps = ["BitFlags", "Dates", "MozillaCACerts_jll", "OpenSSL_jll", "Sockets"] -git-tree-sha1 = "5628f092c6186a80484bfefdf89ff64efdaec552" +git-tree-sha1 = "df6830e37943c7aaa10023471ca47fb3065cc3c4" uuid = "4d8831e6-92b7-49fb-bdf8-b643e874388c" -version = "1.3.1" +version = "1.3.2" [[deps.OpenSSL_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] @@ -248,9 +248,9 @@ version = "1.4.1" [[deps.Parsers]] deps = ["Dates", "SnoopPrecompile"] -git-tree-sha1 = "cceb0257b662528ecdf0b4b4302eb00e767b38e7" +git-tree-sha1 = "b64719e8b4504983c7fca6cc9db3ebc8acc2a4d6" uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" -version = "2.5.0" +version = "2.5.1" [[deps.Pkg]] deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] @@ -358,9 +358,9 @@ uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775" version = "0.1.6" [[deps.URIs]] -git-tree-sha1 = "e59ecc5a41b000fa94423a578d29290c7266fc10" +git-tree-sha1 = "ac00576f90d8a259f2c9d823e91d1de3fd44d348" uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" -version = "1.4.0" +version = "1.4.1" [[deps.UUIDs]] deps = ["Random", "SHA"] diff --git a/Project.toml b/Project.toml index 01b219b..f8167a6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PlutoReport" uuid = "ab5eb977-4f23-42a0-954d-2743fb6218c4" authors = ["Dhruva Sambrani <44899822+DhruvaSambrani@users.noreply.github.com>"] -version = "0.3.0" +version = "0.4.0" [deps] Bibliography = "f1be7e48-bf82-45af-a471-ae754a193061" diff --git a/docs/Manifest.toml b/docs/Manifest.toml index 35ae3a4..d8fe052 100644 --- a/docs/Manifest.toml +++ b/docs/Manifest.toml @@ -1,6 +1,6 @@ # This file is machine-generated - editing it directly is not advised -julia_version = "1.8.2" +julia_version = "1.8.3" manifest_format = "2.0" project_hash = "b040565e2da45dca130d51b23d3150d740fc31cb" @@ -37,9 +37,9 @@ uuid = "c9fd44ac-77b5-486c-9482-9798bd063cc6" version = "0.1.5" [[deps.BitFlags]] -git-tree-sha1 = "629c6e4a7be8f427d268cebef2a5e3de6c50d462" +git-tree-sha1 = "43b1a4a8f797c1cddadf60499a8a077d4af2cd2d" uuid = "d1d4a3ce-64b1-5f1a-9ba4-7e7e69966f35" -version = "0.1.6" +version = "0.1.7" [[deps.CodecZlib]] deps = ["TranscodingStreams", "Zlib_jll"] @@ -74,9 +74,9 @@ uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" [[deps.Deno_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] -git-tree-sha1 = "970da1e64a94f13b51c81691c376a1d5a83a0b3c" +git-tree-sha1 = "64cb698de672b627f887ced4b2a722d217e73c10" uuid = "04572ae6-984a-583e-9378-9577a1c2574d" -version = "1.20.4+0" +version = "1.28.1+0" [[deps.Distributed]] deps = ["Random", "Serialization", "Sockets"] @@ -156,9 +156,9 @@ version = "1.3.0" [[deps.HTTP]] deps = ["Base64", "CodecZlib", "Dates", "IniFile", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"] -git-tree-sha1 = "8c7e6b82abd41364b8ffe40ffc63b33e590c8722" +git-tree-sha1 = "e1acc37ed078d99a714ed8376446f92a5535ca65" uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" -version = "1.5.3" +version = "1.5.5" [[deps.HypertextLiteral]] deps = ["Tricks"] @@ -246,9 +246,9 @@ uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" [[deps.LoggingExtras]] deps = ["Dates", "Logging"] -git-tree-sha1 = "5d4d2d9904227b8bd66386c1138cf4d5ffa826bf" +git-tree-sha1 = "cedb76b37bc5a6c702ade66be44f831fa23c681e" uuid = "e6f89c97-d47a-5376-807f-9c37f3926c36" -version = "0.4.9" +version = "1.0.0" [[deps.MIMEs]] git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb" @@ -294,9 +294,9 @@ version = "0.3.20+0" [[deps.OpenSSL]] deps = ["BitFlags", "Dates", "MozillaCACerts_jll", "OpenSSL_jll", "Sockets"] -git-tree-sha1 = "5628f092c6186a80484bfefdf89ff64efdaec552" +git-tree-sha1 = "df6830e37943c7aaa10023471ca47fb3065cc3c4" uuid = "4d8831e6-92b7-49fb-bdf8-b643e874388c" -version = "1.3.1" +version = "1.3.2" [[deps.OpenSSL_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] @@ -316,9 +316,9 @@ version = "10.40.0+0" [[deps.Parsers]] deps = ["Dates", "SnoopPrecompile"] -git-tree-sha1 = "cceb0257b662528ecdf0b4b4302eb00e767b38e7" +git-tree-sha1 = "b64719e8b4504983c7fca6cc9db3ebc8acc2a4d6" uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" -version = "2.5.0" +version = "2.5.1" [[deps.Pkg]] deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] @@ -327,15 +327,15 @@ version = "1.8.0" [[deps.Pluto]] deps = ["Base64", "Configurations", "Dates", "Distributed", "FileWatching", "FuzzyCompletions", "HTTP", "HypertextLiteral", "InteractiveUtils", "Logging", "MIMEs", "Markdown", "MsgPack", "Pkg", "PrecompileSignatures", "REPL", "RegistryInstances", "RelocatableFolders", "Sockets", "TOML", "Tables", "URIs", "UUIDs"] -git-tree-sha1 = "c3f344a915bc1d67455ecc5e38f4a184ffc4ad96" +git-tree-sha1 = "43d4448b5a568ee4bca8c77d6af2cedd721999f6" uuid = "c3e4b0f8-55cb-11ea-2926-15256bba5781" -version = "0.19.14" +version = "0.19.16" [[deps.PlutoSliderServer]] deps = ["AbstractPlutoDingetjes", "Base64", "BetterFileWatching", "Configurations", "Distributed", "FromFile", "Git", "GitHubActions", "Glob", "HTTP", "JSON", "Logging", "Pkg", "Pluto", "SHA", "Sockets", "TOML", "TerminalLoggers", "UUIDs"] -git-tree-sha1 = "f5ddc0e2e3cc50c0a9a1e48b4c527cf402ad9640" +git-tree-sha1 = "b326c3bbacaae704c1fe0c94d1d7b00e492de70e" uuid = "2fc8631c-6f24-4c5b-bca7-cbb509c42db4" -version = "0.3.18" +version = "0.3.19" [[deps.PrecompileSignatures]] git-tree-sha1 = "18ef344185f25ee9d51d80e179f8dad33dc48eb1" @@ -374,9 +374,9 @@ version = "0.1.0" [[deps.RelocatableFolders]] deps = ["SHA", "Scratch"] -git-tree-sha1 = "22c5201127d7b243b9ee1de3b43c408879dff60f" +git-tree-sha1 = "90bc7a7c96410424509e4263e277e43250c05691" uuid = "05181044-ff0b-4ac5-8273-598c1e38db00" -version = "0.3.0" +version = "1.0.0" [[deps.Requires]] deps = ["UUIDs"] @@ -454,9 +454,9 @@ uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775" version = "0.1.6" [[deps.URIs]] -git-tree-sha1 = "e59ecc5a41b000fa94423a578d29290c7266fc10" +git-tree-sha1 = "ac00576f90d8a259f2c9d823e91d1de3fd44d348" uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" -version = "1.4.0" +version = "1.4.1" [[deps.UUIDs]] deps = ["Random", "SHA"] diff --git a/docs/src/example.html b/docs/src/example.html index 7d4c95c..ec4aa87 100644 --- a/docs/src/example.html +++ b/docs/src/example.html @@ -5,15 +5,15 @@ - -