liuxinyu95 / AlgoXY

Book of Elementary Functional Algorithms and Data structures
6.09k stars 737 forks source link

build tweaks & minor fixes #66

Closed barak closed 2 years ago

barak commented 2 years ago

if you don't want the build tweaks (which makes it build painlessly and with maximum parallelism for me!) the others are I think pretty unobjectionable.

barak commented 2 years ago

תודה רבה.

liuxinyu95 commented 2 years ago

thanks.

I like the idea to simplify the build process.

liuxinyu95 commented 2 years ago

Past from the revert comment:

Although it works for the whole book, I found it broken the following:

  1. build for separated chapters;
  2. build for separated example code

I'll next merge the change for URL, quotes etc, but the build changes need more review.

barak commented 2 years ago

I'll take a look at building separated chapters & example code to work with latexmk. Should be straightforward.

liuxinyu95 commented 2 years ago

I cherry-picked all the changes excepted for the build process improvement. I'll next take your idea, and maintain each chapter/example program can be build standalone.

barak commented 2 years ago

Oops, just noticed your force-push! I already did that rebase, and am doing final touches on rewriting the build system to also handle individual chapters.

Will rebase onto your forced-push...