yatex

annotate docs/htmlqa.eng @ 566:2ef9f21dd13b

Add note on YaTeX::usepackage-alist-default
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 24 Jan 2019 15:19:32 +0900
parents 7e361fb5401d
children
rev   line source
yuuji@70 1 %%
yuuji@70 2 %% Q and A on yahtml
yuuji@70 3 %%
yuuji@70 4 %% C-u C-x $ shows only questions. C-x $ shows all.
yuuji@70 5 %%
yuuji@72 6 -- New Item
yuuji@72 7 *Can I use font-lock with yahtml?
yuuji@70 8
yuuji@70 9 [Installation]
yuuji@70 10 ==============
yuuji@70 11 *Must I install YaTeX even if I don't use LaTeX?
yuuji@70 12
yuuji@70 13 No. Get the files starting with "yahtml" from
yuuji@72 14 http://www.yatex.org/
yuuji@70 15 and that's all you will need.
yuuji@70 16
yuuji@70 17 [Customization]
yuuji@70 18 ==============
yuuji@72 19 *Can I use font-lock with yahtml?
yuuji@72 20
yuuji@72 21 Yes. Native font-lock support started at yahtml-1.69. All you
yuuji@72 22 have to do for font-lock-ing, is to load font-lock beforehand.
yuuji@72 23 If you had added such workaround as
yuuji@72 24
yuuji@72 25 (put 'yahtml-mode 'font-lock-defaults 'another-html-mode)
yuuji@72 26
yuuji@72 27 in hooks, please remove it!
yuuji@72 28
yuuji@70 29 *I usually use EUC, but need JIS coding on some files.
yuuji@70 30
yuuji@70 31 Write
yuuji@70 32 (setq yahtml-kanji-code 3) ;3 for EUC
yuuji@70 33 and your default kanji code for HTML files will be EUC.
yuuji@70 34 Now to change codings foe selected files. If your server is
yuuji@70 35 Apache, then prepare a file named ".htaccess" in the directory
yuuji@70 36 and write
yuuji@70 37
yuuji@70 38 AddType "text/html; charset=iso-2020-jp" .html
yuuji@70 39
yuuji@70 40 Apache will now inform all your visitors that the html files
yuuji@70 41 in this directory are in iso-2022-jp, aka JIS. yahtml will
yuuji@70 42 also follow this and encode all files in this directory with JIS.
yuuji@70 43
yuuji@70 44 Not using Apache? Then adding the following to the end of your
yuuji@70 45 html source will make this files coding system JIS.
yuuji@70 46
yuuji@70 47 <!-- Local Variables: -->
yuuji@70 48 <!-- file-coding-system: *junet* -->
yuuji@70 49 <!-- End: -->
yuuji@70 50
yuuji@70 51 Note that Emacs-20 and XEmacs do not need the "*" in the kanji
yuuji@70 52 code symbol.
yuuji@70 53
yuuji@70 54 [What about...]
yuuji@70 55 ==============
yuuji@70 56 *Indentation for a large file is slow
yuuji@70 57
yuuji@70 58 Should be fixed.
yuuji@70 59
yuuji@70 60 *Inserting template.html
yuuji@70 61
yuuji@70 62 Use autoinsert.el that comes with Emacs19/Mule2. Another
yuuji@70 63 option is to use auto-insert-tkld. The latter can be found at
yuuji@70 64 ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/util/auto-inset-tkld.tar.Z
yuuji@70 65 Examples in Japanese are at
yuuji@80 66 http://namazu.org/~tsuchiya/elisp/yahtml-mode.html
yuuji@70 67
yuuji@70 68 [ETC]
yuuji@70 69 ============
yuuji@70 70 *How do I pronounce yahtml
yuuji@70 71
yuuji@70 72 A real FAQ. The author doesn't know either. Any ideas?
yuuji@70 73 ... It hits on me! We define the official name of yahtml as;
yuuji@70 74
yuuji@70 75 HTML-Ya
yuuji@70 76
yuuji@70 77 "Ya" is the Japanese word whose meaning is `shop', and sometimes
yuuji@70 78 `enthusiast' of something. With HTML-Ya, do the publishment of
yuuji@70 79 your thought efficiently and beautifully!
yuuji@70 80
yuuji@70 81 *Mailing lists?
yuuji@70 82
yuuji@72 83
yuuji@72 84 A question, so an answer. The mailing list for YaTeX (Wild Bird)
yuuji@72 85 and it's implementation to Vz Editor; LaiTeX (Thunder Bird, by
yuuji@72 86 KATSURAGAWA Naoki), implementation to Wz Editor; HackTeX (Swan,
yuuji@72 87 by TAKENAKA Hiroshi), implementation to Hidemaru Editor; HiTeX
yuuji@72 88 (Flying Bird, by YASUDA Haruyuki) is "fj Wild Bird Society".
yuuji@72 89 Send a mail like
yuuji@72 90
yuuji@70 91
yuuji@70 92 To: yatex@yatex.org
yuuji@75 93 Subject: subscribe
yuuji@70 94 -----
yuuji@70 95 Hi!
yuuji@70 96 My name is yuuji.
yuuji@70 97 See any birds fly by?
yuuji@70 98
yuuji@70 99 and you're in. Once you're in, you'll get a reply with lists of
yuuji@70 100 commands used in the mailing list. Join along and help adding
yuuji@70 101 new feathers to Wild Bird. BTW, if you haven't guessed it yet,
yuuji@70 102 yes, this mailing list is in Japanese. But give us a try
yuuji@70 103 anyway. You're always welcome.
yuuji@70 104
yuuji@70 105 *How to get the up-to-date information on yahtml?
yuuji@70 106
yuuji@70 107 If you can access WWW, try to see;
yuuji@70 108 http://www.yatex.org/
yuuji@70 109 And if you trace the link of `yatex-current', you can get the
yuuji@70 110 really latest version of yahtml. Since it collects the elisps in
yuuji@70 111 the author's source directory, what you'll get may contain some
yuuji@70 112 errors. The author cannot respond to your query about
yuuji@70 113 yatex-current.
yuuji@70 114
yuuji@70 115 *Help, help HELP!!
yuuji@70 116
yuuji@70 117 Ways of getting answers in fastest order.
yuuji@70 118
yuuji@70 119 *Look for someone near you who knows what's he/she's doing.
yuuji@70 120 *Post a question to the mailing list.
yuuji@70 121 *Send mail to yuuji@yatex.org
yuuji@70 122
yuuji@70 123 take a pick.
yuuji@70 124
yuuji@70 125 *Picking a question in this file with C-u C-x $ and hitting C-x $ takes
yuuji@70 126 me to a weird world.
yuuji@70 127
yuuji@70 128 You too? Try marking the question before C-x $ and to C-x C-x
yuuji@70 129 to take you back to it. (Mule2 doesn't seem to have the same
yuuji@70 130 problem)
yuuji@70 131
yuuji@70 132
yuuji@70 133 Local Variables:
yuuji@70 134 mode: indented-text
yuuji@70 135 fill-column: 72
yuuji@70 136 fill-prefix: " "
yuuji@70 137 End:
yuuji@70 138