withanage / heimpt

Heidelberg Monograph PublishingTool (heiMPT) is a stand-alone platform, as well as a plug-in application for OMP. It enables a high degree of automation in the digital publication process.
https://github.com/withanage/heimpt
GNU General Public License v3.0
22 stars 3 forks source link

meTypeset-Konvertierungsfehler: Tabellen #34

Closed ghost closed 5 years ago

ghost commented 8 years ago

Konverter erkennt die Abbildungenlegende und trennt in Label und Caption - das ist sehr gut!!!

Nun zu den Fehlern:

Nicht getestet: Tabellenfußnoten (folgen)

Testdokument: https://github.com/withanage/mpt/blob/master/static/tests/word/Table.docx

Konvertierergebnis:

   <table-wrap specific-use="rules" id="ID9b33d18a-77fd-4b1a-a394-a3b0fa3e851b" position="float" orientation="portrait">
      <label>Tabelle 1</label>
      <caption>
        <p>Tabellenlegende</p>
      </caption>
      <table>
        <tr>
          <td rowspan="1" colspan="1">
            <bold>Kopf 1a</bold>
          </td>
          <td rowspan="1" colspan="1">
            <bold>Kopf 2</bold>
          </td>
          <td rowspan="1" colspan="1">
            <bold>Kopf 3</bold>
          </td>
          <td rowspan="1" colspan="1">
            <bold>Kopf 4</bold>
          </td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1">
            <bold>Kopf 1-1</bold>
          </td>
          <td rowspan="1" colspan="1"/>
          <td rowspan="1" colspan="1">
            <bold>Kopf 3-1</bold>
          </td>
          <td rowspan="1" colspan="1">
            <bold>Kopf 3-2</bold>
          </td>
          <td rowspan="1" colspan="1"/>
        </tr>
        <tr>
          <td rowspan="1" colspan="1">1 a</td>
          <td rowspan="1" colspan="1">A</td>
          <td rowspan="1" colspan="1">i</td>
          <td rowspan="1" colspan="1">x</td>
          <td rowspan="1" colspan="1">o</td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1">2</td>
          <td rowspan="1" colspan="1">b</td>
          <td rowspan="1" colspan="1">B-C</td>
          <td rowspan="1" colspan="1">ii-y-iii-z</td>
          <td rowspan="1" colspan="1">p</td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1">3</td>
          <td rowspan="1" colspan="1">c</td>
          <td rowspan="1" colspan="1"/>
          <td rowspan="1" colspan="1"/>
          <td rowspan="1" colspan="1">q</td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1">Mehrere<break/>Abs&#228;tze<break/>in einer Zeile</td>
          <td rowspan="1" colspan="1">F</td>
          <td rowspan="1" colspan="1">G</td>
          <td rowspan="1" colspan="1">Zelle mit Auszeichnungen: <italic>kursiv</italic>, <italic>fett</italic>, Kapit&#228;lchen</td>
          <td rowspan="1" colspan="1"/>
        </tr>
      </table>
    </table-wrap>