KTUGFaq
KTUG FAQ
FrontPage › Prosper
[ÆíÁý]
1 ´Ù¿î·Îµå ¶
- http://prosper.sourceforge.net/
HA-Prosper ÆÐÅ°Áö´Â ProsperÀÇ ±â´ÉÀ» È®ÀåÇÏ´Â ¸ÅÅ©·ÎÀÌ´Ù. HA-Prosper´Â PowerDotÀ¸·Î ¹ßÀüÇÏ¿´´Ù. SeminarPackage -> Prosper -> HA-Prosper -> PowerDot
[ÆíÁý]
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¿¡ ÀÖ´Â ´ÙÀ½ µÎ ¹®¼¸¦ Àо¼¼¿ä.
- prosper-doc.pdf (¸Þ´º¾ó)
- prosper-tour.pdf (¿¹Á¦ÆÄÀÏ)
[ÆíÁý]
4.1 1: Auto Advancing ¶
Auto AdvancingÀº Overlays ±â´ÉÀ» ¸®ÅÏÅ°³ª ÆäÀÌÁö´Ù¿îÅ°¸¦ »ç¿ëÇÏÁö ¾Ê°í Á¤ÇØÁø ½Ã°£ÀÌ µÇ¸é ÀÚµ¿À¸·Î ´ÙÀ½ Overlay·Î ³Ñ¾î °¡´Â ±â´ÉÀε¥ Acrobat Reader¿¡¼(¸¸) ÀÛµ¿ÇÑ´Ù. ¸í·É¾î´Â hyperref ÆÐÅ°Áö¿¡ ÀÖ´Â °ÍÀ» »ç¿ëÇϹǷΠ´Ù¸¥ PDFPresentation Åø¿¡¼µµ »ç¿ë°¡´ÉÇϸ®¶ó »ý°¢ÇÑ´Ù.
- Auto AdvancingÀ» »ç¿ëÇϱâ À§Çؼ± Adobe ReaderÀÇ ¼³Á¤À» ¹Ù²Ù¾î¾ß ÇÑ´Ù. ¸®´õ¿¡¼ Edit -> Preferences -> Full Screen¿¡ °¡¼ Advance Every¿¡ À©µµ¿ì¿ëÀº 60À» ¸®´ª½º´Â 1000À» ³Ö´Â´Ù.
- ¼µÎºÎºÐÀ» ´ÙÀ½°ú °°ÀÌ ÀÛ¼ºÇÑ´Ù. 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}
- ´ÙÀ½°ú °°Àº µÎ ÀåÀÇ ½½¶óÀ̵带 ¸¸µç´Ù.
%---------------------------------------------------------------------- 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 ¹é±×¶ó¿îµå ¹Ù²Ù±â ¶
- ¹è°æȸéÀÌ ¾î¶»°Ô ¼³Á¤µÇ¾î ÀÖ´ÂÁö 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} % »õ·Î ¸¸µé¾îÁø ¹ÙÅÁ±×¸² ¸í·É¾î¸¦ ³Ö´Â´Ù. .....
µû¶ó¼ ½½¶óÀ̵å Áß°£¿¡¼ ¹è°æȸéÀ» ¹Ù²Ü·Á¸é À§ÀÇ ³»¿ëÀ» ÀûÀýÈ÷ ÀÀ¿ëÇÏ¸é µÈ´Ù.
- ´ÙÀ½ ÄÚµå´Â ÃÑ 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.pdfinput.pdf¸¦ Ghostscript (´Ù¸¥ ¿É¼ÇÀ¸·Î´Â ImageMagick)¸¦ »ç¿ëÇؼ PNG (ȤÀº ´Ù¸§ ±×¸² Çü½Ä)À¸·Î ¹Ù²Û ´ÙÀ½, °¢ ±×¸²¸¶´Ù HTML·Î °¨½ÎÁØ´Ù.
HA-Prosper¿¡¼µµ Å×½ºÆ®ÇØ º¸¾Ò´Âµ¥ º¯È¯ÀÌ ¹®Á¦¾øÀÌ Àß µÈ´Ù (100%´Â ¾Æ´Ò ¼ö ÀÖ´Ù).
[ÆíÁý]
6.1 for Hangul-ucs ¶
9041
- http://wikiprosper.bbclone.de/index.php?pagename=ProsperNewFeatures ¿¡¼ newprosper¸¦ ´Ù¿î·Îµå ¹ÞÀ½
- ´ÙÀ½°ú °°Àº ³»¿ëÀÇ 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
- [ps2pdf] ¿É¼ÇÀ» ÁØ´Ù.
\documentclass[ps2pdf,contemporain,slideColor,colorBG,accumulate,nototal]{newprosper}
- ÇÑ±Û ¼³Á¤À» ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.
\usepackage[nojosa]{dhucs} \SetHangulFonts{wmj}{wgt}{wgt} \usepackage[dvips]{dhucs-ucshyper}
- ps2pdf¸¦ ¾µ ¶§ unttf´Â ÇÊ¿¬ÀûÀ¸·Î pk·Î º¯È¯µÇ±â ¶§¹®¿¡ UHC-unicode¿Í °°Àº type 1 ±Û²ÃÀ» »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.
- Hangul-ucs 2.7.0 ÀÌÈÄ ¹öÀüÀÌ ÇÊ¿äÇÔ.
- ´ÙÀ½ ¼ø¼·Î ÄÄÆÄÀÏ.
#> latex foo #> dvips -t a4 foo -o #> ps2pdf foo.ps foo.pdf