yuuji@70: %% yuuji@70: %% Q and A on yahtml yuuji@70: %% yuuji@70: %% C-u C-x $ shows only questions. C-x $ shows all. yuuji@70: %% yuuji@72: -- New Item yuuji@72: *Can I use font-lock with yahtml? yuuji@70: yuuji@70: [Installation] yuuji@70: ============== yuuji@70: *Must I install YaTeX even if I don't use LaTeX? yuuji@70: yuuji@70: No. Get the files starting with "yahtml" from yuuji@72: http://www.yatex.org/ yuuji@70: and that's all you will need. yuuji@70: yuuji@70: [Customization] yuuji@70: ============== yuuji@72: *Can I use font-lock with yahtml? yuuji@72: yuuji@72: Yes. Native font-lock support started at yahtml-1.69. All you yuuji@72: have to do for font-lock-ing, is to load font-lock beforehand. yuuji@72: If you had added such workaround as yuuji@72: yuuji@72: (put 'yahtml-mode 'font-lock-defaults 'another-html-mode) yuuji@72: yuuji@72: in hooks, please remove it! yuuji@72: yuuji@70: *I usually use EUC, but need JIS coding on some files. yuuji@70: yuuji@70: Write yuuji@70: (setq yahtml-kanji-code 3) ;3 for EUC yuuji@70: and your default kanji code for HTML files will be EUC. yuuji@70: Now to change codings foe selected files. If your server is yuuji@70: Apache, then prepare a file named ".htaccess" in the directory yuuji@70: and write yuuji@70: yuuji@70: AddType "text/html; charset=iso-2020-jp" .html yuuji@70: yuuji@70: Apache will now inform all your visitors that the html files yuuji@70: in this directory are in iso-2022-jp, aka JIS. yahtml will yuuji@70: also follow this and encode all files in this directory with JIS. yuuji@70: yuuji@70: Not using Apache? Then adding the following to the end of your yuuji@70: html source will make this files coding system JIS. yuuji@70: yuuji@70: yuuji@70: yuuji@70: yuuji@70: yuuji@70: Note that Emacs-20 and XEmacs do not need the "*" in the kanji yuuji@70: code symbol. yuuji@70: yuuji@70: [What about...] yuuji@70: ============== yuuji@70: *Indentation for a large file is slow yuuji@70: yuuji@70: Should be fixed. yuuji@70: yuuji@70: *Inserting template.html yuuji@70: yuuji@70: Use autoinsert.el that comes with Emacs19/Mule2. Another yuuji@70: option is to use auto-insert-tkld. The latter can be found at yuuji@70: ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/util/auto-inset-tkld.tar.Z yuuji@70: Examples in Japanese are at yuuji@80: http://namazu.org/~tsuchiya/elisp/yahtml-mode.html yuuji@70: yuuji@70: [ETC] yuuji@70: ============ yuuji@70: *How do I pronounce yahtml yuuji@70: yuuji@70: A real FAQ. The author doesn't know either. Any ideas? yuuji@70: ... It hits on me! We define the official name of yahtml as; yuuji@70: yuuji@70: HTML-Ya yuuji@70: yuuji@70: "Ya" is the Japanese word whose meaning is `shop', and sometimes yuuji@70: `enthusiast' of something. With HTML-Ya, do the publishment of yuuji@70: your thought efficiently and beautifully! yuuji@70: yuuji@70: *Mailing lists? yuuji@70: yuuji@72: yuuji@72: A question, so an answer. The mailing list for YaTeX (Wild Bird) yuuji@72: and it's implementation to Vz Editor; LaiTeX (Thunder Bird, by yuuji@72: KATSURAGAWA Naoki), implementation to Wz Editor; HackTeX (Swan, yuuji@72: by TAKENAKA Hiroshi), implementation to Hidemaru Editor; HiTeX yuuji@72: (Flying Bird, by YASUDA Haruyuki) is "fj Wild Bird Society". yuuji@72: Send a mail like yuuji@72: yuuji@70: yuuji@70: To: yatex@yatex.org yuuji@75: Subject: subscribe yuuji@70: ----- yuuji@70: Hi! yuuji@70: My name is yuuji. yuuji@70: See any birds fly by? yuuji@70: yuuji@70: and you're in. Once you're in, you'll get a reply with lists of yuuji@70: commands used in the mailing list. Join along and help adding yuuji@70: new feathers to Wild Bird. BTW, if you haven't guessed it yet, yuuji@70: yes, this mailing list is in Japanese. But give us a try yuuji@70: anyway. You're always welcome. yuuji@70: yuuji@70: *How to get the up-to-date information on yahtml? yuuji@70: yuuji@70: If you can access WWW, try to see; yuuji@70: http://www.yatex.org/ yuuji@70: And if you trace the link of `yatex-current', you can get the yuuji@70: really latest version of yahtml. Since it collects the elisps in yuuji@70: the author's source directory, what you'll get may contain some yuuji@70: errors. The author cannot respond to your query about yuuji@70: yatex-current. yuuji@70: yuuji@70: *Help, help HELP!! yuuji@70: yuuji@70: Ways of getting answers in fastest order. yuuji@70: yuuji@70: *Look for someone near you who knows what's he/she's doing. yuuji@70: *Post a question to the mailing list. yuuji@70: *Send mail to yuuji@yatex.org yuuji@70: yuuji@70: take a pick. yuuji@70: yuuji@70: *Picking a question in this file with C-u C-x $ and hitting C-x $ takes yuuji@70: me to a weird world. yuuji@70: yuuji@70: You too? Try marking the question before C-x $ and to C-x C-x yuuji@70: to take you back to it. (Mule2 doesn't seem to have the same yuuji@70: problem) yuuji@70: yuuji@70: yuuji@70: Local Variables: yuuji@70: mode: indented-text yuuji@70: fill-column: 72 yuuji@70: fill-prefix: " " yuuji@70: End: yuuji@70: