<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\chapter{ć˛çć¸¸ć}

ĺä¸čŚćĽäşĺ­Śäš&nbsp;ä˝żç¨ \ConTeXt\ ĺčŽşćďźĺşä¸čďźč˝çśĺŽćä¸şćéżčżçąťäťťĺĄďźä˝ćŻćčżćŻĺ¸ćĺĺ°ĺŽĺ˝ćä¸ä¸ŞĺŻçąçćĺďźć˘ć˘ĺťçćĺŽďźčä¸ćŻĺĺŠä¸ťäšč§č§ä¸çĺˇĽĺˇă

\section{ć°ćć}

ĺ¨çŹŹ \in[Installation] çŤ&nbsp;ä¸­ďźä¸şäşéŞčŻ \ConTeXt\ LMTX ćŻĺŚĺˇ˛ćĺĺŽčŁďźćä˝żç¨ä¸ćĄ \type{echo} ĺ˝äť¤ćé&nbsp;äşä¸äť˝çŽĺç \ConTeXt\ ćşćäťś foo.texăäşĺŽä¸ďźĺŻäťĽä˝żç¨äťťä˝ä¸ä¸ŞććŹçźčžĺ¨ćĽĺć­¤äşăfoo.tex ćäťśĺĺŽšĺŚä¸ďź

\starttyping[option=TEX]
\startTEXpage[offset=1cm]
Hello \ConTeXt!
\stopTEXpage
\stoptyping

\noindent ć§čĄäťĽä¸ĺ˝äť¤\footnote{äťćŹçŤ&nbsp;ĺźĺ§ďźä¸ç´ä˝żç¨ Linux éŁć&nbsp;źçĺ˝äť¤ćç¤şçŹŚ \type{$}ă}ďźč°ç¨ \type{context} ç¨ĺşďźĺŻĺ° foo.tex çźčŻć PDF ćäťś foo.pdfďź

\starttyping
$ context foo.tex
\stoptyping

\noindent ĺ¨ä˝żç¨ \type{context} ĺ˝äť¤çźčŻ ConTeXt ćşćäťśćśďźĺŻççĽćäťśćŠĺąĺă\type{.tex}ăďźĺ&nbsp;ć­¤ä¸é˘çĺ˝äť¤ä¸ä¸čż°ĺ˝äť¤ç­ćďź

\starttyping
$ context foo.tex
\stoptyping

ç°ĺ¨ďźćłĺżä˝&nbsp;ĺˇ˛çťćéĺ°č§ĺŻĺ°äşďźĺĄćŻĺźĺ¤´ä¸şĺćçşżă\type{\}ăĺźĺ¤´çčąćĺčŻďźé˝ćŻćçĺ˝äť¤ďźççĄŽĺŚć­¤ă

ćçĺ˝äť¤ \type{\startTEXpage...\stopTEXpage} ç§°ä¸ş \type{TEXpage} çŻĺ˘ďźćĺ°ĺśç§°ä¸şć°ććăčżä¸ĺŻšćçĺ˝äť¤ćĺĺŤçĺĺŽšďźäžĺŚă\type{Hello \ConTeXt!}ăäźč˘Ťćçäşä¸ä¸Şć°ĺĽ˝č˝ĺĺŤĺŽççŠĺ˝˘ćççŠşé´ă\type{frame} ĺć°ç¨äşć§ĺśčžšćĄćŻĺŚĺźĺŻďźĺśĺźä¸ş \type{off} ćççĽĺŻšĺŽçčŽžĺŽćśďźĺłé­čžšćĄă\type{offset} ĺć°ĺŻç¨äşĺŻšćççŠşé´čżčĄćŠĺ¤§ćçźŠĺ°ďźĺŚç¤şäž \in[starting-area] ćç¤şďźćççŠşé´äťä¸­ĺżĺĺĺ¨č˘ŤćŠĺ¤§ 2.5 mmă

\startsample
\startTEXpage[frame=on,offset=2.5mm]
Hello \ConTeXt!
\stopTEXpage
\stopsample
\sample[option=TEX][starting-area]{ć°ćć}{\externalfigure[02/starting-area.pdf]}

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

\section{äźŞćĺ­}

\ConTeXt\ ćä¸ä¸ŞĺŻč§ĺć¨ĄĺďźćäžäşäźŞé&nbsp;ĺčŻçćçĺ˝äť¤ďźä˝żç¨čŻĽĺ˝äť¤ĺŻäťĽçćä¸äşéťč˛çéżç­éćşççŠĺ˝˘ĺďźĺŻĺ°ĺŽäťŹĺ˝ććĺ­ďźäťčĺ¨ć˛çä¸ĺŻäťĽć´ĺ&nbsp;éĺżććŹ˛ä¸äşă

ĺŚç¤şäž \in[true-words] ćç¤şďźćçä¸¤čĄćĺ­ďźćŻčĄçą 5 ä¸ŞĺčŻçťćăç¤şäž \in[true-words] çťĺşäşäźŞćĺ­çććăĺć&nbsp;ˇćŻä¸¤čĄćĺ­ďźćŻä¸čĄçą 3ď˝5 ä¸ŞĺčŻććă

\startsample
\usemodule[visual] % ĺ&nbsp;č˝˝ĺŻč§ĺć¨Ąĺ
\startTEXpage[frame=on,offset=2.5mm]
This is the first line.\\ % ĺźşĺść˘čĄ
This is the second line.
\stopTEXpage
\stopsample
\sample[option=TEX][true-words]{ä¸¤čĄçĺŽćĺ­}{\externalfigure[02/true-words.pdf]}

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm]
\fakewords{3}{5}\\ 
\fakewords{3}{5}
\stopTEXpage
\stopsample
\sample[option=TEX][fakewords]{ä¸¤čĄäźŞćĺ­}{\externalfigure[02/fakewords.pdf]}

\section{ćł¨é}

ĺ¨ç¤şäž \in[true-words] çćşäťŁç&nbsp;ä¸­ďźă\type{%}ăĺĺśĺé˘çĺä¸čĄćĺ­ďźćŻ \TeX\ ćł¨éććŹďźĺŽäťŹäźč˘Ť \type{context} ç¨ĺşĺż˝çĽďźćčä¸äźĺşç°ĺ¨ćççťćä¸­ăćł¨éćŻä¸şäşäžżäşäşşçąťéčŻť \ConTeXt\ ćşäťŁç&nbsp;čĺ­ĺ¨çă

\section{ć˘čĄçŹŚ}

ĺ¨ç¤şäž \in[true-words] ĺ \in[fakewords] çćşäťŁç&nbsp;ä¸­ďźă\type{\\}ăćŻĺźşĺść˘čĄĺ˝äť¤ďźĺčĽĺ°ĺśĺ&nbsp;é¤ďźĺłä˝żĺ¨ćşäťŁç&nbsp;ä¸­ĺ°ćĺ­ĺä¸şä¸¤čĄďźäžĺŚ

\starttyping[option=TEX]
This is the first line.
This is the second line.
\stoptyping

\noindent ćççťćäžçśćŻä¸čĄďźčä¸ć˘čĄçŹŚäźč˘Ť \type{context} ç¨ĺşč§ä¸şä¸ä¸ŞçŠşć&nbsp;źďźä¸ĺŚ¨äş˛čŞĺ¨ćčŻéŞä¸ä¸ă

ĺ¨ä˝żç¨ć˘čĄçŹŚçćĺľä¸ďźĺłä˝żä¸¤čĄćĺ­ĺ¨ćşäťŁç&nbsp;ä¸­ĺ¤äşĺä¸čĄďźäžĺŚ

\starttyping[option=TEX]
This is the first line.\\ This is the second line.
\stoptyping

\noindent ćççťćäžçśćŻä¸¤čĄă

\type{\crlf} äšč˝ç¨äşĺŻšćĺ­ĺźşĺśčżčĄć­čĄăĺčĽä¸ĺ¸ćĺŻšćŻä¸čĄé˝čžĺĽć­čĄĺ˝äť¤ďźäšĺŻäťĽččä˝żç¨ \type{lines} çŻĺ˘ďźčŻˇĺčç¤şäž \in[lines]ă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm]
\startlines
\fakewords{3}{5}
\fakewords{4}{7}
\fakewords{5}{9}
\stoplines
\stopTEXpage
\stopsample
\sample[option=TEX][lines]{ćçĺ¤čĄććŹ}{\externalfigure[02/lines.pdf]}

\section{ĺćŽľ}

č§ĺŻç¤şäž \in[pars]ďźč˝çśćççťćäžçśćŻä¸¤čĄďźä˝ĺŽéä¸ĺŽćŻä¸¤ćŽľă\type{\par} ćŻĺćŽľĺ˝äť¤ă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm]
\startlines
\fakewords{3}{5}\par
\fakewords{3}{5}
\stoplines
\stopTEXpage
\stopsample
\sample[option=TEX][pars]{ĺćŽľ}{\externalfigure[02/pars.pdf]}

éĺ¸¸ĺžĺ°ä˝żç¨ĺćŽľçŹŚĺŻšććŹčżčĄĺćŽľďźĺ&nbsp;ä¸şĺ¨ \ConTeXt\ ćşććĄŁä¸­ďźĺŞéĺ¨ä¸¤ćŽľćĺ­äšé´çŠşä¸čĄäžżĺŻĺŽç°ĺćŽľăç¤şäž \in[pars-2] ä˝żç¨çŠşčĄčżčĄĺćŽľďźĺšśéčżéĺŽăć°ććăçĺŽ˝ĺşŚä¸ş 6 cmďźäťčĺ¨äżç­ççŠşé´éĺąç¤şäşĺ¤čĄäźŞćĺ­ććçćŽľč˝ă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm,width=6cm]
\fakewords{9}{15}

\fakewords{9}{15}
\stopTEXpage
\stopsample
\sample[option=TEX][pars-2]{ĺ¤čĄććŹććçćŽľč˝}{\externalfigure[02/pars-2.pdf]}

ćŽľč˝ĺŻäťĽčŽžç˝ŽéŚčĄçźŠčżăä¸­ććççćŻäžćŻďźćŽľč˝éŚčĄéçźŠčż 2 ä¸Şćąĺ­çĺŽ˝ĺşŚďźç¤şäž \in[pars-3] ĺŽç°äşčŻĽéćąďźćççťćä¸­ćŽľč˝ĺźĺ¤´çčč˛çŠĺ˝˘ĺşĺčĄ¨ç¤şćĺ­çźŠčżĺäş§çççŠşç˝ĺşĺăĺ°şĺŻ¸ 2em ĺłčąćĺ­ćŻ \type{M} çĺŽ˝ĺşŚç 2 ĺďźĺĺĽ˝ä¸ä¸¤ä¸Şćąĺ­çĺŽ˝ĺşŚç¸ĺăčżćä¸ä¸Şĺ¸¸ç¨çĺ°şĺŻ¸ĺä˝ exďźĺŽćŻčąćĺ­ćŻ \type{x} çéŤĺşŚă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm,width=6cm]
\setupindenting[first,always,2em]
\fakewords{9}{15}

\fakewords{9}{15}
\stopTEXpage
\stopsample
\sample[option=TEX][pars-3]{čŽžç˝ŽćŽľč˝éŚčĄçźŠčż}{\externalfigure[02/pars-3.pdf]}

ć&nbsp;šćŽććĄŁăFaking text and moreă\cite[faking-text]çćç¤şďźĺŻĺ°ćŽľč˝çźŠčżĺşĺçé˘č˛ĺŽäšä¸şç˝č˛ďźäťčĺŻéżĺčč˛çŠĺ˝˘ĺĺŻšč§č§çĺš˛ć°ďźč§ç¤şäž \in[parindentcolor]ă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm,width=6cm]
\setupindenting[first,always,2em]
% ĺ°çźŠčżĺşĺçé˘č˛çąéťčŽ¤çčč˛ćšä¸şç˝č˛
\definecolor[fakeparindentcolor][white]
\fakewords{9}{15}

\fakewords{9}{15}
\stopTEXpage
\stopsample
\sample[option=TEX][parindentcolor]{ćśé¤ćŽľč˝çźŠčżč˛ĺ}{\externalfigure[02/parindentcolor.pdf]}

ĺ¨čŽžĺŽćŽľč˝éŚčĄçźŠčżĺďźčĽä¸ĺ¸ććä¸ŞćŽľč˝çéŚčĄč˘ŤçźŠčżďźĺŻĺ¨ćŽľč˝ĺźĺ¤´ćžç˝Žĺ˝äť¤ \type{\noindent}ăç¤şäž \in[noindent]ďźçŹŹäşćŽľćśé¤äşçŹŹäşćŽľćĺ­çéŚčĄçźŠčżă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm,width=6cm]
\setupindenting[first,always,2em]
\definecolor[fakeparindentcolor][white]
\fakewords{9}{15}

\noindent\fakewords{9}{15}
\stopTEXpage
\stopsample
\sample[option=TEX][noindent]{ćśé¤çŹŹäşćŽľçéŚčĄçźŠčż}{\externalfigure[02/pars-4.pdf]}

\section[interlinespace]{čĄé´čˇ}

\ConTeXt\ éťčŽ¤çćŽľč˝ĺĺčĄćĺ­çé´čˇćŻ 2.8 exďźçşŚç­äş \ConTeXt\ éťčŽ¤çć­Łćĺ­ä˝ĺ¤§ĺ° 12 ptăĺŻä˝żç¨ \type{\setupinterlinespace}  ĺŻščĄé´čˇčżčĄč°ć´ăĺŚç¤şäž \in[pars-5] ĺ°čĄé´čˇčŽžä¸ş 1.75 ĺéťčŽ¤čĄčˇă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm,width=6cm]
\setupindenting[first,always,2em]
\definecolor[fakeparindentcolor][white]
\setupinterlinespace[1.75]
\fakewords{9}{15}

\fakewords{9}{15}
\stopTEXpage
\stopsample
\sample[option=TEX][pars-5]{ĺ¤čĄććŹććçćŽľč˝}{\externalfigure[02/pars-5.pdf]}

ä¸čżďźćĺç°ç¤şäž \in[pars-5] çčĄé´čˇčŽžĺŽčŻ­ĺĽčĽćžĺ¨ \type{\startTEXpage} čŻ­ĺĽäšĺĺć&nbsp;ć\footnote{ĺ¨ \in[context-world] čä¸­äźäťçť \type{\starttext ... \stoptext}ďźç´ćĽäťĽéťčŽ¤čĄčˇĺć°çćšĺźčŽžç˝ŽčĄé´čˇďźčĽčŽžĺŽčŻ­ĺĽä˝äş \type{\starttext} äšĺĺĺć&nbsp;ˇć&nbsp;ćă}ďźäščŽ¸ćŻĺ˝ĺç \ConTeXt\ LMTX çćŹĺ­ĺ¨ bugă

čżćä¸ç§čĄé´čˇčŽžĺŽćšćłăĺžä˝&nbsp;ććĄçŹŹ \in[chinese-fonts] çŤ&nbsp;ä¸­čŽ˛čż°ç \ConTeXt\ ĺ­ä˝čŽžĺŽćšćłďźĺšść¸ćĽć­Łćĺ­ä˝çĺ¤§ĺ°ćśďźĺŻä˝żç¨ \type{line} ĺć°čŽžĺŽćĺ¤§čĄéŤăäžĺŚďźčĽć­Łćĺ­ä˝ĺ¤§ĺ°ä¸ş 11 ptďźäťĽä¸äťŁç&nbsp;ĺŻčŽžĺŽčĄé´čˇä¸ş 1.75 ĺďź

\starttyping[option=TEX]
\setupinterlinespace[line=19.25pt]
\stoptyping

\noindent äšćäťĽćŻ 19.25 ptďźćŻĺ&nbsp;ĺŽç­äş $1.75\times 11$ ptăćĺ¤§čĄéŤĺłčĄé´čˇďźĺ&nbsp;ä¸şĺ¨ \CONTEXT\ ä¸­ďźčĄé´čˇćŻç¸éťä¸¤čĄćĺ­çĺşçşżčˇçŚťďźć°ĺĽ˝ç­äşä¸čĄćĺ­çćĺ¤§éŤĺşŚăćŹććĄŁĺ¨ĺćç¤şä¸­çä˝żç¨čŻĽćšĺźčŽžĺŽćŽľč˝ĺčĄé´čˇă

\section{ĺŻšé˝}

ććśďźĺ¸ćĺ°ä¸čĄćĺ­ĺąĺˇŚăĺąä¸­ćĺąĺłćžç˝ŽďźĺŻĺĺŤä˝żç¨ \type{\leftaligned}ďź\type{\midaligned} ĺ\type{\rightaligned} čżčĄćçďźčŻˇĺčç¤şäž \in[aligned-1]ă

\startsample
\usemodule[visual]
\startTEXpage
  [frame=on,offset=2.5mm,width=6cm]
\leftaligned{\fakewords{1}{2}}
\midaligned{\fakewords{1}{2}}
\rightaligned{\fakewords{1}{2}}
\stopTEXpage
\stopsample
\sample[option=TEX][aligned-1]{ĺ¤čĄććŹććçćŽľč˝}{\externalfigure[02/aligned-1.pdf]}

ĺŚććŻä¸ćŽľćĺ­éčŚĺąĺˇŚăĺąä¸­ćĺąĺłćçďźĺŻä˝żç¨ \type{alignment} çŻĺ˘ďźéčżčŻĽçŻĺ˘çĺć°ć§ĺśĺŻšé˝ĺ˝˘ĺźăç¤şäž \in[aligned-2] ĺąç¤şäşćŽľč˝çä¸ç§ĺŻšé˝ĺ˝˘ĺźă

\startsample
\usemodule[visual]
\startTEXpage[frame=on,offset=2.5mm,width=6cm]
\startalignment[flushleft] % ĺˇŚĺŻšé˝
1. \fakewords{5}{15}
\stopalignment
\startalignment[middle] % ĺąä¸­ĺŻšé˝
2. \fakewords{5}{15}
\stopalignment
\startalignment[flushright] % ĺłĺŻšé˝
3. \fakewords{5}{15}
\stopalignment
\stopTEXpage
\stopsample
\sample[option=TEX][aligned-2]{ćŽľč˝ĺŻšé˝}{\externalfigure[02/aligned-2.pdf]}

\section{ĺä¸ĺ°č°äšçä¸ćçäżĄ}

ç°ĺ¨ďźćäťŹĺˇ˛çťćč˝ĺç¨äźŞćĺ­ćçä¸ĺ°č°äšçä¸ćĺĺŽšçäšŚäżĄäşďźč§ç¤şäž \in[letter]ăäščŽ¸ç°ĺ¨ä˝&nbsp;ĺžćłç¨ćąĺ­çťćĺĺĺ°äżĄďźĺšśĺčŻäťďźčżĺ°äżĄçćçćŻä˝&nbsp;äş˛ćç¨ \ConTeXt\ ĺśä˝çăćĺä˝&nbsp;ććśćĺĽ˝ćžĺźčżä¸ŞćłćłďźĺčąćäšŚäżĄćŻĺŽĺ¨ĺŻäťĽçă

\startsample
\usemodule[visual]
\startTEXpage
  [frame=on,offset=1cm,width=10cm]
\definecolor[fakeparindentcolor][white]
\setupindenting[first,always,2em]
\noindent\fakewords{1}{1}:\par
\fakewords{1}{2}\par
\fakewords{20}{50}\par
\fakewords{20}{50}\par
\fakewords{20}{50}\par
\fakewords{1}{1}\par
\noindent\fakewords{1}{1}\par
\rightaligned{\fakewords{1}{1}}\par
\rightaligned{\fakewords{1}{1}}
\stopTEXpage
\stopsample
\sample[option=TEX][letter]{ä¸ĺ°č°äšçä¸ćçäżĄ}{\externalfigure[02/letter.pdf][width=.425\textwidth]}

\section{ĺ°çť}

ć­ĺä˝&nbsp;ďźčľ°ĺşäşć°ććăĺ¨ä¸ä¸çŤ&nbsp;ĺ­ŚäźĺŽčŁĺä˝żç¨ćąĺ­ĺ­ä˝ďźäžżĺŻäťĽéŻčĄ \ConTeXt\ ä¸çäşă</pre></body></html>