Skip to content

Commit

Permalink
sip: doc: fix number of pages appearing as ??
Browse files Browse the repository at this point in the history
  • Loading branch information
varqox committed Sep 22, 2024
1 parent 86fad2c commit fba8a65
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions subprojects/sip/src/sip_package.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1061,11 +1061,15 @@ static void compile_tex_file(StringView file) {
for (int iter = 0; iter < 2; ++iter) {
auto res = sc.await_result(sc.send_request(
{{
"/usr/bin/pdflatex",
"-halt-on-error",
"-output-directory",
"/out",
concat_tostr("/pkg/", file),
"/usr/bin/sh",
"-c",
concat_tostr(
"/usr/bin/pdflatex -halt-on-error -output-directory /out '/pkg/",
file,
"' && exec /usr/bin/pdflatex -halt-on-error -output-directory /out '/pkg/",
file,
'\''
),
}},
{
.stdin_fd = std::nullopt,
Expand Down

0 comments on commit fba8a65

Please sign in to comment.