From: Stefan H. <ste...@t-...> - 2017-05-19 07:51:03
|
Hello, generating the texinfo files from the sco files no longer works after a recent commit in CVS. Updated level "5" menu following node: mf ... Updated level "5" menu following node: mp ... Updated level "5" menu following node: windows ... Updated level "5" menu following node: x11 ... Updated level "3" menu following node: Bugs ... Making or updating menus in *doc2texi*...done Done...updated all the menus. You may save the buffer. /bin/sh /home/haawda/paketierung/meine_Pakete/gnuplot-cvs/src/gnuplot/missing makeinfo -I. gnuplot.texi --no-split --output=gnuplot.info gnuplot.texi:1682: @item outside of table or list gnuplot.texi:1695: @item outside of table or list gnuplot.texi:1708: @item outside of table or list gnuplot.texi:1721: @item outside of table or list gnuplot.texi:10604: warning: @ref should not appear in @uref gnuplot.texi:11018: @item outside of table or list gnuplot.texi:21179: warning: unknown @end itemizeif gnuplot.texi:21184: warning: unknown @end itemizeif gnuplot.texi:21223: warning: unknown @end itemizeif gnuplot.texi:21594: warning: unknown @end itemizeif gnuplot.texi:22389: warning: unknown @end itemizeif gnuplot.texi:23079: warning: unknown @end itemizeif gnuplot.texi:23087: warning: unknown @end itemizeif gnuplot.texi:23108: warning: unknown @end itemizeif gnuplot.texi:23116: warning: unknown @end itemizeif gnuplot.texi:23497: warning: unknown @end itemizeif gnuplot.texi:23517: warning: unknown @end itemizeif gnuplot.texi:23721: warning: unknown @end itemizeif gnuplot.texi:23887: warning: unknown @end itemizeif gnuplot.texi:23925: warning: unknown @end itemizeif gnuplot.texi:24313: warning: unknown @end itemizeif gnuplot.texi:24318: warning: unknown @end itemizeif make: *** [Makefile:1169: gnuplot.info] Error 1 Best Regards Stefan |
From: Stefan H. <ste...@t-...> - 2017-05-19 12:50:23
|
Stefan Husmann <ste...@t-...> writes: > Hello, > > generating the texinfo files from the sco files no longer works after a /sco/doc/ I applied a patch and the build works for me with that patch. diff -Naur gnuplot.orig/docs/doc2texi.el gnuplot/docs/doc2texi.el --- gnuplot.orig/docs/doc2texi.el 2017-05-18 18:31:58.000000000 +0200 +++ gnuplot/docs/doc2texi.el 2017-05-19 13:54:53.368051644 +0200 @@ -760,7 +760,7 @@ (while (re-search-forward "^#end" (point-max) "to_end") (replace-match "@end itemize" t)) (goto-char (point-min)) - (while (re-search-forward "^#b" (point-max) "to_end") + (while (re-search-forward "^#b " (point-max) "to_end") (replace-match "@item\n" t)) (goto-char (point-min)) (while (re-search-forward "^##" (point-max) "to_end") But I cannot say if the patch is accurate. Best Regards Stefan |
From: Achim G. <Str...@ne...> - 2017-10-07 15:13:41
|
There are some more errors in the conversion script. The attached patch fixes those I found out about due to warnings / errors from texinfo 6.5. --8<---------------cut here---------------start------------->8--- --- origsrc/gnuplot-5.2.0/docs/doc2texi.el 2017-05-18 18:30:19.000000000 +0200 +++ src/gnuplot-5.2.0/docs/doc2texi.el 2017-10-03 19:12:41.961204200 +0200 @@ -506,6 +506,9 @@ the end of `d2t-get-terminals'.") (while (re-search-forward "^\"" nil t) (replace-match "" nil nil)) (goto-char (point-min)) + (while (re-search-forward "^#.*$" nil t) + (replace-match "" nil nil)) + (goto-char (point-min)) (while (re-search-forward "\\\\\"" nil t) (replace-match "\"" nil nil)) (goto-char (point-min)) @@ -755,12 +758,12 @@ These lines makes a itemized list." (and d2t-verbose (message " Doing d2t-transitem ...")) (save-excursion (while (re-search-forward "^#start" (point-max) "to_end") - (replace-match "@itemize @bullet" t)) + (replace-match "@itemize @bullet\n" t)) (goto-char (point-min)) (while (re-search-forward "^#end" (point-max) "to_end") - (replace-match "@end itemize" t)) + (replace-match "@end itemize\n" t)) (goto-char (point-min)) - (while (re-search-forward "^#b" (point-max) "to_end") + (while (re-search-forward "^#b " (point-max) "to_end") (replace-match "@item\n" t)) (goto-char (point-min)) (while (re-search-forward "^##" (point-max) "to_end") --8<---------------cut here---------------end--------------->8--- Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada |