From 41fd8cd100ce581199b6097c6a5ac48ea9fc039a Mon Sep 17 00:00:00 2001 From: Samuel Ortion Date: Tue, 9 Apr 2024 20:41:58 +0200 Subject: [PATCH] feat: Use cref instead of ref for figures --- .latexmkrc | 2 + Makefile | 9 +- media/dummy.png | Bin 0 -> 546 bytes references.bib | 841 ++++++++++++++++++++++++++++++++++++++++++++++++ report.md | 174 ++++++++++ report.org | 66 ++-- report.pdf | 4 +- 7 files changed, 1058 insertions(+), 38 deletions(-) create mode 100644 media/dummy.png create mode 100644 references.bib create mode 100644 report.md diff --git a/.latexmkrc b/.latexmkrc index 6c6740f..2ea38a8 100644 --- a/.latexmkrc +++ b/.latexmkrc @@ -33,6 +33,8 @@ sub makeglossaries { return system "makeglossaries", "-d", $path, $base_name; } +add_cus_dep( 'bbl', 'bib', 1, 'biber'); + sub biber { my ( $base_name, $path ) = fileparse( $_[0] ); my @args = ( "--output-directory", $path, $base_name ); diff --git a/Makefile b/Makefile index c3b67cf..b658d77 100755 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ OPTIONS=-shell-escape -file-line-error -synctex=1 -interaction=batchmode SOURCE=report -all: build bib glossaries build build - +all: latexmk debug: lualatex -shell-escape -file-line-error $(SOURCE) @@ -9,12 +8,12 @@ build: lualatex $(OPTIONS) $(SOURCE) latexmk: - latexmk -gg -pdf $(SOURCE) + latexmk -pdf $(SOURCE) bib: - biber $(SOURCE) + biber --output-directory=build $(SOURCE) glossaries: - makeglossaries $(SOURCE) + makeglossaries -d build $(SOURCE) .PHONY: build diff --git a/media/dummy.png b/media/dummy.png new file mode 100644 index 0000000000000000000000000000000000000000..e723f8f3255d9d055e229f30dbdbaef1eaad387b GIT binary patch literal 546 zcmV+-0^R+IP)EX>4Tx04R}tkv&MmKpe$i(@Iq;B6bjQ2vVKwq9Ts93Pq?8YK2xEOfLO`CJjl7 zi=*ILaPVWX>fqw6tAnc`2!4P#J2)x2NQwVT3N2ziIPS;0dyl(!fKV?p%?iW-O}EWd zA}(gKt77mK0rX%1qY!0g8FP}9M91-U44LCuqO|IySV+-+yn}z(^-JVZ$W;O( z#{w$QAiI9>Klt6Pm7kjQl0tEy>&0~1(5N}i_p#$NP5}QiaHY5Wl{zr{NqViN zMUH^}ZQ$a%r73&B