diff scripts/miscellaneous/publish.m @ 28912:0de38a6ef693

maint: Use Octave convention of space after function name in scripts dir. * cplxpair.m, gradient.m, integral.m, integral3.m, interp2.m, interpft.m, num2str.m, pol2cart.m, quad2d.m, quadgk.m, quadl.m, repelem.m, sph2cart.m, convhull.m, delaunay.m, delaunayn.m, movegui.m, print_usage.m, __strip_html_tags__.m, colormap.m, gray2ind.m, imformats.m, importdata.m, javachk.m, condest.m, isbanded.m, krylov.m, lscov.m, rref.m, inputParser.m, publish.m, symvar.m, validateattributes.m, ode15i.m, ode15s.m, ode23.m, ode23s.m, ode45.m, fminbnd.m, fminsearch.m, glpk.m, qp.m, get_forge_pkg.m, installed_packages.m, annotation.m, axis.m, camorbit.m, campos.m, camva.m, camzoom.m, daspect.m, legend.m, pbaspect.m, __gnuplot_legend__.m, light.m, patch.m, plotyy.m, __pie__.m, reducepatch.m, ribbon.m, streamline.m, trisurf.m, figure.m, ndgrid.m, __gnuplot_draw_axes__.m, __opengl_print__.m, padecoef.m, polygcd.m, ppval.m, spline.m, union.m, bicg.m, bicgstab.m, cgs.m, eigs.m, gmres.m, pcg.m, pcr.m, __alltohandles__.m, __sprand__.m, qmr.m, tfqmr.m, betaincinv.m, cosint.m, gammainc.m, discrete_cdf.m, discrete_inv.m, discrete_rnd.m, base2dec.m, strtok.m, compare_plot_demos.m, html_compare_plot_demos.m, speed.m, test.m, weboptions.m, webread.m, webwrite.m: Use Octave convention of space after function name and before '(' in scripts directory.
author Rik <rik@octave.org>
date Tue, 13 Oct 2020 18:17:29 -0700
parents 90fea9cc9caa
children 6e460773bdda
line wrap: on
line diff
--- a/scripts/miscellaneous/publish.m	Tue Oct 13 15:31:11 2020 -0700
+++ b/scripts/miscellaneous/publish.m	Tue Oct 13 18:17:29 2020 -0700
@@ -611,7 +611,7 @@
   ## Extract <html> and <latex> blocks recursively.
   content_str = strjoin (content, "\n");
   tags = {"html", "latex"};
-  for i = 1:length(tags)
+  for i = 1:length (tags)
     tok = regexp (content_str, ...
       ['(.*?)(^|\n\n)(<', tags{i}, '>)\n(.*?)\n(<\/', ...
         tags{i}, '>)($|\n\n)(.*)'], "tokens", "once");