Code Monkey home page Code Monkey logo

doctor_leipzig's Introduction

Leipzig, MD

What is this?

An extension for Python Markdown

How do I use it?

You can look at leipzig.md for a full example of how to do anything that the The Leipzig Glossing Rules allow for.

Surround the text you want to gloss with --GLOSS-- and --ENDGLOSS--. Anchors are created in order for each gloss as leipzig-line-1. The number has the class leipzig-num. The first 4 lines in a gloss are marked with the classes source, morphemes, translation, translation. The whole gloss has the class leipzig-table.

Small Caps {ABC}

Use {ABC} to render ABC in small caps. If this matters to you, I suggest using Computer Modern for your gloss font (it's free and has a wide range of glyphs).

Full lines {!}

Use {!} at the front. For example:

--GLOSS--
{!} Latin
insul-arum
island-{GEN.PL}
{!} of the islands
--ENDGLOSS--

Spaces in gloss items ' '

Surround the item with single quotes, ex.

--GLOSS--
Бейнең жеке менің түн-ием,
image-{2SG.POSS} personal {1SG.GEN} 'night spirit-{1SG.POSS}'
{!} Your image is my personal night spirit
--ENDGLOSS--

Merging Lines {m}

If you need to have one gloss encompass multiple source words (say for an idiom), place as many {m} in front of the word you'd like to merge

--GLOSS--
Тез қол ұшын бер маған, тез!
quickly {m} {m} 'to give a hand' {1SG.DAT}, quickly!
{!} Hold out your hand, quickly!
{!} Quickly give me a hand, quickly!
--ENDGLOSS--

to give a hand will be paired with қол ұшын бер.

Blank gloss {b}

If you need a blank to appear in any of the lines, use {b}.

--GLOSS--
{!} Latin
puer or: puer-Ø
boy[{NOM.SG}] {b} boy-{NOM.SG}
'boy' {b} 'boy’
--ENDGLOSS--

doctor_leipzig's People

Contributors

parryc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

doctor_leipzig's Issues

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.