
Stallman이 게시한 C 참조를 컴파일하려고 합니다.https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git
다음을 실행하려고 하면 다음 오류가 발생합니다 make c.pdf
.
c-intro-and-ref$ make c.pdf
tex c.texi
This is TeX, Version 3.141592653 (TeX Live 2022/dev/Debian) (preloaded format=tex)
(./c.texi (./texinfo.tex Loading texinfo [version 2018-01-09.11]: pdf, fonts,
markup, glyphs, page headings, tables, conditionals, indexing, sectioning,
toc, environments, defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
Writing index file c.fn
Overfull \hbox (30.46255pt too wide) detected at line 45
@titlerm GNU C Language Intro and Reference Manual |
[1] (./c.tmp))
Runaway argument?
^^M^^MYou can call @code{main} from C code, as you can call any other@ETC.
! File ended while scanning use of @next.
<inserted text>
@par
<*> c.texi
?
이 문제를 어떻게 해결할 수 있나요?
편집: 나는 이번 주에 그가 게시한 Stallman의 C 참조를 다운로드하고 있습니다. 나는 그것을 얻기 위해 이 가이드를 따랐다https://www.i-programmer.info/news/184-cc/15705-richard-stallman-announces-c-reference.html작동하지만 HTML 형식을 얻는 데만 사용됩니다. c 참조는 c.tex라고 불리며, git repo 내부에 제공된 MAKEFILE을 사용하고 여기에서 c.pdf를 생성하고 싶었습니다. 이 오류가 발생하면 무엇을 해야 할지 모르겠고 PDF 파일의 첫 번째 페이지만 가져오고 나머지는 가져오지 않게 됩니다. 대신 코드 블록을 표시하도록 이미지를 편집했습니다.
EDIT2: 안녕하세요 여러분, 제가 생각했던 makefile이 아닌 .texi 파일에 문제가 있는 것 같습니다. 누군가 이미 여기에서 PDF를 만들었습니다.https://www.cyberciti.biz/files/GNU-C-Language-Manual/GNU%20C%20Language%20Manual.pdf하지만 그/그녀는 문제를 정확히 어떻게 해결했는지 말하지 않았습니다.