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 |