annotate docs/yahtmle.tex @ 223:265da12ff3b6 dev

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

yatex.org