Skip to main content

Establishing the original order of the poems in Harward’s Almanac using paleography, codicology, X-ray fluorescence spectroscopy, and statistical analysis

Abstract

This work presents the results of a transdisciplinary analysis performed on Harward’s Almanac (Dublin, 1666), an extremely rare volume currently housed in the National Library of Ireland. The uniqueness and historical value of the Almanac is related to the presence of nineteen handwritten poems, entered by an anonymous scribe. These record textually important English clandestine satire circulating anonymously in Dublin in the late seventeenth and early eighteenth century. Following a comprehensive historical assessment, it appeared evident that the current order of leaves was incorrect. To reconstruct the correct order of the leaves, and hence the likely sequence in which the manuscript poems were inscribed, this study employed a codicological/paleographic analysis complemented by analytical (X-ray fluorescence, XRF) and statistical (Self Organizing Map, SOM) investigation. Specifically, point XRF analysis was carried out for each handwritten page of the Almanac, allowing identification of ink elemental compositions (iron-based ink) and successfully supporting the validity of historical hypotheses on the poems’ order of inscription. The statistical organization of XRF data by SOMs allowed easy bi-dimensional visualization of the data set (54 points) and identification of ink similarities, once more validating the historical assessment.

Introduction

In 2020, the National Library of Ireland (NLI) acquired a volume of extreme rarity, the only known copy of a 1666 Dublin almanac compiled by Michael Harward and for convenience referred to as Harward’s Almanac [1]. Almanacs of the period were commonly sold with blank interleaves and additional blank leaves—at the end of the volume—meant for the purchaser’s notes and memoranda. In Harward’s Almanac, most of these blank leaves, along with the blank regions of some of the printed leaves, remained blank during 1666, but they were later used by an unknown scribe to transcribe nineteen manuscript poems. Although ongoing research highlighted that these poems were composed between 1674 and 1711, it is less clear when they were copied into the Almanac [2]. When the Almanac was first reported in print in 1848, the handwritten poems were erroneously attributed to the Irish satirist Jonathan Swift (1667–1745). Although this attribution was later dismissed [3, 4], the verse retains considerable interest. In fact, the manuscript writing preserves textually important English clandestine satire circulating anonymously in Dublin in the late seventeenth and early eighteenth century. Some of the most important poems are on Dublin topics, and three of them are not found in any other early manuscript or printed source (“The Gentlemen at Larges Litany,” “To the Tune of Chivie Chace,” and “The Picture of a Dublin Beau”). Much of the London verse centers on James II’s Catholicism and the succession crisis caused by the 1688 birth of his son James Francis Edward, later known as the Pretender. These pieces are of interest in their own right and demonstrate the collection and possibly the circulation of London satiric verse in Dublin. No other Dublin manuscript poetical miscellany from the late seventeenth century has come to light, and this stands as the only example [5]. The Almanac was privately acquired sometime in the early nineteenth century and remained in the same Dublin family until it was sold at auction in 2020. As it was received at NLI, Harward’s Almanac was composed of 75 leaves (144 × 86 mm) in a nineteenth-century leather binding. Several leaves were detached from the structure and obviously not in the correct order. Early handwritten page numberings also appeared incorrect.

An extensive historical and codicological analysis was performed which established the original order of the Almanac leaves and thereby supported a plausible idea of the sequence of poem entries. During the 2021–22 conservation work performed by the NLI, the nineteenth-century binding was reused and, with minor exceptions, the leaves were restored in the possible order in which they were placed during the previous (nineteenth-century) rebinding.

In parallel, X-ray fluorescence (XRF) analysis was performed on the writing inks to identify their inorganic elemental compositions. XRF analysis is a non-invasive method particularly useful in the examination of historical manuscripts and inks [6,7,8]. Among the diverse range of analytical methods used in heritage and conservation science, XRF stands out as a particularly valuable tool for the elemental characterization of materials. The technique offers numerous advantages, including its compatibility with portable instrumentation, which greatly facilitates in situ analysis. XRF requires minimal preparation of the material to be analyzed, making it an efficient and time-saving method. XRF permits qualitative analysis, providing valuable insights into the materials used in historical books and manuscripts. Furthermore, a semi-quantitative analysis of XRF data has been proven effective in uncovering ink patterns, as evidenced by previous studies that have successfully identified various writer contributions and manuscript corrections [9, 10]. The fundamental parameter (FP) is the preferred method for identifying the elemental concentration of heterogeneous samples in complex matrices, such as ink applications [11, 12]. The results obtained using FP quantification can be further analyzed using statistical methods, which can be highly valuable in identifying trends and correlations among samples. One such method is Self Organizing Map (SOM) clustering [13]. SOM mapping is a powerful technique for visualizing high-dimensional data and for clustering (grouping based on features’ similarity) samples in datasets. Without requiring prior knowledge or labeled samples, SOM leverages unsupervised learning to discover the underlying structure and relationships in the data, providing insights and facilitating further analysis. SOMs are based on the concept of neural networks and are inspired by the organization of neurons in the brain. SOMs consist of an array of artificial neurons arranged in a grid-like topology, where each neuron represents the representative point of a group. A successful example of SOM use in heritage science is the work of Lee et al., who classified a large number of paintings into different genres based on image features, including colors and composition characteristics [14, 15].

In this paper we report the use of a transdisciplinary approach based on complementary historical, analytical, and statistical analyses to identify the possible order in which the poems were inscribed in Harward’s Almanac. Following historical and codicological research, a systematic analytical investigation of the Almanac’s handwritten poems was performed using point XRF and microscopy imaging. The ink and the paper support of every manuscript page were elementally characterized. This enabled the identification of calcium-based compounds and alum used for the preparation of the rag paper and iron-based inks for writing the poems. XRF semi-quantitative analysis of ink composition was performed and the resulting data were further analyzed by SOM, in order to identify relevant similarities associated with the stints of transcription. Following this novel approach, it was possible to confirm the historical hypotheses formulated during the Almanac’s conservation work related to the correct leaf sequence and order of poem transcription. This study highlights the usefulness, in the conservation and preservation of heritage manuscripts, of a transdisciplinary approach, which in this specific case sits at the intersection of analytic bibliography, Irish studies, manuscript conservation, heritage science, and computer science.

Experimental methods

X-ray fluorescence spectroscopy (XRF)

XRF was performed with a portable, energy-dispersive XRF ELIO (XGLab, srl). The spectrometer was equipped with a Peltier-cooled Silicon Drift Detector with a resolution of 135 eV at the manganese (Mn) Kα line (5.9 keV). The excitation source was a low-power (4 W, 50 kV), transmission X-ray tube with a Rh anode. Measurements were performed with no filter, under air atmosphere in a range 1–25 kV. The tube current was kept at 160 µA. A collimator, allowing a ~ 1 mm diameter focused spot size on the surface of the pages, was used to acquire XRF spectra. The distance from the folio was ~ 1 cm and the acquisition time was 120 s. A semi-quantitative approach to the XRF data was performed using the open-source software PyMca. The so-applied fundamental parameter method (FPM) allowed estimating elements’ concentration based on observed peak intensities. The elemental concentrations of the blank paper areas were subtracted from the ones in inked areas. The areas for XRF analysis were selected following a visual assessment in transmitted light to identify regions without any ink application on the other side of the page. The same process was applied to identify clean paper areas.

Semi-quantitative XRF analysis using fundamental parameter (FP)

In order to discriminate writing inks and identify manuscript passages containing inks of similar elemental composition, a standardless semi-quantitative approach was applied to the XRF spectra. The conversion of peak intensities to elemental concentration was obtained by applying a FP approach to spectral analysis using the open-source software PyMca. The XRF spectrometer was fully characterized elsewhere, and a configuration file for data processing via PyMca was provided to the authors [16]. The fit parameters were tailored based on the experimental parameters. After having ensured proper fitting for every spectrum, the “batch fitting” and the “RGB correlator” tools were used in order to batch fit the spectra and to find relative ratios of elements (for more details see Additional file 1). For better comparison, all XRF data were normalized with respect to Fe K series peaks.

Self Organizing Map (SOM)-based clustering

In the analysis, all the characteristic elements in inked areas were subjected to initial analysis using SOM clustering. However, for the final clustering, only the relative concentrations (in relation to Fe) of trace elements Cu and Zn were considered, as these were considered significant to obtain ink distinction. The analysis was conducted using Google Colab with Python 3.10. The Pandas package was utilized for data handling and pre-processing, while Scikit-learn was employed for machine learning and data reduction implementations. The SOM clustering algorithm was implemented using the MiniSom package, and visualizations were generated using Matplotlib. To ensure reproducibility, the code used in the analysis has been made freely available [17].

Results and discussion

The initial phase of this analytical work involved conducting historical research on the printed Almanac. This was followed by a meticulous codicological observation during the 2021–22 conservation phase at the NLI. The disbound state of the volume during the conservation treatments provided access to typically concealed areas, including the spine sewing, the folding of the sheets, and the sewing holes. The combination of these two perspectives provided valuable information and laid the foundation for the complementary analytical and statistical investigation.

What we know about the book from historical and codicological analyses

The printed elements of the Almanac consisted of 48 unnumbered pages in three octavo (8-leaf) gatherings (A, B and C). Additionally, 14 blank interleaves plus an unknown number of appended blank leaves provided space for the purchaser’s notes and memoranda; 11 of these appended leaves survive today. The structure of the Almanac is shown in Fig. 1. In this schematic depiction, the double lines represent blank leaves, solid lines represent printed leaves, and dashed lines represent leaves now missing. Leaves are identified by handwritten page numbers, and printed leaves are also identified by gathering and leaf number. The diagrams show gatherings as viewed from the book’s bottom edge with the book open. The base of the shallow “V” marks the fold or gutter through which the leaves would have been sewn when the volume was bound. In each gathering, the bottom leaf pair is outermost, the top pair innermost. So in the A gathering, p. 3 is the first, and the conjugate p. 34 is the last. Similarly, pp. 17–20 form the innermost pair of leaves or centerfold. Figure 1 shows that originally, each leaf in the volume was one half of a bifolium. However, some leaves became detached and are at present non-conjugate. Additional appended bifolia may have originally been present, and it is no longer possible to establish how many blank leaves were originally present at the end of the volume.

Fig. 1
figure 1

Structure of the Almanac gatherings, showing leaf pairs. The double lines represent blank leaves, solid lines represent printed leaves, and dashed lines represent leaves now missing

The book was sewn on three sewing supports. Five holes remaining in the spine folds (sewing stations) were recorded, evenly spaced and presenting darker-colored edges if compared to the color of the rest of the paper. It is likely that the three central ones were used for sewing the paper to the supports using linen thread and that the top and bottom holes were used for the kettle stitch. In addition, on the leaf now numbered 94–93, remnants of stitching and leather marks from a previous cover supported the conclusion that there had been an earlier leather binding, predating the nineteenth-century one.

The paper support used across the entire volume (the printed sheets, the interleaves, and the appended blank leaves) was hand-made from seventeenth-century rag paper, the only type of paper produced in the West at the time. Rag paper is primarily made of cotton, hemp, or linen fibers from recycled fabric and is recognizable for its pronounced texture along with the presence of laid lines and chain-lines left by the paper mold [18, 19].

Being octavo in format, the pages had vertical chain-lines and the watermarks were quartered across the upper gutter and the upper edge of four leaves, making it difficult to reconstruct the full watermark. However, one watermark was shared by both a printed page (pp. 47–48) and several blank leaves (interleaves 23–44, 51–52, and 55–56; appended blank leaves 77–78 and 85–86), suggesting that at least in these cases, the same paper stock was used for both components. The watermark was reconstructed as a fleur-de-lys above a post-horn bounded by a scroll, of a generic variety typified by Gravell § 791 [20].

The volume’s leaves seemed to have been reordered on at least two subsequent occasions. On the first, the pages were hand-numbered, presumably following a reordering, which implies that some leaves had already become detached from the structure. During a further reordering, possibly after the acquisition of the volume in the early nineteenth century, some of the earlier reordering was revised. The current (nineteenth century) rebinding was seemingly assembled to protect the already damaged seventeenth century volume. The pages presented extensive damage with water stains, mold, tears, and losses as visible in Fig. 2a–d, respectively.

Fig. 2
figure 2

Pre-conservation photographs of damaged pages: a p. 10 (water stains), b p. 25 (mold), c p. 40 (tears), and d p. 93 (losses). Reproduction rights owned by the NLI. The same applies to all the following photographs

The sequence in which the poems were inscribed: historical analysis

In the late seventeenth and early eighteenth century, 19 poems were transcribed onto the blank interleaves and appended blank leaves as well as onto the blank areas of some of the printed leaves (see Fig. 3a, b). What remains a topic of debate is the exact point at which the leaves had become loose, allowing the scribe to write noticeably farther into the gutter than would normally be possible in a bound volume (Fig. 3c, and Additional file 1: Fig. S1).

Fig. 3
figure 3

a The manuscript on an interleaf, p. 23; b the manuscript on a printed page, p. 25; c p. 28 and p. 29 before conservation. The black box shows the gutter with the writing running very close to the fold

Detailed observation of the pages allowed recording several characteristics about the prior reordering of the pages (for more details see Additional file 1). From a paleographical investigation of the handwritten sections, it appeared likely that a single scribe wrote all the poems. However, notable variations in handwriting size and spacing of the writing ink were observed across pages, leading to the assumption that the poems were entered in successive stints under varied circumstances, as the variations in ink elemental composition (discussed later) also suggest.

Based on the historical data regarding the poems’ composition and circulation dates (between 1674 and 1711), it appeared likely that the compiler gathered some of the poems towards the end of the seventeenth century, over a span of approximately 15 years, and added poems during the early years of the eighteenth century. Circulation dates, textual content, and codicological assessment suggested that the scribe began adding poems using several appended blank leaves that followed the C gathering of the printed Almanac (pp. 77–88). Once these blank leaves were filled with poems dated to the late seventies of the seventeenth century, the scribe continued writing on interleaves 7–10, 13–14, 17–20, and 23–24. The scribe then continued on the unprinted areas of the printed p. 25 (see Fig. 3b), before proceeding onto interleaves 27–30 (partly shown in Fig. 3c). These poems (pp. 7–30) are dated to the late eighties and nineties of the seventeenth century. The poems on pp. 89–92 date from 1699 to 1709, while a poem dated to 1711 is found on pp. 39–51.

What is puzzling is why the scribe, having reached the bottom of what is now p. 88, then continued that poem at the top of p. 7. A possible explanation is that the scribe only then realized that there was far more material to copy into the book than the remaining appended leaves could accommodate and simply chose that moment to go to the early interleaves of the volume and continue writing there. For the belated use of pp. 39–51, the readiest explanation is that no other such stretch of blank pages remained available as late as 1711.

Based on the above historical analysis, and especially on the poems’ composition date, an original sequence of poem insertion was proposed and it is shown in Table 1. This reconstructed sequence, as well as the open questions associated with the proposed order, established the basis for XRF and SOM analyses.

Table 1 Proposed original order in which the poems were transcribed in the Almanac

Elemental composition of inks and writing support: XRF analysis

A total of 104 XRF spectra, comprising 37 of blank areas and 67 of handwritten inks, were taken during this study. XRF measurements were performed in the NLI laboratories, during the conservation of the Almanac, when the book was in a disbound state and access to areas otherwise not accessible (i.e. the areas close to the book spine) was possible. XRF spectra were obtained for each handwritten page of the book. In cases where paleographical analysis suggested a change of poem or ink, multiple XRF spectra were captured per page. XRF analysis was also conducted on the blank areas of the paper to evaluate the elemental composition of the underlying support.

The XRF spectra of blank paper support recorded across the volume showed similar elemental features, with only small variations in elemental peak intensities despite the water damage observed. An example of an XRF spectrum of blank paper is shown in Fig. 4a. It was characterized by the presence of silica (Si), phosphorus (P), sulfur (S), potassium (K), calcium (Ca), manganese (Mn), iron (Fe), copper (Cu), and zinc (Zn).

Fig. 4
figure 4

a XRF spectrum of blank paper taken at p. 79; b photograph (detail) of the area where the XRF spectrum was taken, highlighted by the red box

The presence of Ca was attributed to calcium-based compounds known to be used for inducing fermentation of rags. These could include lime (calcium hydroxide, Ca(OH)2) or milk [21]. Considering the concomitant presence of S and Ca, gypsum (CaSO4 × H2O), a common ingredient used in paper making, could not be excluded. Ca could also be linked to the use of fillers such as calcium carbonate (CaCO3), commonly employed in paper production [21]. The presence of S and K, often detected at similar or higher intensities than Ca, suggested the possible use of alum (potassium/aluminum sulfate, KAl(SO4)2·12H2O) liquor in the sizing of the paper. Records from the early seventeenth century indicate the addition of alum to gelatin size, as a preservative and stabilizer of the viscosity of the sizing liquor [22]. Additionally, alum salts were used to reduce the absorbency of the paper, by depositing in the interstices of paper fibers, leading to better writing performance [21]. Interestingly, alum-treated papers are more susceptible to ageing, due to the increased acidity, which leads to the degradation of cellulose through acid-catalyzed hydrolysis [23]. Calcium-based compounds were used, among other reasons, to counteract and neutralize the acidity of alum-treated paper, thereby providing a protective effect [24]. Accordingly, the most degraded and brittle leaves of the Almanac showed higher intensities of K compared to calcium Ca, in agreement with the observations above. It is important to note that the fragility of the water-damaged leaves may be attributed to both the higher K concentration and to the water-induced dissolution of the gelatin size, which served as a protective layer from environmental agents. Therefore, the weakening of the paper could potentially be a result of these combined factors. Fe was observed in all recorded spectra and could be attributed to the presence of iron alum (FeAl(SO4)2 × 12H2O). Si was consistently detected though the book. The presence of Si in rag paper is reported in literature to be associated with the presence of straw, high in silicon dioxide (SiO2) [25]. Cu and Zn in minor concentrations were also identified in the XRF spectra. The presence of these elements could be related to the paper-production process, such as impurities from the water used for making the paper poultice or from contact with metallic tools—beater roll, mold, or press—employed during paper production [21]. Additionally, it is possible that S, K, Fe, Cu, and, Zn migrated from the printing and writing inks due to the extensive water damage observed.

In parallel with blank spots, spectra of handwritten text were taken. Inked areas that sufficiently encompassed the entire spot size (~ 1 mm) were chosen for analysis. A representative XRF spectrum of an ink used for the handwriting is shown in Fig. 5a.

Fig. 5
figure 5

a XRF spectrum of an inked area, p. 82. Inset shows a microscopy picture of where the XRF spectrum was taken; b photograph of p. 82. Black box shows the area of analysis

The spectrum revealed the presence of several elements, including Si, P, K, Ca, Mn, Fe, Cu, and Zn. Si, P, and Mn were found at similar intensities in both the ink spectra and the paper spectra, suggesting that they were not diagnostic of the ink under analysis. On the other hand, S, K, Ca, Fe, Cu, and Zn exhibited higher peak intensities compared to the blank paper, possibly indicating their association with the ink applications. The combination of S, Fe, Cu, and Zn suggests the presence of vitriol, a mixture of hydrated metal (Fe, Cu, and Zn) sulfates, associated with iron-based inks, one of the standard ink formulation extensively used in Europe between the fifth and nineteenth century [26,27,28]. These inks were obtained by combining vitriol with polyphenolic compounds such as tannic acid or gallic acid. The reaction resulted in the formation of dark iron-polyphenol complexes, contributing to the distinctive dark color of iron-based ink [8]. The presence of K was attributed to the presence of gum arabic, commonly used in inks to improve viscosity and reduce bleeding [29]. It is worth noting that the presence of K may also be attributed to the presence of iron sulfate, as reported in studies on the chemical composition of iron-based inks [30, 31]. It was not possible to explain the increased Ca intensity in all the inked areas analysed. Further research and investigation is required to understand the reasons behind the increased Ca intensity in those particular areas.

The sequence in which the poems were inscribed: XRF analysis of three case studies

Following the general classification of writing inks as iron-based inks, a comprehensive qualitative elemental analysis was conducted on the spectra. The primary objective of this analysis was to explore the various composition of the writing inks, with a particular focus on the vitriol constituent elements. This examination aimed to find out whether evidence supports the order of poem insertion suggested by the historical analysis. Notably, previous studies have highlighted the significance of observing variations in content of Mn, Cu, and Zn (relative to Fe) in XRF spectra of inks. These ratios are specific to each vitriol source or extraction method [29], which allows for the identification and classification of different inks [32,33,34]. Three case studies further illustrate these findings.

The first case study focused on the proposed starting point of the transcribed text, where the scribe filled pp. 77–88 and continued writing on interleaf p. 7. On p. 88 (Fig. 6a), it was discernible that a horizontal line marked the conclusion of the poem “On Rome’s Pardons by the E. of R.,” which circulated between 1675 and 1680, followed by the commencement of “On the Composeing of a Prayer for the Unborne Prince of Wales” (1688). XRF spectra collected for these two segments exhibited similar compositions (Fig. 6b, spectra 2 and 3), particularly a constant low intensity for Zn, which was not considered indicative of the ink applications as it was detected as well in the blank paper, and a low peak intensities for Cu. This was observed also for all the previous pages (pp. 77–88) and suggested that these areas were likely penned using the same ink or inks of very similar composition. A similar trend was observed in the upper section of p. 7 (Fig. 6c). This consistency in elemental composition of ink between page 88 and 7 supported historical and codicological data.

When examining p. 7 (Fig. 6d), several differences between the text in the first and second half of the page became apparent. These differences included variations in thickness of the ink line and size of writing. By comparing the elemental composition of these two sections (Fig. 6d, spectra 2 and 3), the peak intensities of Cu was observed to be higher if compared with the previous cases, possibly suggesting that two different inks were used to write the first and second half of p. 7.

Fig. 6
figure 6

a Photograph of p. 88; b XRF spectra of paper and inks in poem “On Rome’s Pardons by the E. of R.” (1675–80) on p. 88. 1: blank paper; 2: ink in upper section; 3: ink in lower section; c photograph of p. 7; d XRF spectra of inks in poem “On the Composeing of a Prayer for the Unborne Prince of Wales” (1688), p. 7. 1: blank paper; 2: ink in upper section; 3: ink in lower section. In the photographs, the yellow line shows the break between the two different poems and the black boxes show where the XRF analysis was performed

The second case study was related to the phase of inscription spanning pp. 7 to 31. The codicological assessment did not uncover discernible features that would indicate a disruption or break in the writing process. However, XRF analysis revealed a discontinuous elemental composition within the writing ink (see Fig. 7). All these leaves presented a constant low peak intensity for Zn, therefore that element was not considered indicative of the ink applications. Figure 7b exhibits XRF spectra taken from blank paper (spectrum 1), the ink in the upper section (spectrum 2), and ink in the lower section (spectrum 3) of p. 17. An horizontal line marks the conclusion of the poem “The Pacquet Boat Returned” (1688). The ink used for writing this poem contained ink diagnostic peaks corresponding to S, K, Fe, and Cu. In contrast, the XRF spectrum taken in the lower section of p. 17, below the horizontal line and featuring the poem titled “The Gentlemen at Larges Litany” (1692–93), was characterized by S, K, and Fe only, suggesting that a different ink was possibly used for penning this section. What is apparently the same ink continued to be used until the completion of the poem titled “To the Tune of Chivie Chace” (1692–93) (first half of p. 24, Fig. 7d, spectrum 2). In contrast, a new ink composition, featuring S, K, and Fe only, was observed in the second half of p. 24 in the “Mrs Butler to Mrs Bracegirdle” poem (from 1692 to 1693, Fig. 7d, spectrum 3).

Fig. 7
figure 7

a Photograph of p. 17; b XRF spectra of paper and inks in poem “The Pacquet Boat Returned” (1688), p. 17. 1: blank paper; 2: ink in upper section; 3: ink in lower section; c photograph of p. 24; e XRF spectrum of ink in poem “To the Tune of Chivie Chace” (1692–93), p. 24; f XRF spectra of paper and inks in the poem “Mrs Butler to Mrs Bracegirdle” (1692–93), p. 24. 1: blank paper; 2: ink in upper section; 3: ink in lower section. In the photographs, the yellow line shows the break between the two different poems and the black boxes show where the XRF analysis was performed. The inset in the XRF spectra show a magnified image of the analyzed area

The third case study focused on the analysis of the most recent additions to the Almanac, dating from the end of the 17th to the early years of the eighteenth century. Specifically, the following poems were analyzed: “The Whiggs Lamentation. A Soar of Their Own Scratching”, dated 1711, pp. 39–51 (p. 41 in Fig. 8a); “The Picture of a Dublin Beau”, from 1699, pp. 89–90 (p. 90 in Fig. 8b); “A Fable, yet a True Story,” from 1700 to 01, pp. 90–91; “The Thanksgiving,” probably from 1709, p. 92 (Fig. 8c).

In terms of ink composition, the XRF analysis of the ink on p. 41 (Fig. 8a, spectrum 2), which represents the inked areas of “The Whiggs Lamentation. A Soar of Their Own Scratching”, revealed the presence of only S and Fe. The high concentration of Zn was also detected in the XRF spectra of the unwritten paper, making it difficult to solely attribute it to the ink. Nonetheless, the consistency in ink composition throughout the poem on pp. 35–51 supports the findings of previous case studies, indicating that the writer likely used the same ink for each individual poem or small groups of these.

Pp. 89–90–91, compared with pp. 39–51, show variations in thickness of the ink line and size of writing. No noticeable differences were observed in their ink elemental fingerprint. Once again, the ink in that section (pp. 89–90–91) was characterized by the presence of S and Fe, with Zn being ascribable to the paper content (see representative XRF spectrum in Fig. 8b, spectrum 2). However, it is important to note that the elemental composition of the ink in p. 92 (Fig. 8c) has shown discontinuity from the previous short poems in pp. 89–90–91, displaying low peak intensities for Cu and lead (Pb). This suggests that a different ink may have been used for the poem “The Thanksgiving.”

In summary, the performed XRF analysis showed that different types of inks were used to compile the poems. Based on the available information, it is likely that all these short poems were written sequentially, roughly adhering to a chronological order. However, they were likely transcribed in several stints, a new stint sometimes entailing a different ink. This suggests a pattern of writing and compilation that deviates from a continuous, uninterrupted flow, and rather follows a periodic grouping approach with a variety of inks over time.

Fig. 8
figure 8

a XRF spectra of blank paper (1) and ink (2) in “The Whiggs Lamentation. A Soar of Their Own Scratching”, p.41; b XRF spectra of blank paper (1) and ink (2) in “The Picture of a Dublin Beau”, p 90; c XRF spectra of blank paper (1) and ink (2) in “The Thanksgiving.”, p. 92. The inset in the XRF spectra show a magnified image of the analyzed area and black boxes show the areas where XRF analysis was performed

XRF quantification and statistical analysis

The quantification of elements present in the XRF spectra of both blank paper and inked areas was obtained using the FP algorithm integrated in the PyMca software [16]. This approach facilitated the extraction of quantitative values for the identified elements (Si, P, Cl, S, K, Ca, Mn, Fe, Cu, and Zn) in each recorded spectrum. To account for the inherent variability resulting from the heterogeneity of ink applications and paper substrate, and to enable easier comparison between spectra, it was decided to express elemental concentrations relative to Fe.

Compared to other popular clustering techniques, such as K-means [35], SOM was selected for its ability to identify non-linear relationships between the samples, as it uses a neural network approach that can capture and represent complex data structures in a lower-dimensional space while preserving the main features of the original data. This capability was well-suited for the three case studies, as the variability of elemental peak intensities, relative to each other in various analysis spots, is influenced by multiple factors including composition, acquisition geometry, and thickness of the analysed ink.

In the context of XRF data analysis, SOM maps took the form of a 2D grid-like structure consisting of neurons. Each neuron represented a specific location in the map, and its weight vector corresponded to the elemental composition associated with that neuron. The statistical analysis pipeline began with feature extraction using Principal Component Analysis (PCA) on a dataset of 54 selected XRF spots, which identified Cu and Zn as the main chemical elements explaining the majority of the variance. This result was expected, as these two elements were already used in prior qualitative analysis as representatives of the vitriol sources. The elemental concentrations of Cu and Zn were then used to iteratively adjust the weights of the neurons during the training phase, which employed the Kohonen algorithm. This adjustment process involved computing the similarity of concentrations (WCu/WFe and WZn/WFe) to the weight vectors associated with each neuron, with the goal of capturing and organizing the elemental composition patterns of the samples.

The clustering in Fig. 9 depicts four groupings, indicated by different colors, broadly representing four classes of inks. The green dots represent inks with a medium content of Cu and a high concentration of Zn (WZn/WFe > WCu/WFe), while the purple dots represent inks with a high content of Cu and medium content of Zn (WCu/WFe > WZn/WFe). The solid-line circle encompasses these two clusters as they make up the majority of the analyzed inks in the poems written during the early stage of the transcription. These satiric verses date from 1674 to 1692–93 (pp. 77–88, 7–17, 24–31, previously approached in case study 1). On the other hand, the dash-line circle groups the majority of analyzed areas from poems written from 1699 to 1711 (pp. 39–51 and pp. 89–92; case study 3). Within this area, the algorithm recognized two groups: one comprising inked areas with low concentration of both Cu and Zn (WCu/WFe ≈ WZn/WFe, represented by red dots), and another group with low content of Cu and high concentration of Zn (WCu/WFe < WZn/WFe, represented by blue dots). Interestingly, the spots representing the ink analyzed in case study 2 (pp. 17–24) were scattered outside the outlined circles. The findings from the analysis provided evidence supporting the reliability of SOM maps as a robust method for the initial categorization of data on elemental concentration of inks. It is important to note that when a larger amount of data is incorporated into the SOM maps, they are even more dependable for effectively organizing and categorizing complex datasets. While this approach was applied to Harward’s Almanac only, it is expected to be tested on larger datasets which comprise thousands of XRF spectra of ink.

Fig. 9
figure 9

2 × 2 SOM-based clustering showing the date of composition of the poems

Conclusions

We have presented a transdisciplinary approach to the investigation of Harward’s Almanac, an Irish almanac of extreme rarity preserving important and, in some cases, unique texts of late seventeenth-century Irish poems. The investigation was conducted while the book was in a disbound state during conservation. This allowed historians to gain unique insight into the book’s manufacture, its subsequent binding and rebinding, and the reordering of the leaves as well as to formulate a hypothesis on the original order of the poems’ entry. The complementary XRF analysis performed on each handwritten page was key to confirming the validity of the historical hypotheses on the poems’ inscription and dating based on codicological and paleographic investigation. Finally, statistical analysis of all XRF data allowed the identification of four classes of iron-based inks, based on variable quantities of Cu and Zn. The statistical clustering allowed easy bi-dimensional visualization of all collected XRF data and provided further insights into ink similarities, which could be associated with date of circulation.

Data availability

The data that support the findings of this study are available from the corresponding author, DI, upon reasonable request. Python code for the statistical analysis of the elemental concentration values of inks is available at https://bit.ly/almanac-inkandskin.

References

  1. Harward M. A new almanack for the year of our Lord, 1666: being the second after bissextil or leap year, and from the creation of the world, 5615 … Dublin: printed by John Crook, printer to the kings most excellent majesty, and are to be sold by Samuel Dancer bookseller in castle-street. 1666.

  2. Woolley J, Karian S. The Cambridge edition of the works of Jonathan Swift (Poems), vol. 3–6. Cambridge: Cambridge University Press; 2008.

    Google Scholar 

  3. Gwynn S. A manuscript assigned to Swift. In: The Athenaeum, no. 3605. New Statesman Ltd; 1896. https://archive.org/details/sim_athenaeum-uk_1896-11-28_3605.

  4. Harold W. The poems of Jonathan Swift. Oxford: The Clarendon Press, John Johnson; 1937.

    Google Scholar 

  5. Woolley J. The circulation of verse in Jonathan Swift’s Dublin. Eighteenth-Century Irel Iris Dá Chultúr. 2017;32:136–50.

    Article  Google Scholar 

  6. Luízar Obregón C, Zamalloa Jara MA, Rojas Arizapana FL, Chura Huayllani YJ, Gonzales Bellido JF, Olivera Olivera J. XRF elemental analysis of inks in South American manuscripts from 1779 to 1825. Herit Sci. 2021;9(1):147. https://doi.org/10.1186/s40494-021-00619-9.

    Article  CAS  Google Scholar 

  7. Hahn O. Analyses of iron gall and carbon inks by means of X-ray fluorescence analysis: a non-destructive approach in the field of archaeometry and conservation science. Restaur-Int J Preserv Libr Arch Mater Restaur. 2010;31:41–64. https://doi.org/10.1515/rest.2010.003.

    Article  CAS  Google Scholar 

  8. Hahn O, Kanngießer B, Malzer W. X-ray fluorescence analysis of iron gall inks, pencils and coloured crayons. Stud Conserv. 2005;50:23–32. https://doi.org/10.1179/sic.2005.50.1.23.

    Article  CAS  Google Scholar 

  9. Nehring G. Writing and correcting a Torah Scroll in Germany of the thirteenth and fourteenth centuries; 2021.

  10. Nehring G, Gordon N, Rabin I. Distinguishing between seemingly identical inks using scanning µXRF and heat maps. J Cult Herit. 2022;57:142–8. https://doi.org/10.1016/j.culher.2022.07.007.

    Article  Google Scholar 

  11. Szalóki I, Lewis DG, Bennett CA, Kilic A. Application of the fundamental parameter method to the in vivo X-ray fluorescence analysis of Pt. Phys Med Biol. 1999;44(5):1245–55. https://doi.org/10.1088/0031-9155/44/5/012.

    Article  Google Scholar 

  12. Kawai J, Yamasaki K, Tanaka R. Fundamental parameter method in X-ray fluorescence analysis. In: Encyclopedia of analytical chemistry. Hoboken: Wiley; 2019. p. 1–14. https://doi.org/10.1002/9780470027318.a9666.

    Chapter  Google Scholar 

  13. Van Hulle MM. Self-organizing maps. In: Rozenberg G, Bäck T, Kok JN, editors. Handbook of natural computing. Berlin: Springer; 2012. p. 585–622. https://doi.org/10.1007/978-3-540-92910-9_19.

    Chapter  Google Scholar 

  14. Lee S-G, Cha E-Y. Style classification and visualization of art painting’s genre using self-organizing maps. Hum-Centric Comput Inf Sci. 2016;6(1):7. https://doi.org/10.1186/s13673-016-0063-4.

    Article  Google Scholar 

  15. Kadokura K, Osana Y. Image (artwork) retrieval based on similarity of touch by self-organizing map with refractoriness. In: Presented at the international symposium on nonlinear theory and its applications NOLTA2014, Luzern, Switzerland; 2014.

  16. Solé VA, Papillon E, Cotte M, Walter P, Susini J. A multiplatform code for the analysis of energy-dispersive X-ray fluorescence spectra. Spectrochim Acta Part B At Spectrosc. 2007;62(1):63–8. https://doi.org/10.1016/j.sab.2006.12.002.

    Article  CAS  Google Scholar 

  17. Rossi A, Visentin A, Biolcati V. Code used in the analysis of the elemental concentration value of inks.https://bit.ly/almanac-inkandskin.

  18. Hunter D. Papermaking: the history and technique of an ancient craft. New York: Dover Publications; 1978. http://catdir.loc.gov/catdir/enhancements/fy0707/77092477-d.html. Accessed 02 May 2023.

  19. Macháin PÓ. Paper and the paper manuscript: a context for the transmission of gaelic literature. Published by Cló Torna, Depatment of Modern Irish, University College Cork; 2019.

  20. Mosser DW, Sullivan EW, Hatfield, Len, Radcliffe DH. The Thomas L. Gravell watermark archive. 1996. https://memoryofpaper.eu/gravell/. Accessed 17 July 2022.

  21. Permanence/durability of the book-VII. Physical and chemical properties of book papers. 1974. p. 1507–1949. https://eric.ed.gov/?id=ED097886. Accessed 02 May 2023.

  22. Labarre EJ. Dictionary and encyclopaedia of paper and paper-making. Oxford: Oxford University Press; 1952.

    Google Scholar 

  23. Jablonský M, Šima J. Stability of alum-containing paper under alkaline conditions. Molecules. 2020;25:5815. https://doi.org/10.3390/molecules25245815.

    Article  CAS  Google Scholar 

  24. Graminski EL, Parks EJ. The effect of calcium carbonate on the stability of acid treated papers. J Res Natl Bur Stand. 1981;86(3):309–15. https://doi.org/10.6028/jres.086.012.

    Article  CAS  Google Scholar 

  25. Dragojević A, Gregor-Svetec D, Tomažič Vodopivec J, Lozo B. Characterization of seventeenth century papers from Valvasor’s collection of the Zagreb Archdiocese. Herit Sci Mar. 2021;9(1):35. https://doi.org/10.1186/s40494-021-00507-2.

    Article  CAS  Google Scholar 

  26. Díaz RJ. New insights into iron-gall inks through the use of historically accurate reconstructions. Herit Sci. 2018;6(1):63. https://doi.org/10.1186/s40494-018-0228-8.

    Article  Google Scholar 

  27. Corregidor V, Viegas R, Ferreira LM, Alves LC. Study of iron gall inks, ingredients and paper composition using non-destructive techniques. Heritage. 2019;2(4):2691–703. https://doi.org/10.3390/heritage2040166.

    Article  Google Scholar 

  28. Melo MJ, et al. Iron-gall inks: a review of their degradation mechanisms and conservation treatments. Herit Sci. 2022;10(1):145. https://doi.org/10.1186/s40494-022-00779-2.

    Article  Google Scholar 

  29. Krekel C. The chemistry of historical iron gall inks: understanding the chemistry of writing inks used to prepare historical documents. 1999. https://www.semanticscholar.org/paper/The-chemistry-of-historical-iron-gall-inks%3A-the-of-Krekel/c5bae6e449a9ab22380a48ff6fa7e7aa9f8514ca. Accessed 17 July 2023.

  30. Fichera G, et al. Study of the copper effect in iron-gall inks after artificial ageing. Chem Pap. 2018. https://doi.org/10.1007/s11696-018-0412-z.

    Article  Google Scholar 

  31. Colini C, et al. The quest for the mixed inks. In: Brockmann C, Hahn O, Märgner V, Rabin I, Siegfried Stiehl H, editors. Proceedings of the second international conference on natural science and technology in manuscript analysis, manuscript cultures, vol. 11. p. 41–8. 2018. https://www.academia.edu/38120349/The_Quest_for_the_Mixed_Inks. Accessed 09 Feb 2022.

  32. Hahn O, Malzer W, Kanngiesser B, Beckhoff B. Characterization of iron-gall inks in historical manuscripts and music compositions using X-ray fluorescence spectrometry. X-Ray Spectrom. 2004;33(4):234–9. https://doi.org/10.1002/xrs.677.

    Article  CAS  Google Scholar 

  33. Rabin I. Material studies of historic inks: transition from carbon to iron-gall inks. In: Traces of ink. Leiden: Brill; 2021. p. 70–8. https://doi.org/10.1163/9789004444805_006.

    Chapter  Google Scholar 

  34. Rabin I, et al. Identification and classification of historical writing inks in spectroscopy: a methodological overview. Comp Oriental Manuscr Stud Newsl. 2012. https://doi.org/10.25592/uhhfdm.509.

    Article  Google Scholar 

  35. Jin X, Han J. Clustering K-means. In: Sammut C, Webb GI, editors. Encyclopedia of machine learning and data mining. Boston: Springer US; 2017. p. 695–7. https://doi.org/10.1007/978-1-4899-7687-1_431.

    Chapter  Google Scholar 

Download references

Acknowledgements

This investigation was launched by Prof. Pádraig Ó Macháin at the invitation of Dr. Élodie Lévêque, then Book Conservator at the National Library of Ireland (NLI). The authors wish to acknowledge the NLI for providing access to Harward’s Almanac and Dr. Emeline Pouyet and Dr. Nicholas Barbi for providing access to the configuration file for XRF ELIO for FP in PyMca software.

Funding

This publication has emanated from research conducted with the financial support of the project Inks and Skins, Irish Research Council Advanced Laureate Research (award IRCLA/2019/151). A.R. and A.V. were supported by Science Foundation Ireland under Grant Nos. 18/CRT/6223 and 12/RC/2289-P2 at Insight the SFI Research Centre for Data Analytics, which is co-funded under the European Regional Development Fund. JW’s research on the dates of the poems was supported by a National Endowment for the Humanities Fellowship (FB54286) and a National Endowment for the Humanities Editions Grant (RQ-50627-12).

Author information

Authors and Affiliations

Authors

Contributions

VB: data acquisition, curation, conceptualization, and writing—original draft preparation; JW, EL; data curation and writing: AR, AH, AV data analysis, writing, review; DI supervision, writing, review and editing; PÓM: conceptualization, supervision, review and editing, funding acquisition. All authors have read and agreed to the published version of the manuscript.

Corresponding author

Correspondence to Daniela Iacopino.

Ethics declarations

Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1.

Semi-quantitative analysis of XRF data. Details of the reordering of the pages from codicological studies.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Biolcati, V., Woolley, J., Lévêque, É. et al. Establishing the original order of the poems in Harward’s Almanac using paleography, codicology, X-ray fluorescence spectroscopy, and statistical analysis. Herit Sci 11, 265 (2023). https://doi.org/10.1186/s40494-023-01107-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40494-023-01107-y

Keywords