General FAQ
How do I hide frames in bfhposter
The poster is based on the tcolobox
package (and KOMA-Skript’s scrartcl
class). Frames can be hidden like this:
\begin{posterboxenv}[%
BFH-abstract,
frame hidden
]{name=abstr,column=1,row=1,span=6}
...
\end{posterboxenv}
How do I build latex documents in GitLab pipelines
We will not provide instructions for GitLab CI/CD here, they can be found in the official documentation. However, the following file can be added to your repository to build latex documents on each push:
Important
The pipeline below builds from your main tex
file and adds it to the pipeline
artifacts, from which the latest can always be downloaded via the following link
(add it to your README in the project ):
https://gitlab.ti.bfh.ch/<namespace>
/<project>
/-/jobs/artifacts/<ref>
/raw/<path_to_file>
?job=build
namespace
: either a group or your usernameproject
: the name of your repositoryref
: the branch (in the example belowmaster
)path_to_file
: the output pdf (belowdocument.pdf
)
Please consult the offical documentation for examples.
.gitlab-ci.yml
variables:
PDF_JOB: document
OUTPUT_PDF: ${PDF_JOB}.pdf
stages:
- build
- release
build:
image: registry.gitlab.ti.bfh.ch/bfh-latex/registry/bfh-ci:latest
stage: build
before_script:
- sudo tlmgr update --self --all
- sudo apt update
script:
- latexmk -jobname=${PDF_JOB}
- mv _output/${OUTPUT_PDF} .
artifacts:
paths:
- ${OUTPUT_PDF}
expire_in: 2h
only:
refs:
- master