Accessor over the LaTeX template and font files embedded into the binary. More...
#include <optional>#include <string_view>#include <vector>Go to the source code of this file.
Classes | |
| struct | notex::assets::EmbeddedFile |
| struct | notex::assets::EmbeddedHexFile |
| One binary file embedded into the binary as hexadecimal text. More... | |
Namespaces | |
| namespace | notex |
| namespace | notex::assets |
Functions | |
| const std::vector< EmbeddedFile > & | notex::assets::latex_files () |
| std::optional< EmbeddedFile > | notex::assets::find_latex_file (std::string_view name) |
| Looks up a single embedded LaTeX template file by name. | |
| const std::vector< EmbeddedFile > & | notex::assets::font_files () |
| std::optional< EmbeddedFile > | notex::assets::find_font_file (std::string_view name) |
| Looks up a single embedded font file by name. | |
Accessor over the LaTeX template and font files embedded into the binary.
The contents of notex/latex/ and notex/fonts/ are turned into C++ source at build time by cmake/generate_embedded_assets.cmake; this header declares the small, stable interface that the rest of the codebase uses to reach them, without needing to know anything about how the embedding works. Only assets.cpp includes the generated headers themselves.
Definition in file assets.hpp.