diff options
| -rw-r--r-- | Info/9/3/Planet/img/h5p-logo.svg | 22 | ||||
| -rw-r--r-- | Info/9/3/Planet/img/minerals.png | bin | 0 -> 4158 bytes | |||
| -rw-r--r-- | Info/9/3/Planet/img/minerals.svg | 229 | ||||
| -rw-r--r-- | Info/9/3/Planet/pandoc/include-files.lua | 140 |
4 files changed, 391 insertions, 0 deletions
diff --git a/Info/9/3/Planet/img/h5p-logo.svg b/Info/9/3/Planet/img/h5p-logo.svg new file mode 100644 index 00000000..2eeda59f --- /dev/null +++ b/Info/9/3/Planet/img/h5p-logo.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" width="24" height="24" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 1000 1000" style="enable-background:new 0 0 1000 1000;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:#1D1D1D;}
+ .st1{fill:#FFFFFF;}
+</style>
+<g>
+ <rect class="st0" width="1000" height="1000"/>
+ <g>
+ <path class="st1" d="M880,347.5c-20.1-19.2-50.3-28.5-90.6-28.5H682h-29v73H490.7l-13.3,56.3c11.1-5.2,26.8-9.7,37.7-12.3
+ c10.9-2.6,21.7-1.8,32.3-1.8c36.1,0,65.3,11.2,87.8,33c22.5,21.8,33.7,49.4,33.7,82.5c0,23.3-5.8,45.7-17.3,67.2
+ c-11.6,21.5-28,38.4-49.2,49.7c-7.6,4.1-16,3.8-25.2,10.4H682h29V545h66.1c44.9,0,78.3-10.1,100.2-30.6
+ c21.9-20.5,32.8-48.8,32.8-85.2C910.1,393.8,900.1,366.7,880,347.5z M788.6,460.4c-8.7,7.5-23.8,10.6-45.3,10.6H711v-79h36.8
+ c20.8,0,35,3.8,42.6,11.7c7.5,7.9,11.3,17.1,11.3,28.4C801.7,443.7,797.3,452.9,788.6,460.4z"/>
+ <path class="st1" d="M511.5,499.3c-19.5,0-36.3,11.3-44.4,27.6l-97.6-13.3L413.6,319h-58.3H323v152H206V319H94v358h112V545h117
+ v132h32.3H459c-16.6-6.6-30.8-11.6-42.5-20.4c-11.9-8.9-21.5-19.3-28.9-30.6c-7.4-11.3-13.2-24-18.1-40.9l97.7-14.1
+ c8.1,16.2,24.9,27.3,44.3,27.3c27.4,0,49.6-22.2,49.6-49.6C561,521.5,538.8,499.3,511.5,499.3z"/>
+ </g>
+</g>
+</svg>
diff --git a/Info/9/3/Planet/img/minerals.png b/Info/9/3/Planet/img/minerals.png Binary files differnew file mode 100644 index 00000000..216abb38 --- /dev/null +++ b/Info/9/3/Planet/img/minerals.png diff --git a/Info/9/3/Planet/img/minerals.svg b/Info/9/3/Planet/img/minerals.svg new file mode 100644 index 00000000..6c6a05f2 --- /dev/null +++ b/Info/9/3/Planet/img/minerals.svg @@ -0,0 +1,229 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + viewBox="0 0 512 512" + style="height: 512px; width: 512px;" + version="1.1" + id="svg2" + sodipodi:docname="minerals.svg" + inkscape:version="1.4.3 (0d15f75042, 2025-12-25)" + inkscape:export-filename="minerals.png" + inkscape:export-xdpi="9.375" + inkscape:export-ydpi="9.375" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs2"> + <linearGradient + id="swatch26" + inkscape:swatch="solid"> + <stop + style="stop-color:#000000;stop-opacity:1;" + offset="0" + id="stop26" /> + </linearGradient> + <linearGradient + id="linearGradient24" + inkscape:collect="always"> + <stop + style="stop-color:#07ff00;stop-opacity:1;" + offset="0" + id="stop24" /> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="1" + id="stop25" /> + </linearGradient> + <linearGradient + id="linearGradient22" + inkscape:collect="always"> + <stop + style="stop-color:#07ff00;stop-opacity:1;" + offset="0" + id="stop22" /> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="1" + id="stop23" /> + </linearGradient> + <linearGradient + id="linearGradient20" + inkscape:collect="always"> + <stop + style="stop-color:#07ff00;stop-opacity:1;" + offset="0" + id="stop20" /> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="1" + id="stop21" /> + </linearGradient> + <linearGradient + id="linearGradient18" + inkscape:collect="always"> + <stop + style="stop-color:#07ff00;stop-opacity:1;" + offset="0" + id="stop18" /> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="1" + id="stop19" /> + </linearGradient> + <linearGradient + id="linearGradient16" + inkscape:collect="always"> + <stop + style="stop-color:#07ff00;stop-opacity:1;" + offset="0" + id="stop16" /> + <stop + style="stop-color:#fafffa;stop-opacity:1;" + offset="1" + id="stop17" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient16" + id="linearGradient17" + x1="249.27838" + y1="417.70706" + x2="158.82887" + y2="244.92053" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient18" + id="linearGradient19" + x1="180.97748" + y1="433.49777" + x2="4.8126693" + y2="3.6132617" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient20" + id="linearGradient21" + x1="389.81207" + y1="398.7854" + x2="206.70216" + y2="40.721783" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient22" + id="linearGradient23" + x1="304.86795" + y1="286.40872" + x2="74.763771" + y2="7.4521689" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient24" + id="linearGradient25" + x1="176.20885" + y1="237.95927" + x2="98.498352" + y2="67.254524" + gradientUnits="userSpaceOnUse" /> + </defs> + <sodipodi:namedview + id="namedview2" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:showpageshadow="2" + inkscape:pageopacity="0.0" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" + showgrid="false" + inkscape:zoom="0.96072313" + inkscape:cx="122.30371" + inkscape:cy="244.60741" + inkscape:window-width="1920" + inkscape:window-height="1055" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="0" + inkscape:current-layer="g2" + inkscape:export-bgcolor="#ffffff00" /> + <g + class="" + style="display:inline" + id="g2"> + <g + id="g16" + inkscape:label="sparkel" + style="fill:#acfa80;fill-opacity:1;stroke-width:6;stroke-dasharray:none"> + <path + style="fill:#acfa80;fill-opacity:1;stroke:#000000;stroke-width:6;stroke-dasharray:none;stroke-opacity:1" + d="M 178.17,135.345 165.826,91.355 121.95,77.105 165.926,64.74 180.173,20.864 192.54,64.84 l 43.867,14.263 -43.968,12.35 -14.27,43.892 z" + id="path12" /> + <path + style="fill:#acfa80;fill-opacity:1;stroke:#000000;stroke-width:6;stroke-dasharray:none;stroke-opacity:1" + d="m 392.07,233.288 -9.87,-35.175 -35.077,-11.393 35.153,-9.887 11.393,-35.076 9.886,35.16 35.076,11.402 -35.153,9.87 -11.41,35.1 z" + id="path11" /> + <path + style="fill:#acfa80;fill-opacity:1;stroke:#000000;stroke-width:6;stroke-dasharray:none;stroke-opacity:1" + d="m 109.706,487.256 -7.82,-27.853 -27.776,-9.022 27.838,-7.826 9.02,-27.784 7.83,27.845 27.783,9.03 -27.844,7.82 -9.03,27.79 z" + id="path6" /> + </g> + <path + style="fill:url(#linearGradient25);stroke:#000000;stroke-width:7;stroke-dasharray:none;stroke-opacity:1" + d="m 159.812,255.748 -27.876,-44.267 9.84,-93.413 31.143,62.286 -13.108,75.395 z" + id="path10" + inkscape:label="small left" /> + <g + id="g15" + inkscape:label="big center"> + <path + style="fill:url(#linearGradient23);fill-opacity:1;stroke:#000000;stroke-width:10;stroke-dasharray:none;stroke-opacity:1" + d="m 209.74,322.725 -38.527,-51.62 22.13,-109.025 77.046,-95.052 63.105,85.227 -6.55,105.735 -59.012,60.64 -37.7,-57.373 -20.493,61.468 z" + id="path9" /> + <path + style="fill:#b9fea3;fill-opacity:1;stroke:#000000;stroke-width:7;stroke-dasharray:none;stroke-opacity:1" + d="m 283.33661,181.18546 24.738,-22.858 -28.03,3.85 -11.132,-43.28 -6.558,43.28 -45.345,5.516 45.108,16.17 -5.96,91.92 z" + id="path13" /> + </g> + <g + id="g14" + inkscape:label="right"> + <path + style="fill:url(#linearGradient21);fill-opacity:1;stroke:#000000;stroke-width:10;stroke-dasharray:none;stroke-opacity:1" + d="m 316.309,403.024 -17.02,-2.127 -8.508,-43.624 -14.28,-26.774 91.794,-91.793 31.15,9.825 -13.115,73.764 -70.02,80.728 z" + id="path8" /> + <path + style="fill:#b9fea3;fill-opacity:1;stroke:#000000;stroke-width:7;stroke-dasharray:none;stroke-opacity:1" + d="m 333.75361,361.44046 27.27,-32.52 9.98,-40.923 -25.183,32.52 z" + id="path1" /> + </g> + <g + id="g13" + inkscape:label="left"> + <path + style="fill:url(#linearGradient19);fill-opacity:1;stroke:#000000;stroke-width:10;stroke-dasharray:none;stroke-opacity:1" + d="m 170.646,431.78 -28.97,-2.242 -64.16,-105.39 -4.148,-82.91 78.463,30.34 51.1,67.966 -16.398,62.952 -63.105,-83.046 47.22,112.33 z" + id="path7" /> + <path + d="m 186.63854,402.95197 -63.105,-83.046 47.22,112.33 z" + style="fill:#b9fea3;fill-opacity:1;stroke:#000000;stroke-width:10;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1" + id="path1-3" /> + </g> + <g + id="g12" + inkscape:label="bottom"> + <path + style="fill:url(#linearGradient17);fill-opacity:1;stroke:#000000;stroke-width:10;stroke-dasharray:none;stroke-opacity:1" + d="m 263.396,491.136 -21.303,-131.13 -13.116,127.847 -44.258,-24.593 49.024,-168.947 41.122,67.33 19.665,91.792 -31.134,37.7 z" + id="path2" /> + <path + d="M 265.11945,490.94737 242.89911,360.4819 229.65803,488.78029 265.33931,489.8471 Z" + style="fill:#b9fea3;fill-opacity:1;stroke:#000000;stroke-width:10;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1" + id="path1-6" + sodipodi:nodetypes="ccccc" /> + </g> + </g> +</svg> diff --git a/Info/9/3/Planet/pandoc/include-files.lua b/Info/9/3/Planet/pandoc/include-files.lua new file mode 100644 index 00000000..a42ae1ec --- /dev/null +++ b/Info/9/3/Planet/pandoc/include-files.lua @@ -0,0 +1,140 @@ +--- include-files.lua – filter to include Markdown files +--- +--- Copyright: © 2019–2021 Albert Krewinkel +--- License: MIT – see LICENSE file for details + +-- Module pandoc.path is required and was added in version 2.12 +PANDOC_VERSION:must_be_at_least '2.12' + +local List = require 'pandoc.List' +local path = require 'pandoc.path' +local system = require 'pandoc.system' + +--- Get include auto mode +local include_auto = false +function get_vars (meta) + if meta['include-auto'] then + include_auto = true + end +end + +--- Keep last heading level found +local last_heading_level = 0 +function update_last_level(header) + last_heading_level = header.level +end + +--- Update contents of included file +local function update_contents(blocks, shift_by, include_path) + local update_contents_filter = { + -- Shift headings in block list by given number + Header = function (header) + if shift_by then + header.level = header.level + shift_by + end + return header + end, + -- If image paths are relative then prepend include file path + Image = function (image) + if path.is_relative(image.src) and image.src:sub(1,5) ~= "logos" then + image.src = path.normalize(path.join({include_path, image.src})) + end + return image + end, + -- If tex input paths are relative then prepend include file path + RawBlock = function (el) + io.stderr:write("include-filter: Raw Block found.\n") + -- Only handle tex RawBlocks + if el.format ~= 'tex' then + return el + end + io.stderr:write("include-filter: Raw Tex Block found.\n") + + el.text = el.text:gsub('\\input{([^}]+)}', function(match) + local input_path = match + if path.is_relative(include_path) then + include_path = path.normalize(path.join({include_path, input_path})) + end + + return '\\input{' .. include_path .. '}' + end) + + return el + end, + -- Update path for include-code-files.lua filter style CodeBlocks + CodeBlock = function (cb) + if cb.attributes.include and path.is_relative(cb.attributes.include) then + cb.attributes.include = + path.normalize(path.join({include_path, cb.attributes.include})) + end + return cb + end + } + + return pandoc.walk_block(pandoc.Div(blocks), update_contents_filter).content +end + +--- Filter function for code blocks +local transclude +function transclude (cb) + -- ignore code blocks which are not of class "include". + if not cb.classes:includes 'include' then + return + end + + -- Markdown is used if this is nil. + local format = cb.attributes['format'] + + -- Attributes shift headings + local shift_heading_level_by = 0 + local shift_input = cb.attributes['shift-heading-level-by'] + if shift_input then + shift_heading_level_by = tonumber(shift_input) + else + if include_auto then + -- Auto shift headings + shift_heading_level_by = last_heading_level + end + end + + --- keep track of level before recursion + local buffer_last_heading_level = last_heading_level + + local blocks = List:new() + for line in cb.text:gmatch('[^\n]+') do + if line:sub(1,2) ~= '//' then + local fh = io.open(line) + if not fh then + io.stderr:write("Cannot open file " .. line .. " | Skipping includes\n") + else + -- read file as the given format with global reader options + local contents = pandoc.read( + fh:read '*a', + format, + PANDOC_READER_OPTIONS + ).blocks + last_heading_level = 0 + -- recursive transclusion + contents = system.with_working_directory( + path.directory(line), + function () + return pandoc.walk_block( + pandoc.Div(contents), + { Header = update_last_level, CodeBlock = transclude } + ) + end).content + --- reset to level before recursion + last_heading_level = buffer_last_heading_level + blocks:extend(update_contents(contents, shift_heading_level_by, + path.directory(line))) + fh:close() + end + end + end + return blocks +end + +return { + { Meta = get_vars }, + { Header = update_last_level, CodeBlock = transclude } +} |
