|
From: Juergen W. <wie...@fr...> - 2005-03-29 18:46:19
|
On Monday 21 March 2005 20:12, Hans-Bernhard Broeker wrote: > You may profit from a look into how allterm.h is built. Or maybe > combine the second half of your proposal with using allterm.h right away > --- that might also solve the maintenance problem of yet another copy of > the terminal list currently being hardwired inside doc2texi.el. I think the most portable and maintainable way is to use the functionality of termdoc.c to merge the terminal documentation with gnuplot.doc. I named the resulting file "gnuplot.tdc". This file is then loaded by doc2texi.el. Thus doc2texi.el doesn't have to treat the terminals in a special way (apart from two minor points: the terminal list and some change in the hierarchy). I did a quick diff on the resulting gnuplot.texi and could find two major differences: The sequence of the terminal nodes has changed and the cross reference detection. I don't have too much experience with (e)lisp other than this, so it would be a good idea to have this patch reviewed. Is anyone in contact with the original author of doc2texi.el? Maybe he can even find a better way to fix the (e)ps(la)tex terminal documention. Juergen |