JunghanKim 2024 "junghan0611/sicp-info info manual"

(JunghanKim [2024] 2024) Stucture and Interpretation of Computer Progams in info format

"neilvandyke.org - SICP in Texinfo Format"

(โ€œNeilvandyke.Org - SICP in Texinfo Formatโ€ n.d.)

tex -> info ํŒŒ์ผ ์ƒ์„ฑ pdf / org ๋ชจ๋‘ ์ƒ์„ฑ๊ฐ€๋Šฅ sicp ํ…Œ์ŠคํŠธ

[2024-11-12 Tue 12:55]

tex -> info ํŒŒ์ผ ์ƒ์„ฑ pdf / org ๋ชจ๋‘ ์ƒ์„ฑ๊ฐ€๋Šฅ sicp ํ…Œ์ŠคํŠธ ๋ฐฉ๋ฒ•์€?

#ํ™œ์šฉ๋ฒ•: #์ด๋งฅ์Šค #์ธํฌ #๋งค๋‰ด์–ผ

si sicp ์›น ๋ฒ„์ „์ด ์ˆ˜์ •์ด ๋” ๋œ ๊ฒƒ ๊ฐ™์€๋ฐ info ๋นŒ๋“œ ๋˜๋Š” ๊ฒƒ์ด ๋จผ์ €๋‹ˆ๊นŒ. ์–ด์ฉ” ์ˆ˜ ์—†๋‹ค. ํ•˜๋‚˜์˜ ์†Œ์Šค๋กœ ํ†ตํ•ฉ - ํ•œ๊ธ€ํ™”๋Š” ํ•  ์ง“์ด ์•„๋‹ˆ๋‹ค.

์ž ์‹œ๋งŒ sicp html epub ๋ฒ„์ „์€ ์ƒ์„ฑ์ด ๋œ๋‹ค. latex๊ฐ€ ๋‹ค๋ฅด๊ตฐ

sudo apt-get install texi2html texinfo texinfo-lib
 
๋กœ์ปฌ์—์„œ ์ฝ์œผ๋ ค๋ฉด ๋จผ์ € https://mitpress.mit.edu/sicp/ ์—์„œ wget ๋‹ค์šด๋กœ๋“œ ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ./html ์— ๋„ฃ์Šต๋‹ˆ๋‹ค.
๋ฅผ ํด๋ฆญํ•œ ๋‹ค์Œ ํ…์ธํฌ ํ˜•์‹์„ ์ฐพ์•„ http://www.neilvandyke.org/sicp-texi/ ์—์„œ ๋‹ค์šด๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค.
 
์„ค์น˜ํ•˜๋ ค๋ฉด makeinfo ๋˜๋Š” texi2any ํ…์‹œ๋ฅผ ์ •๋ณด ํŒŒ์ผ๋กœ ๋ณ€ํ™˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋˜๋Š” ๋‚ด๊ฐ€ ๋ณ€ํ™˜ํ•œ ์ •๋ณด ํŒŒ์ผ์„ ์‚ฌ์šฉํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
 
๋‹จ์ผ ์ •๋ณด ํŒŒ์ผ๋กœ ๋ณ€ํ™˜ํ•ฉ๋‹ˆ๋‹ค:
 
cd texinfo
make sicp.info
make sicp.html # if you want html version
make sicp.pdf # work if you have TeX installed
make install # if you want to put sicp.info into your info path
INFOPATH=$HOME/.local/share/info make install # spec info path
in Makefile:
 
--no-warn sicp.texi์— ๊ตฌ๋ฌธ ์˜ค๋ฅ˜๊ฐ€ ๋งŽ์€๋ฐ ์–ด๋–ป๊ฒŒ ์ˆ˜์ •ํ•ด์•ผ ํ• ์ง€ ๋ชจ๋ฅด๊ฒ ์Šต๋‹ˆ๋‹ค.
--force ์—์„œ ๊ตฌ๋ฌธ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๊ฑฐ๋‚˜ ์ด์ „ ๋ฒ„์ „์œผ๋กœ ์ธํ•ด ์ •๋ณด ํŒŒ์ผ์ด ์ถœ๋ ฅ๋˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
--no-split ์€ makeinfo๋ฅผ ๋‹จ์ผ ํŒŒ์ผ๋กœ ์ถœ๋ ฅํ•˜๊ณ , ๊ธฐ๋ณธ makeinfo ์ž๋™ ๋ถ„ํ•  ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
 
์ •๋ณด ํ˜•์‹ ์ฝ๊ธฐ
๋ช…๋ น์–ด info ๋˜๋Š” emacs๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ฝ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
 
info ./sicp.info
emacs
์ง์ ‘ ์ฝ๊ฑฐ๋‚˜ ์ •๋ณด ๋””๋ ‰ํ† ๋ฆฌ์— ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
 
;; directly read it
(info "~/sicp/texinfo/sicp.info")
๋˜๋Š” ์ •๋ณด ๋””๋ ‰ํ† ๋ฆฌ์— ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ์ˆ˜๋™ ์‹œ์Šคํ…œ์— ๋งจ ํŽ˜์ด์ง€๋ฅผ ์ถ”๊ฐ€ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
 
์ •๋ณด ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋งฅ์—์„œ Info-default-directory-list Info-additional-directory-list ๋‘ ๋ณ€์ˆ˜๋ฅผ ํ™•์ธํ•˜๊ณ  ์›ํ•˜๋Š” ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์„ ํƒํ•˜๊ฑฐ๋‚˜ ์ƒˆ๋กœ ๋งŒ๋“  ๋‹ค์Œ ์ถ”๊ฐ€ ๋ชฉ๋ก์— ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
 
ํ•ด๋‹น ๋””๋ ‰ํ„ฐ๋ฆฌ์— sicp.info ์„ ๋„ฃ์€ ๋‹ค์Œ install-info ๋ช…๋ น์„ ์‚ฌ์šฉํ•˜์—ฌ ํ•ด๋‹น ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์ดˆ๊ธฐํ™”ํ•ฉ๋‹ˆ๋‹ค.
 
install-info sicp.info dir
์ด์ œ ์—๋งฅ์—์„œ C-h i ์„ ๋ˆ„๋ฅด๋ฉด ์‹œ์Šคํ…œ์˜ ๋ชจ๋“  ์ •๋ณด๊ฐ€ ํ‘œ์‹œ๋˜๋ฉฐ, sicp.info๋ฅผ ํฌํ•จํ•˜์—ฌ ์„ค์น˜๋งŒ ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

Related-Notes

References

JunghanKim. (2024) 2024. โ€œJunghan0611/Sicp-Info Info Manual.โ€ https://github.com/junghan0611/sicp-info.

โ€œNeilvandyke.Org - SICP in Texinfo Format.โ€ n.d. Accessed June 29, 2024. https://www.neilvandyke.org/sicp-texi/.