Git Product home page Git Product logo

crossreftag's Introduction

CrossRefTag

To create Cross-references and Chain References in Bibles by using the Biblical Terms information from ParaTExt. If a translation team worked on the Biblical Terms of the project, this tool will attempt to automatically add cross-refences or chain references as footnotes for Biblical Term entries by using the information available on the Biblical Terms in a ParaTExt project.

This tool can be incorporated in to ParaTExt as a check (cms) or as a command line tool.

Pre-requisites

How does it work

ParaTExt Biblical Terms information is stored in two files. Both of them are stored in the corresponding project folders. They are:

  1. BiblicalTerms[PROJECT_CODE].xml
    • This file has the Biblical Terms and it's renderings in the vernacular project.
  2. ProjectBiblicalTerms.xml
    • This file is static across all project (but the content may vary depending on the Biblical Term selected for the project). It has the Biblical Terms and the list of places it occur (this information is stored in a cryptic manner)

CrossRefTag will combine these files to determine the Biblical Terms entries for the project and then try to use that info to update the USFM files with the cross references.

  • Find the Biblical Terms, their veracular renderings and places where each word occurs (by combining the above mentioned files)
  • Open USFM files in the project, one verse at a time.
  • Look for any Biblical Term in the verse
  • If cross reference is selected,
    • Add other references of the Biblical term as a cross reference
  • If chain reference is selected
    • check the marking option user selected (all occurances, first occurance in the book, first occurance in the chapter, first occurance in the verse) and accordingly
    • Add the previous entry and the next entry as a footnote

Usage

CrossRefTag
   -i [input project code]
   -o [ouput project code]
   -p [Path to ParaTExt Projects, default is c:\My ParaTExt Projects]
   -c [for Cross-References]
   -r [for Chain References]
   -m [(a)ll, (b)ook, (c)hapter, (v)erse]

We follow Hitchhickers guide for packaging

crossreftag's People

Contributors

beniza avatar bijob89 avatar joel-c-johnson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.