Initial Docker image with HSWro template included
This commit is contained in:
parent
be2d4161e9
commit
3f0974d963
|
|
@ -0,0 +1,15 @@
|
|||
on:
|
||||
push:
|
||||
jobs:
|
||||
build_typst_documents:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: git.hswro.org/fleg/typst:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: find . \( -name '*.typ' \) -exec typst compile {} \;
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
compression-level: 9
|
||||
name: pdfs
|
||||
path: "**/*.pdf"
|
||||
|
|
@ -0,0 +1 @@
|
|||
demo.pdf
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 15.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="Layer_1"
|
||||
x="0px"
|
||||
y="0px"
|
||||
width="787.50098"
|
||||
height="390.228"
|
||||
viewBox="0 0 787.50096 390.22798"
|
||||
enable-background="new 0 0 841.89 595.28"
|
||||
xml:space="preserve"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs19" />
|
||||
<g
|
||||
id="g19"
|
||||
transform="translate(-22.959,-102.526)">
|
||||
<g
|
||||
id="g18">
|
||||
<path
|
||||
d="m 349.085,103.746 h 21.007 v 57.991 h 24.896 v -57.991 h 21.007 v 138.528 h -21.007 v -63.995 h -24.896 v 63.995 h -21.007 z"
|
||||
id="path1" />
|
||||
<path
|
||||
d="m 453.429,103.746 h 24.166 l 25.631,138.528 H 481.98 l -3.814,-24.816 H 452.86 l -3.65,24.816 h -21.331 z m 22.301,97.894 -9.734,-69.024 h -0.889 l -9.814,69.024 z"
|
||||
id="path2" />
|
||||
<path
|
||||
d="m 546.459,243.489 c -2.165,0 -4.499,-0.175 -7.014,-0.525 -2.515,-0.355 -5.029,-1.095 -7.544,-2.23 -2.515,-1.135 -4.919,-2.745 -7.219,-4.829 -2.3,-2.08 -4.324,-4.824 -6.084,-8.229 -1.755,-3.41 -3.165,-7.614 -4.215,-12.613 -1.055,-4.999 -1.585,-10.963 -1.585,-17.882 v -49.072 c 0,-6.974 0.54,-12.938 1.625,-17.882 1.08,-4.949 2.515,-9.114 4.295,-12.493 1.784,-3.375 3.839,-6.069 6.169,-8.069 2.319,-2 4.729,-3.529 7.214,-4.584 2.489,-1.055 4.964,-1.74 7.424,-2.065 2.459,-0.325 4.744,-0.49 6.854,-0.49 5.515,0 10.123,0.77 13.828,2.314 3.704,1.54 6.679,3.649 8.924,6.324 2.239,2.68 3.834,5.799 4.784,9.369 0.944,3.569 1.419,7.354 1.419,11.353 0,2.975 -0.149,5.719 -0.449,8.234 -0.295,2.515 -0.74,5.284 -1.335,8.313 h -17.032 v -7.054 c 0,-7.624 -0.84,-13.328 -2.515,-17.118 -1.68,-3.784 -4.14,-5.674 -7.384,-5.674 -1.945,0 -3.649,0.375 -5.109,1.135 -1.46,0.755 -2.675,2.04 -3.649,3.85 -0.97,1.814 -1.715,4.209 -2.229,7.179 -0.515,2.975 -0.77,6.679 -0.77,11.113 v 63.26 c 0,4.33 0.204,7.924 0.609,10.789 0.405,2.87 1.064,5.164 1.984,6.894 0.92,1.735 2.125,2.96 3.609,3.689 1.49,0.73 3.285,1.095 5.395,1.095 1.35,0 2.649,-0.31 3.895,-0.93 1.239,-0.62 2.335,-1.595 3.284,-2.919 0.945,-1.325 1.705,-3 2.27,-5.029 0.57,-2.03 0.851,-4.419 0.851,-7.179 v -13.543 h 19.227 v 12.813 c 0,11.138 -2.545,19.357 -7.629,24.656 -5.081,5.299 -12.379,7.974 -21.898,8.029 z"
|
||||
id="path3" />
|
||||
<path
|
||||
d="m 592.526,103.746 h 21.007 v 60.505 h 0.646 l 24.011,-60.505 h 20.922 l -26.761,64.965 29.766,73.563 H 639.65 l -25.471,-65.94 h -0.646 v 65.94 h -21.007 z"
|
||||
id="path4" />
|
||||
<path
|
||||
d="m 674.039,103.746 h 51.337 v 16.542 h -30.33 v 41.448 h 23.437 v 16.542 h -23.437 v 47.448 h 31.145 v 16.547 H 674.04 V 103.746 Z"
|
||||
id="path5" />
|
||||
<path
|
||||
d="m 741.361,103.746 h 22.786 c 2.6,0 5.449,0.11 8.559,0.325 3.109,0.215 6.219,0.74 9.328,1.58 3.109,0.84 6.109,2.095 8.999,3.77 2.89,1.68 5.459,3.974 7.709,6.894 2.239,2.92 4.039,6.584 5.389,10.994 1.35,4.404 2.029,9.743 2.029,16.017 v 3.49 c 0,10.543 -1.51,19.127 -4.539,25.751 -3.029,6.624 -7.488,11.393 -13.388,14.313 l 22.227,55.396 h -22.227 l -18.407,-51.827 h -7.868 v 51.827 h -20.597 z m 23.756,71.533 c 3.68,0 6.789,-0.405 9.328,-1.215 2.54,-0.81 4.6,-2.174 6.169,-4.099 1.57,-1.915 2.7,-4.459 3.399,-7.624 0.71,-3.159 1.061,-7.069 1.061,-11.718 v -10.948 c 0,-3.569 -0.33,-6.649 -0.97,-9.249 -0.65,-2.594 -1.75,-4.729 -3.29,-6.404 -1.54,-1.675 -3.579,-2.919 -6.119,-3.734 -2.549,-0.81 -5.739,-1.215 -9.578,-1.215 h -3.159 v 56.206 z"
|
||||
id="path6" />
|
||||
<path
|
||||
d="m 343.731,364.074 c 0,-2.975 0.175,-5.719 0.525,-8.233 0.355,-2.515 0.88,-5.234 1.585,-8.153 h 16.302 v 6.733 c 0,3.729 0.23,7.029 0.69,9.894 0.455,2.87 1.215,5.289 2.27,7.259 1.055,1.975 2.459,3.465 4.219,4.465 1.755,0.999 3.905,1.499 6.444,1.499 4.004,0 7.059,-1.095 9.168,-3.284 2.104,-2.189 3.159,-5.394 3.159,-9.613 0,-2.16 -0.15,-4.149 -0.445,-5.959 -0.295,-1.814 -0.81,-3.609 -1.54,-5.395 -0.73,-1.784 -1.72,-3.664 -2.959,-5.639 -1.245,-1.97 -2.84,-4.175 -4.79,-6.609 l -21.896,-26.036 c -3.895,-4.974 -6.894,-9.988 -9.003,-15.042 -2.11,-5.06 -3.165,-10.449 -3.165,-16.183 0,-4.594 0.72,-8.813 2.149,-12.653 1.435,-3.84 3.505,-7.149 6.209,-9.934 2.7,-2.785 6.039,-4.949 10.014,-6.489 3.975,-1.544 8.479,-2.314 13.503,-2.314 6.114,0 11.208,0.865 15.292,2.6 4.08,1.73 7.339,4 9.773,6.809 2.43,2.814 4.149,5.964 5.149,9.448 1,3.49 1.5,6.989 1.5,10.503 0,2.975 -0.23,5.719 -0.69,8.234 -0.46,2.515 -0.985,5.284 -1.58,8.313 h -16.223 v -6.569 c 0,-7.354 -1.055,-12.988 -3.164,-16.913 -2.11,-3.919 -5.544,-5.879 -10.299,-5.879 -3.949,0 -6.894,1.095 -8.843,3.285 -1.945,2.189 -2.919,5.124 -2.919,8.798 0,1.95 0.15,3.705 0.45,5.274 0.295,1.57 0.73,3.015 1.295,4.339 0.57,1.325 1.26,2.609 2.069,3.854 0.81,1.24 1.73,2.54 2.755,3.89 l 24.416,29.525 c 4.434,5.784 7.839,11.344 10.218,16.667 2.38,5.324 3.569,10.964 3.569,16.907 0,4.925 -0.77,9.359 -2.314,13.304 -1.54,3.949 -3.744,7.299 -6.609,10.058 -2.865,2.755 -6.324,4.88 -10.378,6.364 -4.059,1.49 -8.628,2.234 -13.708,2.234 -6.274,0 -11.478,-0.84 -15.612,-2.515 -4.139,-1.674 -7.439,-3.894 -9.898,-6.653 -2.459,-2.755 -4.189,-5.89 -5.189,-9.408 -0.999,-3.513 -1.499,-7.108 -1.499,-10.783 z"
|
||||
id="path7" />
|
||||
<path
|
||||
d="M 425.793,253.607 H 446.8 c 2.645,0 5.554,0.12 8.719,0.365 3.159,0.24 6.323,0.81 9.488,1.7 3.165,0.895 6.22,2.259 9.163,4.099 2.95,1.84 5.56,4.339 7.829,7.499 2.27,3.165 4.095,7.129 5.475,11.883 1.38,4.759 2.069,10.543 2.069,17.357 v 4.869 c 0,7.404 -0.64,13.744 -1.91,19.018 -1.27,5.274 -2.959,9.709 -5.068,13.303 -2.105,3.595 -4.555,6.475 -7.34,8.639 -2.784,2.16 -5.679,3.8 -8.678,4.904 -3,1.11 -6.029,1.84 -9.084,2.189 -3.055,0.355 -5.934,0.53 -8.639,0.53 H 446.8 v 42.173 h -21.007 z m 22.061,80.942 c 3.779,0 6.974,-0.555 9.568,-1.659 2.595,-1.11 4.665,-2.84 6.204,-5.194 1.54,-2.35 2.65,-5.379 3.324,-9.084 0.676,-3.704 1.016,-8.148 1.016,-13.342 v -12.489 c 0,-4.109 -0.301,-7.664 -0.891,-10.668 -0.6,-3 -1.664,-5.474 -3.204,-7.418 -1.54,-1.945 -3.609,-3.395 -6.204,-4.339 -2.6,-0.945 -5.869,-1.42 -9.813,-1.42 H 446.8 v 65.614 h 1.054 z"
|
||||
id="path8" />
|
||||
<path
|
||||
d="M 516.534,253.607 H 540.7 l 25.631,138.528 H 545.084 L 541.27,367.32 h -25.306 l -3.649,24.815 h -21.332 z m 22.301,97.895 -9.733,-69.024 h -0.89 l -9.813,69.024 z"
|
||||
id="path9" />
|
||||
<path
|
||||
d="m 609.559,393.35 c -2.164,0 -4.499,-0.175 -7.014,-0.524 -2.515,-0.355 -5.029,-1.095 -7.544,-2.229 -2.515,-1.134 -4.919,-2.745 -7.219,-4.829 -2.3,-2.08 -4.324,-4.824 -6.084,-8.229 -1.755,-3.409 -3.164,-7.613 -4.214,-12.612 -1.055,-4.999 -1.585,-10.964 -1.585,-17.883 V 297.97 c 0,-6.974 0.54,-12.938 1.625,-17.882 1.079,-4.949 2.515,-9.114 4.294,-12.493 1.785,-3.375 3.84,-6.069 6.169,-8.069 2.319,-2 4.729,-3.529 7.214,-4.584 2.49,-1.05 4.965,-1.74 7.424,-2.065 2.46,-0.325 4.744,-0.49 6.854,-0.49 5.514,0 10.123,0.77 13.827,2.314 3.705,1.54 6.68,3.649 8.924,6.324 2.239,2.68 3.834,5.799 4.784,9.369 0.945,3.569 1.42,7.354 1.42,11.353 0,2.975 -0.15,5.719 -0.45,8.234 -0.295,2.515 -0.739,5.284 -1.335,8.313 h -17.032 v -7.054 c 0,-7.624 -0.84,-13.328 -2.515,-17.117 -1.68,-3.785 -4.139,-5.674 -7.384,-5.674 -1.944,0 -3.649,0.375 -5.109,1.135 -1.459,0.755 -2.674,2.04 -3.648,3.85 -0.971,1.814 -1.715,4.209 -2.23,7.179 -0.515,2.975 -0.77,6.679 -0.77,11.113 v 63.26 c 0,4.329 0.205,7.924 0.609,10.788 0.405,2.869 1.065,5.164 1.985,6.894 0.92,1.735 2.124,2.96 3.609,3.689 1.489,0.73 3.284,1.095 5.394,1.095 1.351,0 2.65,-0.31 3.895,-0.93 1.24,-0.62 2.335,-1.595 3.285,-2.919 0.944,-1.325 1.704,-3 2.27,-5.029 0.569,-2.03 0.85,-4.42 0.85,-7.179 v -13.543 h 19.227 v 12.813 c 0,11.139 -2.544,19.357 -7.628,24.656 -5.081,5.299 -12.38,7.974 -21.898,8.029 z"
|
||||
id="path10" />
|
||||
<path
|
||||
d="m 655.632,253.607 h 51.337 v 16.542 h -30.33 v 41.448 h 23.437 v 16.543 h -23.437 v 47.447 h 31.145 v 16.547 H 655.633 V 253.607 Z"
|
||||
id="path11" />
|
||||
<path
|
||||
d="m 339.012,410.388 h 11.853 l 5.499,49.332 0.62,11.523 h 1.2 l 1.145,-12.953 8.798,-47.902 h 9.894 l 8.414,47.902 0.955,12.953 h 1.245 l 0.575,-11.523 5.019,-49.332 h 11.903 l -11.423,81.651 h -12.573 l -6.744,-39.248 -2.105,-17.067 h -0.955 l -2.055,17.067 -7.074,39.248 H 350.77 Z"
|
||||
id="path12" />
|
||||
<path
|
||||
d="m 414.93,410.388 h 13.434 c 1.529,0 3.214,0.06 5.043,0.189 1.836,0.125 3.665,0.44 5.5,0.93 1.834,0.495 3.6,1.235 5.304,2.225 1.705,0.99 3.22,2.345 4.544,4.064 1.32,1.72 2.38,3.88 3.18,6.479 0.795,2.595 1.195,5.744 1.195,9.438 v 2.055 c 0,6.219 -0.895,11.278 -2.68,15.183 -1.785,3.905 -4.414,6.714 -7.884,8.438 l 13.098,32.649 h -13.098 l -10.854,-30.55 h -4.64 v 30.55 H 414.93 Z m 14.008,42.163 c 2.17,0 4,-0.24 5.499,-0.715 1.495,-0.48 2.71,-1.285 3.635,-2.415 0.919,-1.135 1.589,-2.629 2.005,-4.494 0.414,-1.864 0.625,-4.169 0.625,-6.909 v -6.453 c 0,-2.105 -0.195,-3.92 -0.575,-5.449 -0.386,-1.53 -1.03,-2.79 -1.935,-3.779 -0.91,-0.985 -2.115,-1.721 -3.609,-2.2 -1.5,-0.475 -3.38,-0.715 -5.645,-0.715 h -1.865 v 33.13 h 1.865 z"
|
||||
id="path13" />
|
||||
<path
|
||||
d="m 483.099,492.754 c -1.31,0 -2.725,-0.1 -4.254,-0.31 -1.53,-0.205 -3.044,-0.645 -4.544,-1.314 -1.495,-0.67 -2.939,-1.615 -4.324,-2.845 -1.385,-1.225 -2.615,-2.845 -3.68,-4.85 -1.07,-2.01 -1.925,-4.489 -2.56,-7.434 -0.64,-2.949 -0.955,-6.464 -0.955,-10.543 v -28.926 c 0,-4.109 0.325,-7.624 0.979,-10.538 0.65,-2.915 1.52,-5.369 2.605,-7.364 1.084,-1.989 2.319,-3.574 3.704,-4.754 1.385,-1.18 2.835,-2.08 4.349,-2.705 1.516,-0.619 3.02,-1.024 4.52,-1.22 1.5,-0.189 2.885,-0.285 4.159,-0.285 1.21,0 2.56,0.091 4.04,0.266 1.479,0.175 2.964,0.555 4.444,1.145 1.484,0.59 2.924,1.47 4.329,2.63 1.399,1.165 2.645,2.744 3.729,4.734 1.08,1.989 1.949,4.464 2.604,7.408 0.649,2.95 0.979,6.51 0.979,10.684 v 28.926 c 0,4.049 -0.335,7.528 -1.005,10.448 -0.67,2.914 -1.545,5.384 -2.629,7.408 -1.085,2.025 -2.335,3.649 -3.755,4.875 -1.415,1.229 -2.864,2.185 -4.35,2.869 -1.479,0.685 -2.954,1.14 -4.419,1.365 -1.466,0.221 -2.786,0.33 -3.966,0.33 z m 0,-9.318 c 1.21,0 2.271,-0.21 3.18,-0.625 0.91,-0.409 1.655,-1.13 2.245,-2.149 0.59,-1.019 1.034,-2.364 1.34,-4.039 0.305,-1.675 0.455,-3.784 0.455,-6.334 v -37.145 c 0,-2.614 -0.15,-4.799 -0.455,-6.554 -0.306,-1.75 -0.75,-3.159 -1.34,-4.229 -0.59,-1.064 -1.335,-1.824 -2.245,-2.27 -0.909,-0.445 -1.97,-0.67 -3.18,-0.67 -1.244,0 -2.324,0.225 -3.249,0.67 -0.925,0.445 -1.689,1.205 -2.295,2.27 -0.609,1.07 -1.06,2.479 -1.365,4.229 -0.305,1.755 -0.454,3.939 -0.454,6.554 v 37.145 c 0,2.55 0.149,4.659 0.454,6.334 0.306,1.675 0.756,3.02 1.365,4.039 0.605,1.02 1.37,1.74 2.295,2.149 0.924,0.415 2.004,0.625 3.249,0.625 z"
|
||||
id="path14" />
|
||||
<path
|
||||
d="m 532.531,492.754 c -1.274,0 -2.649,-0.1 -4.135,-0.31 -1.479,-0.205 -2.964,-0.645 -4.444,-1.314 -1.484,-0.67 -2.899,-1.615 -4.254,-2.845 -1.354,-1.225 -2.55,-2.845 -3.59,-4.85 -1.034,-2.01 -1.859,-4.489 -2.484,-7.434 -0.62,-2.949 -0.93,-6.464 -0.93,-10.543 v -28.926 c 0,-4.109 0.315,-7.624 0.955,-10.538 0.635,-2.915 1.479,-5.369 2.534,-7.364 1.05,-1.989 2.26,-3.574 3.635,-4.754 1.369,-1.18 2.784,-2.08 4.254,-2.705 1.465,-0.619 2.925,-1.024 4.375,-1.22 1.449,-0.189 2.794,-0.285 4.039,-0.285 3.249,0 5.964,0.455 8.148,1.365 2.185,0.905 3.939,2.149 5.26,3.729 1.324,1.574 2.265,3.414 2.819,5.52 0.56,2.104 0.84,4.334 0.84,6.693 0,1.755 -0.09,3.369 -0.265,4.854 -0.176,1.479 -0.44,3.114 -0.79,4.899 H 538.46 v -4.16 c 0,-4.494 -0.494,-7.858 -1.479,-10.088 -0.99,-2.229 -2.439,-3.345 -4.354,-3.345 -1.145,0 -2.149,0.22 -3.01,0.665 -0.859,0.45 -1.579,1.205 -2.149,2.274 -0.574,1.065 -1.015,2.475 -1.314,4.229 -0.305,1.755 -0.455,3.935 -0.455,6.549 v 37.289 c 0,2.55 0.12,4.67 0.36,6.359 0.234,1.689 0.624,3.045 1.169,4.064 0.54,1.02 1.25,1.744 2.125,2.175 0.88,0.43 1.939,0.645 3.18,0.645 0.8,0 1.564,-0.18 2.295,-0.55 0.734,-0.365 1.38,-0.939 1.939,-1.72 0.555,-0.78 1,-1.77 1.335,-2.965 0.335,-1.194 0.505,-2.604 0.505,-4.229 v -7.983 h 11.328 v 7.554 c 0,6.564 -1.5,11.408 -4.494,14.533 -2.997,3.127 -7.3,4.703 -12.91,4.732 z"
|
||||
id="path15" />
|
||||
<path
|
||||
d="m 559.687,465.269 -4.969,3.869 -5.645,-7.408 10.613,-8.509 v -43.648 h 12.238 v 33.8 l 9.419,-7.648 6.214,8.028 -15.633,12.099 v 26.29 h 16.928 v 9.898 h -29.166 v -26.771 z"
|
||||
id="path16" />
|
||||
<path
|
||||
d="m 605.63,410.388 h 14.247 l 15.108,81.651 h -12.528 l -2.244,-14.627 h -14.918 l -2.149,14.627 h -12.573 z m 13.147,57.7 -5.739,-40.684 h -0.524 l -5.784,40.684 z"
|
||||
id="path17" />
|
||||
<path
|
||||
d="m 637.66,410.388 h 11.853 l 5.499,49.332 0.62,11.523 h 1.2 l 1.145,-12.953 8.799,-47.902 h 9.894 l 8.413,47.902 0.955,12.953 h 1.245 l 0.574,-11.523 5.02,-49.332 h 11.903 l -11.424,81.651 h -12.572 l -6.744,-39.248 -2.104,-17.067 h -0.955 l -2.055,17.067 -7.074,39.248 h -12.433 z"
|
||||
id="path18" />
|
||||
</g>
|
||||
<path
|
||||
d="m 289.935,215.068 29.348,-7.342 10.258,-102.661 h -149.189 -5.119 -47.265 l 4.177,150.449 -19.925,-6.374 -8.003,-144.075 H 58.196 55.832 22.959 l 30.935,300.686 0.12,1.149 27.94,19.954 37.489,-18.814 -3.637,-80.055 61.988,27.593 60.44,-27.101 -1.782,38.837 -20.679,10.766 -37.973,-18.447 -40.641,19.52 2.357,86.443 38.321,25.109 121.151,-84.579 16.188,-156.511 -42.928,-8.699 -49.822,15.09 2.747,-81.275 20.829,-3.104 -1.17,37.729 z M 99.372,110.185 107.091,249.073 70.402,258.246 58.604,110.185 Z m -14.965,309.713 -9.711,-110.207 35.882,15.969 3.602,79.296 z m -7.214,-158.075 32.485,-8.121 22.617,7.234 0.545,19.597 z m 141.54,120.489 22.699,-11.818 0.018,-0.372 30.68,14.908 -54.974,34.116 z m -40.946,-16.995 32.333,15.704 -32.323,16.828 -32.337,-17.003 z m 94.71,-119.126 30.213,6.121 -81.11,28.126 0.645,-19.03 z m -52.299,-75.893 -3.132,92.678 0.007,-0.002 -0.842,24.744 93.2,-32.32 -15.292,147.874 -113.787,79.438 v -80.414 l 33.14,-17.255 -1.865,43.565 65.657,-40.751 7.907,-86.037 -104.839,47.008 v -238.64 h 143.535 l -9.339,93.448 -21.951,5.492 3.744,-50.172 -48.063,7.161 v 0.002 z"
|
||||
id="path19" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -0,0 +1,12 @@
|
|||
[package]
|
||||
name = "hswro"
|
||||
version = "0.0.1"
|
||||
authors = ["Michał Rudowicz <michal.rudowicz@hswro.org>"]
|
||||
license = "CC BY-SA 4.0"
|
||||
description = "Typst template for Hackerspace Wrocław (hswro.org)"
|
||||
repository = "https://git.hswro.org/fleg/typst-package"
|
||||
|
||||
keywords = ["hswro"]
|
||||
|
||||
entrypoint = "hswro.typ"
|
||||
compiler = "0.14.2"
|
||||
|
|
@ -0,0 +1,427 @@
|
|||
Attribution-ShareAlike 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution-ShareAlike 4.0 International Public
|
||||
License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution-ShareAlike 4.0 International Public License ("Public
|
||||
License"). To the extent this Public License may be interpreted as a
|
||||
contract, You are granted the Licensed Rights in consideration of Your
|
||||
acceptance of these terms and conditions, and the Licensor grants You
|
||||
such rights in consideration of benefits the Licensor receives from
|
||||
making the Licensed Material available under these terms and
|
||||
conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. BY-SA Compatible License means a license listed at
|
||||
creativecommons.org/compatiblelicenses, approved by Creative
|
||||
Commons as essentially the equivalent of this Public License.
|
||||
|
||||
d. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
e. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
g. License Elements means the license attributes listed in the name
|
||||
of a Creative Commons Public License. The License Elements of this
|
||||
Public License are Attribution and ShareAlike.
|
||||
|
||||
h. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
i. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
j. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
k. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
l. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
m. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. Additional offer from the Licensor -- Adapted Material.
|
||||
Every recipient of Adapted Material from You
|
||||
automatically receives an offer from the Licensor to
|
||||
exercise the Licensed Rights in the Adapted Material
|
||||
under the conditions of the Adapter's License You apply.
|
||||
|
||||
c. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
b. ShareAlike.
|
||||
|
||||
In addition to the conditions in Section 3(a), if You Share
|
||||
Adapted Material You produce, the following conditions also apply.
|
||||
|
||||
1. The Adapter's License You apply must be a Creative Commons
|
||||
license with the same License Elements, this version or
|
||||
later, or a BY-SA Compatible License.
|
||||
|
||||
2. You must include the text of, or the URI or hyperlink to, the
|
||||
Adapter's License You apply. You may satisfy this condition
|
||||
in any reasonable manner based on the medium, means, and
|
||||
context in which You Share Adapted Material.
|
||||
|
||||
3. You may not offer or impose any additional or different terms
|
||||
or conditions on, or apply any Effective Technological
|
||||
Measures to, Adapted Material that restrict exercise of the
|
||||
rights granted under the Adapter's License You apply.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material,
|
||||
including for purposes of Section 3(b); and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
FROM alpine:3.24
|
||||
|
||||
RUN apk add --no-cache nodejs typst git
|
||||
RUN mkdir -p /usr/share/typst/packages/local/hswro/0.0.1/
|
||||
COPY 0.0.1/ /usr/share/typst/packages/local/hswro/0.0.1/
|
||||
ENV TYPST_PACKAGE_PATH /usr/share/typst/packages/
|
||||
WORKDIR /data
|
||||
17
README.md
17
README.md
|
|
@ -1,5 +1,21 @@
|
|||
# Hackerspace Wrocław typst package
|
||||
|
||||
## Using with Docker/Podman
|
||||
|
||||
Docker image lives in HSWro's Forgejo instance here: https://git.hswro.org/fleg/-/packages/container/typst/latest
|
||||
|
||||
Pull it from there:
|
||||
|
||||
```
|
||||
$ podman pull git.hswro.org/fleg/typst:latest
|
||||
```
|
||||
|
||||
Example command line to build the `demo.typ` in current directory:
|
||||
|
||||
```
|
||||
$ podman run --rm -v "$(pwd):/data" --user $(id -u):$(id -g) --userns keep-id typst typst compile demo.typ
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
Clone this repository into your Typst packages directory, but call the checked out repository `hswro`. For example:
|
||||
|
|
@ -11,4 +27,3 @@ Clone this repository into your Typst packages directory, but call the checked o
|
|||
The directory may not exist, you may need to create it first. More info in [the Typst package repository](https://github.com/typst/packages#local-packages). If you're not sure which directory to use, run `typsy info` to see which directory is in use in your system.
|
||||
|
||||
This will not be needed when we publish the package, so bear with us for a moment.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue