Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
34 lines
1010 B
C++
34 lines
1010 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include "font_resolve.h"
|
|
|
|
namespace latex {
|
|
|
|
std::string page(std::string structure,
|
|
std::string title,
|
|
std::string subtitle,
|
|
std::string authors,
|
|
std::string date,
|
|
std::string version,
|
|
std::string copyright,
|
|
std::string bottom,
|
|
std::string prolog,
|
|
std::string paper_size,
|
|
bool two_column,
|
|
float leading,
|
|
int pointsize,
|
|
bool ragged_right,
|
|
std::string cover,
|
|
bool landscape,
|
|
std::string body,
|
|
Resolved_font serif_font = {},
|
|
Resolved_font sans_font = {},
|
|
Resolved_font mono_font = {},
|
|
float font_scale = 1.0f);
|
|
}
|
|
|
|
void check_for_xelatex();
|
|
std::vector<std::string> find_latex_error_lines(const std::string& log_content);
|