<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://www.newiki.net/w/index.php?action=history&amp;feed=atom&amp;title=LuaTeX</id>
	<title>LuaTeX - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://www.newiki.net/w/index.php?action=history&amp;feed=atom&amp;title=LuaTeX"/>
	<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;action=history"/>
	<updated>2026-04-12T01:23:41Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=31026&amp;oldid=prev</id>
		<title>2023년 2월 18일 (토) 03:15에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=31026&amp;oldid=prev"/>
		<updated>2023-02-18T03:15:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023년 2월 18일 (토) 03:15 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;13번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;13번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;TeX에서 한글을 사용할 수 있도록 해 주는 ko.TeX의 LuaTeX용 버전인 luatex-ko도 나와 있다. luatexko 패키지를 설치한 다음 문서의 프리앰블에서 \usepackage{luatexko} 명령어로 패키지를 불러 오면 ko.TeX의 각종 한글 지원 기능을 사용할 수 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;TeX에서 한글을 사용할 수 있도록 해 주는 ko.TeX의 LuaTeX용 버전인 luatex-ko도 나와 있다. luatexko 패키지를 설치한 다음 문서의 프리앰블에서 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;\usepackage{luatexko}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;명령어로 패키지를 불러 오면 ko.TeX의 각종 한글 지원 기능을 사용할 수 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:TeX]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:TeX]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=31025&amp;oldid=prev</id>
		<title>2023년 2월 18일 (토) 03:15에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=31025&amp;oldid=prev"/>
		<updated>2023-02-18T03:15:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023년 2월 18일 (토) 03:15 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;12번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;12번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TeX에서 한글을 사용할 수 있도록 해 주는 ko.TeX의 LuaTeX용 버전인 luatex-ko도 나와 있다. luatexko 패키지를 설치한 다음 문서의 프리앰블에서 \usepackage{luatexko} 명령어로 패키지를 불러 오면 ko.TeX의 각종 한글 지원 기능을 사용할 수 있다.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:TeX]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:TeX]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=25125&amp;oldid=prev</id>
		<title>2021년 5월 17일 (월) 23:15에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=25125&amp;oldid=prev"/>
		<updated>2021-05-17T23:15:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021년 5월 17일 (월) 23:15 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;1번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;제대로 쓰려면 &amp;lt;math&amp;gt;\mathrm{Lua}\TeX&amp;lt;/math&amp;gt;이라고 써야 한다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;제대로 쓰려면 &amp;lt;math&amp;gt;\mathrm{Lua}\TeX&amp;lt;/math&amp;gt;이라고 써야 한다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다. [[자바]]라든가 [[파이썬]]을 붙인 것도 있지만 큰 인기는 얻지 못하고 있는데, LuaTeX은 TeX Live의 기본 패키지로 포함되어 있을 정도로 가장 많이 쓰이고 있다. 특히 [[pdfTeX]] 개발팀이 LuaTeX을 [[pdfTeX]]의 후계로 공식 결정하면서 주목 받고 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다. [[자바]]라든가 [[파이썬]]을 붙인 것도 있지만 큰 인기는 얻지 못하고 있는데, LuaTeX은 TeX Live의 기본 패키지로 포함되어 있을 정도로 가장 많이 쓰이고 있다. 특히 [[pdfTeX]] 개발팀이 LuaTeX을 [[pdfTeX]]의 후계로 공식 결정하면서 주목 받고 있다&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. [[pdfTeX]] 개발팀이 만들고 있으므로 출력 결과물은 물론 PDF가 기본이다&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=25117&amp;oldid=prev</id>
		<title>2021년 5월 17일 (월) 22:31에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=25117&amp;oldid=prev"/>
		<updated>2021-05-17T22:31:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021년 5월 17일 (월) 22:31 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;1번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;제대로 쓰려면 &amp;lt;math&amp;gt;\mathrm{Lua}\TeX&amp;lt;/math&amp;gt;이라고 써야 한다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;제대로 쓰려면 &amp;lt;math&amp;gt;\mathrm{Lua}\TeX&amp;lt;/math&amp;gt;이라고 써야 한다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[자바]]라든가 [[파이썬]]을 붙인 것도 있지만 큰 인기는 얻지 못하고 있는데, LuaTeX은 TeX Live의 기본 패키지로 포함되어 있을 정도로 가장 많이 쓰이고 있다. 특히 &lt;/ins&gt;[[pdfTeX]] 개발팀이 LuaTeX을 [[pdfTeX]]의 후계로 공식 결정하면서 주목 받고 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[pdfTeX]] 개발팀이 LuaTeX을 [[pdfTeX]]의 후계로 공식 결정하면서 주목 받고 있다.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref&amp;gt;이런 글꼴은 블랙리스트에 등록해서 LuaTeX 글꼴 데이터베이스에 등록하지 않고 건너뛰도록 해야 한다.&amp;lt;/ref&amp;gt; &lt;/del&gt;똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다. 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 불가능하거나 외부 프로그램의 도움을 받아야 하므로 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다. [[Lua]] 스크립트가 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;베우기 &lt;/del&gt;쉬운 언어이므로 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;징벽도 &lt;/del&gt;낮은 편이다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 불가능하거나 외부 프로그램의 도움을 받아야 하므로 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다. [[Lua]] 스크립트가 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;배우기 &lt;/ins&gt;쉬운 언어이므로 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;장벽도 &lt;/ins&gt;낮은 편이다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &#039;나의 [[TeX]]은 그러지 않아!&#039;을 외치기도 한다. Lua 스크립트 안에서는 백슬래시를 이스케이프 처리해야 하므로 TeX &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;명령어를 모조리 이중 백슬래시 처리해야 한다는 것도 헷갈릴 수 있다. (예를 들어 &amp;lt;code lang=&quot;latex&quot;&amp;gt;{{#tag:nowiki|{tex.print(&#039;Hello World! \\bigskip\\bigskip&#039;)}}&amp;lt;/code&amp;gt; 그러나 프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 수도 있다. 좀 더 깔끔하게 하려면 [[Lua]] 스크립트 부분은 별도 파일로 빼거나 패키지로 만들 수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &#039;나의 [[TeX]]은 그러지 않아!&#039;을 외치기도 한다. Lua 스크립트 안에서는 백슬래시를 이스케이프 처리해야 하므로 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;TeX&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;명령어를 모조리 이중 백슬래시 처리해야 한다는 것도 헷갈릴 수 있다. (예를 들어 &amp;lt;code lang=&quot;latex&quot;&amp;gt;{{#tag:nowiki|{tex.print(&#039;Hello World! \\bigskip\\bigskip&#039;)}}&amp;lt;/code&amp;gt; 그러나 프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고 프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 수도 있다. 좀 더 깔끔하게 하려면 [[Lua]] 스크립트 부분은 별도 파일로 빼거나 패키지로 만들 수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=19811&amp;oldid=prev</id>
		<title>2020년 2월 18일 (화) 02:12에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=19811&amp;oldid=prev"/>
		<updated>2020-02-18T02:12:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2020년 2월 18일 (화) 02:12 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;16번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;16번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:TeX]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=17952&amp;oldid=prev</id>
		<title>2019년 12월 31일 (화) 10:13에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=17952&amp;oldid=prev"/>
		<updated>2019-12-31T10:13:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2019년 12월 31일 (화) 10:13 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;3번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[pdfTeX]] 개발팀이 LuaTeX을 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pdfTeX의 &lt;/del&gt;후계로 공식 결정하면서 주목 받고 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[pdfTeX]] 개발팀이 LuaTeX을 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[pdfTeX]]의 &lt;/ins&gt;후계로 공식 결정하면서 주목 받고 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Lua 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;Lua&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다.&amp;lt;ref&amp;gt;이런 글꼴은 블랙리스트에 등록해서 LuaTeX 글꼴 데이터베이스에 등록하지 않고 건너뛰도록 해야 한다.&amp;lt;/ref&amp;gt; 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다.&amp;lt;ref&amp;gt;이런 글꼴은 블랙리스트에 등록해서 LuaTeX 글꼴 데이터베이스에 등록하지 않고 건너뛰도록 해야 한다.&amp;lt;/ref&amp;gt; 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=17835&amp;oldid=prev</id>
		<title>2019년 12월 30일 (월) 00:14에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=17835&amp;oldid=prev"/>
		<updated>2019-12-30T00:14:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2019년 12월 30일 (월) 00:14 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;3번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트 언어를 집어넣을 수 있는 [[TeX]] 엔진. TeX이 프로그래밍 언어의 성격이 있지만 매크로 언어라는 한계가 있는데, [[LaTeX3]]는 이를 최대한 [[TeX]]스럽게 확장시키려고 한다면 LuaTeX은 아예 다른 프로그래밍 언어를 붙여서 확장시키는 방법을 택했다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PDFTeX&lt;/del&gt;]] 개발팀이 LuaTeX을 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PDFTeX의 &lt;/del&gt;후계로 공식 결정하면서 주목 받고 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pdfTeX&lt;/ins&gt;]] 개발팀이 LuaTeX을 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pdfTeX의 &lt;/ins&gt;후계로 공식 결정하면서 주목 받고 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Lua 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Lua 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다. 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref&amp;gt;이런 글꼴은 블랙리스트에 등록해서 LuaTeX 글꼴 데이터베이스에 등록하지 않고 건너뛰도록 해야 한다.&amp;lt;/ref&amp;gt; &lt;/ins&gt;똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 불가능하거나 외부 프로그램의 도움을 받아야 하므로 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다. [[Lua]] 스크립트가 베우기 쉬운 언어이므로 징벽도 낮은 편이다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 불가능하거나 외부 프로그램의 도움을 받아야 하므로 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다. [[Lua]] 스크립트가 베우기 쉬운 언어이므로 징벽도 낮은 편이다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=7535&amp;oldid=prev</id>
		<title>2016년 10월 24일 (월) 22:59에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=7535&amp;oldid=prev"/>
		<updated>2016-10-24T22:59:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016년 10월 24일 (월) 22:59 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;9번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;9번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다. 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 [[글꼴]]을 지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다. 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 결과가 미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;불가능하거나 외부 프로그램의 도움을 받아야 하므로 &lt;/ins&gt;엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. [[Lua]] 스크립트가 베우기 쉬운 언어이므로 징벽도 낮은 편이다&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &amp;#039;나의 [[TeX]]은 그러지 않아!&amp;#039;을 외치기도 한다. Lua 스크립트 안에서는 백슬래시를 이스케이프 처리해야 하므로 TeX  명령어를 모조리 이중 백슬래시 처리해야 한다는 것도 헷갈릴 수 있다. (예를 들어 &amp;lt;code lang=&amp;quot;latex&amp;quot;&amp;gt;{{#tag:nowiki|{tex.print(&amp;#039;Hello World! \\bigskip\\bigskip&amp;#039;)}}&amp;lt;/code&amp;gt; 그러나 프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고  프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 수도 있다. 좀 더 깔끔하게 하려면 [[Lua]] 스크립트 부분은 별도 파일로 빼거나 패키지로 만들 수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &amp;#039;나의 [[TeX]]은 그러지 않아!&amp;#039;을 외치기도 한다. Lua 스크립트 안에서는 백슬래시를 이스케이프 처리해야 하므로 TeX  명령어를 모조리 이중 백슬래시 처리해야 한다는 것도 헷갈릴 수 있다. (예를 들어 &amp;lt;code lang=&amp;quot;latex&amp;quot;&amp;gt;{{#tag:nowiki|{tex.print(&amp;#039;Hello World! \\bigskip\\bigskip&amp;#039;)}}&amp;lt;/code&amp;gt; 그러나 프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고  프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 수도 있다. 좀 더 깔끔하게 하려면 [[Lua]] 스크립트 부분은 별도 파일로 빼거나 패키지로 만들 수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=5572&amp;oldid=prev</id>
		<title>2016년 4월 5일 (화) 22:58에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=5572&amp;oldid=prev"/>
		<updated>2016-04-05T22:58:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016년 4월 5일 (화) 22:58 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;11번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;11번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 [[TeX]]으로 하기에는 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; 구현하려면 엄청난 매크로 처리가 필요하기 때문이다.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &#039;나의 [[TeX]]은 그러지 않아!&#039;을 외치기도 한다. 그러나 프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고  프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 수도 있다. 좀 더 깔끔하게 하려면 [[Lua]] 스크립트 부분은 별도 파일로 빼거나 패키지로 만들 수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &#039;나의 [[TeX]]은 그러지 않아!&#039;을 외치기도 한다. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Lua 스크립트 안에서는 백슬래시를 이스케이프 처리해야 하므로 TeX  명령어를 모조리 이중 백슬래시 처리해야 한다는 것도 헷갈릴 수 있다. (예를 들어 &amp;lt;code lang=&quot;latex&quot;&amp;gt;{{#tag:nowiki|{tex.print(&#039;Hello World! \\bigskip\\bigskip&#039;)}}&amp;lt;/code&amp;gt; &lt;/ins&gt;그러나 프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고  프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 수도 있다. 좀 더 깔끔하게 하려면 [[Lua]] 스크립트 부분은 별도 파일로 빼거나 패키지로 만들 수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
	<entry>
		<id>https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=5571&amp;oldid=prev</id>
		<title>2016년 4월 5일 (화) 22:53에 Dennis님의 편집</title>
		<link rel="alternate" type="text/html" href="https://www.newiki.net/w/index.php?title=LuaTeX&amp;diff=5571&amp;oldid=prev"/>
		<updated>2016-04-05T22:53:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016년 4월 5일 (화) 22:53 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;7번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;7번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Lua 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Lua 스크립트 활용 방법은 간단하다. {{LaTeX|\directlua}} 명령으로 Lua 스크립트를 안에다 넣는다. 스크립트에서는 이런 저런 처리를 한 다음 출력하고 싶은 것을 tex.print() 명령으로 출력하면 된다. LuaTeX의 예제는 [http://faq.ktug.org/faq/SampleDocument/LuaTeX 여기]에서 살펴보자.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;글꼴을 &lt;/del&gt;지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다. 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;결과 &lt;/del&gt;미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[XeTeX]]처럼 시스템에 설치된 글꼴을 자유롭게 쓸 수 있다. 다만 [[XeTeX]]은 시스템의 글꼴 처리 엔진을 활용하는 반면, LuaTeX은 독자적인 엔진을 사용하기 때문에 처음 사용할 때, 또는 [[글꼴]]을 설치하거나 없앴을 때에는 [[글꼴]] [[데이터베이스]]를 한번 업데이트해 줘야 하며&amp;lt;ref&amp;gt;[[XeTeX]]도 새로운 글꼴이 들어갔거나 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[글꼴]]을 &lt;/ins&gt;지웠다면 fc-cache로 한번 리프레시해 줘야 한다.&amp;lt;/ref&amp;gt;, 오래 된 [[트루타입]] 글꼴와는 잘 안 맞는 문제도 있다. 똑같은 문서를 [[XeTeX]]과 LuaTeX으로 컴파일해 보면 조판 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;결과가 &lt;/ins&gt;미세하게 차이가 나기도 하며 특히 알파벳 쪽은 더더욱 디테일에 차이가 난다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TeX으로 &lt;/del&gt;하기에는 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아니기 때문에 &lt;/del&gt;구현하려면 엄청난 매크로 처리가 필요하기 때문이다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;뭐니뭐니 해도 [[Lua]] 스크립트의 기능을 모두 활용할 수 있다는 게 큰 강점이다. [[인터넷]]에 접속해서 [[데이터]]를 받아 오거나, [[데이터베이스]]와 연동하는 것과 같은 작업은 그냥 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[TeX]]으로 &lt;/ins&gt;하기에는 엄청 까다롭지만 [[Lua]]는 훨씬 쉽다. 또한 프로그래밍에서 자주 사용하는 흐름 제어, 문자열 처리와 같은 기능들은 [[TeX]]으로 구현하는 것보다 Lua [[스크립트]]로 처리하는 게 훨씬 빠르다. 즉, [[컴파일]] 시간이 대축 단축된다는 이야기. [[TeX]]은 원래 그런 기능을 염두에 둔 건 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아니라서 &amp;lt;del&amp;gt;일단 1970년대에는 인터넷이 없었잖아.&amp;lt;/del&amp;gt; &lt;/ins&gt;구현하려면 엄청난 매크로 처리가 필요하기 때문이다.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &#039;나의 [[TeX]]은 그러지 않아!&#039;을 외치기도 한다. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;하지만 &lt;/del&gt;프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고  프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;하지만 [[TeX]] 안에 [[Lua]] 스크립트를 집어넣는 게 엄청 이질적으로 보이기 때문에 순수주의자들은 &#039;나의 [[TeX]]은 그러지 않아!&#039;을 외치기도 한다. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;그러나 &lt;/ins&gt;프로그래밍 언어의 기법을 왕창 갖다 넣은 [[LaTeX3]]이 조금 억지스럽게 보일 수 있다는 면에서 본다면, 본래의 조판 매크로 기능은 [[TeX]]을 쓰고  프로그래밍이 필요한 부분은 [[Lua]] 스크립트를 쓰는 식으로 분담하는 게 더 우아할 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;수도 있다. 좀 더 깔끔하게 하려면 [[Lua]] 스크립트 부분은 별도 파일로 빼거나 패키지로 만들 &lt;/ins&gt;수도 있다. [[LaTeX3]]도 l3lua 모듈을 통해 LuaTeX을 지원한다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Lua]] 스크립트를 [[TeX]] 파일 안에 넣을 수도 있고, 스크립트는 다른 파일에 저장한 다음 [[TeX]]에서 불러다 쓸 수도 있다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{각주}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dennis</name></author>
	</entry>
</feed>