From: tom s. <to...@as...> - 2010-03-07 05:35:36
|
Hi Zach: The problem you're facing is deep in the code and has to do with the design of hyperlatex, not the implementation. The issue is that hyperlatex does not parse its input code into a data structure and then write a document based on that. Instead, it tries to parse the document in place, overwriting the document as it goes. This means that it destroys information on the way through, and some of that information is necessary in subsequent steps if you want valid XHTML. The original design had it inserting "magic" characters to remember information through those steps, but these characters aren't adequate to store all the necessary information, and they also interfere with attempts to make the code accommodate alternative character sets. I am the admin of the sourceforge project, but I am happy to pass that responsibility along to anyone who would like to contribute. I no longer have the time to do it justice. I do have a trial version that does better than the current release at the misplaced <p> problem, but it does not fix the problem completely. You (or anyone else) are welcome to it, and if you'd like to patch it, make a new release, and take over, please do. I can certainly provide some support; I just don't have the time to do more than that any longer. Thanks, -tom Zachary Crockett <tow...@gm...> wrote: > How can I create the following with Hyperlatex: paragraph, heading, paragraph? > > <p>...</p> > <h2>...</h2> > <p>...</p> > > This simple document exhibits what I believe should work: > http://pastie.org/857862 > But that creates a paragraph tag wrapping the heading tag, which is invalid XHTML. > > I've looked through the hyperlatex.el file for a place I could add a simple fix, but haven't found one. > > Also, who administers this sourceforge project? Anyone actively right now? If I were to create a patch to the source code, where should I send it? Should I email it to this list? > > All best wishes, > Zachary Crockett > http://zacharycrockett.com/ > http://hypergolicmotion.com/ > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Hyperlatex-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hyperlatex-users > -- -------------------------------------------------------- Tom for Treasurer in 2010! http://tomfortreasurer.com Check out "Ten Things You Don't Know About Rhode Island" http://whatcheer.net http://sgouros.com |