diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2026-01-21 16:04:19 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2026-01-21 16:04:19 +0200 |
| commit | ef799ca43701a6ddde5244e972e3e4350a068b73 (patch) | |
| tree | 15fe9bf73eb31875e618fccf0e71fe6055250d79 | |
| parent | d28c27ce67f55a4dc1e6c0cae3d1a45d5f5d339b (diff) | |
| download | radio-ef799ca43701a6ddde5244e972e3e4350a068b73.tar.zst | |
Use luatex and lwarp
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | flake.nix | 14 | ||||
| -rw-r--r-- | radio.tex | 1 |
3 files changed, 20 insertions, 3 deletions
@@ -1,5 +1,9 @@ .DEFAULT_GOAL := output output: - make4ht --lua --build-dir /tmp/radiotex --output-dir ./html -c myconfig.cfg -f html5 radio.tex - tidy -modify -indent html/radio.html + lualatex radio.tex + lwarpmk html + tidy -modify -indent radio.html + +clean: + rm -f lwarp* comment* *.aux *.txt *.pdf *.toc *.log *.lwarpmkconf *.out radio.html sample_project.css radio_html.* @@ -19,18 +19,27 @@ system: let pkgs = nixpkgsFor.${system}; - mytex = pkgs.texliveMedium.withPackages (ps: [ + mytex = pkgs.texliveSmall.withPackages (ps: [ ps.adjustbox ps.alphalph + ps.capt-of + ps.catchfile ps.changepage + ps.cleveref + ps.comment ps.enumitem + ps.environ ps.etoc ps.fontaxes ps.hanging + ps.ifmtarg + ps.ifptex ps.ltablex + ps.lwarp ps.multirow ps.newunicodechar ps.ninecolors + ps.printlen ps.roboto ps.sectsty ps.stackengine @@ -39,7 +48,10 @@ ps.tocloft ps.transparent ps.varwidth + ps.verifycommand + ps.xifthen ps.xltabular + ps.xstring ]); in { @@ -1,6 +1,7 @@ \documentclass{article} \usepackage[utf8]{inputenc} +\usepackage[mathjax]{lwarp} \usepackage[T1]{fontenc} \usepackage{roboto} \usepackage{microtype} |
