|
From: SourceForge.net <no...@so...> - 2010-06-08 04:23:04
|
Patches item #2787012, was opened at 2009-05-04 20:47 Message generated for change (Settings changed) made by ezust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=2787012&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Accepted Priority: 5 Private: No Submitted By: James Nicholl (jnicholl17) Assigned to: Alan Ezust (ezust) Summary: plain TeX edit mode Initial Comment: Syntax highlighting for plain TeX as described in the TeXbook by Knuth. I work with this file open, so it may never be totally complete, but I've got it to the point that it is useful. The vocabulary is very large and categorized very well. There are some things I would like to do still, including further refining the categorization, and implementing the detection of macros that are invalid in math mode. A modified version for pdfTeX will probably arise naturally over the course of my work. It needs further refinement, but what is there is very well done. I would like some feedback from the community if this is a worthwhile side project for me to pursue. I included the catalog entry, but I'm not sure if it works. In fact, I'm pretty sure it doesn't., at least not from within jEdit 4.3 pre16. I just cut and paste the catalog entry from another mode submission. I don't understand why it doesn't work, or how it's supposed to work... It works well if you rename it latex.xml then overwrite the existing edit mode. Advice on fixing this situation would be appreciated. James Nicholl jni...@ya... ---------------------------------------------------------------------- Comment By: James Nicholl (jnicholl17) Date: 2010-06-07 20:20 Message: The standard seems to be that the .tex extension applies to both plain TeX and LaTeX documents. I see no way to fix this issue without the cooperation of the entire TeX community. I have started working with ConTeXt since I submitted this (LaTeX is horribly unwieldy in comparison, and plain TeX is extremely laborious). Maybe the solution is to get people to stop using LaTeX and use ConTeXt instead! Unfortunately my memory has a shelf life much less than 12 months. It really seems like I was a world away when I wrote this. It may as well have been 12 years ago. I consider this work abandoned. I got a nice surprise in my email a little while ago though. Someone looked at it! Yay! ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2010-06-07 19:53 Message: Committed 18008 ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2010-06-07 19:51 Message: ok I see you have a file name glob line but that conflicts with latex. *.tex. I see also that tex.xml is there, and has no file name glob either. So I can add plaintex as an additional mode, or I can replace the old tex.xml with plaintex.xml Does it make sense to keep the old tex.xml around when yours is probably much better? I will keep using the latex.xml regardless. ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2009-06-29 16:10 Message: what do you suggest the file name glob/first name glob should be? If we currently have a mode for latex which uses the .tex extension, will we want to associate this mode with any filename extension? ---------------------------------------------------------------------- Comment By: James Nicholl (jnicholl17) Date: 2009-05-04 20:50 Message: There is lengthy documentation for this highlighting package in the header of the xml file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=2787012&group_id=588 |