<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">You are correct: The PDF generation from the staff and the public interfaces are different and use two completely different toolchains. </div><div class=""><br class=""></div><div class="">Staff:</div><div class="">Resource -> EAD -> xsl -> fop -> PDF</div><div class=""><br class=""></div><div class="">Public:</div><div class="">Resource -> HTML + CSS -> iText -> PDF </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">For public code look at:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/archivesspace/archivesspace/blob/master/public/app/controllers/pdf_controller.rb" class="">https://github.com/archivesspace/archivesspace/blob/master/public/app/controllers/pdf_controller.rb</a></div><div class=""><br class=""></div><div class=""><a href="https://github.com/archivesspace/archivesspace/blob/master/public/app/models/finding_aid_pdf.rb" class="">https://github.com/archivesspace/archivesspace/blob/master/public/app/models/finding_aid_pdf.rb</a></div><div class=""><br class=""></div><div class="">It is using the rails view templates, but calling the partials manually to leave out the usual HTML headers, footers, menus and page decoration that is not wanted in the print version and to explicitly include the child content inline rather than as links. </div><div class=""><br class=""></div><div class="">The iText renderer which generates the PDF from HTML+CSS is a Java library in common/lib/itext-2.1.7.js2.jar . </div><div class="">You can google for API details, but you probably don’t need to get that deep in the weeds. </div><div class=""><br class=""></div><div class="">If you are successful in customizing output, please report back, as we don’t yet have any documentation on customization process for PDF output from the public size. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">— Steve.</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 16, 2018, at 9:52 AM, Benn Joseph <<a href="mailto:benn.joseph@northwestern.edu" class="">benn.joseph@northwestern.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi all,<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">We’re on v2.3.0 and are interested in doing some customizations (adding branding, changing font sizes, reordering content) on the PDF output in our ArchivesSpace public interface. However, we can’t seem to find where to make those changes. Can anyone point me to a directory or config file or something along those lines where we can get started? I remember also hearing at one point about there being a plugin that adds the Biographical Note from an Agent record to the PDF output. We’re very interested in this plugin, but I also wonder if we need to be thinking about this too while we consider these customizations.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">We did discover how to make edits to the PDF output in the staff interface, but these seem to be two separate processes. Or maybe they’re not and I’m missing something obvious!<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks,<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">--Benn<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(13, 13, 13);" class="">Benn Joseph<o:p class=""></o:p></span></b></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(13, 13, 13);" class="">Head of Archival Processing<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(13, 13, 13);" class="">Northwestern University Libraries<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(78, 42, 132);" class="">Northwestern University<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Arial, sans-serif;" class=""><a href="x-msg://3/www.library.northwestern.edu" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="color: windowtext;" class="">www.library.northwestern.edu</span></a><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Arial, sans-serif;" class=""><a href="mailto:benn.joseph@northwestern.edu%0d" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="color: windowtext;" class="">benn.joseph@northwestern.edu</span></a><u class=""><o:p class=""></o:p></u></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(13, 13, 13);" class="">847.467.6581</span><span style="font-size: 9pt;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Archivesspace_Users_Group mailing list</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div></blockquote></div><br class=""></body></html>