|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-02-27 14:34:27
|
On 27.02.2011 11:33, Mojca Miklavec wrote:
> 2011/2/26 Hans-Bernhard Bröker<HBB...@t-...>:
>> doc2html.c is similar enough to the existing doc2{something}.c programs we
>> already have. It should build on MacOS, too.
> I have tried, but I don't manage to build it. The best I can do is the
> following (inside docs/Makefile):
>
> doc2html: doc2html.o termdoc.o xref.o
> $(LINK) doc2html.o termdoc.o $(LIBS)
Compare this with the compilation rule for doc2html in
config/makefile.mgw. You're missing modules version and xref in the link.
>> Why not just use makeinfo on the texinfo rendition of gnuplot.doc? There's a
>> ready-made target in docs/Makefile.in for that, already. Just drop the
>> --no-split and it'll generate one file per node just fine.
> And what if I want figures as well
Then you're probably in for a rough ride. With a little coercion, it
should be possible to convince doc2texi to keep HTML fragments in the
output, enclosed in @ifhtml for makeinfo, so they end up in the
generated html.
> (and don't want the "previous", "up", "next", even though this second
> one is probably easier than getting images)?
It is. Makeinfo has the option --no-headers for that.
|