generating handbook in pdf for printing
I can't manage to generate the PDF version of the handbook v1.2 to send it to a local printing shop.
I get the following error after a fresh git clone of the repo
$ git clone git@gitlab.ow2.org:ggi/ggi.git
$ cd ggi/handbook/scripts
$ chmod +x paperback_convert_handbook.sh
$ ./paperback_convert_handbook.sh
./paperback_convert_handbook.sh: line 17: //: Is a directory
- Building main english version.
# Start build of the body of knowledge.
cp: cannot stat 'content': No such file or directory
sed: can't read /tmp/content/*.md: No such file or directory
# Generating pdf file.
File resources/latex/paperback_title.tex not found in resource path
head: cannot open 'paperback_ggi_handbook.tex' for reading: No such file or directory
GPL Ghostscript 9.55.0 (2021-09-27)
Copyright (C) 2021 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Error: /undefinedfilename in (resources/latex/customised_activity_scorecard_template.pdf)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:764/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./paperback_ggi_handbook_with_appendices.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-01-21>
! Undefined control sequence.
l.2 \includepdf
[pages=-]{/tmp/paperback_customised_activity_scorecard_templa...
?
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.2 \includepdf[
pages=-]{/tmp/paperback_customised_activity_scorecard_templa...
?
I can't manage to do it either with convert_handbook.sh
$ ./convert_handbook.sh
# Setup python3 env.
- Reusing ./env
# Start build of the body of knowledge.
- No update of activities.
- Building main english version.
- No web export.
# Generating tex file.
File resources/latex/title.tex not found in resource path
head: cannot open 'ggi_handbook.tex' for reading: No such file or directory
# Generating pdf file.
- Run 1.
l.2 \includepdf
l.2 \includepdf[
l.2 ...udepdf[pages=-]{resources/latex/customised_
l.2 ...customised_activity_scorecard_template.pdf}
l.3
l.4 \end{document}
l.4 \end{document}
l.4 \end{document}
- Run 2.
l.2 \includepdf
l.2 \includepdf[
l.2 ...udepdf[pages=-]{resources/latex/customised_
l.2 ...customised_activity_scorecard_template.pdf}
l.3
l.4 \end{document}
l.4 \end{document}
l.4 \end{document}
- Run 3.
l.2 \includepdf
l.2 \includepdf[
l.2 ...udepdf[pages=-]{resources/latex/customised_
l.2 ...customised_activity_scorecard_template.pdf}
l.3
l.4 \end{document}
l.4 \end{document}
l.4 \end{document}
- Done.
rm: cannot remove 'ggi_handbook_with_appendices.aux': No such file or directory
rm: cannot remove 'ggi_handbook_with_appendices.toc': No such file or directory
rm: cannot remove 'ggi_handbook.tex': No such file or directory
What am I missing? Thank you for your help.