下载地址(北理工镜像):http://mirror.bit.edu.cn/CTAN/systems/texlive/ Images/
下载好“texlive2017-20170524.iso” 之后,解压该.iso。然后以管理员身份运行“install-tl-windows.bat”
注意!一定要解压.iso之后,再运行install-tl-windows.bat,不要直接运行,否则会报错(比如perl 脚本找不到之类的错误)
安装过程比较漫长,等着就好了。安装成功之后出现下现的信息:
下载地址:https://www.sumatrapdfreader.org/download-free-pdf-viewer.html
下载之后点击安装即可
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaeeebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
回车运行
"windows": {
// Path used when invoking tex & friends; "" is fine for MiKTeX
// For TeXlive 2011 (or other years) use
// "texpath" : "C:\\texlive\\2011\\bin\\win32;$PATH",
"texpath" : "C:\\texlive\\2017\\bin\\win32;$PATH",
// TeX distro: "miktex" or "texlive"
"distro" : "texlive",
// Command to invoke Sumatra. If blank, "SumatraPDF.exe" is used (it has to be on your PATH)
"sumatra": "C:\\Program Files\\SumatraPDF\\SumatraPDF.exe",
// Command to invoke Sublime Text. Used if the keep_focus toggle is true.
// If blank, "subl.exe" or "sublime_text.exe" will be used.
"sublime_executable": "",
// how long (in seconds) to wait after the jump_to_pdf command completes
// before switching focus back to Sublime Text. This may need to be
// adjusted depending on your machine and configuration.
"keep_focus_delay": 0.5
},
\documentclass{article}
\title{Title}
\author{Your Name}
\begin{document}
\maketitle{}
\section{Introduction}
This is where you will write your content.
\end{document}
c:\texlive\2017\texmf-dist\tex\latex\fontspec\fontspec.sty:28: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [\msg_fatal:nn {fontspec} {cannot-use-pdftex}]