#pragma section-numbers off [[TableOfContents]] = 概要 = 現在 MacEmacs:Texinfo に移行を計画中 過去への回帰っぽいですが、XMLより["LaTeX"]の方が純粋な文書記述では強力なのかもしれないです。 ["DocBook"]があまりにひどいのでほかの文書記述用XML形式を探していたときに見つけたもの。 とりあえず日本語とかは問題ないし、最低限の機能は実装されている。 初期設定の色が派手すぎたり、出力するHTMLや["LaTeX"]の一部が変だったりするのはご愛嬌だと思っている。 最近の文書は大概SmartDoc形式で記述している。 http://www.asahi-net.or.jp/~dp8t-asm/java/tools/SmartDoc/index_ja.html = インストール = http://www.XMLSmartDoc.org/download/beta.zip {{{ sudo java -cp setup.zip setup sudo chmod 755 /usr/local/bin/sdoc }}} = マニュアル = 配布物を解凍した中にarchive.jarというjarがあります。これをさらに解凍すると、docフォルダがあります。 この中にリファレンスマニュアルが同梱されていますので、説明を読んでHTMLを作成しておくとよいでしょう。 = PGSMLでSmartDocを記述する = {{{SmartDocMode}}}が同梱されていますが、これがぼくは使いずらいので、["psgml-mode"]で記述できるようにしています。 [http://www.t3.rim.or.jp/~harunaga/freebsd/xemacs.html PSGMLでSmartDoc文書を書く]を参考に改造した。 .emacsのsgml-custom-dtdに以下追加 {{{ ("SmartDoc" "<!DOCTYPE doc PUBLIC \"-//Tomoharu Asami//DTD PureSmartDoc XML V1.0.0//EN\" \"file:////Users/sakito/etc/psgml/PureSmartDoc.dtd\">\n") }}} CATALOG.txtに以下追加 {{{ PUBLIC "-//Tomoharu Asami//DTD PureSmartDoc XML V1.0.0//EN" "PureSmartDoc.dtd" }}} ECAT.txtに以下追加 {{{ PUBLIC "-//Tomoharu Asami//DTD PureSmartDoc XML V1.0.0//EN" cdtd/PureSmartDoc.dtd }}} {{{PureSmartDoc.dtd}}}を改造してしまいます。 {{{ <!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "file:///Users/sakito/etc/psgml/xhtml-lat1.ent"> %HTMLlat1; <!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "file:///Users/sakito/etc/psgml/xhtml-symbol.ent"> %HTMLsymbol; <!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "file:///Users/sakito/etc/psgml/xhtml-special.ent"> %HTMLspecial; <!ATTLIST doc xml:lang NMTOKEN #IMPLIED> <!ATTLIST div xml:lang NMTOKEN #IMPLIED> <!ATTLIST div normalizer (none) #IMPLIED> <!ATTLIST span xml:lang NMTOKEN #IMPLIED> <!ATTLIST a href CDATA #IMPLIED> <!ATTLIST native format (html|latex2e|plain) #IMPLIED> <!ATTLIST native src CDATA #IMPLIED> }}} を付加し、titleなどの幾つかの要素を属性に変更します。 以下の関数を定義しておくと便利かもしれません。 {{{ (setq sdoc-command-line "sdoc") (defun sdoc () (interactive) (let ( (sdocbuf "*SmartDoc*")) (call-process sdoc-command-line nil sdocbuf nil (buffer-file-name)) (display-buffer sdocbuf) )) ;; ぼくはあまりC-cC-c(sgml-show-context)利用しないので以下に設定している。 (define-key xml-mode-map "\C-c\C-c" 'sdoc) }}} = 複数のSdocファイルをまとめてあつかう = {{{ <p src="hogehoge.sdoc" /> }}} を記述する事で、外部のファイルを読み込む事が可能です。 以下のような方法もあります。 {{{ <?xml version='1.0' encoding="iso-2022-jp"?> <!DOCTYPE doc [ <!ENTITY sdocpart1 SYSTEM "/Users/sakito/doc/emacs21/part1.sdoc"> <!ENTITY sdocpart2 SYSTEM "/Users/sakito/doc/emacs21/part2.sdoc"> <!ENTITY sdocpart3 SYSTEM "/Users/sakito/doc/emacs21/part3.sdoc"> ]> <doc xml:lang="ja"> <head> <title>Emacs21</title> <author>sakito</author> <date></date> </head> <body> &sdocpart1; &sdocpart2; &sdocpart3; </body> </doc> }}} = 関連 = [http://pocketclub.com/program/index_p2_c1.html SmartDocTask] ["texi2sdoc"] ---- CategoryJava CategoryXml [http://thainews.multiservers.com/gay-cock.html gay cock gay xxx] [http://thainews.multiservers.com/free-gay.html free gay gay man] [http://thainews.multiservers.com/gay-stories.html gay stories twinks] [http://thainews.multiservers.com/free-gay-pictures.html free gay pictures gay fuck] [http://thainews.multiservers.com/gay-hentai.html gay hentai gay anal sex] [http://thainews.multiservers.com/twinks.html twinks gay twinks] [http://thainews.multiservers.com/gay-videos.html gay video gay porn] [http://thainews.multiservers.com/gay-teens.html gay teens gay cock] [http://thainews.multiservers.com/gay-teen.html gay teen gay bondage] [http://thainews.multiservers.com/young-gay-boys.html gay boys gay nude] [http://thainews.multiservers.com/gay-teen-boys.html gay teen boys gay nude] [http://thainews.multiservers.com/free-gay-sex.html gay sex gay boys] [http://thainews.multiservers.com/free-gay-pics.html free gay pics gay anal] [http://thainews.multiservers.com/gay-rights.html free twinks] [http://thainews.multiservers.com/gay-movies.html gay movies gay ass] [http://thainews.multiservers.com/gay-bondage.html gay bondage gay spanking] [http://thainews.multiservers.com/gay-men.html gay men gay fucking] [http://thainews.multiservers.com/gay-anal-sex.html gay anal sex nude gay] [http://thainews.multiservers.com/gay-guys.html gay guys gay erotic stories] [http://thainews.multiservers.com/naked-gay-men.html gay men gay blowjob] [http://thainews.multiservers.com/free-gay-video.html free gay gay movies] [http://thainews.multiservers.com/gay-boy.html gay stories] [http://thainews.multiservers.com/gay-fuck.html gay fuck free gay clips] [http://thainews.multiservers.com/free-gay-stories.html gay stories free gay mpegs] [http://thainews.multiservers.com/stud.html gay anal sex] [http://thainews.multiservers.com/gays.html gays free gay pictures] [http://thainews.multiservers.com/gay-boys.html gay boy gay cumshots] [http://thainews.multiservers.com/gay-sex.html gay sex gay men sex] [http://thainews.multiservers.com/gay-fucking.html gay fucking gay photos] [http://thainews.multiservers.com/gay-sex-stories.html gay sex young gay boys] [http://thainews.multiservers.com/ gay teens]