NoTeX 1.0.0
A modern noteworthy LaTeX template
Loading...
Searching...
No Matches
manager.hpp File Reference

Manager: represents and operates on a single NoTeX project. More...

#include <cstddef>
#include <filesystem>
#include <optional>
#include <string>
#include <vector>
#include "notex/templates.hpp"

Go to the source code of this file.

Classes

struct  notex::ProjectConfig
 Persisted metadata for a single NoTeX project, stored as JSON in .notex/notex.json. More...
struct  notex::CleanReport
 Outcome of a Manager::clean() call. More...
class  notex::Manager
 Represents a single NoTeX project: its location and metadata. More...

Namespaces

namespace  notex

Detailed Description

Manager: represents and operates on a single NoTeX project.

Manager implements finding a project's root directory, loading and saving its metadata, creating a new project, cleaning build artefacts, and mutating an existing project (switching its theme, adding and removing sections, adding and removing a bibliography). Every mutation that edits an existing .tex file delegates that work to a Document rather than touching text directly.

Definition in file manager.hpp.