From 6649e8dc10b7a5164de34a93431b3f4e0c736dcb Mon Sep 17 00:00:00 2001 From: osbertwang Date: Mon, 28 Oct 2019 22:09:25 +0800 Subject: [PATCH] =?UTF-8?q?xcode=EF=BC=8C=E7=8E=AF=E5=A2=83=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chapter/macos.tex | 9 +++++++++ chapter/windows.tex | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/chapter/macos.tex b/chapter/macos.tex index f6bb130..724abe4 100644 --- a/chapter/macos.tex +++ b/chapter/macos.tex @@ -30,6 +30,15 @@ \section{安装 Homebrew} source ~/.zshrc \end{lstlisting} +\subsection{Xcode} + +根据 \href{https://docs.brew.sh/Xcode\#supported-xcode-versions}{Homebrew 网站}的提示\footnote{原文是 Homebrew supports and recommends the latest Xcode and/or Command Line Tools available for your platform}, +推荐用户在安装 Homebrew 前先安装 Xcode. +在\textsf{终端} 执行以下命令即可: +\begin{lstlisting}[language=bash] + xcode-select --install +\end{lstlisting} + \section{安装 Mac\TeX} Mac\TeX{} 是 \TeX{} Live 在 macOS 下的再打包版本, 额外加入了一些辅助程序. 如果已经安装了 Homebrew, diff --git a/chapter/windows.tex b/chapter/windows.tex index ce87618..7b7156e 100644 --- a/chapter/windows.tex +++ b/chapter/windows.tex @@ -150,7 +150,9 @@ \section{安装 \TeX{} Live} named COPYING and the TeX source. Primary author of TeX: D.E. Knuth. \end{lstlisting} -即可认为安装顺利完成 \footnote{有用户反映安装后环境变量未发生变化, 则可手动添加 \texttt{\textbackslash bin\textbackslash win32} 至环境变量, \texttt{} 需与你方才的安装地址一致}. +即可认为安装顺利完成% +\footnote{若未能正确显示结果, 则可能是因为环境变量未改变, +用户可手动添加 \texttt{\textbackslash bin\textbackslash win32} 至环境变量, \texttt{} 需与你方才的安装地址一致}. \subsection{下载镜像一直不成功的处理办法}