|
From: <wie...@we...> - 2005-03-19 11:36:10
|
> > please fix the doc sections of term/post.trm such that they make it into > > docs/gnuplot.texi (and other files built from it). It looks like the > > driver tries to be too clever, relying on C preprocessing tricks to > > generate repeated text blocks, which doc2texi.el can't follow. > > This was my fault. Unfortunately, I don't have an idea how to fix it. > Should doc2texi.el be extended, or could term/post.trm be changed without > losing the feature of repeated text blocks? The attached patch is a proof of concept for an extension of doc2texi.el. AFAICS it works. It calls the preprocessor from within doc2texi.el. This could be done somewhat more portable than just calling "cpp -DTERM_HELP", though. But I don't know an easy way to get the values of $(CPP) and $(CPPFLAGS) into the elisp processor other than through the enviroment (which seems to be quite easy, but not quite elegant). How portable should this step be? Will gnuplot.info be prebuilt in releases? Juergen |