Digital-Humanities-Quarterly / dhq-journal

DHQ is an open-access, peer-reviewed journal of digital humanities.
http://www.digitalhumanities.org/dhq/
11 stars 5 forks source link

Update post-TEIGarage stylesheet to handle complex figures #49

Open juliaflanders opened 1 year ago

juliaflanders commented 1 year ago

Currently, when an submitted article Word file includes multiple image files for a single figure, TEIGarage does a reasonable thing and encodes them as a <table> inside a <figure> (see example below), with the individual images placed within individual <cell> elements.

The post-TEIGarage.xsl stylesheet currently removes this markup and also eliminates the link to the image file(s).

If we decide we want to retain the ability to accommodate multiple image files in a single figure (see issue 48), then we need to update the post-TEIGarage stylesheet to handle the resulting encoding correctly.

For an example article, see OJS1532 (which was encoded as 000695.xml).

`

Une image contenant texte Description générée automatiquement
Une image contenant texte Description générée automatiquement
Une image contenant texte Description générée automatiquement
                        <head>Figure 2: Example of chapbooks with the same title: The first two
                            documents (José María Moreno ed., s.d.) are different printings of
                            the same text. The last one contains a different text, but the title
                            is the same (José María Moreno ed., s.d.).</head>
                    </figure>`