Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
user-manual
manual-build
Commits
1f712ba4
Commit
1f712ba4
authored
Apr 12, 2018
by
Glenn Walbran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate pdf files twice to ensure table of contents is populated
parent
96d7063a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Makefile
Makefile
+2
-0
No files found.
Makefile
View file @
1f712ba4
...
...
@@ -149,10 +149,12 @@ latex: fetchtranslations
"(use
\`
make latexpdf' here to do that automatically)."
# build the pdf twice to ensure the table of contents is generated
latexpdf
:
latex
@
$(
foreach
TRANSLATION,
$(TRANSLATIONS)
,
\
echo
"Translation [
$(TRANSLATION)
]..."
;
\
sed
-i
s/,dvipdfmx//
$(BUILDDIR)
/latex/
$(TRANSLATION)
/
$(MAHARA)
/Mahara.tex
;
\
$(MAKE)
PDFLATEX
=
"xelatex -halt-on-error -file-line-error"
-C
$(BUILDDIR)
/latex/
$(TRANSLATION)
/
$(MAHARA)
all-pdf|grep
-P
-A2
":[0-9]+:
\
.*|Error:"
;
\
$(MAKE)
PDFLATEX
=
"xelatex -halt-on-error -file-line-error"
-C
$(BUILDDIR)
/latex/
$(TRANSLATION)
/
$(MAHARA)
all-pdf|grep
-P
-A2
":[0-9]+:
\
.*|Error:"
;
\
echo
"---------------"
;
\
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment