annotate docs/yahtmle.tex @ 272:78d0fdc0459c dev

Add `@directory' entries to info sources.
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 11 May 2012 15:43:40 +0900
parents d467c0fb6083
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
1 \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
2 \input texinfo
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
3 @setfilename yahtmle
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
4 @settitle Yet Another html-mode for Emacs
272
78d0fdc0459c Add `@directory' entries to info sources.
HIROSE Yuuji <yuuji@gentei.org>
parents: 271
diff changeset
5 @direntry
78d0fdc0459c Add `@directory' entries to info sources.
HIROSE Yuuji <yuuji@gentei.org>
parents: 271
diff changeset
6 * yahtml-e: (yahtmle). Yet Another html-mode for Emacs (English).
78d0fdc0459c Add `@directory' entries to info sources.
HIROSE Yuuji <yuuji@gentei.org>
parents: 271
diff changeset
7 @end direntry
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
8
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
9 @iftex
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
10 @c @syncodeindex fn cp
272
78d0fdc0459c Add `@directory' entries to info sources.
HIROSE Yuuji <yuuji@gentei.org>
parents: 271
diff changeset
11 @c Last modified Fri May 11 15:42:22 2012 on firestorm
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
12 @syncodeindex vr cp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
13 @end iftex
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
14
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
15 @titlepage
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
16 @sp 10
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
17 @center
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
18 @subtitle Yet Another html-mode for emacs
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
19 @title // yahtml //
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
20 %@subtitle // yahtml //
271
d467c0fb6083 Preparing for 1.76 release
HIROSE Yuuji <yuuji@gentei.org>
parents: 269
diff changeset
21 @author @copyright{} 1994-2012 by HIROSE, Yuuji [yuuji@@yatex.org]
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
22 @end titlepage
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
23
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
24 @node Top, Intro, (dir), (dir)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
25 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
26
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
27 @menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
28 * Intro:: Introduction
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
29 * Installation:: Installing yahtml
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
30 * Command Invocation:: Using External Commands
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
31 * Completion:: Input with Completion
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
32 * Jump:: Moving the Cursor
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
33 * Changing and Deleting:: Changing and Deleting
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
34 * CSS Support:: Style Sheet Support
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
35 * Customizations:: List of Customize Variables
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
36 * Copying:: Copyright
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
37 * Concept Index:: Index
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
38 @end menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
39
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
40 @node Intro, Installation, Top, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
41 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
42 @chapter Introduction
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
43 @cindex Demacs
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
44 @cindex Mule
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
45 @cindex LaTeX
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
46 @cindex yahtml
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
47
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
48 yahtml is a package to support creating HTML documents on Emacsens. Easy
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
49 input of elements (tags) by completion, syntax checking with programs like
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
50 weblint, and invoking the appropriate browser or image viewer depending on
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
51 the cursor position is its main features.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
52
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
53 (This Info is still incomplete)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
54
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
55 @node Installation, Command Invocation, Intro, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
56 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
57 @chapter Installing yahtml
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
58 @menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
59 * Setting up yahtml::
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
60 * Setting environments for weblint browsers and image viewers::
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
61 * Setting environment variables for WWW pages::
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
62 @end menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
63
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
64 @node Setting up yahtml, Setting environments for weblint browsers and image viewers, Installation, Installation
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
65 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
66 @section Setting up yahtml
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
67
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
68
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
69 Add the following to @file{~/.emacs}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
71 @lisp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
72 (setq auto-mode-alist
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
73 (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
74 (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
75 @end lisp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
76
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
77 Next, add to load-path the directory with the yahtml files
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
78 (@file{yahtml.el}, @file{yatexlib.el}, @file{yatexprc.el}). For example,
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
79 if you put them in @file{~/src/emacs/yahtml},
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
80
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
81 @lisp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
82 (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path))
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
83 @end lisp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
84
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
85 @noindent
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
86 is what you add.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
87
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
88 By this, yahtml will be automatically loaded when editing files with .html
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
89 extensions. "yahtml" will be displayed on the mode line if no errors
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
90 occurred.
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
91
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
92 @node Setting environments for weblint browsers and image viewers, Setting environment variables for WWW pages, Setting up yahtml, Installation
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
93 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
94 @section Setting environments for weblint, browsers, and image viewers
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
95
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
96 Check the variables for invoking external commands and modify as needed.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
97 Defaults are in parenthesis.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
98
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
99 @table @code
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
100 @item yahtml-www-browser
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
101 @dots{} browser command name (netscape)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
102 @item yahtml-image-viewer
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
103 @dots{} image viewer command name (xv)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
104 @item yahtml-lint-program
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
105 @dots{} syntax check programs command name (jweblint)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
106 @item yahtml-kanji-code
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
107 @dots{} kanji code for HTML files
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
108 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
109
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
110 @node Setting environment variables for WWW pages, , Setting environments for weblint browsers and image viewers, Installation
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
111 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
112 @section Setting environment variables for WWW pages
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
113
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
114 Variables regarding path names for files that will be your home page.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
115 @table @code
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
116 @item yahtml-path-url-alist
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
117 @dots{} list of matching path name on file system and URLs
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
118 @item yahtml-directory-index
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
119 @dots{} index file displayed when none is given in URL. Usually
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
120 @file{index.html} on NCSA type httpd and @file{Welcome.html} on
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
121 CERN types.
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
122 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
123
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
124 Examples for @code{yahtml-path-url-alist}. If @file{/home/yuuji/http/}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
125 is @code{http://localhost/~yuuji} at home and @file{/usr/home/yuuji/www/}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
126 is @code{http://www.keio.ac.jp/~yuuji/} at work, then
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
127
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
128 @lisp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
129 (setq yahtml-path-url-alist
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
130 '(("/home/yuuji/http" . "http://localhost/~yuuji")
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
131 ("/usr/home/yuuji/www" . "http://www.keio.ac.jp/~yuuji")))
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
132 @end lisp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
133
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
134 Any number of additions can be made to this list.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
135
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
136 @node Command Invocation, Completion, Installation, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
137 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
138 @chapter Invoking external commands
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
139
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
140 For easy use of commands that are handy when editing HTML files.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
141 @table @kbd
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
142 @item [prefix] t j
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
143 @dots{} Invoke HTML syntax checker (jweblint)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
144 @item [prefix] t p
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
145 @dots{} Display current page in browser
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
146 @item [prefix] t r
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
147 @dots{} Reload current page if browser is already running
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
148 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
149
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
150 @node Completion, Jump, Command Invocation, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
151 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
152 @chapter Completion Input
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
153
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
154 Completion input of HTML elements is done through the same key strokes as
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
155 YaTeX's begin-type completion, section-type completion, large-type
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
156 completion, maketitle-type completion, and accent completion.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
157 Corresponding elements in this order is; elements that span multiple
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
158 lines, empty elements such as img, tags that start and end in a
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
159 single line, elements with no attributes or contents, and special or
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
160 symbol entities.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
161
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
162 @table @kbd
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
163 @item [prefix] b (YaTeX begin-type completion)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
164 @dots{}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
165 @example
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
166 <ul>
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
167 </ul>
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
168 @end example
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
169
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
170 @noindent
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
171 Completion for elements that the start tag and the end tag span multiple
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
172 lines. Mostly block-level elements.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
173
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
174 @item [prefix] s (YateX section-type completion)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
175 @dots{}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
176 @example
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
177 <img src="foo.gif" alt="photo">
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
178 @end example
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
179
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
180 @noindent
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
181 Completion for elements that do not have end tags and require only
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
182 attributes. Possible completions are, <img>, <input>.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
183
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
184 @item [prefix] l (YaTeX large-type completion)
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
185 @dots{}
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
186
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
187 @example
72
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
188 <big> $B!A(B </big>
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
189 @end example
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
190
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
191 @noindent
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
192 Similar to begin-type completion but used for elements that start and end
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
193 on a single line.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
194
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
195
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
196 @item [prefix] m (YaTeX maketitle-type completion)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
197 @dots{} Completion for elements without attributes or contents. Possible
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
198 completion is <br>
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
199
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
200 @item [prefix] a (YaTeX accent completion)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
201 @dots{} Used to enter special or symbol entities. By default completion
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
202 for < (&lt;), > (&gt;), & (&amp;), " (&quot;), ' (&apos;), blank (&nbsp;)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
203 is possible.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
204 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
205
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
206 @node Jump, Changing and Deleting, Completion, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
207 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
208 @chapter Cursor Movement
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
209 By using
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
210
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
211 @table @kbd
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
212 @item [prefix] g
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
213 @dots{} move to corresponding object
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
214 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
215
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
216 @noindent
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
217 the cursor will go to the corresponding object according to the context.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
218 Recognized contexts are
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
219
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
220 @itemize @bullet
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
221 @item @code{<TAG>} <--> @code{</TAG>}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
222 @item @code{<img src="image.file">} -> invoke viewer
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
223 @item @code{<a href="link.to.somewhere">} -> move cursor to linked target
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
224 @item @code{<applet code="program">} -> open Java source
72
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
225 @c @item @code{\include(\input)} $B"*(B $BBP1~$9$k%U%!%$%k(B
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
226 @end itemize
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
227
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
228 @node Changing and Deleting, CSS Support, Jump, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
229 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
230 @chapter Changing and Deleting
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
231
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
232 @menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
233 * Changing tags in pairs::
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
234 * Changing entities::
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
235 * URLencoding of strings within region::
269
032d4c4bf7ac Fix escape chars. Thanks to hiroohongo.
HIROSE Yuuji <yuuji@gentei.org>
parents: 265
diff changeset
236 * td-enclosure/tr-enclosure::
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
237 @end menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
238
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
239 @node Changing tags in pairs, Changing entities, Changing and Deleting, Changing and Deleting
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
240 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
241 @section Changing tags in pairs
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
242 By using
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
243
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
244 @table @kbd
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
245 @item [prefix] c
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
246 @dots{} change tags in matching pairs
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
247 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
248
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
249 @noindent
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
250 the content can be changed according to the context of the HTML document
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
251 where the cursor is located.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
252
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
253 @itemize @bullet
72
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
254 @item @code{<TAG>}$B!A(B@code{</TAG>}
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
255 @dots{} change @code{TAG} element name
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
256 @item attributes such as @code{<img src="image.file" alt="photo">}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
257 @dots{} change attributes
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
258 @end itemize
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
259
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
260 @node Changing entities, URLencoding of strings within region, Changing tags in pairs, Changing and Deleting
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
261 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
262 @section Changing entities
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
263 Special characters such as < or > must be written as &lt; and &gt;. Easy
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
264 conversion of these characters can be done when importing text from non
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
265 HTML files.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
266
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
267
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
268 @table @kbd
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
269 @item [prefix] ;
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
270 @dots{} convert char to special entity in marked region
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
271 @item [prefix] :
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
272 @dots{} convert special entity to original char in marked region
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
273 (reverse of [prefix] ;)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
274 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
275
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
276
158
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
277 @node URLencoding of strings within region, td-enclosure/tr-enclosure, Changing entities, Changing and Deleting
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
278 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
279 @section URLencoding of strings within region
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
280
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
281 @table @kbd
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
282 @item [prefix] #
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
283 @dots{} encode chars that needs to be URLencoded within region
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
284 @end table
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
285
158
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
286 @node td-enclosure/tr-enclosure, , URLencoding of strings within region, Changing and Deleting
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
287 @comment node-name, next, previous, up
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
288 @section td-enclosure/tr-enclosure
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
289 If you wan to convert series of field into <td>...</td> repetitions for
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
290 table element, td-enclosure or tr-enclosure is convenient.
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
291
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
292 @table @kbd
223
265da12ff3b6 Syntax error fixed.
yuuji@gentei.org
parents: 158
diff changeset
293 @item [prefix] @}
158
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
294 @dots{} Enclose each field in a region into <td>...</td>'s.
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
295 @item [prefix] ]
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
296 @dots{} Enclose each line in a region into <tr>...</tr>'s, with
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
297 every line converted to <td>...</td> repetition.
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
298 @end table
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
299 They presume white space as field separator by default.
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
300 To change this, enter other delimiting character for a query.
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
301 You can convert CSV, for example, into table by specifying
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
302 comma(,) as a delimiter.
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
303
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
304 If you want to enclose fields with th, call with
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
305 universal-argument (@kbd{C-u}). Enter `th' to enclose fields
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
306 with <th>...</th>. The special answer `thd' means that
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
307 enclose the only first column with th, and the rest with td.
2638644ff9a0 update info
yuuji@gentei.org
parents: 118
diff changeset
308
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
309 @node CSS Support, Customizations, Changing and Deleting, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
310 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
311 @chapter CSS(Style Sheets) Support
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
312
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
313 @menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
314 * CSS-class completion::
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
315 * Reread CSS definition::
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
316 @end menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
317
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
318 @node CSS-class completion, Reread CSS definition, CSS Support, CSS Support
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
319 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
320 @section CSS class-name completion
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
321 You can input a class name in your CSS definition with completion.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
322 If you have CSS defined as below;
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
323
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
324 @display
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
325 h1.foo, h2.foo @{ background-color: 0xffffff; @}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
326 h1.bar, h2.bar @{ font-size: 120%; @}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
327 @end display
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
328
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
329 when you input h1(or h2) tag with completing-read by [prefix] b or
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
330 [prefix] l, yahtml prompts you to input class name with completion from
265
0b10d1fea265 Fix many misuse of braces and so on.
HIROSE Yuuji <yuuji@gentei.org>
parents: 223
diff changeset
331 the words which are effective to h1 or h2. And if you defined
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
332 global class like this;
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
333
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
334 @display
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
335 .caution @{ font-size: 120%; background-color: 0xc00000;@}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
336 @end display
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
337
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
338 when you input any tags via completing-read, yahtml prompts you to input
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
339 class name. If this is bothering, typing @kbd{C-j} instead of
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
340 @kbd{RET} (or @kbd{C-m}) cancels the next prompt to class name completion.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
341
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
342 @node Reread CSS definition, , CSS-class completion, CSS Support
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
343 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
344 @section Re-reading CSS definition
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
345 If you add some class to your CSS file and you want yahtml to load
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
346 new definitions, type @kbd{M-x yahtml-mode RET} to make yahtml do.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
347
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
348 @node Customizations, Copying, CSS Support, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
349 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
350 @chapter Customizations
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
351 @cindex Customize
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
352 @cindex Key Assign
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
353
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
354 Variables that modify yahtml's behavior.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
355
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
356 @menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
357 * All customizable variables:: List of customizable variables
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
358 * Hook variables:: hook variables
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
359 @end menu
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
360
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
361 @node All customizable variables, Hook variables, Customizations, Customizations
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
362 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
363 @section List of customizable variables. Defaults in parenthesis
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
364
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
365 @defvar yahtml-prefix
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
366 Prefix key for yahtml-mode. (@kbd{\C-c})
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
367 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
368
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
369 @defvar yahtml-image-viewer
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
370 Command to view image files refered by img. (xv)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
371 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
372
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
373 @defvar yahtml-www-browser
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
374 Browser to view external pages with @kbd{[prefix]g}. (netscape)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
375 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
376
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
377 @defvar yahtml-kanji-code
118
e1693ffc64cc kanji-code: 4=UTF-8
yuuji@gentei.org
parents: 75
diff changeset
378 Default kanji code. 1=sjis, 2=jis, 3=euc, 4=utf-8 (2)
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
379 If
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
380 @quotation
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
381 AddType "text/html; charset=xxx" .html
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
382 @end quotation
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
383 is written in .htaccess, this will override yahtml-kanji-code.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
384 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
385
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
386 @defvar yahtml-fill-column
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
387 Columns to auto-fill (72)
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
388 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
389
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
390 @defvar yahtml-fill-prefix
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
391 fill-prefix specific to yahtml-mode. (@code{nil})
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
392 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
393
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
394 @defvar yahtml-path-url-alist
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
395 Matching list of URL and full path name on OS's file system.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
396 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
397
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
398 @defvar yahtml-directory-index
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
399 Default index filed opened when accessing a server without a filename,
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
400 usually index.html. (@code{"index.html"})
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
401 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
402
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
403 @defvar yahtml-lint-program
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
404 HTML syntax check program. (@code{"jweblint"})
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
405 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
406
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
407 @defvar yahtml-hate-too-deep-indentation
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
408 setq to t when indentations for nested enumerate elements are too deep.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
409 (@code{nil})
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
410 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
411
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
412 @defvar yahtml-always-/p
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
413 setq to t if you always want @code{</p>} after @code{</p>}. @code{nil}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
414 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
415
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
416 @defvar yahtml-p-prefered-env-regexp
75
7e361fb5401d Stable version(hope to be)
yuuji
parents: 72
diff changeset
417 Elements that @code{<p>} will be automatically inserted.
7e361fb5401d Stable version(hope to be)
yuuji
parents: 72
diff changeset
418 (@code{"^\\(body\\|dl\\|blockquote\\)"})
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
419 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
420
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
421 @defvar yahtml-template-file
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
422 File to automatically insert when editing a new HTML file.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
423 @file{"~/http/template.html"}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
424 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
425
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
426 @defvar yahtml-prefer-upcases
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
427 Use uppercase for tags. @code{nil}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
428 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
429
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
430 @defvar yahtml-prefer-upcase-attributes
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
431 Use uppercase for attributes. @code{nil}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
432 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
433
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
434 @defvar yahtml-server-type
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
435 setq to 'apache if using a Apache server, and will refer ./.htaccess.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
436 @code{'apache}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
437 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
438
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
439 @defvar yahtml-apache-access-file
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
440 When @code{yahtml-server-type} is @code{'apache}, define name of access
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
441 restriction file. @file{".htaccess"}
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
442 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
443
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
444 @defvar yahtml-shell-command-option
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
445 Options needed to invoke shell commands.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
446 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
447
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
448 @defvar yahtml-translate-hyphens-when-comment-region
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
449 Whether to change hyphens to @code{&#45;} when commenting out region.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
450 (@code{t})
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
451 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
452
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
453 @defvar yahtml-entity-reference-chars-alist
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
454 alist of characters that needs to be written by Entity Reference. Enter
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
455 as @code{'(?char . "EntityReference")}. By default, @code{<}, @code{>},
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
456 @code{&}, @code{'}, is set. Add as needed. Do not include @code{&} at
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
457 beginning and @code{;} at end of cdr portion of @code{"EntityReference"}.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
458 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
459
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
460 @defvar yahtml-faithful-to-htmllint
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
461 When using htmllint to check syntax, it will complain about excess spaces.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
462 setq to @code{t} to avoid this.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
463 @end defvar
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
464
72
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
465 @defvar yahtml-use-css
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
466 Use style-sheet support or not (@code{t})
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
467 @end defvar
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
468
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
469 @defvar yahtml-image-inspection-bytes
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
470 Number of bytes to inspect the image for geometry information (@code{10000})
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
471 @end defvar
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
472
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
473 @defvar yahtml:img-default-alt-format
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
474 format of img entity's ALT attributes.
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
475 %x: width, %y: height, %s: size in bytes, %c: first comment string,
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
476 %f: filename (@code{"%xx%y(%sbytes)"})
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
477 @end defvar
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
478
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
479 @defvar yahtml-escape-chars
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
480 When, completing href-s, Escape reserved characters to URL-encoding or not.
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
481 Nil for never, t for everytime, and 'ask for inquiring
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
482 at each reserved chars. (@code{'ask})
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
483 @end defvar
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
484
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
485 @defvar yahtml-use-font-lock
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
486 Use font-lock to fontify buffer or not
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
487 (@code{(featurep 'font-lock)})
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
488 @end defvar
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
489
75
7e361fb5401d Stable version(hope to be)
yuuji
parents: 72
diff changeset
490 @defvar yahtml-use-hilit19
72
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
491 Use hilit19 to highlight buffer or not
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
492 (@code{(featurep 'hilit19)})
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
493 @end defvar
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
494
75
7e361fb5401d Stable version(hope to be)
yuuji
parents: 72
diff changeset
495 @defvar yahtml-indentation-boundary
7e361fb5401d Stable version(hope to be)
yuuji
parents: 72
diff changeset
496 Boundary regexp for indentation calculation.
7e361fb5401d Stable version(hope to be)
yuuji
parents: 72
diff changeset
497 (@code{"^\\s *<h[1-3]>"})
7e361fb5401d Stable version(hope to be)
yuuji
parents: 72
diff changeset
498 @end defvar
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
499
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
500 @node Hook variables, , All customizable variables, Customizations
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
501 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
502 @section hook variables
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
503
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
504
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
505 @node Copying, Concept Index, Customizations, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
506 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
507 @chapter Copying
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
508
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
509 This program is distributed as freesoftware. The author will take no
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
510 responsibility to any damages due to the usage of this software
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
511 whatsoever. There are no restrictions to its redistribution, just use
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
512 common sense. Mail me your thoughts on this program and I will be more
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
513 than willing to help.
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
514
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
515 Complaints, requests, bug reports and comments are welcome. Make contacts
72
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
516 to yuuji@@yatex.org$B!!(B(as of December 2000)
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
517
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
518 If you like this program and use it on a regular basis, please join the
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
519 mailing list "fj Wild Bird Society". Procedures can be found in the "etc"
72
0aaebd07dad0 Support font-lock on XEmacs-21, Emacs-20, Emacs-21.
yuuji
parents: 70
diff changeset
520 section of @file{docs/htmlqa.eng} in this package.
70
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
521
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
522
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
523 @flushright
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
524 HIROSE, Yuuji
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
525 @end flushright
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
526
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
527
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
528 @node Concept Index, , Copying, Top
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
529 @comment node-name, next, previous, up
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
530 @unnumbered Index
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
531 @printindex cp
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
532
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
533
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
534 @contents
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
535
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
536 @bye
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
537
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
538 @c Local Variables:
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
539 @c fill-column: 74
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
540 @c fill-prefix: nil
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
541 @c End:
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
542 
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
543 Tag table:
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
544 
44e3a5e1e883 Fix makefile for Windows
yuuji
parents:
diff changeset
545 End tag table

yatex.org