KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
A king's castle is his home.
FrontPage › Prosper

¸ñÂ÷

1 ´Ù¿î·Îµå
2 Ư ¡
3 Âü°í¹®¼­
4 ¿¹Á¦
4.1 1: Auto Advancing
4.2 2: Prosper ¹é±×¶ó¿îµå ¹Ù²Ù±â
5 PDF to HTML
6 Prosper¿¡¼­ ÇÑ±Û Ã¥°¥ÇÇ
6.1 for Hangul-ucs
6.2 HLaTeX

1 ´Ù¿î·Îµå

2 Ư ¡

  • SeminarÆÐÅ°Áö¸¦ ±â¹ÝÀ¸·Î Çؼ­ ¸¸µé¾îÁ³´Ù.
  • dvips/ps2pdf¸¦ ÀÌ¿ëÇؼ­ ÇÁ¸°Æ®¿ë PS¿Í ¹ßÇ¥¿ë PDF¸¦ °°ÀÌ ¸¸µç´Ù
  • ½½¶óÀ̵å Àüȯ, Overlay µîÀ» ÀÚü Áö¿øÇÑ´Ù. ´Ù¸¥ PDFPresentation ÅøÀÇ °æ¿ì PPower4³ª TeXPower¿Í °°Àº º¸Á¶ÆÑÅ°ÁöÀÇ µµ¿òÀ» ¹Þ¾Æ¾ß ÇÏ´Â °æ¿ì°¡ ¸¹´Ù.
  • »õ·Î ÀÍÇô¾ß ÇÏ´Â ¸ÅÅ©·Î ¼ö°¡ ¾ÆÁÖ Àû´Ù. (ÀåÁ¡Àΰ¡ ´ÜÁ¡Àΰ¡ ^_^)
  • PSTricks¸¦ »ç¿ëÇÑ´Ù¸é Prosper°¡ ¾ÆÁÖ ÁÁÀº PDFPresentation µµ±¸ÀÓ (ƯÈ÷ ¹ßÇ¥½Ã Node connectionÀ» ÀÌ¿ëÇϰųª ±×·¡ÇÁ³»ÀÇ ¿©·¯ ¶óÀεéÀ» ¼øÂ÷ÀûÀ¸·Î º¸¿©ÁÙ·Á°í ÇÒ¶§..)
  • ÀڽŸ¸ÀÇ ¹é±×¶ó¿î ½ºÅ¸ÀÏÀ» ¸¸µé ¼ö ÀÖÀ½. (¹é±×¶ó¿îµå ±×¸²À» ³Ö°Å³ª PSTricks·Î ±×·Á¼­ ³ÖÀ» ¼ö ÀÖ´Ù).
  • pdf2htmlpres.py ( http://freshmeat.net/articles/view/667/ )¸¦ ÀÌ¿ëÇؼ­ Prosper·Î ¸¸µç PDF¸¦ HTML ½½¶óÀ̵å·Î ¸¸µé ¼ö ÀÖÀ½. ÀÚ¼¼ÇÑ »ç¿ë¹ýÀº ¾Æ·¡ ÇÏ´ÜÀ» º¸¶ó.

3 Âü°í¹®¼­

texmf\doc\latex\prosper¿¡ ÀÖ´Â ´ÙÀ½ µÎ ¹®¼­¸¦ Àо¼¼¿ä.

4 ¿¹Á¦

À§ÀÇ ÀúÀÚ ¸Þ´º¾ó°ú ¿¹Á¦ ÆÄÀÏ¿¡¼­ ãÀ» ¼ö ¾ø´Â Prosper ¿¹Á¦¸¦ ¸î °¡Áö ¼Ò°³ÇÑ´Ù.

4.1 1: Auto Advancing

Auto AdvancingÀº Overlays ±â´ÉÀ» ¸®ÅÏÅ°³ª ÆäÀÌÁö´Ù¿îÅ°¸¦ »ç¿ëÇÏÁö ¾Ê°í Á¤ÇØÁø ½Ã°£ÀÌ µÇ¸é ÀÚµ¿À¸·Î ´ÙÀ½ Overlay·Î ³Ñ¾î °¡´Â ±â´ÉÀε¥ Acrobat Reader¿¡¼­(¸¸) ÀÛµ¿ÇÑ´Ù. ¸í·É¾î´Â hyperref ÆÐÅ°Áö¿¡ ÀÖ´Â °ÍÀ» »ç¿ëÇϹǷΠ´Ù¸¥ PDFPresentation Åø¿¡¼­µµ »ç¿ë°¡´ÉÇϸ®¶ó »ý°¢ÇÑ´Ù.

  1. Auto AdvancingÀ» »ç¿ëÇϱâ À§Çؼ± Adobe ReaderÀÇ ¼³Á¤À» ¹Ù²Ù¾î¾ß ÇÑ´Ù. ¸®´õ¿¡¼­ Edit -> Preferences -> Full Screen¿¡ °¡¼­ Advance Every¿¡ À©µµ¿ì¿ëÀº 60À» ¸®´ª½º´Â 1000À» ³Ö´Â´Ù.

  2. ¼­µÎºÎºÐÀ» ´ÙÀ½°ú °°ÀÌ ÀÛ¼ºÇÑ´Ù. Prosper¿¡ µé¾îÀÖ´Â PPRwj.styÀ̶õ ÅÛÇø´À» »ç¿ëÇÑ´Ù.
        \documentclass[wj,pdf,slideColor,colorBG,accumulate,total]{prosper}
        \usepackage{multido}  % Auto Advancing ¿¹Á¦¸¦ º¸¿©ÁÖ±â À§ÇØ ÇÊ¿äÇÑ ÆÐÅ°Áö
        \hypersetup{%
          pdftitle={},
          pdfsubject={},
          pdfauthor={},
          pdfkeywords={prosper, pdf, presentation, latex, tex},
          pdfpageduration=500, % ÇÑ ½½¶óÀ̵帶´Ù ¸Ó¹«¸£´Â ÃÖ´ë ½Ã°£ (ÃÊ)
        }%
        \begin{document}
       


  3. ´ÙÀ½°ú °°Àº µÎ ÀåÀÇ ½½¶óÀ̵带 ¸¸µç´Ù.
        %---------------------------------------------------------------------- SLIDE -
        \begin{slide}{Auto Advancing}
    
        \begin{itemize}
          \item Automatic advancing: {\blue \textbackslash hypersetup\{pdfpageduration=n\}}
                where $n$ is duration time in seconds.
    
          \item Do not forget to reset the duration time (={\blue 500})!
    
          \item Ready? Next slides will automatically advance in every 1 second.
        \end{itemize}
        \end{slide}
    
        %---------------------------------------------------------------------- SLIDE -
        \hypersetup{pdfpageduration=1} % ´ÙÀ½ 12°³ÀÇ Overlays¸¦ 1ÃÊ °£°ÝÀ¸·Î º¸¿©ÁØ´Ù
        \overlays{12}{%
        \begin{slide}{Auto Advancing -- Animation}
    
        \begin{minipage}[c]{0.5\textwidth}
        \begin{itemize}
           \item Any overlays can be animated.
    
           \item In the right example overlay macros are inside the \texttt{\blue multido} macro.
        \end{itemize}
        \end{minipage}
        \hfill%
        \begin{minipage}[c]{0.4\textwidth}
        \begin{pspicture}(-2.2,-2.2)(2.2,2.2) %PSTricksÀÇ multido¸¦ ÀÌ¿ëÇÑ´Ù.
           \newgray{mygray}{0}
           \SpecialCoor
           \degrees[1.1]
           \multido{\i=2+1,\n=0.0+0.1}{11}{% i´Â Overlay Ä«¿îÅÍ, nÀº ¿þÁö¸¦ ±×¸®±â À§ÇÑ Ä«¿îÅÍÀÓ
              \fromSlide{\i}{% Overlay iºÎÅÍ º¸¿©Áö´Â ³»¿ë ...
                 \newgray{mygray}{\n} % ȸ»ö ·¹º§À» Ä«¿îÅÍ n¿¡ ¸ÂÃã
                 \psset{fillstyle=solid,fillcolor=mygray}
                 \rput{\n}{\pswedge{1.8}{-0.05}{0.05}}
                 \uput{2.0}[\n](0,0){\scriptsize \n}%
              }% fromSlide ³¡ºÎºÐ
           } % multido ³¡ºÎºÐ
        \end{pspicture}
        \end{minipage}
    
        \end{slide}
        }%
        \hypersetup{pdfpageduration=500}% ´ÙÀ½¿¡ ½½¶óÀ̵尡 ´õ ¿Â´Ù¸é ¿ø·¡°ªÀ¸·Î µ¹·Á³õ¾Æ¾ß ÇÑ´Ù.
        % ....
        \end{document}
        

4.2 2: Prosper ¹é±×¶ó¿îµå ¹Ù²Ù±â

  1. ¹è°æÈ­¸éÀÌ ¾î¶»°Ô ¼³Á¤µÇ¾î ÀÖ´ÂÁö PPRwj.sty¸¦ »ìÆ캻´Ù.
       .....
       \newcommand{\BasicFrame}[1]{% BasicFrameÀ̶õ À̸§À¸·Î ¹ÙÅÁ±×¸²À» ¸¸µç´Ù.
         \psline[linewidth=1.5pt,linecolor=yellow](-1,7.4)(11.4,7.4) % upper
         \psline[linewidth=1.5pt,linecolor=yellow](-1,-0.6)(11.4,-0.6) % down
         \psline[linewidth=.5pt,linecolor=red](-1,7.4)(11.4,7.4) % upper
         \psline[linewidth=.5pt,linecolor=red](-1,-0.6)(11.4,-0.6) % down
         \PutLogo % Mandatory
         {#1}}
    
       \NewSlideStyle[115mm]{t}{5.3,3.5}{BasicFrame} % »õ·Î ¸¸µé¾îÁø ¹ÙÅÁ±×¸² ¸í·É¾î¸¦ ³Ö´Â´Ù.
       .....
       
  2. µû¶ó¼­ ½½¶óÀ̵å Áß°£¿¡¼­ ¹è°æÈ­¸éÀ» ¹Ù²Ü·Á¸é À§ÀÇ ³»¿ëÀ» ÀûÀýÈ÷ ÀÀ¿ëÇÏ¸é µÈ´Ù.

  3. ´ÙÀ½ ÄÚµå´Â ÃÑ 3ÀåÀÇ ½½¶óÀ̵å·Î µÇ¾î ÀÖ°í, Áß°£ ÀåÀÇ ¹è°æÈ­¸éÀÌ ¹Ù²ï´Ù.
       \documentclass[wj,pdf,slideColor,accumulate,total]{prosper}
       \usepackage{pst-slpe}  % ¹è°æÈ­¸é ±×¸®±â¿¡ »ç¿ëµÈ PSTrikcs ÆÐÅ°Áö ÁßÀÇ Çϳª
       \begin{document}
    
       %---------------------------------------------------------------------- SLIDE -
       \begin{slide}{Background Change}
    
    
       \end{slide}
    
       %---------------------------------------------------------------------- SLIDE -
       % ´ÙÀ½ ½½¶óÀ̵å ȯ°æÀÌ ½ÃÀÛÇϱâ Àü¿¡ ´ÙÀ½°ú °°Àº ¹è°æÈ­¸éÀ» ¸¸µé°í
       % \NewSlideStyle{}¿¡ ³Ö´Â´Ù.
       \newcommand{\SlopeGradient}[1]{% Radius slope gradient¸¦ ¸¸µç´Ù.
          \psframe[fillstyle=radslope,slopebegin=blue,slopeend=white,slopeangle=0](-2,-1.4)(12.5,9)
          \PutLogo % Mandatory
          {#1}}
       \NewSlideStyle{t}{5.3,2.7}{SlopeGradient}
    
       \begin{slide}{BG Changed?}
       \begin{itemize}
         \item[$\bullet$] Slope gradient background is shown in this slide.
         \item[$\bullet$] Can you put external image for your background?
       \end{itemize}
    
       \end{slide}
    
       %---------------------------------------------------------------------- SLIDE -
       \NewSlideStyle{t}{5.3,2.7}{BasicFrame} % ¿ø·¡ ¹è°æÈ­¸éÀ¸·Î µÇµ¹¾Æ°£´Ù. BasicFrame¶õ
                                              % À̸§Àº PPRwj.sty¿¡ Á¤ÀǵǾî ÀÖ´Ù.
       \begin{slide}{Original Background}
    
       \end{slide}
    
       \end{document}
       

5 PDF to HTML

Prosper·Î ¸¸µç PDF ½½¶óÀ̵带 HTML ÆÄÀÏ·Î ½±°Ô º¯È¯ÇØÁÖ´Â Python Script°¡ ÀÖ´Ù. ´ÙÀ½ ¿¹¿¡¼­ º¸¸é,
python pdf2htmlpres.py -m gs -g png -f input.pdf
input.pdf¸¦ Ghostscript (´Ù¸¥ ¿É¼ÇÀ¸·Î´Â ImageMagick)¸¦ »ç¿ëÇؼ­ PNG (ȤÀº ´Ù¸§ ±×¸² Çü½Ä)À¸·Î ¹Ù²Û ´ÙÀ½, °¢ ±×¸²¸¶´Ù HTML·Î °¨½ÎÁØ´Ù.

HA-Prosper¿¡¼­µµ Å×½ºÆ®ÇØ º¸¾Ò´Âµ¥ º¯È¯ÀÌ ¹®Á¦¾øÀÌ Àß µÈ´Ù (100%´Â ¾Æ´Ò ¼ö ÀÖ´Ù).

6 Prosper¿¡¼­ ÇÑ±Û Ã¥°¥ÇÇ

6.1 for Hangul-ucs

KTUGSetup:9041
  1. http://wikiprosper.bbclone.de/index.php?pagename=ProsperNewFeatures ¿¡¼­ newprosper¸¦ ´Ù¿î·Îµå ¹ÞÀ½
  2. ´ÙÀ½°ú °°Àº ³»¿ëÀÇ hyperref.cfg¸¦ ÀÛ¼ºÇÏ¿© localtexmf/tex/latex/hyperref/ ¾Æ·¡ µÒ.
    \ProvidesFile{hyperref.cfg}%
      [2002/06/06 v1.2 hyperref configuration of TeXLive and teTeX]
    % Change default driver to "dvips" instead of "hypertex",
    % requires hyperref 2002/06/05 v6.72s
    \providecommand*{\Hy@defaultdriver}{hdvips}%
    \hypersetup{unicode=true}
    \endinput
    
  3. [ps2pdf] ¿É¼ÇÀ» ÁØ´Ù.
    \documentclass[ps2pdf,contemporain,slideColor,colorBG,accumulate,nototal]{newprosper}
    
  4. ÇÑ±Û ¼³Á¤À» ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.
    \usepackage[nojosa]{dhucs}
    \SetHangulFonts{wmj}{wgt}{wgt}
    \usepackage[dvips]{dhucs-ucshyper}
    
    • <!> ps2pdf¸¦ ¾µ ¶§ unttf´Â ÇÊ¿¬ÀûÀ¸·Î pk·Î º¯È¯µÇ±â ¶§¹®¿¡ UHC-unicode¿Í °°Àº type 1 ±Û²ÃÀ» »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.
    • Hangul-ucs 2.7.0 ÀÌÈÄ ¹öÀüÀÌ ÇÊ¿äÇÔ.
  5. ´ÙÀ½ ¼ø¼­·Î ÄÄÆÄÀÏ.
    #> latex foo
    #> dvips -t a4 foo -o
    #> ps2pdf foo.ps foo.pdf
    

6.2 HLaTeX

  • HLaTeX¿¡¼­´Â Á÷Á¢ ÇÑ±Û PDF Ã¥°¥ÇǸ¦ ¸¸µé¾î ³Ö´Â ¹æ¹ýÀÌ ¾ø´Ù. À¯ÁøÈ£ ´ÔÀÌ ÀÛ¼ºÇÑ hyperref-uhc.c¸¦ ÀÌ¿ëÇÏ¿© Áß°£ ´Ü°è .ps ÆÄÀÏ¿¡ ´ëÇÏ¿© ¿ÜºÎ Á¶ÀÛÀ» °¡ÇÏ´Â ¹æ¹ýÀÌ ¾Ë·ÁÁ® ÀÖ´Ù. KTUGContrib:2648
  • hangul ½ºÅ¸ÀÏÀº »ç¿ëÇÒ ¼ö ¾ø´Ù. hfont ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÔ.


^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-09-22 22:03:24
Processing time 0.0476 sec