Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile the book? #687

Open
BravoBaldo opened this issue Feb 6, 2025 · 2 comments
Open

How to compile the book? #687

BravoBaldo opened this issue Feb 6, 2025 · 2 comments
Labels
maintainence quarto/git bookkeeping

Comments

@BravoBaldo
Copy link
Contributor

I haven't been able to recompile the book for at least a week.
It would be appropriate to indicate which sw to install.
It seems that Quarto is no longer enough.
Furthermore, the .tex files are called even when compiling only the HTML part.

[ 7/51] contents\core\introduction\introduction.qmd
The call
lualatex
failed with error code 1. Output:
This is LuaHBTeX, Version 1.16.0 (TeX Live 2023)
 restricted system commands enabled.
! Undefined control sequence.
<*> "C:\Users
          ......\AppData\Local\Temp\tikz-c4fd212a1d804530/tikz-image.tex"
! Undefined control sequence.
@profvjreddi
Copy link
Contributor

Hi, yea, we have had to upgrade the compiler and use LuaTex, etc., cause of redrawing the images in this so that everything is more self-contained cause when we tried to render images to the PDF, etc., the resolution of the original image was becoming an issue. So, we are trying to streamline everything. Apologies for the headache, we also faced that.

  1. You will need R and after you install R you will need to do Rscript install_packages.R.
  2. Google Chrome broke Quarto. So you have to download the latest build of Quarto -- https://quarto.org/docs/download/prerelease.html -- you have to get the pre-release as they issued a quick fix.
  3. I would recommend just trying to build index.qmd first since it is the simplest after you do the above.

I will try to add a build instruction file.

@profvjreddi profvjreddi added the maintainence quarto/git bookkeeping label Feb 7, 2025
@profvjreddi
Copy link
Contributor

Hi @BravoBaldo please see https://github.com/harvard-edge/cs249r_book?tab=readme-ov-file#-want-to-build-the-book-locally

I hope these instructions work for you. Let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainence quarto/git bookkeeping
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants