Todd Wilson wrote:
Dear developers:I sent the message quoted below to texmacs-users without any response. However, instead of just resending it here, I want to ask a different question. I've skimmed through the source code and have found it quite well-organized and readable, and I might have some time coming up that I could use to contribute to the development myself. Can someone outline what I would have to do to *add* math codes to TeXmacs (which I assume it doesn't already have)? I found the file /usr/share/TeXmacs/langs/mathematical/syntax/texmath.syx which already seems to have most of what I would need in place; I'd just need to introduce something that could change the Type (or Class?) of a symbol so that it would be rendered appropriately. I'm guessing something like <as-class|(class)|(character)> or <as-type|(type)|(character)> Any ideas?
This is just a first guess : in texmath.syx, it seems that one defines the typesetting characteristics of a group of symbols by means of the 'Class' declaration, and then you use a 'Members' declarations to add new already existing symbols to the group defined by means of 'Class'. This being said, I don't know if one can change this by means of markup, like your '<as-class|...>'. Its rather likely that if the mechanism for dynamically extending the functionnality of .syx files is not documented, it doesn't exists (yet). But in any case, one thing you can definitely do is to write macros to obtain exactly what you want (but as far as I understand, you rether meant using simple symbols and automatically recognizing them as being this one particular structurally equivalent markup depending on the context). _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
