#include #include #include "DataCell.hh" int main(int argc, char **argv) { if(argc<3) { std::cerr << "Usage: cadabra2html [--segment] [cadabra notebook] [html file]\n\n"; std::cerr << "Convert a Cadabra v2 notebook to an HTML segment or standalone HTML file.\n" << "If the HTML file name is not given, output goes to standard out.\n"; return -1; } std::string cdb_file, html_file; bool segment_only=false; bool strip_code=false; int n=1; while(n