1.1ã åºå圢åŒ
æçµçãªåœ¢åŒã®éžæã§ã¯ãã¿ãŒã²ãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãç¬èªã®èŠæ±ãè¡ããããéåžžã¯åé¡ã¯ãããŸããã ãããã£ãŠãããšãã°ãWindowsããã°ã©ã ã®å Žåãããã¯CHMã®ã³ã³ãã€ã«æžã¿ãã«ã圢åŒã§ãããLinuxããã³BSDã·ã¹ãã ã®å Žåã¯äººéã§ãã ãªã³ã©ã€ã³ãã«ãã®ãã¹ãŠã®ãªã³ã©ã€ã³ã·ã¹ãã ã«å ±éã®åœ¢åŒã¯htmlãããã³å°å·-pdfã§ãã
ããã°ã©ã ïŒchmãŸãã¯manïŒã§ã®é åžããµã€ããžã®æçš¿ïŒhtmlïŒãããã³å°å·ïŒpdfïŒã®ããã«ãããã€ãã®åœ¢åŒã®ããã¥ã¡ã³ããå¿ èŠãªå Žåãç¶æ³ã¯è€éã§ãã åæã«ãããŸããŸãªåœ¢åŒã®ããã¥ã¡ã³ãã®å 容ãå€å°ç°ãªãå ŽåããããŸãã ããšãã°ããããªã¯ãªããããªã³ã©ã€ã³ããã¥ã¡ã³ãã«å«ããããšã¯çã«ããªã£ãŠããŸããå°å·çã§ã¯ããããªã¯ãªãããžã®qrcodeãªã³ã¯ã§è£è¶³ãããå¯èœæ§ã®ããéçç»åã«çœ®ãæããå¿ èŠããããŸãã ããã«ãããã¥ã¡ã³ãã®ã³ã³ãã³ãã¯ããŠãŒã¶ãŒã®ã«ããŽãªãããŒãžã§ã³ããã³ãã«ãããã³ãã®ä»ã®èŠå ã«ãã£ãŠç°ãªãå ŽåããããŸãã
1.2ã ãœãŒã¹åœ¢åŒ
ç¹å¥ã«äœæãããããã°ã©ã ã䜿çšããå¿ èŠãããããšã¯æããã§ããã«ãããããããããã§ã¯ãã¹ãŠãããã»ã©åçŽã§ã¯ãããŸããã
ã¢ãããŒãã¯ãã¿ãŒã²ãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã«ãã£ãŠç°ãªããŸãã
1.2.1ã ç¬èªã®ãœãŒã¹åœ¢åŒ
ãããã£ãŠãWindowsçšã®ã³ã³ãã€ã«æžã¿ãã«ããchm圢åŒã§äœæããã«ã¯ãç¹å¥ãªç¡æã®HTML Help Workshopã³ã³ãã€ã©ã䜿çšããããšããå§ãããŸãã ãã®å ŽåããœãŒã¹ããã¹ãã¯html圢åŒã§æºåããå¿ èŠãããïŒãšãã£ã¿ãŒã¯é ä¿¡ã«å«ãŸããŸããïŒãç®æ¬¡ãã¡ã€ã«ã¯ç¹å®ã®åœ¢åŒã«ããå¿ èŠããããŸãã å°å·ãããããã¥ã¢ã«ãäœæããæ段ã¯æäŸãããŠããŸããã
ãã¡ããã ãã«ããäœæããããã®ç¹å¥ãªããã°ã©ã ïŒ Robohelp ã HelpïŒManual ã HelpScribbleãªã©ïŒã¯ãé«ã¬ãã«ã®ãµãŒãã¹ãæäŸããããŸããŸãªåœ¢åŒã®åºåããã¥ã¡ã³ããçæããããçšåºŠã³ã³ãã³ãããããã¡ã€ãªã³ã°ããããšãã§ããŸãã
ãã ãã次ã®æ¬ ç¹ããããŸãã
- ãŸãããããã®ã·ã¹ãã ã¯ãã¹ãŠåçšã§ããã䜿çšãããžã§ãã®æ°ã«ãã£ãŠã©ã€ã»ã³ã¹ãããŠããŸãã
- 第äºã«ã圌ãã䜿çšããå éšåœ¢åŒã¯ç¬èªã®ãã®ã§ããã販売ãããŠãããã®ä»¥å€ã®ãœãããŠã§ã¢ã§ã¯ãµããŒããããŠããŸããã ãã¡ããããã¡ã€ã«ããããžã§ã¯ãã«ã€ã³ããŒãããæ©äŒãäžããããŸããããããžã§ã¯ããããã«åŠçããã®ã«é©ãããªãŒãã³åœ¢åŒã«ãšã¯ã¹ããŒãããããšã¯ã§ããŸããã XMLãå éšåœ¢åŒïŒãã«ããããã¥ã¢ã«ãªã©ïŒãšããŠäœ¿çšãããŠããå Žåã§ãããã®ã¹ããŒã ã¯éãããŸãŸã§ããããããªãæ¹æ³ã§ãææžåãããŠããŸããã
- 第äžã«ãåºåããã¥ã¡ã³ãã®å€èŠ³ãå€æŽããæ©èœã¯ãããšãã°GOSTã®èŠä»¶ã«åŸã£ãŠããã¥ã¡ã³ããçæããã«ã¯äžååã§ãã
- 第4ã«ãå¯èœã§ããã°ããããã®ããã°ã©ã ã§ããŒã ã¯ãŒã¯ãç·šæããããšã¯éåžžã«å°é£ã§ãã
1.2.2ã ã·ã³ãã«ãªããŒã¯ã¢ãã圢åŒ
åççãªä»£æ¿çã¯ãã·ã³ãã«ã§ããã®çµæãããŒã¯ã¢ãã圢åŒããã°ãããã¹ã¿ãŒããããšã§ãã
çŸåšããã®ãããªåœ¢åŒãããã€ããããŸãã
- ASCIIdoc㯠ãLinuxïŒBSDïŒã·ã¹ãã ã§äºå®äžäœ¿çšãããŠããŸãã
- Wikiã¯ãããŸããŸãªçš®é¡ã®çŸç§äºå žã§äœ¿çšãããŠãããå ±éåãä»ããŠããŸãã
- MarkDownã¯ãããã°å€ç®çã®ããã¥ã¡ã³ã圢åŒã§ãã
ããããã¹ãŠã®ããŒã¯ã¢ããã¯ãèŠåºããã€ã©ã¹ãããªã³ã¯ã®èšèšã«ãã·ã³ãã«ãªããã¹ããšãã£ã¿ãŒã§ã®ç·šéã䌎ããèšå·ã®ãªãã¿ã°ãªãã®ã«ãŒã«ã»ããã䜿çšããŸãã 衚瀺ã«é©ãããã¥ãŒã®æºåã¯ãååãšããŠããµãŒããŒåŽã§ããã°ã©ã ã«ãã£ãŠå®è¡ãããŸãã
ããšãã°ãWikipediaã¯Wiki圢åŒãããªã³ã¶ãã©ã€ãã§HTMLã«å€æããŸãã Gitã·ã¹ãã ã®http://github.orgã®WebããŒã¿ã«ã¯ãMarkdownããŒã¯ã¢ããã§ããã¥ã¡ã³ãããã©ãŠã¶ãŒã§èªã¿åãå¯èœãªåœ¢åŒã§è¡šç€ºããããšãã§ããŸãã
1.3ã ç·šéè
ãœãŒã¹ããã¹ããäœæããã³ç·šéããã«ã¯ã¡ã¢åž³ã®æ©èœã§ååã§ãããšããäºå®ã«ãããããããã¹ãã«ãã§ãã¯ãããŒã¯ã¢ããã®åŒ·èª¿è¡šç€ºãªã©ã®äžéšã®ãµãŒãã¹æ©èœã¯ãã©ã€ã¿ãŒã«ãšã£ãŠéåžžã«äŸ¿å©ã§ãã
èšäºhttp://www.ixbt.com/soft/markdown-online-2.shtmlã¯ãããŒã¯ããŠã³æ§æããµããŒããããªã³ã©ã€ã³ãšãã£ã¿ãŒã®æŠèŠãããã³http://www.ixbt.com/soft/markdown-online-3ãæäŸããŸãã .shtmlã¯ãããã©ã«ãã®ããŒã¯ããŠã³åœ¢åŒããµããŒããã5ã€ã®ãã¹ã¯ããããšãã£ã¿ãŒã®æŠèŠãæäŸããŸãã
ãã®ãããªãšãã£ã¿ãŒã®1ã€ãMarkdownPadã§ãã
1.3.1ã ããŒã¯ããŠã³ããã
å³1. MarkdownPad 2ãšãã£ã¿ãŒ
ã¹ã¯ãªãŒã³ã·ã§ãããããããããã«ãMarkdownPad 2ãšãã£ã¿ãŒã¯ç·šéããããã¡ã€ã«ã®ã©ã€ããã¬ãã¥ãŒããµããŒããããœãŒã¹ããã¹ããšã¬ã³ããªã³ã°çµæã®åæã¹ã¯ããŒã«ããµããŒãããŸãã
Windows 8ã«ã€ã³ã¹ããŒã«ããå Žåããã¬ãã¥ãŒãå©çšã§ããªãå ŽåããããŸãã
å³2.ã¬ããŒããã¬ãã¥ãŒã·ã¹ãã ã®ã¯ã©ãã·ã¥
http://markdownpad.com/faq.html#livepreview-directxã®éçºè ã«ãããšãããã¯ã Awesomium 1.6.6 SDKãWebã¬ã³ããªã³ã°ããããã«ç¹å®ã®SDKãã€ã³ã¹ããŒã«ããå¿ èŠãããããã§ãã
ãšãã£ã¿ãŒã¯ãæ§æã®åŒ·èª¿è¡šç€ºã 1ã€ã®èšèªïŒãã·ã¢èªãå«ãïŒã®æ§æãã§ãã¯ãHTMLãžã®ãšã¯ã¹ããŒããPDF圢åŒïŒææçã®ã¿ïŒããµããŒãããŠããŸãã ã€ãŸããMarkdownPad 2ã¯ãä»ã®ç¹å¥ãªãšãã£ã¿ãŒãšåæ§ã«ããã¯ãã«ã«ã©ã€ã¿ãŒã«é©ããŠããŸãã ãŠãŒã¶ãŒãããŸããŸãªåœ¢åŒã®ãã¡ã€ã«ãç·šéããå¿ èŠãããå Žåã¯ãããŒã¯ããŠã³ããŒã¯ã¢ããã䜿çšããŠããã¹ããç·šéããããã«ãšãã£ã¿ãŒãé©åãããããšãã§ããŸãã
1.3.2ã ã¡ã¢åž³++
ãããã®èŠä»¶ãé©åã«æºãããšãã£ã¿ãŒã¯ã Notepad ++ãšèŠãªãããšãã§ããŸãã å€ãã®èšèªã®ã¹ãã«ãã§ãã¯ã¯ãç¹å¥ãªãã©ã°ã€ã³ã䜿çšããŠãµããŒããããŠããŸãã ããã«ã è€æ°ã®èšèªã§ã®ããã¹ãæ€èšŒãåæã«ãµããŒããããŠããŸãã
å³3.ã¡ã¢åž³++ãšãã£ã¿ãŒ
ããŒã¯ã¢ããèŠåã¯åçŽã§ãããããã¹ãã®äœæè ãæ§æã®åŒ·èª¿è¡šç€ºã䜿çšããæ¹ã䟿å©ã§ãã Notepad ++ã«é¢ããŠã¯ãNotepad ++ãããžã§ã¯ãã®Markdown Syntax Highlightingãããã«åœ¹ç«ã¡ãŸããããã¯ãæ¬è³ªçã«ãMarkdownãŠãŒã¶ãŒèšèªæ§æãã¡ã€ã«ã§ãã ã€ã³ã¹ããŒã«åŸããšãã£ã¿ãŒã®ããã¹ãã¯æ¬¡ã®ããã«ãªããŸãã
å³4.ããŒã¯ããŠã³ããŒã¯ã¢ããèŠçŽ ã匷調衚瀺ããã¡ã¢åž³++ãšãã£ã¿ãŒ
1.4ã å²ãåœãŠ
ããŒã¯ããŠã³ããµããŒããããšãã£ã¿ãŒãã¢ãã€ã«ãã©ãããã©ãŒã ã«ãååšããããšã¯æ³šç®ã«å€ããŸãã ãã®å³ã¯ã Quoda Code Editorãå®è¡ããŠããã¹ããŒããã©ã³ã®ç»é¢ã®ã³ããŒã瀺ããŠããŸãã
å³5. Quodaã³ãŒããšãã£ã¿ãŒ-ããŒã¯ããŠã³ããŒã¯ã¢ããããµããŒãããAndroidçšãŠãããŒãµã«ãšãã£ã¿ãŒ
ãã®èšäºã®ã»ãšãã©ã¯ããã®ãšãã£ã¿ãŒã§å ¥åããããã®åŸã³ã³ãã¥ãŒã¿ãŒã«ããŠã³ããŒããããŠæ¹èšããããšèšãããã¹ãã§ãã
MarkdownããŒã¯ã¢ããèšèªãšç¹å¥ãªãšãã£ã¿ãŒã®æ©èœã®åæã«åºã¥ããŠãäžçšåºŠã®è€éãã®ã·ã¹ãã ã®ææžåã«ãããã䜿çšããããšããå§ãããŸãã
1.4.1ã ã¿ã°åœ¢åŒãéã
åæã«ã倧èŠæš¡ã·ã¹ãã çšã®ããã°ã©ã ææžã®éçºã®ããã®åæ圢åŒãšããŠããªãŒãã³ã§ååã«ææžåããã圢åŒã䜿çšããå¿ èŠããããŸãã 圢æã®æ段ãšããŠ-å€èŠ³ããããã¡ã€ãªã³ã°ãããã³ããŸããŸãªåœ¢åŒã®ããã¥ã¡ã³ããçæããæ©èœãã«ã¹ã¿ãã€ãºããå¹ åºãæ©èœãåããããŒã«ã
DITAãDocbookãªã©ã®ã·ã¹ãã ã¯ããããã®èŠä»¶ãå®å šã«æºãããŠããŸãã
ããã€ãã®éãã¯ãããŸãããäž¡æ¹ã®ã·ã¹ãã ã«ã¯å€ãã®å ±éç¹ããããŸãã
- ããã¥ã¡ã³ãåãããïŒã¹ããŒãåãããïŒXMLããœãŒã¹åœ¢åŒãšããŠäœ¿çšããŸããããã«ãããç·šéçšã®æ€èšŒæ©èœãåããä»»æã®XMLãšãã£ã¿ãŒã䜿çšã§ããŸãã
- ã»ãŒãã¹ãŠã®xslã³ã³ããŒã¿ãŒxslproc ã xalan ã saxonãªã©ã䜿çšããŠãçµæã®åœ¢åŒã®ããããã«å€æã§ããŸãã
- pdfããã¥ã¡ã³ããååŸããã«ã¯ãäžéxsl-fo圢åŒã䜿çšãããŸãããã®åœ¢åŒãããfoããã»ããµïŒ Apache FOPãXEPãªã© ïŒã䜿çšããŠpdfãæ¢ã«åœ¢æãããŠããŸãã
- å€æ°ã®å€æãã©ã¡ãŒã¿ãŒã䜿çšããŠãå€èŠ³ãšãããã¡ã€ãªã³ã°ãã«ã¹ã¿ãã€ãºããå¿ èŠã«å¿ããŠã«ã¹ã¿ã xslãã³ãã¬ãŒããè¿œå ããŸãã
ãããã®ã·ã¹ãã ã¯ããœãŒã¹ããã¥ã¡ã³ãã§ã»ãã³ãã£ãã¯ããŒã¯ã¢ããã䜿çšããããšã匷調ããå¿ èŠããããŸãã åºåããã¥ã¡ã³ãã®å€èŠ³ã¯ãå€æã®ã«ãŒã«ãšãã©ã¡ãŒã¿ãŒã«ãã£ãŠæ±ºãŸããŸãã ãã®ã¢ãããŒãã«ãããèè ã¯ãœãŒã¹ããã¹ããæžã段éã§ã¿ã€ãã°ã©ãã£ããã¶ã€ã³ã«ã€ããŠèããã®ã§ã¯ãªããã»ãã³ãã£ãã¯ã³ã³ãã³ãã®ã¿ã«éäžããããšãã§ããŸãã
åæã«ãç¹ã«å€ãã®åºçç©ã§ç¢ºèªãããŠããDocbookã䜿çšããå®éã®çµéšããããã®ãããªããèããããæè¡ã䜿çšããå Žåãããã€ãã®å°é£ãããããšã瀺ãããŠããŸãã
- ç¹å®ã®ã¹ããŒã ã®XML圢åŒã§ãœãŒã¹ã³ãŒããäœæããã«ã¯ããã¯ãã«ã«ã©ã€ã¿ãŒãç¹å¥ãªãšãã£ã¿ãŒã§äœæ¥ããå¿ èŠããããŸãã
- DocbookããµããŒãããåªããXMLãšãã£ã¿ãŒ -åžè²©ã®é«äŸ¡ãªè£œåïŒ oXygen XMLãšãã£ã¿ãŒ ã Altova XMLSpy XMLãšãã£ã¿ãŒãªã© ïŒã
- è±å¯ãªXMLããŒã¯ã¢ããæ©èœã¯ãããè€éãªåœ¢åŒãå¿ èŠãšããŸãã ããšãã°ãDocbookããŒã¯ã¢ããã«çœ²åä»ãã®ã€ã©ã¹ããããã¹ãã«æ¿å ¥ããã«ã¯ã4ã€ã®ãã¹ããããã¿ã°ã䜿çšããå¿ èŠããããŸãã
åœç¶ã®ããšãªãããäžèšã®æ¬ ç¹ã¯XMLããŒã¹ã®åäžãœãŒã¹ãã¯ãããžãŒã®åºç¯ãªäœ¿çšã劚ããŸãã
ãªãã©ã€ã³ããã¥ã¡ã³ããŸãã¯å°å·ããã¥ã¡ã³ãã®æºåã«ã¿ã°ãªã圢åŒã䜿çšããå Žåã¯ãå€æãŠãŒãã£ãªãã£ã䜿çšããå¿ èŠããããŸãã å€ãã®ã³ã³ããŒã¿ãŒã®äžã§ãpandocããã°ã©ã ã«ã¯ç¹å¥ãªæ³šæãå¿ èŠã§ãã
1.5ã Pandocå€æãŠãŒãã£ãªãã£
Pandocã¯ãããŸããŸãªããŒã¯ã¢ããã®ããã¹ããå€æ°ã®åºå圢åŒã«å€æã§ããã³ãã³ãã€ã³ã¿ãŒãã§ã€ã¹ãåããã¯ãã¹ãã©ãããã©ãŒã ããã°ã©ã ã§ãã
ãããã£ãŠãããšãã°ãpandocã䜿çšããŠãASCIIdocãWikiãMarkdownããŒã¯ã¢ããã®ãœãŒã¹ããã¥ã¡ã³ããHTMLã«å€æã§ããŸãã LaTexãã€ã³ã¹ããŒã«ãããšãPDFãå ¥æã§ããããã«ãªããŸãã
ãããã£ãŠãããšãã°ã ãã®èšäºã®ãœãŒã¹ããã¹ããhtml圢åŒã«å€æããã«ã¯ã次ã®ã³ãã³ãã䜿çšããŸãã
pandoc -f markdown pandoc.md -t html -o pandoc.html -H h.html
çµæã¯ãå®æããhtmlãã¡ã€ã«ã«ãªããŸãã
å³6. pandocã«ãã£ãŠMarkdownããçæãããHTMLããã¥ã¡ã³ã
ãã®æ±çšæ§ã®ããã«ããã®ããã°ã©ã ã¯æ¯authorçã«èè ãã¹ã€ã¹ã¢ãŒããŒãã€ãããšåŒã°ããŠããŸãã
å®éãpandocã¯æ å ±ã倱ãããšãªãå€æãåŠçããŸãã MarkDown圢åŒããå€æããå Žåã3ã€ã®ã¡ã¿ããŒã¿ãã©ã¡ãŒã¿ãŒïŒããã¥ã¡ã³ãã®ã¿ã€ãã«ãäœæè ãæ¥ä»ïŒã®èªã¿åãããµããŒããããŸãã ãŸããããã¥ã¡ã³ãèšèªãªã©ã®ç¹å®ã®ããããã£ãèšå®ããããã®ã³ãã³ãã©ã€ã³ãªãã·ã§ã³ã®åãæž¡ãããµããŒãããŠããŸãã ç¬èªã®åºåããã¥ã¡ã³ããã³ãã¬ãŒããæå®ããããçšåºŠå€æŽããããšãã§ããŸãã
ãããã£ãŠãããšãã°ãäžèšã®äŸã§ã¯ãçŸåšã®ãã©ã«ããŒã«ããããŒã®åœ¹å²ãæããh.htmlãã¡ã€ã«ããããšæ³å®ãããŠããŸãã ãã®ãã¡ã€ã«ã«ã¹ã¿ã€ã«ãã¡ã€ã«ãžã®ãªã³ã¯ãè¿œå ãã
<base target="_blank">
å®çŸ©ãããšã次ã®çµæãåŸãããŸãã
å³7.ã¹ã¿ã€ã«ãªã³ã¯ã®ããããããŒãã¡ã€ã«ã䜿çšããŠpandocã«ãã£ãŠçæãããHTMLããã¥ã¡ã³ã
ãã®äŸãããããããã«ãããããŒã¯ç¬èªã®ã¹ã¿ã€ã«ãååŸããŠãããå€éšãã©ãŠã¶ãŒã®æ°ããã¿ãã§å€éšãªã³ã¯ãéãå§ããŸããã
äžèšã®ãã©ãŒãããã®æ©èœã«ãããMarkdownããŒã¯ã¢ããã䜿çšããŠæ¯èŒçå°ããªãœãããŠã§ã¢ã·ã¹ãã ãææžåããããšãæ£åœåãããŸãããã®èšèšã«ã¯GOSTèŠä»¶ããªããGitã·ã¹ãã ã§åºã䜿çšãããŠããããšã蚌æãããŠããŸãã
倧èŠæš¡ã§è€éãªããã¥ã¡ã³ããå«ã倧èŠæš¡ã·ã¹ãã ã®å Žåããã®äœæã«ã¯åäžã®ãœãŒã¹ã·ã¹ãã Docbookã®äœ¿çšãèŠãããŸãã ãããžã§ã¯ãã®èŠæš¡ãããã«è¡šç€ºãããªãå ŽåããããŸãã
1.6ã Docbook
XMLãœãŒã¹ãã¡ã€ã«ã®äœæã®è€éãã¯ãMarkdownãœãŒã¹ã³ãŒãã䜿çšããŠDocbookã«å€æããããšã§å æã§ããŸãã ãã®å€æã¯ãpandocãŠãŒãã£ãªãã£ã§ãµããŒããããŠããŸãã ã ããããŒã
pandoc -f markdown pandoc.md -t docbook -o pandoc4.xml -H h.xml
çµæã®ãã¡ã€ã«ãäœæããŸã ã
ã¡ã¿ã¿ã°ã®é©åãªåŠçãšèšäºã®äœæã«ã¯ãããããŒãã¡ã€ã«
h.xml
ã®äœ¿çšïŒåã«ç©ºã«ããããšãã§ããŸãïŒãå¿ èŠã§ãã
å³8. XMLãšãã£ã¿ãŒã§çæãããèšäº
docbookãžã®å€æã«äœ¿çšãããããã€ãã®è¿œå ã®ããŒã¯ããŠã³ããŒã¯ã¢ããèŠä»¶ã«æ³šæããå¿ èŠããããŸãã
ãŸããXMLã§ã¯ã¿ã°ã匷調衚瀺ããããã«äœ¿çšããããããããã¹ãå ã§äžçå·æ¬åŒ§ïŒ<and>ïŒã䜿çšããããšã¯é¿ããã³ã³ããŒã¿ãŒã¯ãããããã®ãŸãŸæ®ããŸãã æå³ã«å±±æ¬åŒ§ãå¿ èŠãªå Žåã¯ããšã³ãã£ãã£
<
ããã³
>
ã
第äºã«ãç»åãæ¿å ¥ããéã代æ¿ããã¹ããå ¥åããå¿ èŠããããŸããããã¯ãpandocãå³ã䜿çšããŠå¿ èŠãª
title
ã¿ã°ãäœæããããã§ãã
ãã ããåºåããã¹ãã¯DocbookããŒãžã§ã³4ã®å€ã圢åŒã§çæãããŸãããææ°ã®ããŒãžã§ã³5ã¯ã»ãã³ãã£ãã¯ããŒã¯ã¢ããã®æ©äŒãå€§å¹ ã«è±å¯ã«ãªããŸãã
ããã¹ããããŒãžã§ã³4ããããŒãžã§ã³5ã«å€æããã«ã¯ãDocbookã«å«ãŸããŠããç¹å¥ãªå€ædb4-upgrade.xslã䜿çšã§ããŸãã
xsltproc -o pandoc5.xml db4-upgrade.xsl pandoc4.xml
ãã®ããã«ããŠååŸããdocbook 5 xmlã¹ããŒããã¡ã€ã«ã䜿çšããŠãåäžã®ãœãŒã¹ã圢æã§ããŸãã
å³9.äœæè ã¢ãŒãã®XMLãšãã£ã¿ãŒã§ã®ã¹ããŒãã®èšäº
èšè¿°ãããäžé£ã®å€æã¯ãäžèŠé·ãäžåçã«è€éã«èŠãããããããŸããã ãã ããå¿ èŠãªããŒã«ãäžåºŠç¿åŸããé »ç¹ã«å®è¡ãããã¿ã¹ã¯ã®ããããã¡ã€ã«ïŒã¹ã¯ãªããïŒãéçºããã®ã§ãå°æ¥ããªãã®æéãç¯çŽã§ããŸãã
åäžã®ãœãŒã¹ã®æè¡ã«ã¯é¡èãªçŽ¯ç©å¹æãããããšã匷調ããå¿ èŠããããŸãã å žåçãªåå©çšå¯èœãªããã¹ããã©ã°ã¡ã³ãã®éçºã«è²»ããããæåã®æéã¯ãåŸç¶ã®ãããžã§ã¯ãã§äœ¿çšããããšå ±ãããŸãã ã·ãªã¢ã«ãœãããŠã§ã¢ã·ã¹ãã ãææžåããéã«ãã·ã³ã°ã«ãœãŒã¹ãã¯ãããžãŒãç¹ã«é åçãªã®ã¯ããã®å質ã§ãã
äžé£ã®å€æã¯ãDocbookãã¹ã¿ã€ã«ä»ãã®HTMLã§ã®ããã¥ã¡ã³ãã®åœ¢æãå°å·çšã®PDFããµããŒãããŸãã
xsltproc -o pandoc5.fo cïŒ\ <DocbookXSLãžã®ãã¹> \ fo \ docbook.xsl pandoc5.xml
åºåããã¥ã¡ã³ãã®å€èŠ³ã¯ããã©ã¡ãŒã¿ã䜿çšããŠããçšåºŠèª¿æŽã§ããŸãã çµæã®ãã¡ã€ã«åœ¢åŒFO-XSL pandoc5.foã¯äžéã§ããã æçµçãªPDFãäœæããããã«å¿ èŠã§ãã
åæ§ã«éèŠãªã®ã¯ãç®æ¬¡ãã€ã©ã¹ãã®ãªã¹ãããªã¹ããè¡šã玢åŒãçšèªéãããã³ãªãã¡ã¬ã³ã¹ã®ãªã¹ããèªåçã«çæããæ©èœã§ãã
ããã±ãŒãžã«å€æ°ã®ããã¥ã¡ã³ããããå Žåãããããžã®æ£ãã圢åŒã®ãªã³ã¯ãèªåçã«çæããæ©èœãåããåå¥ã®ãªã¹ããäœæããããšãã§ããŸãã GOSTãªã©ã®ç¹å¥ãªèŠä»¶ãèæ ®ããŠãããã¥ã¢ã«ã®ã¿ã€ãã°ã©ãã£ã¬ã€ã¢ãŠããäœæããå Žåãéåžžã®ããŒãžãã¿ã€ãã«ãããã³æçµããŒãžã®ãã©ãŒãããçšã«è¿œå ã®xslãéçºããå¿ èŠããããŸãã
ããã¯æ¬¡ã®èšäºã®äž»é¡ãããããŸããã