From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2555 Path: main.gmane.org!not-for-mail From: Michal Kvasnicka Newsgroups: gmane.comp.tex.context Subject: New \setup... Date: Mon, 28 Aug 2000 17:42:46 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <39AA8876.7F8993E@econ.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393341 9832 80.91.224.250 (23 Oct 2002 17:15:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:15:41 +0000 (UTC) Original-To: Context Xref: main.gmane.org gmane.comp.tex.context:2555 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2555 Hallo! I'm updating my package for direct typesetting SGML with TeX. I'd like to customize it in time to be ConTeXt-like. How those \setup...'s are working? How can I write my own? Is there some tool (macro) for that? I'd like something like this: \definesgmltag [tag name] [based on] [grouped = yes|no, beforegroup = command, aftergroup = command, before = command, after = command, swallowed =command] where "based on" is voluntary. And similar to that: \setupsgmltag[tag name] [see #3 in \definesgmltag] \definesgmlspecialtag [tag name] [based on] [command = command] and \setupsgmls [state = start|stop, umdefmode = silent|warning|error] BTW, how the language versions are working? Is there some documentation for this? Many thanks. Michal Kvasnicka -- Economics is the only field in which two people can get a Nobel Prize for saying exactly the opposite things.