<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Stephen,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m now wondering if I misunderstood your original message. Do you have EAD stored in ASpace, which is being converted to HTML in the PUI PDF process, and it’s then printed out as HTML tags rather than being formatted? If that’s the case,
that should definitely be fixed in the PUI core code! Also, if you could provide an example of how the data is recorded in the staff interface, that would be really helpful, as Christine mentioned (and sorry I didn’t see her note before I sent my first message).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mark<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Custer, Mark<br>
<b>Sent:</b> Wednesday, 01 November, 2017 3:38 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Customizing the Public Interface PDF<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Stephen,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It looks like you’re using HTML elements there (e.g. span and q), and although the new PUI PDF process converts the ASpace JSON to HTML which is in turn converted to PDF, I don’t think that it expects to find HTML tags. Given that this
process is converting to HTML anyway, though, I’d assume that it would be pretty easy to update that process to keep all of the formatting as expected. But you won’t get the same results when creating a PDF from the staff interface, since that process currently
converts the ASpace JSON to EAD which is in turn converted to PDF, and the EAD to PDF process only expects to have to process EAD elements.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also, if you ever export the EAD, or migrate the data to another system that’s not expecting HTML to be part of the archival data, you’ll need to transform those HTML elements to something else. In our local instance, by policy we permit
only EAD elements in ASpace for that very reason.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mark<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">
archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Stephen Innes<br>
<b>Sent:</b> Monday, 30 October, 2017 4:32 PM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> [Archivesspace_Users_Group] Customizing the Public Interface PDF<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">I have a further question regarding the PUI PDF processing. We have just implemented v2.2.0 which is working very well, but have encountered a problem with the PDF generated from the Print button.
The PDF includes a lot of EAD tags for formatting such as:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">The Holloway Press Launch. Includes copy of <span class="italic emph">The<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">University of Auckland News</span> article "Press keeps alive<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">traditional printing techniques", published in Vol. 24, No. 10, Nov/Dec<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">1994, p 27., Oct 1994<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">Instead of:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0" width="811" style="width:8.45in;margin-left:.75pt">
<tbody>
<tr>
<td width="100" valign="top" style="width:75.0pt;padding:1.5pt 6.0pt 1.5pt 6.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:.75pt;margin-right:0in;margin-bottom:.75pt;margin-left:0in">
<span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333"><o:p> </o:p></span></p>
</td>
<td valign="top" style="padding:1.5pt 6.0pt 1.5pt 6.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:.75pt;margin-right:0in;margin-bottom:.75pt;margin-left:0in">
<span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333">The Holloway Press Launch. Includes copy of <i>The University of Auckland News</i> article "Press keeps alive traditional printing techniques", published in Vol. 24, No. 10, Nov/Dec
1994, p 27.<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">This seems to be a similar issue to AR-1851. Should I post a new ticket?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D">Stephen Innes<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">Stephen Innes (ALIANZA)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">Special Collections Manager<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">General Library, Te Herenga Mâtauranga Whânui<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">The University of Auckland<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">Private Bag 92019<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">Auckland 1142<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">New Zealand<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">Telephone (649) 373-7599 ext. 88062 | Fax (649) 373-7565<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">Website:
</span><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.library.auckland.ac.nz_about-2Dus_collections_special-2Dcollections_general-2Dlibrary&d=DwMF_w&c=cjytLXgP8ixuoHflwc-poQ&r=7Ez68qVcrmRD6nn1FqwoHBDEOxeRUCPm3xGvnFT0zjU&m=tI79sXoOzhj8y3a7caGkphcyJibfiATmOnj1mi0GXUc&s=44ZTiyxIDb5HWMOe4N6uZkqi9KHiYj8dGDXSIJXfAQ0&e="><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:blue">http://www.library.auckland.ac.nz/about-us/collections/special-collections/general-library</span></a><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D">Online exhibition:</span><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#5B9BD5">
</span><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.specialcollections.auckland.ac.nz_ww1-2Dcentenary&d=DwMF_w&c=cjytLXgP8ixuoHflwc-poQ&r=7Ez68qVcrmRD6nn1FqwoHBDEOxeRUCPm3xGvnFT0zjU&m=tI79sXoOzhj8y3a7caGkphcyJibfiATmOnj1mi0GXUc&s=b6C5WobXpmN4Q6lfdpnGbz4TD0OJRE3haNJmGzLyTgw&e="><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:blue">Special
Collections First World War Centenary 2014-2018</span></a><span lang="EN-NZ" style="font-size:8.0pt;color:#5B9BD5"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>