Run

SetDirectory["C:\\drorbn\\AcademicPensieve\\Projects\\Signatures"];
$PageWidth=1.1N[284/72];
Make["Common.tex","Common.nb",Hold[nb2tex["Common", PDFFolder->"Snips/Common", PDFWidth->$PageWidth]]];
Make["AsInKT.tex","AsInKT.nb",Hold[nb2tex["AsInKT", PDFFolder->"Snips/AsInKT", PDFWidth->$PageWidth]]];
Make["TL4BR.tex","TL4BR.nb",Hold[nb2tex["TL4BR", PDFFolder->"Snips/TL4BR", PDFWidth->$PageWidth]]];
Make["SideBySide.tex","SideBySide.nb",Hold[nb2tex["SideBySide", PDFFolder->"Snips/SideBySide", PDFWidth->$PageWidth]]];
Make["Goeritz.tex","Goeritz.nb",Hold[nb2tex["Goeritz", PDFFolder->"Snips/Goeritz", PDFWidth->$PageWidth]]];
Run@"\"C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64\\pdflatex.exe\" Signatures.tex"

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]
]
];

nb2tex

As in http://drorbn.net/AcademicPensieve/Projects/nb2tex/.

SetOptions[$FrontEndSession,PrintingStyleEnvironment->"Working"];
nb2tex[nb_String,opts___Rule]:=nb2tex[nb,nb,opts];

nb2tex[nb_String,tex_String, opts___Rule]:=Module[
{notebook,PDFCounter=0,lines,type,tag,pdfname,cell,c,cl,
PDFFolder=PDFFolder/. {opts}/.PDFFolder->nb
},
nb2tex$PDFWidth = PDFWidth /. {opts} /. PDFWidth->6.5;
notebook=NotebookGet[NotebookOpen@FileNameJoin[{Directory[],nb<>".nb"}]];
If[FileType[PDFFolder]===None, CreateDirectory[PDFFolder]];
DeleteFile/@FileNames["*.pdf",PDFFolder];
lines=Table[
type=cell[[2]];
tag=CellTags /. Cases[cell,_Rule] /. CellTags->"";
Which[
type=="Text"∧tag=="tex", StringReplace[cell[[1]],{"’"->"'", "”"->"\""}],
StringMatchQ[tag,"pdf"~~___], (
pdfname=PDFFolder<>"/"<>ToString[++PDFCounter]<>".pdf";
Export[pdfname, Join[cell, Cell[PageWidth -> 80nb2tex$PDFWidth/0.75]]];
cl="c:\\drorbn\\bin\\cpdf.exe -scale-page \"0.75 0.75\" "<>pdfname<>" -o "<>pdfname;
Close@OpenRead["!"<>cl];
StringReplace[
"\\noindent\\nbpdfXXXType{pdfname}",
{"XXX"->StringDrop[tag,3], "Type"->type, "pdfname"->pdfname}
]
),
type=="Text"∧tag=="exec", ToExpression[cell[[1]]]; "",
True, ""
],
{cell,Cases[notebook,c_Cell /; Length[c]≥2(*∧FreeQ[c, _Cell, {1,∞}]*),∞]}
];
lines=StringJoin@@Riffle[DeleteCases[lines, ""], "\n\n"];
WriteString[tex<>".tex",lines]; Close[tex<>".tex"]; ]