Copyleft | Dror Bar-Natan: Academic Pensieve: Projects: Academic Pensieve:

Academic Pensieve Assembly File

Pensieve Header: This notebook assembles the web version of my Academic Pensieve.

Actions

Assemble All

PensieveAssemble["all"];

Convert all .nb Files

PensieveAssemble["nb"]

Convert all .one Files

PensieveAssemble["one"];

Make thumbnails for all images

PensieveAssemble["thumbs"]

Create Index Pages

PensieveAssemble["indexes"]

PensieveAssemble Random, About, RecentChanges.

PensieveAssemble["random"]

Delete all TOC files

(* DeleteFile /@ FileNames["TOC.m", {PensieveDirectory}, Infinity]; *)

Delete all index files

DeleteFile /@ FileNames["index.html", {PensieveDirectory}, Infinity];

Delete all thumbnails

DeleteFile /@ Flatten[FileNames["*", #]& /@ (
FileNames["thumbs", {PensieveDirectory}, Infinity]
)];

Initialization

Get["C:\\drorbn\\AcademicPensieve\\Projects\\AcademicPensieve\\AssemblyPrograms.m"];
PensieveDirectory="C:\\drorbn\\AcademicPensieve";
PensieveURL="http://drorbn.net/AcademicPensieve/";