-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
64 lines (56 loc) · 1.52 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef CONFIG_H
#define CONFIG_H
#include <stddef.h>
static const char *output_dir = ".texmax";
static const char *fifo_name = "cmd";
static const char *latex_doc_name = "doc.tex";
static const char *latex_res_name = "res.tex";
static const char *log_name = "max.log";
static char *const maxima_args[] = {
"maxima",
"--quiet",
"--init=/usr/local/share/texmax/init",
NULL,
};
static const char *latex_preambel = \
"\\documentclass[preview,border=5bp,fleqn]{standalone}\n" \
"\\usepackage{amsmath}\n"
"\\usepackage{graphicx}\n" \
"\\setlength\\parindent{0pt}\n" \
"\\setlength\\mathindent{0pt}\n";
static const char *latex_doc_env[] = {
"\\begin{document}\n",
"\\end{document}\n"
};
static const char *latex_include_res_env[] = {
"\\input{", "}\n"
};
static const char *latex_doc_end = "\\vspace{\\baselineskip}\n";
static const char *latex_samepage_env[] = {
"\\begin{samepage}\n",
"\\end{samepage}\n"
};
static const char *latex_prompt_env[] = {
"\\mbox{\\tt ", " \\black}"
};
static const char *latex_align_sep = "& ";
static const char *latex_cmd_env[] = {
"\\mbox{\\tt ", "}"
};
static const char *latex_math_env[] = {
"\\begin{align*}\n",
"\\end{align*}\n"
};
static const char *latex_math_sep = " \\\\\n";
static const char *latex_text_env[] = {
"\\begin{verbatim}\n",
"\\end{verbatim}\n"
};
static const char *latex_plot_env[] = {
"\\includegraphics[width=0.8\\textwidth]{", "}\n"
};
static const char *latex_cell_end = "\n";
static const char *eplot_filename_arg_env[] = {
"[pdf_file, \"", "\"]"
};
#endif /* CONFIG_H */