rhwp 0.9.1

HWP/HWPX document engine for Rust applications, WebAssembly, and CLI automation
Documentation
# M09-g equation golden — current-engine lock (variant/exception/unimplemented honesty)
command: MATRIX
script: MATRIX{{1} OVER {2} & {3} OVER {4} & {5} OVER {6} # {7} OVER {8} & {9} OVER {10} & {11} OVER {12} # {13} OVER {14} & {15} OVER {16} & {17} OVER {18}}
honesty: implemented-variant

=== ast ===
Matrix {
    rows: [
        [
            Fraction {
                numer: Number(
                    "1",
                ),
                denom: Number(
                    "2",
                ),
            },
            Fraction {
                numer: Number(
                    "3",
                ),
                denom: Number(
                    "4",
                ),
            },
            Fraction {
                numer: Number(
                    "5",
                ),
                denom: Number(
                    "6",
                ),
            },
        ],
        [
            Fraction {
                numer: Number(
                    "7",
                ),
                denom: Number(
                    "8",
                ),
            },
            Fraction {
                numer: Number(
                    "9",
                ),
                denom: Number(
                    "10",
                ),
            },
            Fraction {
                numer: Number(
                    "11",
                ),
                denom: Number(
                    "12",
                ),
            },
        ],
        [
            Fraction {
                numer: Number(
                    "13",
                ),
                denom: Number(
                    "14",
                ),
            },
            Fraction {
                numer: Number(
                    "15",
                ),
                denom: Number(
                    "16",
                ),
            },
            Fraction {
                numer: Number(
                    "17",
                ),
                denom: Number(
                    "18",
                ),
            },
        ],
    ],
    style: Plain,
}

=== layout ===
Matrix(Plain) x=0.0000 y=0.0000 w=130.0000 h=158.4000 bl=79.2000
  row0:
    Fraction x=9.5000 y=0.0000 w=19.0000 h=48.8000 bl=29.4000
      numer:
        Number("1") x=4.0000 y=4.0000 w=11.0000 h=20.0000 bl=16.0000
      denom:
        Number("2") x=4.0000 y=24.8000 w=11.0000 h=20.0000 bl=16.0000
    Fraction x=55.5000 y=0.0000 w=19.0000 h=48.8000 bl=29.4000
      numer:
        Number("3") x=4.0000 y=4.0000 w=11.0000 h=20.0000 bl=16.0000
      denom:
        Number("4") x=4.0000 y=24.8000 w=11.0000 h=20.0000 bl=16.0000
    Fraction x=101.5000 y=0.0000 w=19.0000 h=48.8000 bl=29.4000
      numer:
        Number("5") x=4.0000 y=4.0000 w=11.0000 h=20.0000 bl=16.0000
      denom:
        Number("6") x=4.0000 y=24.8000 w=11.0000 h=20.0000 bl=16.0000
  row1:
    Fraction x=9.5000 y=54.8000 w=19.0000 h=48.8000 bl=29.4000
      numer:
        Number("7") x=4.0000 y=4.0000 w=11.0000 h=20.0000 bl=16.0000
      denom:
        Number("8") x=4.0000 y=24.8000 w=11.0000 h=20.0000 bl=16.0000
    Fraction x=50.0000 y=54.8000 w=30.0000 h=48.8000 bl=29.4000
      numer:
        Number("9") x=9.5000 y=4.0000 w=11.0000 h=20.0000 bl=16.0000
      denom:
        Number("10") x=4.0000 y=24.8000 w=22.0000 h=20.0000 bl=16.0000
    Fraction x=96.0000 y=54.8000 w=30.0000 h=48.8000 bl=29.4000
      numer:
        Number("11") x=4.0000 y=4.0000 w=22.0000 h=20.0000 bl=16.0000
      denom:
        Number("12") x=4.0000 y=24.8000 w=22.0000 h=20.0000 bl=16.0000
  row2:
    Fraction x=4.0000 y=109.6000 w=30.0000 h=48.8000 bl=29.4000
      numer:
        Number("13") x=4.0000 y=4.0000 w=22.0000 h=20.0000 bl=16.0000
      denom:
        Number("14") x=4.0000 y=24.8000 w=22.0000 h=20.0000 bl=16.0000
    Fraction x=50.0000 y=109.6000 w=30.0000 h=48.8000 bl=29.4000
      numer:
        Number("15") x=4.0000 y=4.0000 w=22.0000 h=20.0000 bl=16.0000
      denom:
        Number("16") x=4.0000 y=24.8000 w=22.0000 h=20.0000 bl=16.0000
    Fraction x=96.0000 y=109.6000 w=30.0000 h=48.8000 bl=29.4000
      numer:
        Number("17") x=4.0000 y=4.0000 w=22.0000 h=20.0000 bl=16.0000
      denom:
        Number("18") x=4.0000 y=24.8000 w=22.0000 h=20.0000 bl=16.0000

=== svg ===
<text x="13.50" y="20.00" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">1</text>
<line x1="10.50" y1="24.40" x2="27.50" y2="24.40" stroke="#000000" stroke-width="0.80"/>
<text x="13.50" y="40.80" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">2</text>
<text x="59.50" y="20.00" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">3</text>
<line x1="56.50" y1="24.40" x2="73.50" y2="24.40" stroke="#000000" stroke-width="0.80"/>
<text x="59.50" y="40.80" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">4</text>
<text x="105.50" y="20.00" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">5</text>
<line x1="102.50" y1="24.40" x2="119.50" y2="24.40" stroke="#000000" stroke-width="0.80"/>
<text x="105.50" y="40.80" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">6</text>
<text x="13.50" y="74.80" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">7</text>
<line x1="10.50" y1="79.20" x2="27.50" y2="79.20" stroke="#000000" stroke-width="0.80"/>
<text x="13.50" y="95.60" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">8</text>
<text x="59.50" y="74.80" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">9</text>
<line x1="51.00" y1="79.20" x2="79.00" y2="79.20" stroke="#000000" stroke-width="0.80"/>
<text x="54.00" y="95.60" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">10</text>
<text x="100.00" y="74.80" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">11</text>
<line x1="97.00" y1="79.20" x2="125.00" y2="79.20" stroke="#000000" stroke-width="0.80"/>
<text x="100.00" y="95.60" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">12</text>
<text x="8.00" y="129.60" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">13</text>
<line x1="5.00" y1="134.00" x2="33.00" y2="134.00" stroke="#000000" stroke-width="0.80"/>
<text x="8.00" y="150.40" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">14</text>
<text x="54.00" y="129.60" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">15</text>
<line x1="51.00" y1="134.00" x2="79.00" y2="134.00" stroke="#000000" stroke-width="0.80"/>
<text x="54.00" y="150.40" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">16</text>
<text x="100.00" y="129.60" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">17</text>
<line x1="97.00" y1="134.00" x2="125.00" y2="134.00" stroke="#000000" stroke-width="0.80"/>
<text x="100.00" y="150.40" font-size="20.00" fill="#000000" font-family="'Latin Modern Math', 'STIX Two Text', 'STIX Two Math', 'Times New Roman', 'Times', serif">18</text>