public TexWrapper() { this.Configuration = new TexConfig(); var exeDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); var config = new FileInfo(Path.Combine(exeDir, "Configuration.xml")); if (config.Exists) { this.Configuration.Load(config); } else { config = new FileInfo(Path.Combine(exeDir, "Config", "Configuration.xml")); if (config.Exists) { this.Configuration.Load(config); } } }
public LatexEngine(TexConfig config) : this() { this.texWrapper_ = new TexWrapper(config); }
public TexWrapper(TexConfig config) : this() { this.Configuration = config; }