blob: f09fcbcba79ea9f07fd1976d548894abd1133681 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
\appendix
\chapter{\LaTeX{} ñóóëãàõ}
\begin{intro}
Êíóò \TeX{}-èéí ýõ êîäûã, íýýëòòýé ýõ áóþó ÷°ë°°ò ïðîãðàìì õàíãàìæ õ°ãæèõ°°ñ °ìí°, ÷°ë°°òýé °°ð÷èëæ àøèãëàæ áîëîõóéö ç°âø°°ð°ëòýéã°°ð ãàðãàñàí á°ã°°ä ãàãöõ³³ °°ð÷èëñ°í êîä íü \TeX{}-ä òàâèãäàõ çîõèõ øààðäëàãóóäûã õàíãàñàí áàéõ ¼ñòîé àæýý. Ýíýõ³³ çàð÷èìä òóëãóóðëàí, \TeX{} ñèñòåì, Sun êîìïàíèéí õ°ãæ³³ëñýí áàðàã á³õ ³éëäëèéí ñèñòåì³³äýä ÷°ë°°òýé òàðõàõ áîëñîí áàéíà. Ýíý á³ëýãò Linux, Mac OS X, Windows ³éëäëèéí ñèñòåì³³äýä \TeX{} àøèãëàõûí òóëä ÿìàð ÿìàð ïðîãðàììóóäûã ñóóëãàñàí áàéõ ¼ñòîé òàëààð ìýäýæ àâàõ áîëíî.
\end{intro}
\section{Ñóóëãàõ ïðîãðàììóóä}
Êîìïüþòåðûí àëü ÷ ³éëäëèéí ñèñòåìä LaTeX-ã àøèãëàõûí òóëä äàðààõ ³íäñýí 3 ò°ðëèéí ïðîãðàììûã ñóóëãàñàí áàéõ õýðýãòýé:
\begin{enumerate}
\item \LaTeX{} ôàéëûã áýëòãýõýä çîðèóëàãäñàí òåêñò çàñâàðëàã÷.
\item \LaTeX{} ôàéëûã PDF þì óó DVI áàðèìò áîëãîí áîëîâñðóóëàõàä çîðèóëàãäñàí \TeX{}/\LaTeX{} ïðîãðàìì.
\item Áàðèìòûã õýâëýõ áóþó ³çýõýä çîðèóëàãäñàí PDF/DVI óíøèã÷ ïðîãðàìì.
\item Áàðèìòàä õàâñàðãàí îðóóëàõ PostScript ôàéë áà çóðàãòàé àæèëëàõ ïðîãðàìì.
\end{enumerate}
“éëäëèéí ñèñòåì áîëãîíä äýýðõ øààðäëàãûã õàíãàõ ò°ð°ë á³ðèéí ïðîãðàììóóä áàéäàã á°ã°°ä ýäãýýðèéí çàðèìààñ äóðäúÿ.
\section{\TeX{}-èéã Mac OS X-ä}
\subsection{Òåêñò çàñâàðëàã÷}
LaTeX-èéí õóâüä ³íäñýí çàñâàðëàã÷ íü \wi{TextMate}! Ýíý íü òåêñò çàñâàðëàã÷äàä áàéõ á³õèé ë áîëîìæîîð õàíãàãäñàí ò°äèéã³é PDFView óíøèã÷ ãýõ ìýò ç³éëñèéã °°ðò°° íýãòãýñýí áàéäãààðàà LaTeX-èéã ñàéòàð äýìæäýã. Ò³³íèé òóðøèæ ³çýõ õóâèëáàðûã \url{http://macromates.com/} õàÿãààñ òàòàæ àâ÷ áîëîõ á°ã°°ä á³ðýí õóâèëáàðûã íü 39 åâðîãîîð õóäàëäàí àâ÷ áîëîõ àæýý. Õýðýâ ³³íòýé èæèë ò°ðëèéí Mac-ä çîðèóëñàí íýýëòòýé ýõ áàéâàë áèäýíä ìýäýãäýýðýé.
\subsection{\TeX{} òàðõàö}
Õýðýâ òà Macports þì óó Fink áàãöûí óäèðäëàãûã OS X äýýð Unix-í ïðîãðàìì ñóóëãàõàä àøèãëàäàã áîë áàãöûí ýäãýýð óäèðäëàãóóäûã LaTeX ñóóëãàõäàà ì°í àøèãëàõ õýðýãòýé. LaTeX ñóóëãàõäàà Macport õýðýãëýã÷èä \framebox{\texttt{port install tetex}}, Fink õýðýãëýã÷èä \framebox{\texttt{fink install tetex}} òóøààëóóäûã àøèãëàíà.
Õýðýâ äýýðõèéí àëèéã ÷ àøèãëàäàãã³é áîë OS X-ä çîðèóëæ áýëòãýñýí \wi{MacTeX} õýìýýõ LaTeX òàðõöûã òàòàæ àâàõ õýðýãòýé. \wi{MacTeX} íü LaTeX-èéã á³ðýí ýõýýð íü ñóóëãàõàä çîðèóëàãäñàí íýìýëò îëîí òîîíû õýðýãñëèéã °°ðò°° àãóóëñàí áàéäàã. MaxTeX-èéã \url{http://www.tug.org/mactex/} õàÿãààñ òàòàæ àâíà.
\subsection{\wi{PDFView} àøèãëàõ}
LaTeX äýýð ³³ñãýñýí PDF ôàéëûã PDFView àøèãëàæ óíøèõ á°ã°°ä óã ïðîãðàììûã à÷ààëàõ òîâ÷ëóóð LaTeX çàñâàðëàã÷äàä áàéäàã. PDFView íü íýýëòòýé ýõ á°ã°°ä ò³³íèéã \url{http://pdfview.sourceforge.net/} õàÿãààñ òàòàæ àâ÷ áîëíî. PDFView-ã òàòàæ àâààä ñóóëãà, òýãýýä ò³³íèéã à÷ààëæ òîõèðãîîíä íü \emph{automatically reload documents} ãýñýí ñîíãîëò èäýâõòýé áàéãàà ýñýõèéã áîëîí PDFSync íü TextMate-ä äýìæèãäñýí ýñýõèéã òóñ òóñ øàëãà.
\section{\TeX{}-èéã Windows-ä}
\subsection{\TeX{}-ã îëæ àâàõ}
Ýõëýýä \wi{MiKTeX} òàðõöûã \url{http://www.miktex.org/} õàÿãààñ òàòàæ àâàõ õýðýãòýé. Ýíä \LaTeX{} áàðèìòûã áîëîâñðóóëàõàä øààðäëàãàòàé ³íäñýí á³õ ïðîãðàìì áîëîí ôàéë àãóóëàãäñàí áàéãàà. MiKTeX-èéí äàâóó òàë íü áàðèìòûã áîëîâñðóóëàõ ÿâöàä ÿìàð íýã \LaTeX{} áàãö áàéõã³é áàéâàë ò³³íèéã èíòåðíåòýýñ òàòàæ àâààä ñóóëãàäàãò îðøèíî.
\subsection{\LaTeX{} çàñâàðëàã÷}
\LaTeX{} áîë òåêñò á³õèé áàðèìòàä çîðèóëàãäñàí ïðîãðàìì÷ëàëûí õýë þì. \wi{TeXnicCenter} íü Windows ³éëäëèéí ñèñòåìä MiKTeX ñèñòåìòýé ñàéòàð çîõèöîí àæèëëàæ \LaTeX{} áàðèìòûã °íä°ð ò°âøèíä áýëòãýõ °ðã°í áîëîìæîîð õàíãàãäñàí íýýëòòýé ýõ þì. Ò³³íèéã \url{http://www.toolscenter.org} õàÿãààñ òàòàí àâ÷ áîëíî.
Ì°í LEd ò°ñëèéí áîëîâñðóóëæ áàéãàà íýýëòòýé ýõ á³õèé òåêñò çàñâàðëàã÷ ïðîãðàììûã (\url{http://www.latexeditor.org}) àøèãëàæ áîëíî.
\subsection{Çóðàãòàé àæèëëàõ}
\LaTeX{}-ä °íä°ð íÿãòðàëòàé çóðàã îðóóëàõäàà Postscript (eps) áóþó PDF ôîðìàòûí çóðãóóäûã àøèãëàõ õýðýãòýé á°ã°°ä ³³íèé òóëä \wi{GhostScript} áà \wi{GhostView} ïðîãðàììóóäûã \url{http://www.cs.wisc.edu/~ghost/} õàÿãààñ òàòàæ àâàõ õýðýãòýé.
Õýðýâ bitmap çóðàã (ãýðýë çóðàã áîëîí ñêàíåðäñàí ìàòåðèàë) îðóóëàõ áîë photoshop ïðîãðàììòàé ýí çýðýãöýõ íýýëòòýé ýõ á³õèé \wi{Gimp} ïðîãðàììûã \url{http://gimp-win.sourceforge.net/} õàÿãààñ òàòàæ àâ÷ àøèãëàæ áîëíî.
\section{\TeX{}-èéã Linux-ä}
Linux ³éëäëèéí ñèñòåìä \LaTeX{} ñóóñàí áàéõ ìàãàäëàë °íä°ð áóþó ÿäàõäàà ³³íèéã ñèñòåìèéí ñóóëãàöûã àøèãëàí ñóóëãàõ áîëîìæòîé þì. Áàãöûí óäèðäëàãûã (package manager) àøèãëààä äàðààõ áàãöóóäûã ñóóëãàíà:
\begin{itemize}
\item texlive -- \TeX{}/\LaTeX{} ³íäñýí ñóóëãàö.
\item emacs (auctex-òýé) -- \LaTeX{}-èéã äýìæèõ AucTeX áàãöûã àãóóëñàí Linux ³éëäëèéí ñèñòåìä àæèëëàõ çàñâàðëàã÷.
\item ghostscript -- PostScript ä³ðñëýã÷ ïðîãðàìì.
\item xpdf áà acrobat -- PDF ä³ðñëýã÷ ïðîãðàìì.
\item imagemagick -- bitmap çóðãèéí õ°ðâ³³ëýã÷ íýýëòòýé ýõ.
\item gimp -- photoshop ò°ðëèéí ïðîãðàìì.
\item inkscape -- illustrator/corel draw ò°ðëèéí íýýëòòýé ýõ.
\end{itemize}
|