mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 10:08:50 -05:00
- HTML builds working perfectly with cross-references - Clean filter output with professional logging - Quiz system functioning properly - Cross-reference filter successfully injects 14 connection boxes for HTML - PDF processing needs different approach (one big file vs individual files)
12 lines
796 B
Bash
Executable File
12 lines
796 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Setup script for Lua environment to work with cross-reference filter
|
|
# This sets up the paths so that the dkjson module can be found by Quarto
|
|
|
|
export LUA_PATH='/usr/local/Cellar/luarocks/3.12.2/share/lua/5.4/?.lua;/usr/local/share/lua/5.4/?.lua;/usr/local/share/lua/5.4/?/init.lua;/usr/local/lib/lua/5.4/?.lua;/usr/local/lib/lua/5.4/?/init.lua;./?.lua;./?/init.lua;/Users/VJ/.luarocks/share/lua/5.4/?.lua;/Users/VJ/.luarocks/share/lua/5.4/?/init.lua'
|
|
|
|
export LUA_CPATH='/usr/local/lib/lua/5.4/?.so;/usr/local/lib/lua/5.4/loadall.so;./?.so;/Users/VJ/.luarocks/lib/lua/5.4/?.so'
|
|
|
|
echo "✅ Lua environment set up for cross-reference filter"
|
|
echo "🔗 You can now run: quarto render [file] --to [format]"
|
|
echo "📄 Cross-references will be automatically injected during rendering" |