General FAQ
How do I hide frames in bfhposter
The poster is based on the tcolorbox package (and KOMA-Script’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 official 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
How do I install the LaTeX and BFH LaTeX tooling on BFH Windows
The process of installing all the described software in this doc is the same for Windows and BFH managed Windows. The only difference for BFH managed Windows installations is that you must run “Make Me Admin” before you can install additional software.
