This repository assembles data produced by the project Corpus des inscriptions khmères (before and during the DHARMA project).
We maintain in .md format an encoding log that can be viewed through https://github.com/erc-dharma/tfc-khmer-epigraphy/blob/master/texts/CIK_encoding_log.md.
You can consult the current state of the work on this repository at https://erc-dharma.github.io/tfc-khmer-epigraphy/.
See https://training.github.com/kit/downloads/fr/github-git-cheat-sheet.pdf
pwd
.cd ..
allows you to return in the parent level folder while cd folderName1/folderName2
allow to jump directly into folderName2 in one command line).pwd
, it will give you your position.git pull
git add -A
git add
git commit -m "message describing last changes"
git push
git commit
, for others to get your changes with a pull
git checkout -f
git pull
after this -m "..."
during a git commit
, or if you forget to do a git pull
before a git add git commit
.:q
and ENTER
All DHARMA XML are validated against Epidoc schema in its latest version as well as against DHARMA ones.
You can declare those schemas in the processing instructions of every XML files. To use it with Oxygen, you might need to change the default configuration.
In the toolbar, go to the Options > Preferences
, a window will open, select XML > XML Parser > RelaxNG
. The check box for "Add default attributes values" must be unchecked. Click on Apply. You might need to restart Oxygen for it to be taken into account.
If you use an online validation processing, the processing instructions should be as followed
<?xml-model href="https://raw.githubusercontent.com/erc-dharma/project-documentation/master/schema/latest/DHARMA_Schema.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://raw.githubusercontent.com/erc-dharma/project-documentation/master/schema/latest/DHARMA_Schema.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://raw.githubusercontent.com/erc-dharma/project-documentation/master/schema/latest/DHARMA_SQF.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="http://www.stoa.org/epidoc/schema/latest/tei-epidoc.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.stoa.org/epidoc/schema/latest/tei-epidoc.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
However, if you need to do it locally, you can access all DHARMA RelexNG and Schematron in their latest version in the projection-documentation repository under schema/latest. In this case, you will need to update the @href
and provide the path between you current file and the schema itself (either as a standalone file or either as a part of the project-documentation repository if you have cloned it)
git pull
git push
, the XML files are validated against the Epidoc and Dharma RelaxNG with a CI service called Travis. This process is made possible with the existing .travis.yml
file. Do not delete or modify this file on your own. You can access the resulting log heregit push
, we are also using github Actions service to transforme automatically the XML into a HTML version. We are using Ant in a java environment to do this batch transformation. The steps are declare in the build.xml file
, while the automated scenario is provided under .github/workflows/editorial.yml
Do not delete or modify those files on your own.
editedxml
and htmloutput
folders.git pull
Please note that this process can break easily and requires high quality data. The content log of the pipeline are available under Actions tab of the repository, if you need to find the reason behind an error.
All the edited XML files of this repository are available under the Creative Commons CC-BY 4.0 License, meaning you are free to use it for any purpose, commercial or non-commercial! However, we ask you to mention the project name, funder as well as the members involved in the XML edition of the inscriptions. Feel free to contact the project for more infos at ercdharma@gmail.com
.
Thanks for your interest in contributing! Currently only members of the project are allowed to contribute to this repository. Contact the researchers in charge of this corpus if you are interested in working with them.