[Archivesspace_Users_Group] Finding Aid PDF Error
June L Power
june.power at uncp.edu
Thu Jan 9 13:21:49 EST 2020
Following up on a pre-holiday issue.
I was able to edit the .xsl file to reduce the image size from 75% to 25% but it had no effect on the output. I also have a resized image, but I’m not sure where to tell the IT people to put it as I don’t know what the structure on the server looks like.
I have no access to my server I just have to give IT specific directions – like put logo image in xyz folder with abc name.
Any help would be greatly appreciated.
June
________________________________
June Power, MLIS
Director, Special Collections and Archives
Mary Livermore Library
The University of North Carolina at Pembroke
P.O. Box 1510
Pembroke, NC 28372
910.521.6369
910.521.6547 (fax)
june.power at uncp.edu<mailto:june.power at uncp.edu>
[image001] [image002]
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Majewski, Steven Dennis (sdm7g)
Sent: Tuesday, November 5, 2019 4:22 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Finding Aid PDF Error
Yes — your logo image is pretty large. The easiest hack might be to edit and downsize the image file.
The staff Postscript export uses Apache FOP.
If you have a computer in which you can install a FOP processor and Saxon ( or if you can run Oxygen XML Editor )
You can debug the PDF output outside of ArchivesSpace, which can sometime be easier, especially if you’re trying
To identify if the problems is with the EAD export or the FOP transform.
In this case, the problem is confined between the logo image size and the FOP transform.
The FOP XSL Stylesheet is: archivesspace/stylesheets/as-ead-pdf.xsl
So if you don’t want to edit the image, you can try hacking the FOP xsl file.
I’m not very expert on FOP, but I’m guessing this is the part you would want to change.
Maybe changing those content width/height values would do it.
See what happens if you change “75%” to “50%”
<!--
This template can be modified to include repository specific icons,
use the template as an example. PDF exports only support this single
icon template for an image in this directory specified by filename
i.e. src="myicon.png"
-->
<xsl:template name="icon">
<fo:block text-align="left" margin-left="-.75in" margin-top="-.5in">
<fo:external-graphic content-height="75%" content-width="75%">
<xsl:attribute name="src"><xsl:value-of select="$pdf_image"/></xsl:attribute>
</fo:external-graphic>
</fo:block>
</xsl:template>
On Nov 5, 2019, at 3:49 PM, June L Power <june.power at uncp.edu<mailto:june.power at uncp.edu>> wrote:
Thanks Steve.
I’m running version v2.6.0 and creating the PDF from the staff interface. I am unable to create them from the public side. I’m trying to figure this out with no real IT support, but with IT controlling server file access. So they sent me the .xsl file and told me to edit it to fix the problem and send it back to them to load to server.
I’ve attached a sample of what it is doing right now. There is a logo image there and it is pretty large.
June
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> On Behalf Of Majewski, Steven Dennis (sdm7g)
Sent: Tuesday, November 5, 2019 3:38 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Finding Aid PDF Error
What version of ArchivesSpace are you running, and is this PDF produced from the Staff interface of the PUI ?
Also: have you added a custom logo image ?
( I have seen some problems in the past if your custom logo is much larger that the default image. )
— Steve M.
On Nov 5, 2019, at 1:17 PM, June L Power <june.power at uncp.edu<mailto:june.power at uncp.edu>> wrote:
I am new to using ASpace and have been looking through the documentation trying to find a resolution for this error.
The collection information text is overlapping the repository text. The repository text is later repeated. How can I remove the repository text from this page of the generated PDF?
TIA!
<image001.jpg>
________________________________
June Power, MLIS
Director, Special Collections and Archives
Mary Livermore Library
The University of North Carolina at Pembroke
P.O. Box 1510
Pembroke, NC 28372
910.521.6369
910.521.6547 (fax)
june.power at uncp.edu<mailto:june.power at uncp.edu>
<image002.gif> <image003.png>
<ASpacePDFError.png>_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
<job_2_file_2.pdf>_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200109/d97982c6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1026 bytes
Desc: image001.gif
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200109/d97982c6/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1100 bytes
Desc: image002.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200109/d97982c6/attachment.png>
More information about the Archivesspace_Users_Group
mailing list