root/root-html.C
Mattias Ellert fda3bc6d17 Update to 5.34.32
- New sub-package: root-fonts (STIX version 0.9 required by TMathText)
- Use GNU Free instead of Liberation, works better with TMathText
- Fix segfault when embedding Type 1 fonts
- Drop patch root-no-extra-formats.patch (workaround for above problem)
2015-07-03 16:51:58 +02:00

32 lines
1.2 KiB
C

{
gSystem->AddIncludePath("-I@PWD@/include");
gSystem->AddIncludePath("-I@PWD@/cint/cint/include");
gSystem->AddIncludePath("-I@PWD@/cint/cint/stl");
gSystem->AddIncludePath("-I@PWD@/cint/cint/lib");
TInterpreter::Instance()->AddIncludePath("@PWD@/include");
TInterpreter::Instance()->AddIncludePath("@PWD@/cint/cint/include");
TInterpreter::Instance()->AddIncludePath("@PWD@/cint/cint/stl");
TInterpreter::Instance()->AddIncludePath("@PWD@/cint/cint/lib");
#include <RtypesCint.h>
#include <iostream>
#include <string>
#include <DllImport.h>
gROOT->GetPluginManager()->LoadHandlersFromPluginDirs("");
gROOT->GetPluginManager()->AddHandler("TVirtualPS","image",
"TImageDump","Postscript",
"TImageDump()");
gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo",
"*","TStreamerInfo",
"RIO","TStreamerInfo()");
gROOT->GetPluginManager()->AddHandler("TVirtualGraphPainter", "*",
"TGraphPainter","GraphPainter",
"TGraphPainter()");
delete (TFile*) gROOT->ProcessLine(".x tutorials/hsimple.C");
THtml html;
html.SetProductName("ROOT");
html.SetEtcDir("@PWD@/etc/html");
html.SetHomepage("http://root.cern.ch");
html.LoadAllLibs();
html.SetBatch(kTRUE);
html.MakeAll();
}