KTUGFaq
KTUG FAQ
Executive ability is prominent in your make-up.
FrontPage › DVIPDFMx
[ÆíÁý]
1 DVIPDFMxÀÇ ¼Ò°³ ¶
DVIPDFMx´Â DVIPDFmÀÇ eXtended ÇÁ·Î±×·¥À¸·Î Ãâ¹ßÇÏ¿´´Ù. DVI ÆÄÀÏÀ» PDF Æ÷¸ËÀ¸·Î ¹ø¿ªÇØÁÖ´Â ÀÏÀ» ÇÑ´Ù.
- Shunsaku Hirata ´ÔÀÇ dvipdfm-jpn°ú ChoF ´ÔÀÇ dvipdfm-kor°¡ ÇÕÃÄÁø dvipdfm-cjk°¡ Àü½ÅÀÌ´Ù. ±× ÈÄ ChoF ´Ô°ú Hirata ´Ô¿¡ ÀÇÇÏ¿© ÇöÀçÀÇ DVIPDFMx·Î ¹ßÀüÇÏ¿´´Ù.
- CID-keyed ÆùÆ® ±â¼úÀ» ÀÌ¿ëÇÏ¿© µ¿¾Æ½Ã¾Æ ¹®ÀÚ¸¦ ó¸®ÇÑ´Ù.
- Omega/Lambda¿¡ ÀÇÇÏ¿© ¸¸µé¾îÁø DVI¸¦ ó¸®ÇÒ ¼ö ÀÖ´Ù.
- TrueType°ú OpenTypeÀ» Áö¿øÇÑ´Ù.
- ASCII pTeXÀÇ ÀϺ»¾î ¼¼·Î¾²±â¸¦ Áö¿øÇÑ´Ù.
- CJK hyperref ºÏ¸¶Å© ±â´ÉÀ» Áö¿øÇÑ´Ù.
- ConTeXt¿Í MetaPost¸¦ Áö¿øÇÑ´Ù.
- PDF Àá±Ý ±â´É(Encryption)À» Áö¿øÇÑ´Ù.
[ÆíÁý]
3.1 Unix/Linux/CygWin¿¡¼ ¶
- kpathsea, PNG, zlib ¶óÀ̺귯¸®°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÑ´Ù.
/usr/local/lib/libkpathsea.a - The Kpathsea library /usr/local/lib/libpng.a - The PNG library /usr/local/lib/libz.a - The zlib library
- ¼Ò½º¸¦ ´Ù¿î·ÎµåÇÑ´Ù.
#> wget http://project.ktug.or.kr/dvipdfmx/snapshot/current/dvipdfmx-20050627.tar.gz #> tar zxvf dvipdfmx-20050627.tar.gz #> cd dvipdfmx-20050627
- ÄÄÆÄÀÏ-ºôµåÇÑ´Ù.
./configure make make install
ÇÊ¿äÇÏ´Ù¸é ¿¹ÄÁ´ë ./configure --prefix=/usr°ú °°Àº ¹æ½ÄÀ¸·Î ½ÇÇàÇÑ´Ù.(Redhat Linux µî¿¡¼)
- Adobe cmap ÆÄÀÏ ÂüÁ¶¸¦ À§ÇÑ ¼³Á¤
Linux/CygWinÀÇ teTeX¿¡¼ DVIPDFMx¸¦ ÄÄÆÄÀÏ-¼³Ä¡ÇÑ °æ¿ì texmf.cnf¿¡ ´ÙÀ½ »çÇ×À» Ãß°¡ÇØÁØ´Ù. Adobe cmap ÆÄÀÏÀº ¿¹ÄÁ´ë TrueType ±Û²ÃÀ» ÀÌ¿ëÇϰųª ÇÒ ¶§ ÇÊ¿äÇÏ´Ù.
- CygWin-teTeXÀÇ °æ¿ì. AdobeReader 6.x°¡ C:\Program Files\ADOBE\Acrobat 6.0\Reader¿¡ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é,
% CMap file inputs for DVIPDFMx CMAPINPUTS = .;/cygdrive/c/PROGRA~1/ADOBE/ACROBA~1.0/Resource/CMap//
- ¸®´ª½º teTeXÀÇ °æ¿ì. Adobe AcrobatReader for Linux 5.x¿Í Çѱ¹¾î ¾ð¾îÆÑÀÌ ±âº» ¿É¼ÇÀ¸·Î ¼³Ä¡µÈ °æ¿ì.
% CMap file inputs for DVIPDFMx CMAPINPUTS = .;/usr/local/Acrobat5/Resource/Font//
µ¥ºñ¾È ¸®´ª½º »ç¿ëÀÚ¶ó¸é ±»ÀÌ ¹«°Å¿î AcrobatReader¸¦ ¼³Ä¡ÇÒ ÇÊ¿ä¾øÀÌ ´ÙÀ½°ú °°ÀÌ ÇÒ ¼ö ÀÖ´Ù.#> apt-get install cmap-adobe-korea1 gs-cjk-resource
±×¸®°í /etc/texmf/texmf.d/50dvipdfmx.cnf¶ó´Â ÆÄÀÏÀ» ¸¸µé¾îCMAPINPUTS = .;/usr/share/fonts/cmap//
À̶ó°í ÀûÀº ÈÄ, update-texmf¸¦ ½ÇÇàÇÑ´Ù.
- CygWin-teTeXÀÇ °æ¿ì. AdobeReader 6.x°¡ C:\Program Files\ADOBE\Acrobat 6.0\Reader¿¡ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é,
[ÆíÁý]
3.2 Windows ¶
Windows¿¡¼´Â ¹Ì¸® ÄÄÆÄÀÏµÈ DVIPDFMx°¡ ´ÙÀ½ TeXImplementations¿¡ Æ÷ÇÔµÇ¾î ¹èÆ÷µÈ´Ù.
- W32TeX
- MiKTeX
- fpTeX 0.7 ÀÌÈÄ ¹öÀü.
- Adobe cmap ÆÄÀÏ ÂüÁ¶¸¦ À§Çؼ´Â AdobeReaderÀÇ ÇѱÛÆÇÀ̳ª Asia Font PackÀ» ¼³Ä¡ÇØ¾ß ÇÑ´Ù. MiKTeX-KTUG¿¡ Æ÷ÇÔµÈ DVIPDFMx´Â AdobeReaderÀÇ Resource µð·ºÅ丮¸¦ ÀÚµ¿À¸·Î ã¾Æ¼ cmap ÆÄÀÏÀ» ÂüÁ¶ÇÑ´Ù. AcrobatReaderÀÇ Q&A Q2¹øÀ» º¸¶ó. cf. 2995
- Adobe cmap ÆÄÀÏ ÂüÁ¶¸¦ À§Çؼ´Â AdobeReaderÀÇ ÇѱÛÆÇÀ̳ª Asia Font PackÀ» ¼³Ä¡ÇØ¾ß ÇÑ´Ù. MiKTeX-KTUG¿¡ Æ÷ÇÔµÈ DVIPDFMx´Â AdobeReaderÀÇ Resource µð·ºÅ丮¸¦ ÀÚµ¿À¸·Î ã¾Æ¼ cmap ÆÄÀÏÀ» ÂüÁ¶ÇÑ´Ù. AcrobatReaderÀÇ Q&A Q2¹øÀ» º¸¶ó. cf. 2995
[ÆíÁý]
4 »ç ¿ë ¿¹ ¶
ÇÑ±Û ºÏ¸¶Å©¿Í ÇÑ±Û ÃßÃâÀÌ °¡´ÉÇÏ°Ô ÇÒ·Á¸é ÇÑ±Û Æ®·çŸÀÔ ±Û²ÃÀ» »ç¿ëÇØ¾ß ÇÑ´Ù. ¿©±â¼´Â ¹®ÈºÎ±Û²ÃÀ» »ç¿ëÇÑ´Ù°í °¡Á¤ÇÏ°í ´ÙÀ½°ú °°ÀÌ ¼µÎ ºÎºÐÀ» ÀÛ¼ºÇÑ´Ù.
\documentclass{article} \usepackage{hangul, hangul-nojosa, ȤÀº hfont Áß¿¡¼ Çϳª} % hangul ÆÑÅ°Áö¸¦ »ç¿ëÇϸé hyperrefÀÇ ºÏ¸¶Å©¿Í Ãæµ¹ÀÌ ÀϾÙ. ºÏ¸¶Å©±â´ÉÀ» ÇØÁ¦Çϰųª % Çѱۺϸ¶Å©¸¦ ³Ö¾î¾ß ÇÑ´Ù¸é hangul-nojosa ȤÀº hfont¸¦ ¼±ÅÃÇÑ´Ù. hangul-nojosa´Â % °Ô½ÃÆÇ¿¡¼ ãÀ» ¼ö ÀÖ´Ù. \usepackage{mhttf} % ¹®ÈºÎ±Û²ÃÀ» ºÎ¸¥´Ù. \usepackage[dvipdfm,CJKbookmarks]{hyperref} % Çѱۺϸ¶Å©¸¦ \AtBeginDvi{\special{pdf:tounicode KSCms-UHC-UCS2}} % »ç¿ëÇÏ°Ú´Ù°í ¾Ë·ÁÁØ´Ù \hypersetup{% bookmarksnumbered=false, pdftitle={ÇѱÛÁ¦¸ñ}, pdfauthor={ÇѱÛÀúÀÚ}, % ±×¿Ü ³ª¸ÓÁö ¼³Á¤µé.... } \makethinhangul %º»¹® Àüü°¡ 92% ÀåÆò (±Û²Ã ³ÐÀÌ). ¾ø¾îµµ µÇ´Â ¶óÀÎÀÓ. \begin{document} \tableofcontents \section{¼·Ð} \newpage \section{º»·Ð} \end{document}
¹°·Ð ÄÄÆÄÀϽà dvipdfmx·Î ÇØ¾ß ÇÑ´Ù (ƯÈ÷ WinEdt»ç¿ë½Ã ±âº»À¸·Î ÀÖ´Â ¹öÆ°À» ´©¸£¸é dvipdfmÀÌ ½ÇÇàµÇ´Ï ¹öÆ° ³»¿ëÀ» ¹Ù²ÙµçÁö ¾Æ´Ï¸é Ä¿¸Çµå¶óÀο¡¼ ÀÔ·ÂÇÏÀÚ.)
AdobeReader¿¡¼ »ý¼ºµÈ PDFÆÄÀÏÀ» ¿¾î¼ ÇÑ±Û ºÏ¸¶Å©°¡ º¸ÀÌ´ÂÁö È®ÀÎÇÏÀÚ. ¶ÇÇÑ Ctrl+D¸¦ ´·¯ ÇѱÛÁ¦¸ñ°ú ÇѱÛÀúÀÚ¸íµµ º¸ÀÌ´ÂÁö »ìÆ캸ÀÚ.
[ÆíÁý]
5 PDF Encryption ¶
PDF / Encryption
DVIPDFMx¸¦ ÀÌ¿ëÇÏ¿© ¹®¼ ¿±â ¾ÏÈ£¸¦ °É°Å³ª Àμ⠶Ǵ ÅؽºÆ® º¹»ç/ÃßÃâÀ» Á¦ÇÑÇÏ´Â µî º¸¾ÈÀ» ¼³Á¤ÇÏ´Â ¹æ¹ý. ÀÌ°ÍÀº DVIPDFMx¸¸ÀÇ ±â´ÉÀÌ´Ù.
dvipdfmx.cfg¿¡ °£·«ÇÑ ¾È³»°¡ ÀÖ´Ù.
% Permission flag for PDF encryption: Revision will be 3 if the key size % is greater than 40 bits. % % 0x0004 (Revision 2) Print the document. % (Revision 3) Print the document (possibly not at the highest quality % level, depending on whether bit 12[0x0800] is also set). % 0x0008 Modify the contents of the document by operations other than those % controlled by bits 6[0x0020], 9[0x0100], and 11[0x0400]. % 0x0010 (Revision 2) Copy or otherwise extract text and graphics from the % document, including extracting text and graphics (in support of % accessibility to disabled users or for other purposes). % (Revision 3) Copy or otherwise extract text and grphics from the % document by operations other than that controlled by bit 10[0x0200]. % 0x0020 Add or modify text annotations, fill in interactive form fields, % and, if bit 4[0x0008] is also set, create or modify interactive % form fields (including signature fields). % % (Revision 3 only) % 0x0100 Fill in existing interactive form fields (including signature % fields), even if bit 6 is clear. % 0x0200 Extract text and graphics (in support of accessibility to disabled % users or for other purposes). % 0x0400 Assemble the document (insert, rotate, or delete pages and create % bookmarks or thumbnail images), even if bit 4 is clear. % 0x0800 Print the document to a representation from which a faithful digital % copy of the PDF content could be generated. When this bit is clear % (and bit 3 is set), printing is limited to a low-level representation % of the appearance, possibly of degraded quality.
±âº»°ªÀº P 0x003CÀε¥, ÀÌ°ÍÀº 40ºñÆ® º¸¾È¼öÁØ¿¡ ÇØ´çÇÏ´Â °ªµéÀ» ¸ðµÎ ´õÇÑ °ÍÀÌ´Ù. ÀÌ °¡¿îµ¥ 0x0010(Copy and Extract)¸¸ Çã¿ëÇÏÁö ¾ÊÀ¸·Á¸é ±âº»°ªÀÎ 0x003C¿¡¼ 0x0010À» »©ÁÖ¸é µÈ´Ù.
#> dvipdfmx -S -P 0x002C fooÆнº¿öµå¸¦ µÎ ¹ø¾¿ µÎ ¹ø ¹¯´Âµ¥, µÎ¹ø°(Áï ¼¼¹ø°) ¹¯´Â User Password¸¦ ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ¹®¼¸¦ ¿ ¶§ Æнº¿öµå¸¦ ¹¯Áö ¾Ê°Ô ÇÒ ¼ö ÀÖ´Ù.
128ºñÆ® ¼öÁØÀÇ Revesion 3 º¸¾È ¿É¼ÇÀ» ÀÌ¿ëÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ µÈ´Ù.
#> dvipdfmx -K 128 -S -P 0x0D00 fooÇÁ¸°Æ®´Â Çã¿ëÇÏ¸é¼ ¿À·ÎÁö º»¹® º¹»ç/ÃßÃ⸸ ¹æÁöÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.
#> dvipdfmx -K 128 -S -P 0x082C foo