Add forbidden gloves and better font
This commit is contained in:
parent
433597a7ac
commit
411d2f454b
3 changed files with 153 additions and 16 deletions
2
epi.typ
2
epi.typ
|
@ -10,7 +10,7 @@
|
|||
|
||||
|
||||
libepi.card(name: "Perceuse à colonne", instructions: "", protection_items:
|
||||
(libepi.Gloves,), warning: [Ne surtout pas mettre de gants]),
|
||||
(libepi.NoGloves,), warning: [Ne surtout pas mettre de gants]),
|
||||
)
|
||||
|
||||
#show: doc => [
|
||||
|
|
140
imgs/OBLIGATION/INTERDICTION-gants.svg
Normal file
140
imgs/OBLIGATION/INTERDICTION-gants.svg
Normal file
|
@ -0,0 +1,140 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="623.622"
|
||||
height="623.622"
|
||||
viewBox="0 0 623.622 623.622"
|
||||
version="1.1"
|
||||
id="svg10"
|
||||
sodipodi:docname="INTERDICTION-gants.svg"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview10"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="0.90599753"
|
||||
inkscape:cx="332.23049"
|
||||
inkscape:cy="323.95232"
|
||||
inkscape:window-width="1366"
|
||||
inkscape:window-height="738"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg10" />
|
||||
<defs
|
||||
id="defs2">
|
||||
<clipPath
|
||||
id="clip-0">
|
||||
<path
|
||||
clip-rule="nonzero"
|
||||
d="M 0 0 L 623.621094 0 L 623.621094 623.621094 L 0 623.621094 Z M 0 0 "
|
||||
id="path1" />
|
||||
</clipPath>
|
||||
<clipPath
|
||||
id="clip-1">
|
||||
<path
|
||||
clip-rule="nonzero"
|
||||
d="M 137 6 L 623.621094 6 L 623.621094 623.621094 L 137 623.621094 Z M 137 6 "
|
||||
id="path2" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
<path
|
||||
fill-rule="nonzero"
|
||||
fill="rgb(17.745972%, 44.17572%, 75.68512%)"
|
||||
fill-opacity="1"
|
||||
d="M 595.277344 311.8125 C 595.277344 468.363281 468.363281 595.277344 311.808594 595.277344 C 155.257812 595.277344 28.34375 468.363281 28.34375 311.8125 C 28.34375 155.257812 155.257812 28.347656 311.808594 28.347656 C 468.363281 28.347656 595.277344 155.257812 595.277344 311.8125 "
|
||||
id="path3" />
|
||||
<path
|
||||
fill="none"
|
||||
stroke-width="1"
|
||||
stroke-linecap="butt"
|
||||
stroke-linejoin="miter"
|
||||
stroke="rgb(100%, 100%, 100%)"
|
||||
stroke-opacity="1"
|
||||
stroke-miterlimit="10"
|
||||
d="M 0.00164375 -0.0014 C 0.00164375 -156.552181 -126.912419 -283.466244 -283.467106 -283.466244 C -440.017888 -283.466244 -566.93195 -156.552181 -566.93195 -0.0014 C -566.93195 156.553287 -440.017888 283.463444 -283.467106 283.463444 C -126.912419 283.463444 0.00164375 156.553287 0.00164375 -0.0014 Z M 0.00164375 -0.0014 "
|
||||
transform="matrix(1, 0, 0, -1, 595.2757, 311.8111)"
|
||||
id="path4" />
|
||||
<g
|
||||
clip-path="url(#clip-0)"
|
||||
id="g5">
|
||||
<path
|
||||
fill="none"
|
||||
stroke-width="2"
|
||||
stroke-linecap="butt"
|
||||
stroke-linejoin="miter"
|
||||
stroke="rgb(13.729858%, 12.159729%, 12.548828%)"
|
||||
stroke-opacity="1"
|
||||
stroke-miterlimit="10"
|
||||
d="M 0.00058125 -0.0014 C 0.00058125 -160.466244 -130.085356 -290.552181 -290.5502 -290.552181 C -451.01895 -290.552181 -581.104887 -160.466244 -581.104887 -0.0014 C -581.104887 160.46735 -451.01895 290.549381 -290.5502 290.549381 C -130.085356 290.549381 0.00058125 160.46735 0.00058125 -0.0014 Z M 0.00058125 -0.0014 "
|
||||
transform="matrix(1, 0, 0, -1, 602.3627, 311.8111)"
|
||||
id="path5" />
|
||||
</g>
|
||||
<path
|
||||
fill-rule="nonzero"
|
||||
fill="rgb(17.745972%, 44.17572%, 75.68512%)"
|
||||
fill-opacity="1"
|
||||
d="M 488.449219 314.597656 L 513.640625 228.625 C 516.621094 218.449219 510.785156 207.78125 500.609375 204.804688 C 490.433594 201.824219 479.769531 207.660156 476.789062 217.835938 L 453.367188 297.769531 L 489.019531 176.089844 C 492 165.914062 486.164062 155.246094 475.988281 152.265625 C 465.8125 149.289062 455.144531 155.121094 452.167969 165.296875 L 418.636719 279.730469 C 418.398438 279.605469 418.15625 279.484375 417.917969 279.359375 L 457.480469 144.339844 C 460.457031 134.164062 454.625 123.5 444.449219 120.519531 C 434.269531 117.539062 423.605469 123.375 420.625 133.550781 L 382.882812 262.363281 C 382.621094 262.25 382.359375 262.136719 382.097656 262.023438 L 413.535156 154.136719 C 416.511719 143.957031 410.675781 133.292969 400.503906 130.3125 C 390.324219 127.332031 379.660156 133.167969 376.679688 143.34375 L 345.820312 249.253906 C 345.765625 249.238281 345.714844 249.222656 345.660156 249.210938 L 250.613281 471.625 C 250.613281 471.625 370.101562 529.28125 385.183594 536.074219 C 397.714844 541.71875 420.03125 531.957031 428.457031 513.980469 C 439.054688 491.371094 488.449219 314.597656 488.449219 314.597656 "
|
||||
id="path6" />
|
||||
<g
|
||||
clip-path="url(#clip-1)"
|
||||
id="g7">
|
||||
<path
|
||||
fill="none"
|
||||
stroke-width="8"
|
||||
stroke-linecap="butt"
|
||||
stroke-linejoin="miter"
|
||||
stroke="rgb(100%, 100%, 100%)"
|
||||
stroke-opacity="1"
|
||||
stroke-miterlimit="10"
|
||||
d="M -0.00128125 0.00154375 L 25.190125 85.9742 C 28.170594 96.149981 22.334656 106.81795 12.158875 109.794512 C 1.983094 112.774981 -8.680969 106.939044 -11.661437 96.763262 L -35.083312 16.829669 L 0.569031 138.509356 C 3.5495 148.685137 -2.286437 159.353106 -12.462219 162.333575 C -22.638 165.310137 -33.305969 159.478106 -36.282531 149.302325 L -69.813781 34.868731 C -70.052062 34.993731 -70.29425 35.114825 -70.532531 35.239825 L -30.970031 170.259356 C -27.993469 180.435137 -33.8255 191.0992 -44.001281 194.079669 C -54.180969 197.060137 -64.845031 191.2242 -67.8255 181.048419 L -105.567687 52.235919 C -105.829406 52.3492 -106.091125 52.462481 -106.352844 52.575762 L -74.915344 160.462481 C -71.938781 170.642169 -77.774719 181.306231 -87.946594 184.2867 C -98.126281 187.267169 -108.790344 181.431231 -111.770812 171.25545 L -142.630187 65.345294 C -142.684875 65.360919 -142.735656 65.376544 -142.790344 65.388262 L -237.837219 -157.0258 C -237.837219 -157.0258 -118.348937 -214.68205 -103.266906 -221.475019 C -90.735656 -227.11955 -68.41925 -217.357831 -59.993469 -199.381269 C -49.395812 -176.771894 -0.00128125 0.00154375 -0.00128125 0.00154375 Z M -0.00128125 0.00154375 "
|
||||
transform="matrix(1, 0, 0, -1, 488.4505, 314.5992)"
|
||||
id="path7" />
|
||||
</g>
|
||||
<path
|
||||
fill-rule="nonzero"
|
||||
fill="rgb(17.745972%, 44.17572%, 75.68512%)"
|
||||
fill-opacity="1"
|
||||
stroke-width="8"
|
||||
stroke-linecap="butt"
|
||||
stroke-linejoin="miter"
|
||||
stroke="rgb(100%, 100%, 100%)"
|
||||
stroke-opacity="1"
|
||||
stroke-miterlimit="10"
|
||||
d="M -0.0013625 0.00155625 C 1.545512 0.884369 3.029887 1.919525 4.436137 3.110931 L 102.471294 86.181244 C 114.877544 96.689056 116.4127 115.267181 105.900981 127.673431 C 95.393169 140.075775 76.811137 141.614837 64.408794 131.103119 L 51.264262 119.9664 Z M -0.0013625 0.00155625 "
|
||||
transform="matrix(1, 0, 0, -1, 274.0248, 416.8414)"
|
||||
id="path8" />
|
||||
<path
|
||||
fill-rule="nonzero"
|
||||
fill="rgb(100%, 100%, 100%)"
|
||||
fill-opacity="1"
|
||||
d="M 310.175781 200.789062 C 296.113281 199.320312 283.519531 209.527344 282.050781 223.589844 L 279.785156 245.257812 C 279.785156 245.257812 271.832031 228.910156 271.78125 228.925781 L 236.417969 124.433594 C 233.003906 114.394531 222.097656 109.023438 212.058594 112.433594 C 202.023438 115.847656 196.648438 126.75 200.058594 136.792969 L 236.070312 243.191406 C 235.621094 243.410156 235.175781 243.621094 234.726562 243.84375 L 191.527344 116.824219 C 188.113281 106.785156 177.210938 101.414062 167.167969 104.828125 C 157.128906 108.238281 151.753906 119.144531 155.167969 129.183594 L 200.394531 262.15625 C 199.785156 262.5 199.175781 262.839844 198.566406 263.1875 L 160.238281 150.488281 C 156.828125 140.445312 145.921875 135.074219 135.878906 138.488281 C 125.84375 141.898438 120.46875 152.804688 123.882812 162.84375 L 164.59375 282.546875 C 164.03125 282.867188 163.46875 283.179688 162.90625 283.496094 L 136.183594 204.917969 C 132.769531 194.878906 121.867188 189.503906 111.828125 192.917969 C 101.789062 196.328125 96.414062 207.234375 99.828125 217.273438 L 128.554688 301.742188 C 128.601562 301.886719 185.460938 475.652344 197.355469 498.433594 C 206.546875 516.039062 232.746094 523.910156 244.726562 517.171875 C 258.25 509.5625 376.417969 447.019531 376.417969 447.019531 L 322.042969 333.488281 L 332.972656 228.914062 C 334.445312 214.851562 324.234375 202.261719 310.175781 200.789062 "
|
||||
id="path9" />
|
||||
<path
|
||||
fill="none"
|
||||
stroke-width="5"
|
||||
stroke-linecap="butt"
|
||||
stroke-linejoin="miter"
|
||||
stroke="rgb(17.745972%, 44.17572%, 75.68512%)"
|
||||
stroke-opacity="1"
|
||||
stroke-miterlimit="10"
|
||||
d="M 0.00158125 0.0015375 C -14.060919 1.470287 -26.654669 -8.736744 -28.123419 -22.799244 L -30.389044 -44.467213 C -30.389044 -44.467213 -38.342169 -28.119556 -38.39295 -28.135181 L -73.756231 76.357006 C -77.170294 86.396069 -88.076544 91.767162 -98.115606 88.357006 C -108.150763 84.942944 -113.525763 74.0406 -110.115606 63.997631 L -74.103888 -42.400806 C -74.553106 -42.619556 -74.998419 -42.830494 -75.447638 -43.05315 L -118.646856 83.966381 C -122.060919 94.005444 -132.963263 99.376537 -143.006231 95.962475 C -153.045294 92.552319 -158.420294 81.646069 -155.006231 71.607006 L -109.779669 -61.36565 C -110.389044 -61.7094 -110.998419 -62.049244 -111.607794 -62.3969 L -149.935919 50.302319 C -153.346075 60.345287 -164.252325 65.716381 -174.295294 62.302319 C -184.33045 58.892162 -189.70545 47.985912 -186.291388 37.94685 L -145.58045 -81.756275 C -146.14295 -82.076588 -146.70545 -82.389088 -147.26795 -82.705494 L -173.990606 -4.127369 C -177.404669 5.911694 -188.307013 11.286694 -198.346075 7.872631 C -208.385138 4.462475 -213.760138 -6.443775 -210.346075 -16.482838 L -181.619513 -100.951588 C -181.572638 -101.096119 -124.713263 -274.861744 -112.818731 -297.642994 C -103.627325 -315.248463 -77.428106 -323.119556 -65.447638 -316.381275 C -51.9242 -308.7719 66.243769 -246.228931 66.243769 -246.228931 L 11.868769 -132.697681 L 22.798456 -28.123463 C 24.271112 -14.060963 14.060175 -1.471119 0.00158125 0.0015375 Z M 0.00158125 0.0015375 "
|
||||
transform="matrix(1, 0, 0, -1, 310.1742, 200.7906)"
|
||||
id="path10" />
|
||||
<path
|
||||
style="fill:#000000;stroke-width:60;stroke-dasharray:none;stroke:#fd0000;stroke-opacity:1"
|
||||
d="M 0,0 623.62201,623.62201"
|
||||
id="path11" />
|
||||
<path
|
||||
style="fill:#000000;stroke:#fd0000;stroke-opacity:1;stroke-width:60;stroke-dasharray:none"
|
||||
d="M 623.62109,0 0,623.62201"
|
||||
id="path12" />
|
||||
</svg>
|
After Width: | Height: | Size: 10 KiB |
|
@ -32,6 +32,8 @@ instructions: none, note: none, warning: none, min_help: 0) = {
|
|||
#let Gloves = build_img("OBLIGATION/OBLIGATION-gants.svg", "Gants")
|
||||
#let Mask = build_img("OBLIGATION/OBLIGATION-protection-voies-respiratoires.svg", "Masque")
|
||||
|
||||
#let NoGloves = build_img("OBLIGATION/INTERDICTION-gants.svg", "Gants")
|
||||
|
||||
#let generate_single_card(card) = {
|
||||
[
|
||||
#set align(center)
|
||||
|
@ -76,27 +78,22 @@ instructions: none, note: none, warning: none, min_help: 0) = {
|
|||
}
|
||||
])
|
||||
]
|
||||
linebreak()
|
||||
linebreak()
|
||||
|
||||
if card.warning != none {
|
||||
// TODO: Tidy this up
|
||||
linebreak()
|
||||
linebreak()
|
||||
linebreak()
|
||||
|
||||
text(size: 30pt, weight: "bold")[Avertissement]
|
||||
linebreak()
|
||||
text(size: 18pt)[#card.warning]
|
||||
warning(title: [Avertissement])[#card.warning]
|
||||
//text(size: 30pt, weight: "bold")[Avertissement]
|
||||
//linebreak()
|
||||
//text(size: 18pt)[#card.warning]
|
||||
warning(title: [#text(size:30pt)[Avertissement]])[#text(size:
|
||||
18pt)[#card.warning]]
|
||||
}
|
||||
|
||||
// TODO: Tidy this up
|
||||
linebreak()
|
||||
linebreak()
|
||||
linebreak()
|
||||
|
||||
text(size: 30pt, weight: "bold")[Instructions]
|
||||
linebreak()
|
||||
text(size: 18pt)[#card.instructions]
|
||||
//text(size: 30pt, weight: "bold")[Instructions]
|
||||
//linebreak()
|
||||
//text(size: 18pt)[#card.instructions]
|
||||
info(title: [#text(size:30pt)[Instructions]])[#text(size:18pt)[#card.instructions]]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue