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);
|