Martin Paul Eve bio photo

Martin Paul Eve

Professor of Literature, Technology and Publishing at Birkbeck, University of London

Email Books Twitter Google+ Github Stackoverflow MLA CORE Institutional Repo Hypothes.is ORCID ID   ORCID iD

Email Updates

An update on my earlier posts about meXmlGalley, the OJS plugin that allows you to publish PDFs from XML source documents, to say that I began some further work today to begin integrating image support. Thus far, it's working very well in PDF form!

Here's some sample markup:

<?xml version="1.0" ?>
<article
dtd-version="3.0" xml:lang="en" 
xmlns:mml="http://www.w3.org/1998/Math/MathML" 
xmlns:xlink="http://www.w3.org/1999/xlink" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- SYSTEM:  Archiving and Interchange DTD Suite    -->
<!-- Updated July 2007 An archival journal article with minimal 
Front Matter, a Table, and Citations for testing         -->
<!-- =============== Front Matter (Metadata) =========== -->
<front>
<journal-meta>
<journal-id>Orbit: Writing Around Pynchon</journal-id>
<issn>2044-4095</issn>
<publisher><publisher-name>Excursions</publisher-name></publisher>
<uri>https://www.pynchon.net</uri>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">orbit.x3456.i54656.ph660</article-id>
<title-group>
<article-title>Generating PDFs from OJS</article-title>
<subtitle>A Plugin</subtitle>
<abstract>It has long been desirable to create PDF files from a standard XML base. This plugin allows that to happen using a combination of OJS, Saxon and FOP.</abstract>
</title-group>

<self-uri>https://www.pynchon.net/owap/articles/x</self-uri>

<contrib-group>

<contrib contrib-type="author">
<name><surname>Eve</surname>
<given-names>Martin Paul</given-names>
<prefix>Mr</prefix><suffix>III</suffix>
</name>
<degrees>BA, MA</degrees>
<xref ref-type="aff">
<sup>
<italic>a</italic>
</sup>
</xref>
</contrib>

<contrib contrib-type="author">
<name><surname>Eve</surname>
<given-names>Helen</given-names>
<prefix>Mrs</prefix>
</name>
<degrees>BA</degrees>
<xref ref-type="aff">
<sup>
<italic>b</italic>
</sup>
</xref>
</contrib>

</contrib-group>

<aff>
        <sup><italic>a</italic></sup>University of Sussex,
	<sup><italic>b</italic></sup>Enfield
</aff>


<pub-date pub-type="pub">
        <day>28</day>
        <month>9</month>
        <year>2011</year>
      </pub-date>
      <volume>1</volume>
      <issue>1</issue>
      <fpage>880</fpage>
      <lpage>882</lpage>
      <history>
        <date date-type="accepted">
          <day>7</day>
          <month>2</month>
          <year>2002</year>
        </date>
      </history>
      <permissions>
      <copyright-statement>Copyright &#x00A9; 2011, Martin Paul Eve</copyright-statement>
<license license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/2.0/">
<license-p>This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
      </permissions>

</article-meta>
</front>
<!-- =============== Body Matter (Content) =========== -->
<body>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>
  <graphic xlink:href="sample_image.jpg">
   <label>A theremin player</label>
  </graphic>
</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</body>
<!-- =============== Back Matter (Ancillary) ======= -->
<back>
<ref-list>
  <ref id="B1">
    <label>1</label>
    <citation citation-type="journal">
      <person-group person-group-type="author">
        <name>
          <surname>Martin</surname>
          <given-names>Esslin</given-names>
        </name>
      </person-group>
      <article-title>Introduction to Shakespeare our Contemporary, by Jan Kott (New York</article-title>
      <source>Norton &amp; Co</source>
      <year>1964</year>
    </citation>
  </ref>
  <ref id="B2">
    <label>2</label>
    <citation citation-type="book">
      <person-group person-group-type="author">
        <name>
          <surname>ed</surname>
          <given-names>Kennedy D</given-names>
        </name>
      </person-group>
      <year>1993</year>
      <institution>Foreign Shakespeare (Cambridge: Cambridge UP</institution>
      <publisher-name>Foreign Shakespeare (Cambridge: Cambridge UP</publisher-name>
    </citation>
  </ref>
  <ref id="B3">
    <label>3</label>
    <citation citation-type="journal">
      <person-group person-group-type="author">
        <name>
          <surname>Ruru</surname>
          <given-names>Li</given-names>
        </name>
      </person-group>
      <article-title>Shakespeare on the Chinese Stage in the 1990s</article-title>
      <source>Shakespeare Quarterly</source>
      <year>1999</year>
      <issue>3</issue>
      <volume>50</volume>
      <fpage>355</fpage>
      <lpage>367</lpage>
      <issn pub-type="ppub">00373222</issn>
      <pub-id pub-id-type="doi">10.2307/2902363</pub-id>
      <uri>http://www.jstor.org/stable/2902363?origin=crossref</uri>
    </citation>
  </ref>
  
</ref-list>
</back>
</article>

and here's a screenshot of the PDF result (page 3, showing the image)!

Images in OJS XML-generated PDFs