SetDirectory["C:\\drorbn\\AcademicPensieve\\Projects\\WKO4"]

Make

Make::usage = "Make[targets, sources, Hold[action]] makes a target, or a list of targets, given sources, or a list of sources, in the style of the unix 'make' command.";
Make[target_String, sources_, action_Hold] := Make[Evaluate@{target}, sources, action];
Make[targets_, source_String, action__Hold] := Make[targets, Evaluate@{source}, action];
Make[targets_List, sources_List, action_Hold] := Module[{},
If[
(And @@ ((FileType[#] =!= None)& /@ sources)) &&
Or[
Or @@ ((FileType[#]===None)& /@ targets),
Min[AbsoluteTime[FileDate[#]]& /@ targets] < Max[AbsoluteTime[FileDate[#]]& /@ sources]
],
Print["Making ",targets, " ..."];
ReleaseHold[action]
]
];

WordCloud

sources={"WKO4.tex", "abstract.tex", "intro.tex", "El.tex", "comp.tex"};
target="WordCloud.png";

MakeWC[]:= Module[{words,dict},
words=Flatten[TextWords[ReadString[#]]& /@ sources];
dict=Complement[
DeleteStopwords[DictionaryLookup[]],
{"begin", "end","left","right", "equation", "item","em"}
];
words =Select[words, MemberQ[dict,#]&];
WordCloud[words, ImageSize->400]
]

MakeWC[]

Make[target, Join[sources,{"index.nb"}], Hold[Export[target, MakeWC[]]]]

Output

{
"TitleNotes" -> StringJoin["<div style=\"clear: right; float: right; padding: 8px; width: 400px;\"><img width=400px src=Logo.png></div>This is the construction / computation page for my paper <b>Finite Type Invariants of w-Knotted Objects IV: Some Computations</b> (<a href=WKO4.pdf>PDF here</a>). <p>Click to download the main Mathematica packages used within: <a href=FreeLie.m><tt>FreeLie.m</tt></a> and <a href=AwCalculus.m><tt>AwCalculus.m</tt></a>. <p><b>Abstract.</b> ",
Import["abstract.txt"],
"\n<p><b>Front page links:</b> <a href=WKO4.pdf>WKO4.pdf</a>, <a href=FreeLie.m><tt>FreeLie.m</tt></a>, <a href=AwCalculus.m><tt>AwCalculus.m</tt></a>, ",
Riffle[
StringReplace[
"  NB (<a href=NB.nb>nb</a>, <a href=nb/NB.pdf>pdf</a>)",
"NB"->#
]& /@ StringSplit["WKO4Session bch 817 Borromean VCapSolution KVDirect dims dims1 Phi"],
",\n"
],
".\n<p>"
]
}