Q&A 마당은 텍 관련 질문/답변을 위해 만들었습니다.
- 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
- 질문 전에 아래를 읽어 보세요. 좋은 질문이 좋은 답을 받을 수 있는 좋은 방법입니다.
- 질문에 맞는 제목을 붙이세요. 질문의 내용과 관련없는 "고수님", "긴급질문", "도와주세요"와 같은 제목은 답이 잘 올라오지 않습니다. 이 게시판에 올라오는 모든 글은 질문입니다. 굳이 [질문], [Q]를 적으실 필요도 없습니다.
- 내용을 충실히 적어 주시고, 같은 상황을 재현할 수 있는 최소한의 예제가 같이 있어야 합니다.
- 최소 예제는 "Minimal working example"을 읽어 보세요.
- 파일을 첨부하실 때에는 가능한 압축하여 파일 크기를 줄여서 올려주시길 바랍니다.
- 개인적으로 사용하신 글꼴이 들어 있는 경우, preparefont.sty에 관한 답변을 참조하세요.
- 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
- 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
- MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
- 사용하는 편집기는 CKeditor입니다.
- 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한 줄을 비웁니다.
- 글줄만 바꾸려면 [shift-enter]를 누르면 <BR> 태그가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
- 수식를 문서내에 삽입하시려면 에디터를 툴바에서 [소스]를 눌러 HTML로 입력할 수 있게 바꾸신 후 <pre> </pre> tag를 사용하셔서 <pre> 여러 줄의 수식 </pre>처럼 입력하시면 좋습니다.
texlive 2013에서 memhangul-ucs 오류 관련
2013.10.20 11:31
이전 texlive에서는 다음처럼 작성한 문서를 pdflatex으로 컴파일하면 아무런 문제없이 잘 되었습니다.
\documentclass{memoir}
\usepackage{memhangul-ucs}
\begin{document}
안녕하세요.
\end{document}
그런데 texlive 2013으로 업그레이드하니 다음과 같은 오류가 발생합니다. 무슨 이유일까요?
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
(./memhangul-test.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 21 languages loaded.
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/memoir/memoir.cls
Document Class: memoir 2013/05/30 v3.7b configurable book, report, article docu
ment class
(/usr/local/texlive/2013basic/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2013basic/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2013basic/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/memoir/mem10.clo)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/memoir/mempatch.sty))
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/kotex-dev/oblivoir/memhangul
-ucs/memhangul-ucs.sty
memhangul-ucs v1.7.4 2013/09/27
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/kotex/utf/dhucs.sty
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/kotex/utf/kotexutf.sty
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2013basic/texmf-dist/tex/plain/kotex/kotexutf-core.tex)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/kotex/utf/lucenc.dfu)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/kotex/utf/kolabels-utf.tex))
)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/kotex-dev/oblivoir/memhangul
-ucs/memucs-interword.sty)
(/usr/local/texlive/2013basic/texmf-dist/tex/latex/kotex-dev/oblivoir/memhangul
-ucs/memucs-setspace.sty
Package: `memucs-setspace', a modified version of `setspace', 6.7-memucs8 <2007
/09/21>
)
! Undefined control sequence.
l.1097 \if@unfonts
?
댓글 7
-
nanim
2013.10.20 13:12
-
slomo
2013.10.20 17:30
아, 그런 변경이 있는 줄 몰랐네요.
기존에 memoir + memhangul-ucs 로 만들어 놓은 문서들이 많은데 어떻게 하는 것이 좋을까요?
둘 중 어느 것으로 바꾸는 것이 좋을지 조언 좀 부탁드립니다.
1) oblivoir + memhangul-ucs
2) memoir + kotex
둘 중 어느 것을 해도 memoir + memhangul-ucs에서 얻은 것과 같은 결과가 얻어지지는 않네요.
곤란하게 되었는데... 둘 중 어느 쪽으로 바꾸는 것이 덜 힘들까요?
예전과 같은 결과를 얻는 것이 힘들다면 texlive를 다운그레드하는 수밖에 없을 것 같은데...
이게 잘 될지도 걱정입니다.
-
그로몹
2013.10.20 20:07
줄간격 등은 조정하면 되는 문제이지만 그 밖에 어떤 부분에서
차이가 나는지에 따라 답변이 달라질 것 같습니다.
문제가 생길 부분은 많고요, 어떤 문제인지를 모르고는답변이 어려울 것 같습니다.
달라지는 부분을 적어도 조금은 포함한 샘플을 올려주시면
저같은 사람은 도움이 되겠습니다. (어디가 어떻게 달라지는지
설명과 함께요.)
-
slomo
2013.10.20 23:04
감사합니다. 일단 글꼴이 문제인데, 이리 저리 정보를 뒤져서 읽어보니 2013부터 pdflatex에서 은글꼴이 아니라 나눔글꼴을 사용하는 것으로 바뀌었다는 것을 알았습니다. 2013에서 바뀐 게 너무 많아서 옮겨가는 게 쉽지 않네요. pdflatex을 쓰고 은글꼴을 쓸 수 있는 방법이 없을까요?
-
그로몹
2013.10.20 23:40
http://www.ktug.org/xe/index.php?document_srl=175240
에 Progress님이 설명하신대로
\documentclass[dhucs,unfonts]{oblivoir}
라고 설정하면 pdflatex으로 돌아갑니다.
====
위의 명령으로 은글꼴 잘 불러집니다. (수정)
자세히는
\documentclass{oblivoir}
\usepackage{dhucs-untype1}
라고 설정하시고 pdflatex으로 돌리셔도 속칭 은글꼴인
dhuhc type1 글꼴을 불러줍니다.
이 글꼴 설정은
\SetHangulFonts
{utbt}{utgt}{ut tz}
\SetHanjaFonts{utbt}{utgt}{utg t} 라고 되어 있는데, 이것은
"한글 폰트의 경우 은타입원 바탕/ 은타입원 고딕/은타입원 타자를 각각 지정한 것이고요.한자 폰트의 경우 은바탕/은고딕은 동일하지만타자폰트의 경우 한자 영역이 없기 때문에utgt, 즉 은타입1 고딕을 가져다 쓰도록 한 것입니다."라는 Progress님의 설명입니다.다른 답변에 쓰셨듯이"memhangul-ucs, memhangul-x 스타일은 독립적으로 쓰이지 않도록개발 방침이 변경되었습니다.이 두 스타일은 oblivoir.cls에서만 사용됩니다.
즉, oblivoir 클래스 없이memhangul-***가 불리는 경우에 대해서는
어떤 지원도 제공하지 않습니다."
라고 하셨고요,
oblivoir=xoblivoir 이고,"oblivoir는 실행 중 엔진을 감지하여memhangul-ucs나 memhangul-x를 알아서 호출합니다."따라서"memoir를 쓸 때도 \usepackage{memhangul-ucs}를 부를 필요 없고요. memoir를 쓸 때는 \usepackage[hangul]{kotex} 라고 하면 됩니다. kotex.sty가 알아서 밑에 것들을 골라서 부르니까요."라는 설명들을 해 주셨습니다.업데이트 되면 또 올리지요.====
그리고 또 하나
$ texdoc kotex
명령을 내리면 김강수 선생님의 최신 따끈따끈한 82쪽짜리
새 설명서가 들어있군요.
다른 것들을 제쳐놓고 이것을 참조하십시요.
-
slomo
2013.10.22 09:14
감사합니다. 정말 크게 도움이 되었습니다. 상황 파악이 좀 되었습니다. 일단 말씀하신 것처럼 옵션을 넣어주니 이전에 사용하던 memucs-*** 패지키들과 설정들을 그대로 두어도 오류는 나지 않고 잘 됩니다.
다행히 지금 당장 편집 중인 것은 전과 100% 똑같지는 않아도 되는 것이라서 일단 문제는 없을 것 같습니다. 감사합니다. 그리고 최신 kotex 문서도 알려주셔서 감사합니다.\documentclass{dhucs,unfonts,chapter}[oblivoir]
-
수
2013.10.20 19:29
저의 좁은 소견으로는 xoblivoir를 사용하실것을 추천합니다.
전문가님들의 상당한 노력의 결과의 산물이므로 많이 이용하시는게 좋겟고
실제로 제가 이용을 해보아도 너무나 훌륭하게 만드신 작품이라 생각합니다.
memhangul-ucs, memhangul-x 스타일은 독립적으로 쓰이지 않도록 개발 방침이 변경되었습니다.
이 두 스타일은 oblivoir.cls에서만 사용됩니다. 즉, oblivoir 클래스 없이 memhangul-***가 불리는 경우에 대해서는
어떤 지원도 제공하지 않습니다.
oblivoir를 쓰지 않을 생각이시면 그냥 \usepackage{kotex} 하십시오.