SQL Database Design For Developers at php[tek] 2024
淺談排版系統 Typesetting System
1. Typesetting Systems
Microsoft Word LTEX
A
yen3
March, 2008
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 1 / 29
2. About
About Slide
Josh Ko (Joshsoft)
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 2 / 29
3. About
About Author
yen3
Computer Science Student
Blog: No title, no thinking, no meaning
E-mail: yen3rc gmail
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 3 / 29
4. Outline
About
Introduction
Why?
What?
Typesetting Concept
Concept
Software
Typesetting — Microsoft Word
Typesetting — TEX , LTEX
A
Conclusion
Conclusion
References
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 4 / 29
5. Introduction Why?
Why do we have to learn Typesetting?
dirty work
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 5 / 29
6. Introduction What?
What is Typesetting?
Definition
Typesetting involves the presentation of textual material in graphic form
on paper or some other medium. Before the advent of desktop publishing,
typesetting of printed material was produced in print shops by compositors
or typesetters working by hand, and later with machines.1
1
wikipedia: Typesetting . . . . . .
yen3 ( ) Typesetting Systems March, 2008 6 / 29
7. Introduction What?
What is Typesetting?
Definition
Typesetting involves the presentation of textual material in graphic form
on paper or some other medium. Before the advent of desktop publishing,
typesetting of printed material was produced in print shops by compositors
or typesetters working by hand, and later with machines.1
Yen3’s View
dirty work typesetting
1
wikipedia: Typesetting . . . . . .
yen3 ( ) Typesetting Systems March, 2008 6 / 29
8. Introduction What?
What is Typesetting? Just a Simple Way
?
dirty work
XELTEX + Beamer
A XD
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 7 / 29
21. Typesetting Concept Software
Which one is the best solution?
...Orz
: LTEX
A , Word
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 13 / 29
22. Typesetting Concept Software
Which one is the best solution?
...Orz
: LTEX
A , Word
yen3’s document solution
XELTEX + xCJK:
A
Microsoft Word: ...Orz
Apple Keynote or LTEX + Beamer:
A
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 13 / 29
23. Typesetting — Microsoft Word
About Microsoft Word
Charles Simonyi, 1981(The original GUI ideal from Bravo at Xerox
PARC in 1974)
WYSIWYG (What You See Is What You Get).
Planform: Windows, MacOS X
The Latest Edition: Microsoft Office Word 2007(Version 12)
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 14 / 29
24. Typesetting — Microsoft Word
Main Points
Word
(templates)?
(section) (styles)?
12pt 10pt,
(Normal)
(paragraph)
XD
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 15 / 29
25. Typesetting — Microsoft Word
Translate to PDF
...
PDF PDF
PDF Bookmark
Acrobat 5.0 Acrobat 7.0 ...
Word Acrobat
PDF XD
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 16 / 29
26. Typesetting — Microsoft Word
Advantage vs Disadvantage
Advantage
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 17 / 29
27. Typesetting — Microsoft Word
Advantage vs Disadvantage
Advantage
Disadvantage
...Orz
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 17 / 29
28. Typesetting — Microsoft Word
Screenshot
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 18 / 29
29. Typesetting — TEX , L TEX
A
About TEX , LTEX
A
TEX, Donald E. Knuth, 1977
LTEX, Leslie Lamport, in the early 1980s
A
Background Typesetting System
Plaform: cross-platform
Windows: MiKTEX, TEXLive 2008
Mac OSX, Ubuntu, FreeBSD: TEXLive 2008
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 19 / 29
30. Typesetting — TEX , L TEX
A
About TEX , LTEX
A
TEX, Donald E. Knuth, 1977
LTEX, Leslie Lamport, in the early 1980s
A
Background Typesetting System
Plaform: cross-platform
Windows: MiKTEX, TEXLive 2008
Mac OSX, Ubuntu, FreeBSD: TEXLive 2008
Other LTEX
A
XELTEX:
A UTF-8, fontspec
cwTEX: LTEX
A preprocessor
BibTEX: reference
...
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 19 / 29
31. Typesetting — TEX , L TEX
A
Platform
LTEX
A ...Orz
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 20 / 29
32. Typesetting — TEX , L TEX
A
Platform
LTEX
A ?
: LT
A
EX
:
XELTEX:
A ...Orz
cwTEX:
XELTEX + xCJK package:
A
: XELTEX
A
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 20 / 29
33. Typesetting — TEX , L TEX
A
Platform
LTEX
A ?
: LT
A
EX
:
XELTEX:
A ...Orz
cwTEX:
XELTEX + xCJK package:
A
: XELTEX
A
Windows, Ubuntu: TEXmaker
Mac OSX: TeXShop
cross-platform: vim ...Orz
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 20 / 29
34. Typesetting — TEX , L TEX
A
Platform
TEXLive XD
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 20 / 29
35. Typesetting — TEX , L TEX
A
How to Start?
LTEX
A XD
LTEX
A (ex: LTEX )
A
...Orz
LTEX
A
3
...Orz . . . . . .
yen3 ( ) Typesetting Systems March, 2008 21 / 29
36. Typesetting — TEX , L TEX
A
How to Start?
LTEX
A XD
LTEX
A (ex: LTEX )
A
...Orz
LTEX
A
Conversation
yen3: LTEX
A
Josh Ko: XD
yen3:
Josh Ko: The TEXBook3
3
...Orz . . . . . .
yen3 ( ) Typesetting Systems March, 2008 21 / 29
37. Typesetting — TEX , L TEX
A
a Simple Example
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
documentclass[10pt]{report}
usepackage[a4paper, margin=1in]{geometry}
usepackage{xCJK}
setCJKmainfont[ItalicFont={DFHeiStd-W7},
BoldFont={DFHeiStd-W7}]{DFMingStd-W5}
title{This is a test}
author{yen3}
date{today}
begin{document}
begin{CJK*}{UTF8}{}
chapter{ This is a test.}
this is a test[sum_{i=0}^{100} i=500]
end{CJK*}
end{document}
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 22 / 29
38. Typesetting — TEX , L TEX
A
Advantage vs Disadvantage
Advantage
XD
Version Control
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 23 / 29
39. Typesetting — TEX , L TEX
A
Advantage vs Disadvantage
Advantage
XD
Version Control
Disdvantage
...Orz
XD
4
XD . . . . . .
yen3 ( ) Typesetting Systems March, 2008 23 / 29
40. Typesetting — TEX , L TEX
A
Screenshot
. . . . . .
yen3 ( ) Typesetting Systems March, 2008 24 / 29