Working files and data for the XML transcription and translation of Making and Knowing Project's Digital Critical Edition (DCE) of BnF Ms Fr 640. The repository contains the text of the manuscript in multiple formats, metadata about the manuscript, and derived data.
As the the main working repository for cu-mkp, this repository also functions as a larger, more general M&K project management tool.
https://www.makingandknowing.org/
Secrets of Craft and Nature in Renaissance France. A Digital Critical Edition and English Translation of BnF Ms. Fr. 640 https://edition640.makingandknowing.org/
Throughout: tc = transcription; tcn = normalized transcription tl = translation
The backbone data of this repository is in ms-xml/
-
allFolios - the individual manuscript folios as one continuous file, by version (tc, tcn, and tl)
-
bibliographies - bibliographic references in BibTex, used in bibliography.md for the DCE's Bibliography. These are grouped into references used in the DCE's glossary and the editorial comments
-
entries - for each version of the text, every entry as a single file in both XML and TXT formats, derived from ms-xml/
-
lib - scripts used for maintenance of repository
-
metadata - data and additional information about the manuscript text and other materials of the DCE
-
ms-md - each folio as an individual file (by version) in markdown format, derived from ms-xml/ and used in the Minimal Edition of BnF Ms. Fr. 640 (Workshop Version). See also cu-mkp/2017-workshop-edition
-
ms-txt - each folio as an individual file (by version) in text format, derived from ms-xml/
-
ms-xml - each folio as an individual file (by version) in xml format, derived from ms-xml/
-
qc - listings and counts to aid in the process of ms-xml markup consistency and accuracy
-
schema - RelaxNG and Schematron schemas for project specific tag set
-
vocabulary - listings of marked-up terms tagged in the manuscript
-
xslt - scripts used for processing xml
The following files and directories are watched for updates by the MK asset_server:
- metadata/annotation-metadata.csv --> https://edition640.makingandknowing.org/#/essays
- metadata/authors.csv --> https://edition640.makingandknowing.org/#/essays
- metadata/DCE_comment-tracking-Tracking.csv --> https://edition640.makingandknowing.org/#/folios
- metadata/entry_metadata.csv --> https://edition640.makingandknowing.org/#/entries
- metadata/glossary/DCE-glossary-table.csv --> https://edition640.makingandknowing.org/#/folios/1r/f/1r/glossary
- ms-xml/* --> https://edition640.makingandknowing.org/#/folios
Modification of these files on the master branch results in changes on the staging/development server.
A number of files are generated from ms-xml/ by manuscript-object.
These include:
- allFolios/: for each version, a single XML file containing each folio concatenated together
- entries/: for each version, every entry as a single file in both XML and TXT formats
- metadata/entry_metadata.csv: listing of the properties of each entry, including IDs, headings, and semantic tags (the significant properties of the manuscript as defined by the M&K Project editors), and is used to generate the List of Entries
- ms-txt/: for each version, every folio as a single file in TXT format.
NOTE for TXT versions:
- UTF-8 encoding
- ampersand (&) is rendered in its literal form rather than the character entity
&
- if text is marked in ms-xml/ as
<add>
(additions),<corr>
(corrections),<del>
(deletions),<exp>
(expansions), and<sup>
(supplied), the text is retained and unmarked - figures and comments are absent and unmarked
Making changes to derivative files in m-k-manuscript-data
:
cd
tom-k-manuscript-data
directorygit fetch
git pull
to make sure you are up to date- Checkout a branch:
git checkout -b [name of branch]
-- though you will be running code in themanuscript-object
directory, its output will be written to them-k-manuscript-data
directory (i.e., the changes will be made in that directory) - Navigate to your local
manuscript-object
directory:cd
tomanuscript-object
directory - Make sure you're on the correct (usually master) branch by typing
git status
. If you're not in the correct branch, typegit checkout -b [BRANCH_NAME]
. git fetch
git pull
- Run update.py:
python3 update.py
(might need to usepython3.8
, e.g., if you have more than one version installed) -- more technical details are provided in this step in the README of manuscript-object cd
back tom-k-manuscript-data
directorygit add .
git commit -m '#[issue##]: [commit message]'
git push -u origin [name of branch]