Path: csiph.com!weretis.net!feeder4.news.weretis.net!newsreader5.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post02.iad!fx36.iad.POSTED!not-for-mail From: "N. Raghavendra" Newsgroups: comp.text.xml Subject: Re: Schematron questions References: <87vabuodmk.fsf@hri.res.in> <871see5kta.fsf@gmail.com> <87sh6u44hh.fsf@gmail.com> <87vabltltf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Reply-To: "N. Raghavendra" Message-ID: <87o9hcuucq.fsf@gmail.com> Cancel-Lock: sha1:4VUCg5vpGijYXfjeFDI2R2znKAk= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 77 X-Complaints-To: abuse@usenet-news.net NNTP-Posting-Date: Sat, 19 May 2018 04:45:09 UTC Organization: usenet-news.net Date: Sat, 19 May 2018 10:15:09 +0530 X-Received-Bytes: 4710 X-Received-Body-CRC: 2894046976 Xref: csiph.com comp.text.xml:898 At 2018-05-18T20:56:47+01:00, Peter Flynn wrote: > Yes, it's very good, but it's not suitable for authoring or editing text > documents because it lacks some of the basic controls editors need. Thanks for the advice. I have decided to try PSGML mode again, after a long gap. I see that the maintainers of the ELPA version have removed `psgml-ids.el', which seemed useful, for copyright reasons, and have replaced it with other functions. I hope there is no problem with that. Anyway, I'll find out once I start using it again. I found xxml mode on GitHub, and will load it after PSGML. > See https://cora.ucc.ie/handle/10468/1690 for the gory details. Thank you for the link to your thesis. I have downloaded both the PDF and the EPUB renditions of it. There seems to be a wealth of interesting material in it, and I'll dip into it slowly. > The problem with "simple" schemas is that they rapidly become > complicated. Norm Walsh put this more succinctly in his presentation on > Underlying Technologies in the XML in Publishing track at the 2016 XML > Summer School: > >>> Where do vocabularies come from? >>> >>> • Adopt — Take your pick: XHTML, DocBook, JATS, TEI, DITA, … >>> • Adapt — Take one of the former, adapt to your needs. >>> • Build your own (tl;dr: don’t) That seems sage advice. Let me explain where I am coming from. I am partway through a writing project which will occupy a large part of my time in the next few years. I am a mathematician, and the subject of my writing project is some recent work on the foundations of mathematics. The products of the project will be a collection of "volumes" on the subject. There will be cross-references between these volumes. Part of the product will be code in the language of the proof assistant Coq. I will have to include delimited snippets of the code in the text. I could have used LaTeX; I have been using it for the last 28 years, since the time I was a graduate student, for all my mathematical writing, and am absolutely comfortable with it, like most mathematicians are. However, I have always chafed at its non-semantic aspect. I have tried to work with ConTeXT during the last one year, but I found it hard to write with, because its documentation is sketchy, and its code changes fast, sometimes in a backward incompatible way. I have some experience with DocBook, but, for my current purpose, it has too many elements that are irrelevant. As a result, it seems too elaborate. I have looked at JATS and BITS too, and again felt that they are too elaborate. In any case, I have to extend these schemas, to incorporate numbered statements like "Definition", "Lemma", "Proposition", "Theorem", "Corollary", and, "Remark", for which I usually use the LaTeX package `ntheorem'. I also need XML equivalents of the `amsmath' equation environments, such as `eqnarray', and `split'. Things like `cases', too. For the mathematics itself, I am planning to use LaTeX markup, which in the HTML rendition, will be displayed using MathJaX. I found the work of the `mathbook' project http://mathbook.pugetsound.edu/ very relevant to my work; they deal with many of the above issues. However, their schema too seems to be evolving, sometimes in a backward incompatible manner, as a result of which, I cannot depend on it. That is the background to my current notion that I have to write my own schema. Thanks again for your thought-provoking message. Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/