Originally posted by Displacer
View Post
Announcement
Collapse
No announcement yet.
Richard Stallman Announces GNU C Language Reference Manual
Collapse
X
-
Originally posted by cb88 View Post
Not so much your age as ignorance and lack of ability to search before speaking. Texinfo files (and perhaps more commonly LaTeX) are just source files you use to generate final typeset output... they are still in common use for producing technical and research papers.
Also coder's answer was far better than the wiki article so it was worth asking. Thanks.
- Likes 5
Comment
-
Originally posted by andyprough View Post
I was able to compile it into a PDF by installing the texlive and texinfo packages, cloning the git directory with:
git clone https://git.savannah.gnu.org/git/c-intro-and-ref.git
Then running 'make' on the git directory, which created a compressed file. Extract that file, get a folder called c-manual, cd into the c-manual folder and run:
texi2pdf c.texi
That created a 'c.pdf' file in the same folder.
This is my first time working with raw texi files, so there are probably far better ways to do the above, but I did get a PDF version from it.
- Likes 4
Comment
-
Originally posted by Displacer View Post
This is C language reference. Why to mention Rust? It is perfectly ok to not mention anything except C. If you need a Rust reference or, for example, Haskell reference, write it yourself and mention everything you want.
- Likes 2
Comment
-
Originally posted by Developer12 View PostI wouldn't expect him to ever include it, but I still laughed at the exclusion of rust.[...]
- Likes 6
Comment
-
Originally posted by andyprough View PostI was able to compile it into a PDF by installing the texlive and texinfo packages, cloning the git directory with:
git clone https://git.savannah.gnu.org/git/c-intro-and-ref.git
Then running 'make' on the git directory, which created a compressed file. Extract that file, get a folder called c-manual, cd into the c-manual folder and run:
texi2pdf c.texi
the Makefile already has sections to compile a pdf, html, plaintext, etc.
simply:
Code:$ git clone https://git.savannah.gnu.org/git/c-intro-and-ref.git $ make c.pdf $ make c.html $ make c.txt
Code:c-manual.tgz: c.texi cpp.texi fp.texi fdl.texi mkdir c-manual ln Makefile c.texi cpp.texi fp.texi fdl.texi c-manual tar czf c-manual.tgz c-manual rm -rf c-manual c.info: c.texi cpp.texi fp.texi fdl.texi makeinfo c.texi c.pdf: c.dvi dvipdf c.dvi c.dvi: c.texi cpp.texi fp.texi fdl.texi tex c.texi c.doc: makeinfo --docbook c.texi c.html: makeinfo --html c.texi c.txt: makeinfo --plaintext c.texi clean: rm -f c-manual.tgz c.dvi c.pdf c c-1 c-2 c.doc c.html c.txt rm -f c.aux c.cp c.fn c.ky c.log c.pg c.tmp c.toc c.tp c.vr
- Likes 5
Comment
Comment