merge-bot (b36888ec) at 13 Mar 14:22
Peischl Marei (b36888ec) at 13 Mar 14:18
add package suggestions and documebntation information to hkb doc t...
HKB requested some changes concerning their documentation template. There are some questions I have to get answered before but this issue + corresponding branch will take care of it.
Peischl Marei (b36888ec) at 13 Mar 14:18
add package suggestions and documebntation information to hkb doc t...
... and 6 more commits
Peischl Marei (b36888ec) at 13 Mar 14:17
add package suggestions and documebntation information to hkb doc t...
... and 7 more commits
Peischl Marei (b36888ec) at 11 Mar 15:19
add package suggestions and documebntation information to hkb doc t...
Just for documentation: I use this branch to create v2.2.1 directly from it. Simply because it's a bit urgent due to the TL2024 schedule.
This branch now also includes a basic l3build script to have a workaround until the upstream is fixed correctly. Sadly currently the hkb config file is not installed correctly.
It can be used for the project in general by running
l3build install
See l3build documentation for further information. Might also be relevant for https://gitlab.ti.bfh.ch/bfh-latex/bfh-fonts/-/issues/4 and https://gitlab.ti.bfh.ch/bfh-latex/bfh-logo/-/issues/8
Peischl Marei (a8bce3d4) at 11 Mar 14:53
add basic l3build script to the main repo
... and 5 more commits
Using a .devcontainer.json
(as given on the wiki) yields a non-running LaTeX environment in VS Code w/ the LaTeX Workshop extension. It errors out w/ the above error. See the attached log for more detailserror.log
On https://latex.ti.bfh.ch/doc_gettingStarted/configuration/docker.html#use-docker-compose the recommended docker-compose.yaml
is
version: "3.7"
services:
latex-bfh:
image: registry.gitlab.ti.bfh.ch/bfh-latex/registry/bfh-ci:latest
volumes:
- ${PWD}:/home/bfhlatex/project
working_dir: /home/bfhlatex/project
command: "latexmk -pvc -view=none"
This recommendation will fail [1] for compiling multiple *.tex
files, because the option -pvc
can only work with a single file [2].
I am inclined to propose
version: "3.7"
services:
latex-bfh:
image: registry.gitlab.ti.bfh.ch/bfh-latex/registry/bfh-ci:latest
volumes:
- ${PWD}:/home/bfhlatex/project
working_dir: /home/bfhlatex/project
command: "latexmk"
which works fine for multiple *.tex
files. I think it's a more robust default.
Then again, I am not really sure about the initial motivation for adding -pvc -view=none
[3] Maybe I am missing a relevant use case?
Please consider implementing my suggestion to use command: "latexmk"
as a more robust default.
Kind regards, Benedict
[1]
ben@pax ~/tmp/bfh_git/btm1503_machine_learning_lecture $ docker compose up
[+] Running 1/1
✔ Container btm1503_machine_learning_lecture-latex-bfh-1 Recreated 0.1s
Attaching to btm1503_machine_learning_lecture-latex-bfh-1
btm1503_machine_learning_lecture-latex-bfh-1 | Subroutine eps2pdf redefined at (eval 11) line 18.
btm1503_machine_learning_lecture-latex-bfh-1 | Subroutine makeglossaries redefined at (eval 11) line 29.
btm1503_machine_learning_lecture-latex-bfh-1 | Rc files read:
btm1503_machine_learning_lecture-latex-bfh-1 | /home/bfhlatex/.latexmkrc
btm1503_machine_learning_lecture-latex-bfh-1 | .latexmkrc
btm1503_machine_learning_lecture-latex-bfh-1 | Latexmk: This is Latexmk, John Collins, 31 Jan. 2024. Version 4.83.
btm1503_machine_learning_lecture-latex-bfh-1 |
btm1503_machine_learning_lecture-latex-bfh-1 | Latexmk: Need to specify exactly one filename for preview-continuous mode.
btm1503_machine_learning_lecture-latex-bfh-1 | Since none were specified on the command line, I looked for
btm1503_machine_learning_lecture-latex-bfh-1 | files in '*.tex'.
btm1503_machine_learning_lecture-latex-bfh-1 | But I found 19 files, not 1.
btm1503_machine_learning_lecture-latex-bfh-1 | Use
btm1503_machine_learning_lecture-latex-bfh-1 | latexmk -help
btm1503_machine_learning_lecture-latex-bfh-1 | to get usage information
btm1503_machine_learning_lecture-latex-bfh-1 |
btm1503_machine_learning_lecture-latex-bfh-1 exited with code 10
[2] from man latexmk
-pvc Run a file previewer and continually update the .dvi, .ps,
and/or .pdf files whenever changes are made to source files (see
the Description above). Which of these files is generated and
which is viewed is governed by the other options, and is the
same as for the -pv option. The preview-continuous option -pvc
can only work with one file. So in this case you will normally
only specify one filename on the command line. It is also in‐
compatible with the -p and -pv options, so it turns these op‐
tions off.
[3] from man latexmk
-view=default, -view=dvi, -view=ps, -view=pdf, -view=none
Set the kind of file used when previewing is requested (e.g., by
the -pv or -pvc switches). The default is to view the "highest"
kind of requested file (in the low-to-high order .dvi, .ps,
.pdf).
Note the possibility -view=none where no viewer is opened at
all. One example of is use is in conjunction with the -pvc op‐
tion, when you want latexmk to do a compilation automatically
whenever source file(s) change, but do not want a previewer to
be opened.
Thank you or your feedback. I must however note that the documentation clearly states that we do not document docker-compose
usages and that the docker-compose.yml
shown serves as an example only. Also the compose file provided serves the purpose to be started in the background and rebuilding continuously as the source file is changed ("This will watch for changes in the source files and continously build until aborted.") -> pvc
. And since docker containers do not have a gui installed and we do not forward X11 in the example we cannot preview pdfs -> --view=none
.
Again the file is an example. We cannot document each use-case and kindly ask the readers to look at the docker documentation as linked and create a docker-compose for their use-case on their own.
Hi,
the following example fails to compile
\documentclass[10pt]{bfhbeamer}
\LoadBFHModule{tabular}
\usepackage{tabularray}
\begin{document}
\begin{frame}
\begin{bfhTblr}{colspec={X[r]X[r]X[r]X[r]}}
$w_{ij}$ & $s_i$ & $s_j$ & $w_{ij} s_i s_j$\\
-1 & -1 & -1 & -1 \\
+1 & +1 & +1 & +1
\end{bfhTblr}
\end{frame}
\end{document}
with the relevant log output
\g_tblr_level_int=\count356
\g__tblr_data_row_key_count_int=\count357
\g__tblr_data_column_key_count_int=\count358
\g__tblr_data_cell_key_count_int=\count359
\g__tblr_array_int=\count360
\l__tblr_key_count_int=\count361
\l__tblr_key_quotient_int=\count362
\l__tblr_key_quotient_two_int=\count363
\l__tblr_key_remainder_int=\count364
\g__tblr_data_str_value_count_int=\count365
\rulewidth=\dimen327
! Undefined control sequence.
<argument> \g__tblr_defined_hdash_styles_prop
l.1089 ...yval:Nn \g__tblr_defined_hdash_styles_prop
?
! Emergency stop.
<argument> \g__tblr_defined_hdash_styles_prop
l.1089 ...yval:Nn \g__tblr_defined_hdash_styles_prop
End of file on the terminal!
Log file attached: mwe_tblr.log
Thank you, for your support!
Kind regards, Benedict