mirror of
https://github.com/Estom/notes.git
synced 2026-04-13 18:00:27 +08:00
Merge branch 'master' of gitee.com:Eyestorm/notes
This commit is contained in:
@@ -1,31 +1,50 @@
|
||||
# latex 概念
|
||||
Tex是一种语言类型。
|
||||
|
||||
## 1 tex语言介绍
|
||||
Tex是一种语言类型。同时其也是一种排版引擎。基本的TeX系统只有300多个元命令 (primitive) ,十分精悍,但是很难读懂。
|
||||
|
||||
## tex语言使用流程
|
||||
> 语言格式.tex -> 编译程序tex/etex/latex -> .dvi -> 排版程序pdfTex/PdfLatex -> .Pdf
|
||||
|
||||
## tex语言格式分类
|
||||
|
||||
Plain Tex是一种语言格式。
|
||||
LaTeX也是一种语言格式。
|
||||
* Plain Tex是一种语言格式。最小宏集
|
||||
* LaTeX也是一种语言格式。常见宏集合
|
||||
* ConTeXt:另一种常见的格式。另一种常见宏集合
|
||||
|
||||
分别由Tex语言中不同的宏包定义的语言格式
|
||||
|
||||
## tex语言编译工具
|
||||
## 2 tex编译排版介绍
|
||||
### tex语言编译工具
|
||||
|
||||
tex命令是用来编译Plain Tex书写的.tex文件生成.dvi文件程序。
|
||||
etex命令是用来编译Plain Tex书写的.tex文件生成.dvi文件程序。
|
||||
latex命令用来编译使用LaTeX语言写的.tex文件生成为.dvi文件程序。
|
||||
* tex命令是用来编译Plain Tex书写的.tex文件生成.dvi文件程序。
|
||||
* etex命令是用来编译Plain Tex书写的.tex文件生成.dvi文件程序。
|
||||
* latex命令用来编译使用LaTeX语言写的.tex文件生成为.dvi文件程序。
|
||||
|
||||
## tex语言排版工具
|
||||
### tex语言排版工具
|
||||
|
||||
dvipdfmx程序用来对dvi文件进行排版生成pdf文件。
|
||||
|
||||
## tex语言编译排版工具
|
||||
### tex语言编译排版工具
|
||||
|
||||
> 用来将tex文件直接变异成pdf文件。
|
||||
> 用来将tex文件直接编译成pdf文件。自动包括了编译和排版的过程
|
||||
|
||||
xetex命令用来编译Plain TeX格式写的dvi文件。使用操作系统字符集,支持Unicode字符集。
|
||||
xeLatex命令用来编译LaTeX格式写的dvi文件。使用操作系统字符集,支持Unicode字符集。
|
||||
PdfTex是用来排版Plain Tex语言格式的dvi文件,生成PDF文档。
|
||||
PdfLaTeX是用来排版LaTeX语言格式的dvi文件,生成PDF文档。
|
||||
|
||||
* PdfTex是用来排版Plain Tex语言格式的dvi文件,生成PDF文档。
|
||||
* PdfLaTeX是用来排版LaTeX语言格式的dvi文件,生成PDF文档。
|
||||
* xetex命令用来编译Plain TeX格式写的dvi文件。使用操作系统字符集,支持Unicode字符集。
|
||||
* xeLatex命令用来编译LaTeX格式写的dvi文件。使用操作系统字符集,支持Unicode字符集。
|
||||
* LuaTeX:TeX 语言的一个完整的有扩展的实现。LuaTeX支持Unicode、系统字体和内嵌语言扩展,能直接输出PDF格式文件,也可以仍然输出 DVI 格式。
|
||||
* LuaLaTeX:TeX 语言的一个完整的有扩展的实现。LuaTeX支持Unicode、系统字体和内嵌语言扩展,能直接输出PDF格式文件,也可以仍然输出 DVI 格式。dvi
|
||||
|
||||
|
||||
补充:
|
||||
* latexmk 是一个集成命令工具,能够自动运行多次xelatex、biblatex等工具,一次运行多次编译。
|
||||
|
||||
## 3 tex发行版介绍
|
||||
|
||||
一个完整的TeX需要最基本的TeX引擎、格式支持、各种辅助宏包、一些转换程序、GUI、编辑器、文档查看器等等。通过选择不同的组合就构成了不同的发行版。
|
||||
|
||||
* TeX Live:支持Linux,Windows,Mac OS
|
||||
* MiKTeX:只支持Windows
|
||||
* CTeX:CTeX基于MiKTeX,并加入了中文的支持,只支持Windows。同时CTEX是一个网站,ctex是可以很好支持中文的宏包。
|
||||
21
texput.log
Normal file
21
texput.log
Normal file
@@ -0,0 +1,21 @@
|
||||
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/W32TeX) (preloaded format=latex 2021.8.26) 24 MAR 2022 20:33
|
||||
entering extended mode
|
||||
restricted \write18 enabled.
|
||||
%&-line parsing enabled.
|
||||
**quit
|
||||
|
||||
! Emergency stop.
|
||||
<*> quit
|
||||
|
||||
End of file on the terminal!
|
||||
|
||||
|
||||
Here is how much of TeX's memory you used:
|
||||
3 strings out of 478995
|
||||
107 string characters out of 5862233
|
||||
283032 words of memory out of 5000000
|
||||
17591 multiletter control sequences out of 15000+600000
|
||||
403430 words of font info for 27 fonts, out of 8000000 for 9000
|
||||
1141 hyphenation exceptions out of 8191
|
||||
0i,0n,0p,6b,6s stack positions out of 5000i,500n,10000p,200000b,80000s
|
||||
No pages of output.
|
||||
Reference in New Issue
Block a user