Fixed build script --highlight-style switch.

This commit is contained in:
Andy 2026-09-16 20:01:03 -04:00
parent a944cc2bd7
commit 0dd7888226
2 changed files with 18 additions and 29 deletions

View file

@ -427,30 +427,6 @@ Once FreeBSD boots, follow the same installer steps described above, where we ch
After installation completes, remove the USB stick and reboot. FreeBSD will now boot from the hard drive.
### First Boot
After installation, you'll see the FreeBSD boot menu:
![image-20250823213050882](https://freebsd.edsonbrandi.com/images/image-20250823213050882.png)
Followed by the login prompt:
![image-20250823212856938](https://freebsd.edsonbrandi.com/images/image-20250823212856938.png)
Congratulations! Your FreeBSD lab machine is now alive and ready for configuration.
### Installing FreeBSD in VirtualBox (Step by Step)
If you don't already have **VirtualBox** installed, you'll need to set it up before creating your FreeBSD VM. VirtualBox is available for Windows, macOS, Linux, and even Solaris hosts. Download the latest version from the official website:
https://www.virtualbox.org/wiki/Downloads
Choose the package that matches your host operating system (for example, Windows hosts or macOS hosts), download it, and follow the installer. The installation is straightforward and only takes a few minutes. Once it's complete, launch VirtualBox, and you'll then be ready to create your first FreeBSD virtual machine.
Now that you are ready, let's go through the VirtualBox process, since that's the easiest entry point for most readers. The steps are similar in VMware or bhyve.
To get started execute VirtualBox App in your computer and in the main screen select **Home** in the left column, and than click in **New**, and follow the steps below:
### Installing FreeBSD in qemu (Step by Step)
QEMU can run operating systems and programs for a variety of machines and architectures, using full-system emulation, user-mode emulation or virtualization. If you enjoy working at a shell prompt and qemu is available on your system, you may prefer it. If you don't already have **qemu** installed, you'll need to set it up before creating your FreeBSD VM. **qemu** is available for Windows, macOS, and Linux. You may download the latest version from the official website:
@ -500,11 +476,11 @@ The following example creates a 64-bit x86 machine with 4 GB of RAM, 2 CPU cores
-device e1000,netdev=net0
```
Follow the step by step instructions in the VirtualBox FreeBSD installation sectoin above to install and configure your FreeBSD lab to the qemu image.
Follow the step by step instructions in the VirtualBox FreeBSD installation section above to install and configure your FreeBSD lab to the qemu image.
After you install FreeBSD, power down the live install image using the qemu 'Machine' menu.
![image-20260916-qemu-poweroff.png](../../images/image-20260916-qemu-poweroff.png)
![image-20260916-qemu-poweroff.png](content/images/image-20260916-qemu-poweroff.png)
4. **Boot the FreeBSD VM**
@ -570,6 +546,19 @@ Later on in this guide, you will be shown how to enable SSH in the FreeBSD guest
Change 'fbsd-user-name' with the account name you setup when you installed FreeBSD.
### First Boot
After installation, you'll see the FreeBSD boot menu:
![image-20250823213050882](https://freebsd.edsonbrandi.com/images/image-20250823213050882.png)
Followed by the login prompt:
![image-20250823212856938](https://freebsd.edsonbrandi.com/images/image-20250823212856938.png)
Congratulations! Your FreeBSD lab machine is now alive and ready for configuration.
### Wrapping Up
You've just completed one of the most important milestones: installing FreeBSD 14.3 on your dedicated lab environment. Whether in a VM or on bare metal, you now have a clean system that you can safely break, fix, and rebuild as you learn.

View file

@ -550,7 +550,7 @@ build_pdf() {
--variable code-block-font-size=\\footnotesize \
--variable float-placement-figure="H" \
--variable figure-placement="H" \
--syntax-highlighting=tango \
--highlight-style=tango \
--variable linestretch=1.15 \
--variable geometry:"inner=2cm,outer=2cm,top=2.5cm,bottom=2.5cm" \
"${font_args[@]}" \
@ -597,7 +597,7 @@ build_epub() {
--toc \
--toc-depth=2 \
--number-sections \
--syntax-highlighting=tango \
--highlight-style=tango \
--split-level=1 \
--verbose \
-o "$output_file" 2>&1
@ -645,7 +645,7 @@ build_html() {
--to=html5 \
--standalone \
--embed-resources \
--syntax-highlighting=tango \
--highlight-style=tango \
--toc \
--toc-depth=2 \
--number-sections \