<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\chapter[Installation]{ä¸ćĺ˝äť¤čĄ }

ć&nbsp;čŽşćŻĺŽčŁčżćŻä˝żç¨ \ConTeXtďźçéčŚĺŻšĺ˝äť¤čĄçŻĺ˘ććäşč§ŁăĺćŹćŞćäťçťčżćšé˘çĽčŻçčŽĄĺďźä˝ćŻččĺ°ćć­Łĺ¨ĺä¸äť˝ä¸ä¸ćĺĽ˝ç \ConTeXt\ ĺĽé¨ććĄŁďźäžżćäşäşčŽ¸ĺ¨ĺăćŹçŤ&nbsp;ĺĺĺŤäťçť WindowsăLinux ĺ macOS çłťçťçĺ˝äť¤čĄçŻĺ˘çĺşćŹç¨ćłďźäťĽĺĺĽ˝ćťĄčśłĺŽčŁĺčżčĄ \ConTeXt\ çéćąä¸şčŚăĺčĽĺŻšĺ˝äť¤čĄçŻĺ˘ĺˇ˛é˘ä¸şçćďźĺŻç´ćĽéčŻť \in[installation] ĺ \in[ctx-in-texlive] čă

\section{äťťĺĄ}

ä˝żç¨ĺ˝äť¤čĄçŻĺ˘ďźĺ¨ćäťśçłťçťä¸­ďźĺĺťşä¸ä¸Şĺä¸ş foo ççŽĺ˝ďźĺ¨čŻĽçŽĺ˝ĺĺĺťşä¸äť˝ Shell čćŹďźäť¤ĺśĺŻĺ¨ĺ˝äť¤čĄçŞĺŁä¸­čžĺşăä¸ćĺ˝äť¤čĄăďźć§čĄčŻĽčćŹďźćĽçĺśčžĺşă

\section{Windows ĺ˝äť¤čĄ}

Windows ç¨ćˇäźźäšçć§çčłĺćĺ˝äť¤čĄçŻĺ˘ďźçčłĺžĺ¤äşşčŽ¤ä¸şĺ˝äť¤čĄçŻĺ˘ćŻćŠĺˇ˛č˘Ťćˇćą°çä¸ä¸Şä¸çşŞçäş§çŠďźĺ&nbsp;ć­¤čŚćäźäťäťŹĺŚä˝ä˝żç¨ĺ˝äť¤čĄçŻĺ˘ďźéĺ¸¸äźćäşéşťçŚďźćĺ˝ĺĺä¸şäšă

ĺ¨ Windows çłťçťä¸­ćĺźä¸ä¸Şĺ˝äť¤čĄçŞĺŁďźćĺžĺ¤ç§ćšćłďźĺśä¸­ćĺżŤçĺşĺ˝ćŻä˝żç¨ĺŚĺž \in[win-r] ćç¤şĺżŤćˇéŽăWin + RăďźćĺźăčżčĄăĺŻščŻćĄďźĺ¨ĺśä¸­čžĺĽăcmdăĺçšĺťăçĄŽĺŽăćéŽćĺĺťăEnterăéŽďźĺłĺŻćĺźä¸ĺž \in[cmd-window] çąťäźźçĺ˝äť¤čĄçŞĺŁă

\startplacefigure[location=none]
\startfloatcombination[nx=2,ny=1]
\startplacefigure[title={ă\type{Win + R}ă çťĺéŽ},reference=win-r]
\externalfigure[01/win-r.jpg][height=6cm]
\stopplacefigure
\startplacefigure[title={Windows ĺ˝äť¤čĄçŞĺŁ},reference=cmd-window]
\externalfigure[01/cmd-window.png][height=6cm]
\stopplacefigure
\stopfloatcombination
\stopplacefigure

ććčŚć§čĄçĺ˝äť¤çćŻĺ¨ă\type{&gt;}ăçŹŚĺˇĺčžĺĽďźĺ&nbsp;ččŻĽçŹŚĺˇĺć°ăĺ˝äť¤ćç¤şçŹŚăăĺ˝äť¤ćç¤şçŹŚĺˇŚäž§çĺĺŽšćŻä¸ä¸ŞćäťśçŽĺ˝ďźĺć°ăĺ˝ĺçŽĺ˝ăćăĺˇĽä˝çŽĺ˝ăăĺ¨ĺ˝äť¤čĄçŻĺ˘éďźäťťä˝ĺ˝äť¤çćŻĺ¨ćä¸ŞçŽĺ˝ä¸­ć§čĄçăĺ¨ĺźĺ§ĺ°čŻčžĺĽĺ˝äť¤äšĺďźčŻˇĺ°čžĺĽćłĺć˘ä¸şčąćčžĺĽçśćă

ĺ¨ĺ˝äť¤čĄçŞĺŁä¸­čžĺĽĺ˝äť¤ăd:ăďźçśĺĺĺťăEnterăéŽć§čĄčŻĽĺ˝äť¤ďźĺŻĺ°ĺ˝ĺçŽĺ˝ĺć˘ä¸ş D çăĺ¨ĺ˝äť¤čĄçŻĺ˘éďźčžĺĽĺ˝äť¤ĺďźĺżéĄťĺĺťăEnterăéŽďźćšč˝ä˝żĺ˝äť¤ĺžäťĽć§čĄă

ć§čĄĺ˝äť¤ă\type{md foo}ăďźĺŻĺ¨ D çć&nbsp;šçŽĺ˝ĺĺťşçŽĺ˝ fooďźçśĺć§čĄĺ˝äť¤ă\type{cd foo}ăďźĺ°ĺ˝ĺçŽĺ˝ĺć˘ä¸ş fooďźĺł \type{D:\foo}ă

čŻ¸ĺŚ \type{D:\} ĺ \type{D:\foo} čżć&nbsp;ˇçčĄ¨ç¤şĺ˝˘ĺźçťç§°ä¸şčˇŻĺžďźć´ä¸şĺçĄŽĺ°čŻ´ďźćŻçťĺŻščˇŻĺžăćç¸ĺŻščˇŻĺžĺďźćăĺ¨ \type{D:\foo} ä¸­ć§čĄĺ˝äť¤ă\type{cd ..}ăďźäžżĺŻĺ°ĺ˝ĺçŽĺ˝čżĺä¸ä¸çş§ďźĺł \type{D:\}ăĺ¨ \type{D:\foo} ä¸­ć§čĄĺ˝äť¤ă\type{cd ..\foo}ăďźĺĺ˝ĺçŽĺ˝ä¸äźĺçĺĺďźĺ&nbsp;ä¸ş \type{D:\foo} çä¸ä¸çş§çŽĺ˝çĺ­çŽĺ˝ foo äžçśćŻ \type{D:\foo} ăĺ˝˘ĺŚ \type{..\foo} čżć&nbsp;ˇçčˇŻĺžäžżćŻç¸ĺŻščˇŻĺžă

ĺ¨ĺ˝ĺçŽĺ˝ \type{D:\} ä¸­ć§čĄĺ˝äť¤ă\type{cd ..}ăďźĺ˝ĺçŽĺ˝äźĺçäťäšĺĺďźä¸äźĺçäťťä˝ĺĺďźĺ&nbsp;ä¸ş \type{D:\} ćŻ D ççćéĄśĺąçŽĺ˝ďźäşŚĺłĺŽçä¸ä¸çş§çŽĺ˝ä¸şçŠşă

ććĄäşä¸čż°ĺ˝äť¤ďźäžżĺŻĺ¨ Windows ćäťśçłťçťä¸­çć¸¸ć&nbsp;éťäşďźçśčćäťŹçäťťĺĄĺ°ćŞĺŽćăĺ¨ Windows çłťçťä¸­ďźčŻĽäťťĺĄĺŻćčż°ä¸şďźĺ¨ \type{D:\foo} ä¸­ĺĺťşä¸äť˝ Shell čćŹďźć§čĄčŻĽčćŹďźĺ¨ĺ˝äť¤čĄçŞĺŁä¸­čžĺşăä¸ćĺ˝äť¤čĄăăĺ¨ Windows çłťçťä¸­ďźShell čćŹĺłćšĺ¤çćäťśââćŠĺąĺä¸şă\type{.bat}ăççşŻććŹćäťśăĺ¨ĺśä˝čżäť˝ćšĺ¤çćäťśäšĺďźéčŚäşč§Łă\type{echo}ăĺ˝äť¤çĺşćŹç¨ćłă

ă\type{echo}ăĺ˝äť¤ďźĺŚĺćäťŹĺŻšçĺš˝ćˇąçĺąąč°ˇĺźĺčäş§çĺĺŁ°çčżç¨ďźĺŽčŻťĺä¸ćŽľććŹďźçśĺĺ¨ĺ˝äť¤čĄçŞĺŁä¸­ĺć&nbsp;ˇčžĺşăäžĺŚďź

\starttyping
D:\foo&gt; echo ä¸ćĺ˝äť¤čĄ 
ä¸ćĺ˝äť¤čĄ
\stoptyping

äźźäšă\type{echo}ăĺ˝äť¤ćŻä¸ä¸Şäťäšé˝ä¸äźĺçĺ˝äť¤ďźčżć&nbsp;ˇçĺ˝äť¤ćäťäšç¨ĺ˘ďźĺŽćä¸ä¸Şç¨éćŻďźĺŠç¨čžĺşéĺŽĺďźĺ°ä¸äşĺĺŽšĺĺĽććŹćäťśăäžĺŚďź

\starttyping
D:\foo&gt; echo @echo off &gt; foo.bat
\stoptyping

\noindent ä¸čż°ĺ˝äť¤éčżĺ˝äť¤čžĺşéĺŽĺçŹŚă\type{&gt;}ăĺ°ă\type{echo}ăĺćŹäźčžĺşĺ°ĺ˝äť¤čĄçŞĺŁçćĺ­ă@echo offăéĺŽĺä¸şčžĺşĺ°ćäťś \type{D:\foo\foo.bat} ăĺčĽčŻĽćäťśäşĺĺšśä¸ĺ­ĺ¨ďźä¸čż°ĺ˝äť¤äźčŞĺ¨ĺĺťşĺŽă

ç°ĺ¨ďźä˝żç¨ă\type{echo}ăĺ˝äť¤ĺćäťś \type{D:\foo\foo.bat} ĺ˘ĺ&nbsp;ä¸čĄćĺ­ďź

\starttyping
D:\foo&gt; echo echo ä¸ćĺ˝äť¤čĄ &gt;&gt; foo.bat
\stoptyping

\noindent ćł¨ćďźĺćĺŽćäťśčż˝ĺ&nbsp;ĺĺŽšďźéčŚä˝żç¨ă\type{&gt;&gt;}ăďźĺčĽä˝żç¨ă\type{&gt;}ăďźĺćäťśĺćĺĺŽšäźč˘Ťĺ¨é¨ćżć˘ă

ç°ĺ¨ďźçĽćçşŞĺżľćäšçćśĺťĺ°äşďźä˝&nbsp;ĺŻč˝ĺˇ˛çťĺĺťşäşäşşçä¸­çŹŹä¸äť˝ Windows ćšĺ¤çćäťśďźć§čĄĺŽĺ§ďź

\starttyping
D:\foo&gt; .\foo.bat
ä¸ćĺ˝äť¤čĄ
\stoptyping

\noindent ćł¨ćďźä¸čż°ĺ˝äť¤ä˝żç¨äşç¸ĺŻščˇŻĺžççŹŹäşç§ĺ˝˘ĺźďźčˇŻĺžä¸­çă\type{.}ăčĄ¨ç¤şĺ˝ĺçŽĺ˝ăäşĺŽä¸ďźĺ¨ Windows ĺ˝äť¤čĄçŻĺ˘éďźčżç§ĺ˝˘ĺźçç¸ĺŻščˇŻĺžĺŻäťĽĺż˝çĽďźäşŚĺłä¸čż°ĺ˝äť¤ĺŻäťĽćšä¸ş

\starttyping
D:\foo&gt; foo.bat
ä¸ćĺ˝äť¤čĄ
\stoptyping

\noindent ĺ¨ć§čĄćä¸Şç¨ĺşććšĺ¤çćäťśćśďźĺčĽćŞçťĺşĺśčˇŻĺžďźWindows çłťçťéťčŽ¤ĺäťĺ˝ĺçŽĺ˝ä¸­ćç´˘ćäťśďźčĽćŞćĺ°ďźćäźĺ¨çłťçťçŻĺ˘ĺé \type{PATH} čŽžĺŽçčˇŻĺžä¸­ćç´˘ă

çłťçťçŻĺ˘ĺé \type{PATH} ćŻäťäšĺ˘ďźć˘çśćŻĺéďźĺżĺŽćĺźďźĺśĺźćŻçťĺŻščˇŻĺžéďźć§čĄäťĽä¸ĺ˝äť¤ĺŻäťĽćĽçďź

\starttyping
D:\foo&gt; echo %PATH%
\stoptyping

\noindent éĄşäžżćĺşďźčżćŻă\type{echo}ăĺ˝äť¤çĺŚä¸ç§ç¨éă

ä˝żç¨äťĽä¸ă\type{setx}ăĺ˝äť¤ĺŻäťĽĺ°ä¸čż°ç¤şäžĺĺťşçćšĺ¤çćäťś foo.bat ćĺ¨çŽĺ˝ \type{D:\foo} čż˝ĺ&nbsp;čł \type{PATH} ĺéç°ćčˇŻĺžéçĺ°žé¨ďź

\starttyping
D:\foo&gt; setx /M PATH "%PATH%d:\foo;"
\stoptyping

\noindent ĺĄĺżćł¨ćďźčŻĽĺ˝äť¤äťĺ¨ăäťĽçŽĄçĺčşŤäť˝ăĺŻĺ¨çĺ˝äť¤čĄçŞĺŁä¸­čľˇćăĺ¨ Windows ĺźĺ§čĺéçćç´˘ć&nbsp;ďźčžĺĽăcmdăĺšśĺĺťăEnterăéŽćäş¤ďźçśĺéź&nbsp;ć&nbsp;ĺłéŽĺĺťćç´˘çťćďźĺ¨ĺźšĺşçčĺä¸­éćŠăäťĽçŽĄçĺčşŤäť˝čżčĄăăäťĽčżç§ćšĺźĺźĺŻçĺ˝äť¤čĄçŞĺŁćšĺŻć§čĄä¸čż°çă\type{setx}ăĺ˝äť¤ă

éŞčŻă\type{D:\foo}ăćŻĺŚč˘Ťćĺćˇťĺ&nbsp;ĺ°çłťçť \type{PATH} ĺéďźĺŞéĺ¨é¤ \type{D:\foo} äšĺ¤çäťťä¸çŽĺ˝éŞčŻč˝ĺŚć§čĄ foo.batďźäžĺŚ

\starttyping
D:\foo&gt; c:
C:\&gt; cd windows\system32  
C:\Windows\System32&gt; foo.bat
ä¸ćĺ˝äť¤čĄ  
\stoptyping

\useURL[Windows ĺ˝äť¤čĄ][https://www.bilibili.com/video/BV1vk4y1h7LE/]
čĽä¸çĽĺŚä˝äťĽçŽĄçĺčşŤäť˝čżčĄĺ˝äť¤čĄçŞĺŁďźäşŚĺŻéčżĺžĺ˝˘çé˘čŽžç˝Ž \type{PATH} ĺéăćĺˇ˛ĺ°ä¸čż°ćĺťş \type{D:\foo\foo.bat} äťĽĺĺŚä˝éčżĺžĺ˝˘çé˘čŽžç˝Žçłťçť \type{PATH} ĺéç­čżç¨ĺ˝ĺśä¸şč§é˘ďźç˝çťéžćĽä¸ş\bluebox{\from[Windows ĺ˝äť¤čĄ]}ďźčć­¤éżĺčŽŠĺąĺłŚĺ&nbsp;éç Windows çŞĺŁćŞĺžĺ&nbsp;ćŽćŹçŤ&nbsp;ĺ¤Şĺ¤çŻĺšă

\section{Linux çťçŤŻ}

ĺ¨ Linux çłťçťä¸­ďźĺ˝äť¤čĄçŻĺ˘ĺŤä˝ăçťçŤŻďźTerminalďźăăçťçŤŻä¸­ĺŻäťĽčżčĄĺ¤ç§ Shellďźćä¸şĺ¸¸č§çćŻ Bash Shellăčżäş Shell ĺžĺžĺ¤§ĺĺ°ĺźăçťçŤŻĺŻäťĽĺľĺĽçŞĺŁčżčĄďźäšĺŻäťĽĺ¨ć˛ĄćçŞĺŁçćĺľä¸čżčĄ\footnote{éĺ¸¸ćĺľä¸ďźĺŻä˝żç¨ĺżŤćˇéŽă\type{Ctrl + Alt + F1ď˝F6}ăĺć˘ĺ°ć&nbsp;çŞĺŁççťçŤŻăă\type{Ctrl + Alt + F7}ăäšĺŻšĺşä¸ä¸ŞçťçŤŻďźĺŽéĺ¸¸č˘Ť Linux çŞĺŁçłťçťĺ&nbsp;ç¨ă}ďźćäťŹéĺ¸¸ä˝żç¨çćŻĺčă

Linux çłťçťĺčĄçäźĺ¤ďźćŻä¸ŞĺčĄçćĺśä¸ĺçćĺźçťçŤŻçŞĺŁçćšĺźä¸ĺ&nbsp; Linux ç¨ćˇĺžĺžĺŻšçťçŤŻčžä¸şçćďźĺ&nbsp;čä¸ĺčľčż°ĺŚä˝ćĺźçťçŤŻçŞĺŁăç°ĺ¨ďźĺčŽžçťçŤŻçŞĺŁĺˇ˛çťĺźĺŻăéŚĺďźčżĺĽ \type{$HOME} çŽĺ˝ďźĺĺťşĺ­çŽĺ˝ fooďź

\starttyping
$ cd $HOME
$ mkdir foo
\stoptyping

\noindent čżĺĽ fooďźä˝żç¨ĺ˝äť¤čžĺşéĺŽĺďźĺ° \type{echo} ĺ˝äť¤çčžĺşçťćĺĺĽ foo.sh ćäťśďź

\starttyping
$ cd foo
$ echo #!/bin/bash &gt; foo.sh
$ echo echo ä¸ćĺ˝äť¤čĄ &gt;&gt; foo.sh
\stoptyping

\noindent ä˝żç¨ \type{chmod} ĺ˝äť¤ä¸ş foo.sh ĺ˘ĺ&nbsp;ĺŻć§čĄćéďźčŽŠĺŽĺç¨ĺşä¸ć&nbsp;ˇčżčĄďź

\starttyping
$ chmod +x foo.sh
\stoptyping

\noindent čżčĄ foo.shďź

\starttyping
$ ./foo.sh
ä¸ćĺ˝äť¤čĄ
\stoptyping

\noindent ĺ°ă\type{$HOME/foo}ăćˇťĺ&nbsp;čłçłťçťă\type{PATH}ăĺéĺšśä˝żäšçćďź

\starttyping
$ cd $HOME
$ echo 'export PATH=$HOME/foo:$PATH' &gt;&gt; .bashrc
$ source .bashrc
\stoptyping

\noindent ĺ¨äťťä¸çŽĺ˝ä¸ć§čĄ foo.sh äťĽéŞčŻă\type{$HOME/foo}ăćŻĺŚĺˇ˛č˘Ťćˇťĺ&nbsp;čłă\type{PATH}ăĺéďźäžĺŚ

\starttyping
$ cd /tmp
$ foo.sh
ä¸ćĺ˝äť¤čĄ
\stoptyping

ĺčĽćłĺŻš Bash Shell ćć´ĺ¤ä¸äşçäşč§ŁďźĺŻäťĽéčŻťćçćä˝ăĺçťéŤĺš´çş§ĺ°ĺ­ŚççăBash ćĺăă\cite[bash-tutor]ďźĺŽäťçťäş Bash çčŻ¸ĺ¤ćčśŁäšĺ¤ďźäščŽ¸äźčŽŠä˝&nbsp;ĺćŹ˘ĺ˝äť¤čĄďźčä¸äťäťćŻä¸ćĺŽă

\section{macOS çťçŤŻ}

\useURL[macOS çťçŤŻ][https://support.apple.com/zh-cn/guide/terminal/apd5265185d-f365-44cb-8b09-71a064a42125/mac]
ćć˛Ąç¨čż macOS çłťçťďźĺ¨čŻĽçłťçťä¸­ćĺźçťçŤŻçŞĺŁďźĺŻć macOS ĺŽćšĺ¸ŽĺŠććĄŁäťçťçćšćłčżčĄďźčŻŚč§ďź\\
\bluebox{{\switchtobodyfont[9.75pt]\from[macOS çťçŤŻ]}}

čłäş macOS çťçŤŻçç¨ćłďźĺ&nbsp; macOS ĺ Linux çä¸ş Unix-likeďźçąť UnixďźçłťçťďźäşčçťçŤŻçŻĺ˘çç¨ćłčżäšç¸ĺďźĺŻä¸ćäşĺşĺŤçćŻďźäť macOS Catalina çĺźĺ§ďźmacOS éťčŽ¤ä˝żç¨ç Shell ä¸ĺćŻ BashďźčćŻ zshăĺ&nbsp;ć­¤ďźĺ¨čŽžç˝Žă\type{PATH}ăĺéćśďźĺ˝äť¤éčŚĺä¸ş

\starttyping
$ cd $HOME
$ echo 'export PATH=$HOME/foo:$PATH' &gt;&gt; .zshrc
$ source .zshrc
\stoptyping

\section[installation]{ĺŽčŁ \ConTeXt\ LMTX ćć°çćŹ}

ĺŽčŁ \CONTEXT\ LMTX ćä¸¤ç§ćšĺźďźä¸ç§ćŻĺŽčŁ \CONTEXT\ ĺźĺčćäžç \CONTEXT\ ĺďźčŻĽĺäťĺĺŤ \CONTEXT\ çŻĺ˘ďźĺŚä¸ç§ćŻĺŽčŁ \TEX\ Live ä¸­ç \CONTEXT\ ĺăćŹčäťçťĺčďźä¸ä¸čäťçťĺčă

\useURL[installation][https://wiki.contextgarden.net/Installation]
\ConTeXt\ çćć°çćŹćŻ \ConTeXt\ LMTXďźçŽĺĺ°ĺ¨ĺźĺĺčŻéŞéśćŽľďźĺč˝č˝ä¸ç¨łĺŽďźä˝ĺŻšäşĺĽé¨čč¨ĺšść&nbsp;ĺŚ¨ç˘ăäť \bluebox{\from[installation]} ä¸č˝˝ĺŻšĺşćä˝çłťçťçąťĺç \ConTeXt\ LMTX ĺŽčŁĺďźćç§čŻĽç˝ĺçç¸ĺłäťçťčżčĄĺŽčŁĺłĺŻďźĺŽčŁčżç¨ćéčŚçĺ¨é¨çĽčŻçĺˇ˛ĺ¨ä¸ćäťçťĺŽćŻăä¸ćäťĽ Windows 64 ä˝çłťçťä¸şäžďźçťĺşčŻŚçťççĺŽčŁčżç¨ă

\useURL[win-64-version][http://lmtx.pragma-ade.com/install-lmtx/context-win64.zip]
éŚĺďźäťéžćĽ \bluebox{\from[win-64-version]} čˇĺžé˘ĺ Windows 64 ä˝çłťçťçĺŽčŁĺ \type{context-win64.zip} ĺšśĺčŽžĺ°ĺśćžĺ¨ \type{D:\} č§ŁĺźďźćĺžçŽĺ˝ä¸ş \type{context-win64}ďźĺśçťćĺŚä¸ďź

\starttyping
D:\context-win64
âââ bin
âÂ&nbsp;Â&nbsp; âââ mtx-install.lua  
âÂ&nbsp;Â&nbsp; âââ mtxrun.exe
âÂ&nbsp;Â&nbsp; âââ mtxrun.lua
âââ installation.pdf
âââ install.bat
âââ setpath.bat
\stoptyping

ĺ°çŽĺ˝ \type{context-win64} ćšĺä¸ş \type{context}ďźçśĺćĺźĺ˝äť¤čĄçŞĺŁďźäžćŹĄć§čĄäťĽä¸ĺ˝äť¤ďź

\starttyping
&gt; d:
&gt; cd context
&gt; install.bat
\stoptyping

\noindent ćšĺ¤çćäťś install.bat č˝ĺ¤čŞĺ¨äťç˝çťä¸ä¸č˝˝ \ConTeXt\ LMTX çćććäťśďźĺšśĺ°ĺśĺŽčŁĺ¨ \type{D:\context} çŽĺ˝ăĺŽčŁćśéżĺĺłäşç˝çťä¸č˝˝éĺşŚăçąäşćĺĄĺ¨ĺ¨ĺ˘ĺ¤ďźćäťśä¸č˝˝éĺşŚçźć˘ďźĺŻč˝éčŚĺžäšćšč˝ĺŽčŁĺŽćŻăĺ˝ĺŽčŁčżç¨çťćĺďźçŽĺéčŚĺćŹĄć§čĄ install.batďźĺ° \ConTeXt\ LMTX ć´ć°ĺ°ćć°çćŹăčżäşé˝ćŻ \bluebox{\from[installation]} ćŞĺčŻćäťŹçăć­¤ĺ¤ďźĺłä˝żĺŽčŁčżç¨ä¸­ć­ďźĺćŹĄčżčĄ install.bat ĺŻçť§çť­ĺŽčŁďźčä¸äźĺŻźč´ĺĺĺ°˝ĺźă

éŞčŻ \ConTeXt\ LMTX ćŻĺŚĺŽčŁćĺçćšćłćŻďźĺ¨ \type{D:\context} çŽĺ˝ä¸­ć§čĄäťĽä¸ĺ˝äť¤ďź

\starttyping
&gt; setpath.bat
&gt; md test
&gt; cd test
&gt; echo \startTEXpage[frame=on,offset=1pt] &gt; foo.tex
&gt; echo Hello \ConTeXt! &gt;&gt; foo.tex
&gt; echo \stopTEXpage &gt;&gt; foo.tex
&gt; context foo.tex
\stoptyping

\noindent ĺčĽĺ¨ \type{D:\context\test} çŽĺ˝ä¸č˝ĺ¤ĺžĺ° \type{foo.pdf} ćäťśďźä¸ĺśĺĺŽšä¸ş \lower.3em\hbox{\externalfigure[01/foo.pdf]}ďźĺćĺłçĺˇ˛ćĺĺŽčŁ \ConTeXt\ LMTXă

ćĺďźĺ° \type{D:\context\tex\texmf-win64\bin} ćˇťĺ&nbsp;ĺ°çłťçť \type{PATH} ĺéďźäžżĺŻĺ¨äťťä¸çŽĺ˝ä˝żç¨ \type{context} ĺ˝äť¤ĺ°ćŠĺąĺä¸ş \type{.tex} çććŹćäťśçźčŻć PDF ćäťśäşă

\section[ctx-in-texlive]{\TEX\ Live ä¸­ç \CONTEXT}

čĽä˝&nbsp;çć \TEX\ Live\cite[texlive]ďźć¨čä˝żç¨ĺŽćäžç \CONTEXT\ çćŹďźĺśĺč˝čžä¸şç¨łĺŽďźä¸ĺ˝ĺćéĺç˝çŤďźĺ¨çşżĺŽčŁć´ä¸şäžżćˇăčĽćŻć°ĺŽčŁ \TEX\ Liveďźĺ¨ĺŽčŁćśĺŻç´ćĽéćŠ \type{ConTeXt scheme} ćĺ¨ \type{collections} ĺčĄ¨ä¸­éćŠ \type{ConTeXt and packages}ăčĽä˝&nbsp;ççłťçťä¸­ĺˇ˛ĺŽčŁ \TEX\ LiveďźĺŞćŻć&nbsp; \CONTEXTďźĺŻä˝żç¨ TeXLive ĺçŽĄçĺ¨ \type{tlmgr} ĺŽčŁ \type{collection-context} ĺłĺŻă

\section{ĺ°çť}

ĺ¨ä¸ä¸ŞćĄé˘ćä˝çłťçťä¸­ďźĺ˝äť¤čĄçŻĺ˘č˝ĺŽćçĺˇĽä˝ďźĺžĺ˝˘çé˘éĺ¸¸äšč˝ĺŽćďźä˝ĺŻšäşćäşäťťĺĄďźĺ˝äť¤čĄçŻĺ˘ćŻĺžĺ˝˘çé˘ć´ä¸şéŤćďźĺäšäşŚçśďźĺćŹć&nbsp;éĺć­¤čĺ˝źďźä˝ĺ°şććç­ďźĺŻ¸ććéżďźWindowsďźLinux ĺ macOS äšćŻĺŚć­¤ă

\startitemize[packed]
\item Windows çłťçťçĺ˝äť¤čĄçŻĺ˘ďźĺčşŤćŻ MS DOS çłťçťďźéżććŞĺžčżĺďźç°ĺ¨ç¨čľˇćĽďźćčĽč§čăç°äťŁç PowerShell ć´ä¸şéç¨ďźä˝ĺ&nbsp; \ConTeXt\ çŽĺä¸č˝ç´ćĽĺ¨ PowerShell çŻĺ˘éĺŽćĺŽčŁďźćčä¸ććŞćžč¨ĺă
\item macOS ć&nbsp;čŽşĺžĺ˝˘çé˘čżćŻĺ˝äť¤čĄçŻĺ˘çčäş Windows ĺ Linuxďźä˝ĺśçźşçšćŻĺ¨ä¸čżćłçćĺľä¸ďźĺŽĺŞč˝čżčĄäşčšćĺŹĺ¸çčŽĄçŽćşďźč´šç¨ä¸č˛ă
\item Linux çłťçťçĺžĺ˝˘çé˘ä¸ĺ Windows ĺ macOSďźä˝ĺ˝äť¤čĄçŻĺ˘äźäş Windows\footnote{čŞ Windows 10 ĺźĺ§ďźĺžŽč˝Żĺ¨ Windows çłťçťä¸­ćĺťşäş Linux ĺ­çłťçťďźWSLďźďźĺčŽ¸ç¨ćˇĺ¨ Windows çłťçťä¸­ä˝żç¨ Linux ĺ˝äť¤čĄçŻĺ˘ďźä˝ćŻčŻĽçŻĺ˘ć&nbsp;ćłĺŠç¨ Windows ĺ Linux çĺžĺ˝˘çé˘ĺč˝ă}ďźä¸ macOS ç¸ĺ˝ďźä˝ Linux ććžčççšçšćŻďźĺŽč˝ĺ¸ŽĺŠćŻä¸ä¸Şä˝żç¨čŽĄçŽćşçäşşďźčŽŠäťćˇąĺťč§ĺŻčŞĺˇąäťĽĺžćĺŽŁç§°çéŁć&nbsp;ˇç­çąčŞçąćŻĺŚçĺŽă
\stopitemize
</pre></body></html>