Changeset 15


Ignore:
Timestamp:
02/22/11 21:46:01 (14 years ago)
Author:
bduin
Message:

updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prextra/prhelp2html.m

    r14 r15  
    7979%[pp,name] = fileparts(file);
    8080if isempty(subdir)
    81         [~,subdir] = fileparts(fileparts(file));
     81        [xx,subdir] = fileparts(fileparts(file));
    8282end
    8383if isempty(strmatch(subdir,char('prtools','@dataset','@datafile','@mapping'),'exact'))
     
    102102
    103103title = listn(t,1);
    104 [~,title] = strtok(title); % get rid of first word, probably name
     104[qq,title] = strtok(title); % get rid of first word, probably name
    105105s = [s '<h3>' title '</h3>' newline];
    106106s = [s '<p>' newline];
     
    167167       
    168168        if seealso % get rid of also
    169                 [~,posttok] = strtok(posttok);
     169                [qq,posttok] = strtok(posttok);
    170170                single = isempty(strtok(posttok));
    171171        end
     
    376376s = strrep(s,['<p>' newline '&nbsp;'],'<p>');
    377377s = [s '</p>' content_manual '</body></html>'];
    378 [~,name] = fileparts(name); % allows for names like dataset/show
     378[qq,name] = fileparts(name); % allows for names like dataset/show
    379379if exist(['./' subdir],'file') ~= 7
    380380        mkdir(subdir);
     
    466466                file = which(tok);
    467467                pp = fileparts(file);
    468                 [~,subdir] = fileparts(pp);
     468                [qq,subdir] = fileparts(pp);
    469469                htmlname = fullfile(subdir,htmlname);
    470470                if exist(htmlname,'file') == 2
     
    559559for n=1:length(dirs)
    560560        prtools_dir = fileparts(which(dirs{n}));
    561         [~,prtools_dirname] = fileparts(prtools_dir); % get rid of root
     561        [qq,prtools_dirname] = fileparts(prtools_dir); % get rid of root
    562562        ff = dirnames(prtools_dir);
    563563        for j=1:length(ff)
    564                 [~,name] = fileparts(ff{j});
     564                [qq,name] = fileparts(ff{j});
    565565                if n==1
    566566                        feval(command,name); % prtools main commands
Note: See TracChangeset for help on using the changeset viewer.