[Archivesspace_Users_Group] Finding Aid PDF Error

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Tue Nov 5 16:22:15 EST 2019


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> 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 <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 <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/20191105/2438f1b0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4974 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20191105/2438f1b0/attachment.bin>


More information about the Archivesspace_Users_Group mailing list