From: <car...@us...> - 2012-03-12 15:16:33
|
Revision: 9822 http://octave.svn.sourceforge.net/octave/?rev=9822&view=rev Author: carandraug Date: 2012-03-12 15:16:22 +0000 (Mon, 12 Mar 2012) Log Message: ----------- publish: fix bug due to incorrectly named variables Modified Paths: -------------- trunk/octave-forge/main/miscellaneous/inst/publish.m Modified: trunk/octave-forge/main/miscellaneous/inst/publish.m =================================================================== --- trunk/octave-forge/main/miscellaneous/inst/publish.m 2012-03-12 15:06:46 UTC (rev 9821) +++ trunk/octave-forge/main/miscellaneous/inst/publish.m 2012-03-12 15:16:22 UTC (rev 9822) @@ -311,7 +311,7 @@ if (!isempty (figures)) for nfig = 1:length (figures) figure (figures(nfig)); - print (sprintf ("%s%d.%s", iFile(1:end-2), nfig, options.imageFormat), + print (sprintf ("%s%d.%s", ifile(1:end-2), nfig, options.imageFormat), sprintf ("-d%s", options.imageFormat), "-color"); if (strcmpi (options.format, "html")); section3_title = "<h2>Generated graphics</h2>\n"; @@ -320,10 +320,10 @@ elseif (strcmpi (options.format, "latex")) section3_title = "\\section*{Generated graphics}\n"; disp_fig = strcat (disp_fig, "\\includegraphics[scale=0.6]{", ifile(1:end-2), - sprintf("%d",nFig), "}\n"); + sprintf("%d",nfig), "}\n"); endif - endfor - endif + endfor + endif endfunction % TO DO This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |