Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: "Richard Stallman Announces C Reference" Date: Sun, 11 Sep 2022 16:17:22 -0700 Organization: None to speak of Lines: 37 Message-ID: <87leqpijr1.fsf@nosuchdomain.example.com> References: <08f03ac0-09a4-471a-9f40-061b369029bdn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: reader01.eternal-september.org; posting-host="b26c9846d0a6c973f5b57932d4152a5b"; logging-data="2165448"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lFa41ePvhd/LQN7qxtyHj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:0GyVb+b/ngDcsYjmJ4UQ7eI7PQo= sha1:+K5+pWtdFjdHLflhEJJOfjUYCvY= Xref: csiph.com comp.lang.c++:86271 "Alf P. Steinbach" writes: [...] > I typed `bash` in Windows Cmd, to enter Ubuntu in Windows Subsystem > for Linux, and followed the given recipe: > > sudo apt update > sudo apt install texlive-latex-extra > sudo apt install ghostscript > sudo apt install texinfo > git clone https://git.savannah.gnu.org/git/c-intro-and-ref.git > cd c-intro-and-ref > makeinfo --html -v c.texi -o c.html --no-split > > > I just changed "html" to "pdf". [...] Thanks for that. I've found that the provided Makefile doesn't work very well. One minor point: `make` creates files c, c-1, c-2, and c-3 (no ".info" suffix); they're usable with the info command: `info ./c`, but it would be more consistent to name the files c.info, c.info-1, et al. And `make clean` doesn't delete c-3. Based on your example above, here's what I use to generate info, pdf, and html documents, once I have a clone of the repo and all required tools installed: makeinfo --pdf -v c.texi -o c-intro-and-ref.pdf --no-split makeinfo --html -v c.texi -o c-intro-and-ref.html --no-split makeinfo --info -v c.texi -o c-intro-and-ref.info --no-split -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips void Void(void) { Void(); } /* The recursive call of the void */