Comments (4)
What is the issue?
from sgb.
Not an issue as such.
I've modified the Makefile
to generate PDFs of the modules for my own use.
It may also be useful for anyone wanting to read the cweave
output as a PDF file.
I was wondering if you're interested in adding the change to your repo.
from sgb.
I see. AFAIK, Don Knuth still accepts reports for SGB directly.
Personally, I use shell scripting, when I want to procude PDF output from the SGB sources
for f in assign_lisa book_components econ_order football girth ladders miles_span multiply queen roget_components take_risc word_components; do cweave $f; pdftex $f; done
or library modules
for f in gb_*.w; do f=`basename $f .w`; cweave $f; pdftex $f; done
Alternatively, you can use the Makefile
s from MMIX or CWEB, e.g.,
sgb> $ make -f ../mmix/Makefile PDFTEX=dvipdfm gb_io.pdf
sgb> $ make -f ../cweb/Makefile PDFTEX=xetex gb_basic.pdf
or even
sgb> $ make -f ../cweb/Makefile PDFTEX=hitex gb_games.pdf
although this produces gb_games.hnt.
You can apply any of these approaches locally it you like.
from sgb.
OK, understood.
I hadn't realised that Makefile
is DEK's original. I won't contact him, I expect he's very busy with TAOCP vol 4 ;-)
My PR was against your local branch, and by the way, thanks for all your work here, it worked for me without any trouble.
The update in the PR lets one type make pdfs
or make gb_games.pdf
to generate all or specific docs.
All the best
f.
from sgb.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgb.