Skip to content

individual lab building is broken #264

@tleb

Description

@tleb

common/labs-header.tex contains much more content than common/single-lab-header.tex. That implies that building labs using features from labs-header.tex does not work. Example:

⟩ make kernel-i2c-describing-hardware-labs.pdf
...
/usr/bin/texfot: invoking: xelatex kernel-i2c-describing-hardware-labs.tex
This is XeTeX, Version 3.141592653-2.6-0.999996 (TeX Live 2024/Arch Linux) (preloaded format=xelatex)
LaTeX Warning: Unused global option(s):
Package hyperref Warning: Rerun to get /PageLabels entry.
Package fancyhdr Warning: \headheight is too small (15.0pt):
Underfull \vbox (badness 10000) has occurred while \output is active
Package fancyhdr Warning: \headheight is too small (15.0pt):
! LaTeX Error: Environment bashinput undefined.

l.132 \begin{bashinput}
! Emergency stop.
 ...
l.132 \begin{bashinput}
Output written on kernel-i2c-describing-hardware-labs.pdf (2 pages).
make[1]: *** [Makefile:200: kernel-i2c-describing-hardware-labs.pdf] Error 1
...
make: *** [Makefile:219: kernel-i2c-describing-hardware-labs.pdf] Error 2

Solutions?

  • Copy interesting content from labs-header.tex to single-lab-header.tex.
  • Make a all-labs-header.tex that gets used for both.
  • Remove the infrastructure to build individual labs.

Commit introducing bashinput & co is dc88032:

commit dc88032a70bd3b989455a9ddf4f8e80c01bd4f98
Author: Manuel Reis <mluis.reis@gmail.com>
Date:   Sat Apr 10 10:59:31 2021 +0100

    add formatting to bash/uboot commands

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions