4 ms·
I like this idea, but maybe there should be (or maybe there is) a writing-specific subset of XML, like there is with music. The HTML elements come close to enc
by byproxy 8y ago
I like this idea, but maybe there should be (or maybe there is) a writing-specific subset of XML, like there is with music. The HTML elements come close to encompassing a lot of functionality, but I think there ought to be an expanded set of tags for doing ... stranger? .. things. For example, how would you render "House of Leaves" in HTML? I'm thinking of modern music composition and how it's really pushed music notation, and I think MusicXML handles it... so I imagine a WriteXML can cover traditional forms of writing and adapt to more experimental forms as itt developed.
- firstbabylonian 8y agoLove the idea! In my teenage youth, I had two interests: writing fan-fics and coding up websites in HTML. Somehow I felt that the only way I can "trust" my writing to look correct is by live-coding it in HTML as I composed it. Nowadays, I still write, and I use Markdown like you are "supposed to"… But it does never feel quite right.
- AlbertoGP 8y agoThe TEI (Text Encoding Initiative) XML format is a writing-specific XML vocabulary. https://teibyexample.org/ https://teibyexample.org/ https://en.wikipedia.org/wiki/Text_Encoding_Initiative https://en.wikipedia.org/wiki/Text_Encoding_Initiative The whole set is enormous as it can encode all kinds of modern and ancient forms of literature with many kinds of annotations, even parallel versions of the same text as often happens with old works for which there is no known “original”. You can encode scribal variations etc. There have been several attempts to create a simplified subset that would be useful for what we could call a normal modern book, but they haven’t got very far because it is still cumbersome and the tooling needed to work effectively with it is not freely available. I’m working on such tooling in my spare time, more focused on DocBook as the vast majority of what I write is technical documentation. The simplified subset from TEI themselves is called TEI Lite: https://tei-c.org/guidelines/customization/lite/ https://tei-c.org/guidelines/customization/lite/ If TEI sounds interesting to you, there is an application called TEI Publisher, Free Software under the GPLv3, that you might use: https://teipublisher.com/ https://teipublisher.com/ Actually, looking at it again it now looks quite good. I’ll give it a try later. Edit 24 minutes later: tried to install TEI Publisher, it works on top of the eXist XML DB, and after installing it, starting it gives me an “Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException”. Ah well...