Coder Social home page Coder Social logo

oeuvres / teinte Goto Github PK

View Code? Open in Web Editor NEW
6.0 12.0 8.0 57.37 MB

TEI ► html, a transform pack for XML/TEI, in XSLT1 (compatible PHP, browser, Python…)

Home Page: https://oeuvres.github.io/teinte/

License: Other

XSLT 0.07% CSS 1.54% PHP 1.47% HTML 96.29% TeX 0.62%
tei tei-files tei-xml teinte php xslt rng relaxng css

teinte's People

Contributors

glorieux-f avatar lb42 avatar maximeperret avatar stellalouis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

teinte's Issues

Teinte.rng <q>

Définition : fragment de texte inséré dans le texte romanesque, identifié comme étant de nature à interrompre le fil narratif principal, généralement séparé du texte environnant par un dispositif typographique spécifique (italique, blanc typographique, passage guillemeté). Contrairement à , le texte qui figure sous ne peut pas être attribué à une origine extérieure au texte (origine fictionnelle ou non identifiable).

Exemples : récit enchâssé, lettre insérée, article de presse, acte notarié, poème

Type : legal, letter, narrative, poem, press

Contenu dans :

Peut contenir : (p+) (opener*) (closer*) (dateline*) (signed*) (salute*) (label*) (l*) (lg*) (quote*) (postscript?)

Teinte.rng <opener>, <closer>

Conséquence du besoin <q>
Cela nous fait penser que <opener> et <closer> devraient être ajoutées dans le schéma de validation. Les deux balises peuvent contenir : (dateline?) (salute?). peut aussi contenir (signed?).

sp/label => sp/note[@type='label']

La TEI n’admet pas &label> dans un &sp>.

Lou Burnard : « Pour moi, "label" concerne plutot l'affichage et l'organisation de l'imprime, sans effet sur scene (par ex "lettre" ecrit aux marges de la page) tandis que "stage" concerne une indication de la mise en scene, des actions de l'acteur etc. (par ex "lit la lettre"). »

<note type="label"> ne semble pas une solution idéale, mais il y a en tous cas un bug d’affichage dans Teinte, qui ouvre une note de bas de page pour ce cas.

capture d ecran 2017-10-01 a 10 25 30

Teinte.rng <ab>

Cette fois, c'est la balise <ab> qui nous occupe. Bien qu'elle soit présente dans la documentation http://oeuvres.github.io/Teinte/teinte.html#el_ab, son usage pose problème dans le schéma. Voir par exemple le cas du roman Adieu, récupérable dans ce repository : https://github.com/honoredebalzac/FC

Son usage est limité : elle doit permettre d'ajouter un ornement (en l'occurrence, un simple séparateur, filet entre deux parties du texte). Actuellement, cette ligne est entre deux <p>, mais ça ne paraît pas interdit par la documentation.

Si quelqu'un a une idée ou une suggestion résoudre ce problème de validation, je suis preneur !

Merci :-)

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.