Newer
Older
yatex / docs / yahtmlj
@yuuji@gentei.org yuuji@gentei.org on 9 Dec 2010 12 KB update info
Info file: yahtmlj,    -*-Text-*-
produced by `texinfo-format-buffer'
from file `yahtmlj.tex'
using `texinfmt.el' version 2.38 of 3 July 1998.






File: yahtmlj, Node: Top, Next: Intro, Prev: (dir), Up: (dir)

* Menu:

* Intro::                       ϸ��
* Installation::                ��ȼ�
* Command Invocation::          �����ɯ�
* Completion::                  ���
* Jump::                        �������
* Changing and Deleting::       ѹ���
* CSS Support::                 ���뷼��
* Customizations::              ���ޤ�����
* Copying::                     ��ī�
* Concept Index::               ��




File: yahtmlj, Node: Intro, Next: Installation, Prev: Top, Up: Top

ϸ��
****************

yahtml� GNU Emacs ��
HTML�����ˢ˨�HTML�������
������ƹ༺�Ԩ��˹����ʯ�weblint��ν����
����ࢫ������URL�ա���͸���馶/�Ἰ��
�ί���� Emacs Ը����
Ԩ��˹��ñ��ǹ�

(��InfoϤ��ǹ(__)�)



File: yahtmlj, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top

��ȼ�
************************
* Menu:

* yahtml�����::      
* lint����/�馶/�Ἰ�弢ĭ����::  
* WWWڼ�ĭ������::   



File: yahtmlj, Node: yahtml��ο����, Next: lint����/�馶/�Ἰ�弢ĭ����, Prev: Installation, Up: Installation

yahtml�����
======================================


`~/.emacs'˼�2���è޹�

     (setq auto-mode-alist
           (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
     (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)

��yahtmlˬ��ա��(`yahtml.el', `yatexlib.el',
`yatexprc.el') �֯ǣ���� load-path
�è޹��ȨТ
`~/src/emacs/yahtml'�֯�Ǣ�Т

     (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path))

��ȷ޹�

  ��������ȥҬ .html
Ǣ�ա���Ը��ȫ���
yahtml
��ɵ�޹�yahtml���˯�ǭ�ȭ�����ν��
�yahtml�����޹�



File: yahtmlj, Node: lint����/�馶/�Ἰ�弢ĭ����, Next: WWWڼ�ĭ������, Prev: yahtml��ο����, Up: Installation

lint����/�馶/�Ἰ�弢ĭ����
==================================================================================================

�ѹ���������ع�ʼ����Χ�����鵷����
��޹(�����թ���)�
`yahtml-www-browser'
             ... �����馶γ��ɾ(netscape)
`yahtml-image-viewer'
             ... �������弢γ��ɾ(xv)
`yahtml-lint-program'
             ... ����ï����γ��ɾ(jweblint)
`yahtml-kanji-code'
             ... htmlա��������



File: yahtmlj, Node: WWWڼ�ĭ������, Prev: lint����/�馶/�Ἰ�弢ĭ����, Up: Installation

WWWڼ�ĭ������
===============================================

ۼ�ڼ����ա�문߹�PATH��ع������޹�
`yahtml-path-url-alist'
             ... ա�뷹����PATH�ȢURL����
`yahtml-directory-index'
             ... URL���ա���ʬ��ȭ˽������ï�
     ա��(NCSA�httpd�� `index.html',
     CERN��� `Welcome.html'��̪)

�� `yahtml-path-url-alist'
�����޹��Т���Ϣ
`/home/yuuji/http/' � `http://localhost/~yuuji'
Dz�ǭ�� ��� `/usr/home/yuuji/www/'
�`http://www.keio.ac.jp/~yuuji/'
Dz�ǭ�����Ƥ����ʼ�����޹�

     (setq yahtml-path-url-alist
           '(("/home/yuuj/http" . "http://localhost/~yuuji")
             ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji")))

�����Ϥ�������Ȭǭ޹�



File: yahtmlj, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top

�����ɯ�
********************************

HTMLա��Ը˫��뤯īγ�������ֳȬǭ޹�
`[prefix] t j'
             ... HTML����ë(jweblint)��
`[prefix] t p'
             ... ���ڼ����ȷ��馶��
`[prefix] t r'
             ... ���ڼ���馶˽���Ƥ�ȭ�reload��



File: yahtmlj, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top

���
****************

������ǭ��begin��ע�section��ע
�large��ע�maketitle��ע֢������
ȴ������������
HTML�����Ϭǭ޹����ο����ˢ
֣����뿰��ע���ǿ�(img��)��ע
�����Ϋ�/�������ע������������ע
ָ������ �
���Ƥ޹��Ϊ��

`[prefix] b (��begin����)'
     ...
          <ul>
          </ul>

     ��˫Ͽ�Ȫ����������񭿤�����ط޹�
     �����ï�����������޹�

`[prefix] s (��section�����)'
     ...
          <img src="foo.gif" alt="photo">

     ��˪���������İ����ǡ����뿰�䰷޹�
     ���ȷ�Ϣimg, input
     ��߷޹�

`[prefix] l (��large�����)'
     ... begin����ܱ�ǹ��

          <big> � </big>

     ������˫�/������쿤ȭ��ѷ޹�

`[prefix] m (��maketitle�����)'
     ... ��Ⱝ����ʤ�����Ϸ޹�<br> 
     �ɬ�������޹�

`[prefix] a (�΢��������)'
     ... ��ƣƣ����������Ϲ�ȭ�Ѥ޹�
     �թ���� < (&lt;), > (&gt;), & (&amp;), "
     (&quot;), ' (&apos;), ��� (&nbsp;)
     ���ϬԨ޹�



File: yahtmlj, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top

�������
********************************
���������

`[prefix] g'
             ... ����ָ���˸���

򡹳���ꢫ������HTML���������˸���
�޹���ظ��߹�����������ʼ��ά��޹�

   * `<TAG>' �� `</TAG>'
   * `<img src="��ա��">' � ����viewer��
   * `<a href="���">' � �����ݤ��ܰ
   * `<applet code="����">' � Java���������ܰ



File: yahtmlj, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top

ѹ/��
*****************

* Menu:

* п��ѹ::                
* ������ѹ::            
* ������URLencode::   
* td��/tr��::               



File: yahtmlj, Node: п��ѹ, Next: ������ѹ, Prev: Changing and Deleting, Up: Changing and Deleting

п��ѹ
========================
���������

`[prefix] c'
             ... ���뿰��ѹ

򡹳���ꢫ������HTML������
�����ѹ�Ԥ޹��������ѹ�����
���ʼ���ǹ�

   * `<TAG>'�`</TAG>'
     ... `TAG' �ѹ
   * `<img src="��ա��" alt="photo">' ��ΰ��
     ... ����ѹ



File: yahtmlj, Node: ������ѹ, Prev: п��ѹ, Up: Changing and Deleting

������ѹ
================================
��ȷ�� < � >
򽽹�ȭϢ�����Ѥ� &lt;
� &gt; Ƚ���׬��޹��
HTMLʰ�ա�����θ����ƭ���������
��ˢ���θ����Ƹ������ѹǭ޹�

`[prefix] ;'
             ... �귿��θ����֭���٭���ֹ
`[prefix] :'
             ... �귿��θ����ȸ������ֹ
     ([prefix] ; ��ѹ)




File: yahtmlj, Node: ������URLencode, Next: td��/tr��, Prev: ������ѹ, Up: Changing and Deleting

������URLencode
=========================================
      [prefix] #
     
     	... �귿���� URLencode
     �٭�����н���
     ��ɽ��ֹ�



File: yahtmlj, Node: td��/tr��, Prev: ������URLencode, Up: Changing and Deleting

td��/tr��
=====================
������񤿽����쳼��
<td> ����Ӥ ��Ͻ�����
<tr> ��ÿ����ѹǭ޹�
      `[prefix] '}
     
     	... ������ˢ�Ǽ���������
             <td>...</td> ���
      `[prefix] ]'
     
     	... ������ˢ���
�td����ɳ�ƫ���Դ��
<tr>...</tr> ���
�թ���������ǹ�����Ѩ�ȭ�
Delimiter:
������������޹��ȨЫ��(,)
�����CSV�����Ȭǭ޹�

tdʰ��Ǥ�Ϊ�� th
��꿤��� universal-argument (`C-u')
�ı��2�γ������޹���������
������ǽ�� th
����Ф�գ���� <th>...</th>
���޹�ⷤ�1գ����� th
Ǥ���� td ��˷��ȭ � thd
��ϷƼ���



File: yahtmlj, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top

CSS(���뷼�)�ݼ�
*************************************************

* Menu:

* CSS-class completion::        
* Reread CSS file::             



File: yahtmlj, Node: CSS-class completion, Next: Reread CSS file, Prev: CSS Support, Up: CSS Support

CSS�鹾�
===========================
HTML��CSS(Cascading Style
Sheets)ί鹾���Ϲ�Ȭǭ޹�
������ȷ�

      h1.foo, h2.foo { background-color: 0xffffff; }
      h1.bar, h2.bar { font-size: 120%; }

����ά�ÿ��ˢh1޿�h2���
[prefix] b � [prefix] l ��
��Ϸ���ˢ���˭�� class
�Ǣ� foo, bar ���ȷ��
�Ϲ�ȬĽǹ�޿

      .caution { font-size: 120%; background-color: 0xc00000;}

��ʴ�Ψ����˯�class�����Ƥ���Ϣ��ο���
�����class���������޹����﷤��Ϩ���Ⱦ�
����ȭ�꿼�(޿�C-m)��ʯ�C-j��class����
����ǭ޹��Ȩ�

      `[prefix] l'                    �⿰��
         (޿�`[prefix] l SPC')
      tt                                  <tt></tt>�쿤��tt���
      `C-m'

ȷ���ϳ�� class=
������Ȭ�޹��

      `[prefix] l'                    �⿰��
         (޿�`[prefix] l SPC')
      tt                                  <tt></tt>�쿤��tt���
      `C-j'

���� `C-j' ��Ϸ���� class
��������޻�



File: yahtmlj, Node: Reread CSS file, Prev: CSS-class completion, Up: CSS Support

CSS��ա����߾�
===============================================
htmlա���Ը��CSS��ա��򤵷��÷�
class����ȷƾ�����޻����Ϣ
`M-x yahtml-mode'
ȷ�Ư����Ư����



File: yahtmlj, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top

���ޤ�
************************

yahtmlΰ�������Ĥ����޹�

* Menu:

* All customizable variables::  ���ޤ�����
* Hook variables::              hook��



File: yahtmlj, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations

���ޤ�����
========================================

 -- Variable: yahtml-prefix
     yahtml-mode ����գ���� (`\C-c')

 -- Variable: yahtml-image-viewer
     imgDzȷƤ���ա��򽨹�ȭ˯������
     (xv)

 -- Variable: yahtml-www-browser
     `[prefix]g'
     ǰ�ڼ�򽨹�ȭ˯����馶
     (netscape)

 -- Variable: yahtml-kanji-code
     �թ�������ɣ1=sjis, 2=jis, 3=euc, 4=utf-8 (2)
     .htaccess ա���
           AddType "text/html; charset=xxx" .html
     έҬ�ÿ��Ͻ�˾�

 -- Variable: yahtml-fill-column
     auto-fill��ȭΫ��� (72)

 -- Variable: yahtml-fill-prefix
     yahtml-mode ǭ�fill-prefix (`nil')

 -- Variable: yahtml-path-url-alist
     OS�ա�뷹�������ѹ�Ȣ�ΰ�����URL�����

 -- Variable: yahtml-directory-index
     ��Т����ա���ʬ��ȭ��թ��ǫ���
     ���ï�ա��ξ�������
     index.html�(`"index.html"')

 -- Variable: yahtml-lint-program
     HTML�������(`"jweblint"')

 -- Variable: yahtml-hate-too-deep-indentation
     ͹ȷ����ĭ�Τ���Ȭ����ȭ�t˹�(`nil')

 -- Variable: yahtml-always-/p
     `<p>' ��鬺 `</p>'
     �������`nil'

 -- Variable: yahtml-p-prefered-env-regexp
     ���� `<p>' ����߷�ĭ�
     (`"^\\(body\\|dl\\|blockquote\\)"')

 -- Variable: yahtml-template-file
     ��HTMLա����˫�������߷�ա�뾣
     `"~/http/template.html"'

 -- Variable: yahtml-prefer-upcases
     ������Ȥ���`nil'

 -- Variable: yahtml-prefer-upcase-attributes
     ���������Ȥ���`nil'

 -- Variable: yahtml-server-type
     Apache�ε����ѷƤ���� 'apache ��ȹ�
     ./.htaccess �ȹ�ɦ�����`'apache'

 -- Variable: yahtml-apache-access-file
     `yahtml-server-type' � `'apache' �ȭ�
     ������ա�����`".htaccess"'

 -- Variable: yahtml-shell-command-option
     ����̳���򯰹�ȭΪ׷��

 -- Variable: yahtml-translate-hyphens-when-comment-region
     ����Ȣ����ȭ��˸߹�Ϥ���
     `&#45;' � ѹ��ɦ��(`t')

 -- Variable: yahtml-entity-reference-chars-alist
     ��ƣƣ��(Entity
     Reference)ǭҹ٭���� `'(?��
     . "��ƣƣ��")'
     Ȥ������
     alist�����թ��� `<', `>', `&', `'',
     `"'
     �й�alist����Ƥ��Ǣ�÷������ҹ���
     ��cdr� `"��ƣƣ��"'
     Ϣ�� `&' � ���`;'
     �����

 -- Variable: yahtml-faithful-to-htmllint
     ����ëȷ� htmllint
     ��ѹ������ȷ���������
     з������Ǣ������ȭ�ϳ����`t'�
     ��

 -- Variable: yahtml-use-css
     CSS�䰡��Ȧ�ɦ� (`t')

 -- Variable: yahtml-image-inspection-bytes
     ��ա��ε�����ȭ�����Ф��
     (`10000')

 -- Variable: yahtml:img-default-alt-format
     <img
     src...>�ALT����թ�ȸ����%x������
     %y����ⵢ%s�ա�뵤��ֹ���
     (`"%xx%y(%sbytes)"')

 -- Variable: yahtml-escape-chars
     href����ȭ˽���URL��ɹ�;
     'ask�ȭ�Χ�ƫ�ֹ�� (`'ask')

 -- Variable: yahtml-use-font-lock
     ���Χű�ñ��ȷ�
     font-lock ��ѹ� (`(featurep 'font-lock)')

 -- Variable: yahtml-use-hilit19
     ���Χű�ñ��ȷ� hilit19
     ��ѹ� (`(featurep 'hilit19)')

 -- Variable: yahtml-indentation-boundary
     �����׻������褭���뵬��
     (`"^\\s *<h[1-3]>"')



File: yahtmlj, Node: Hook variables, Prev: All customizable variables, Up: Customizations

hook��
============




File: yahtmlj, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top

�귤
****************

  �������꼽�Ȧ��ǹ��������ѷƸ�����
����з�����դ���ʤ��ȷ޹�����ط�ϩ¤�
�޻�ﱪ˷�Ư����޿��ѷƤ�����Ǫ�黤
���Ȣ�����ǵݼ�����Ƿ禣

  �����а����Ͽޤ��޹�
��� yuuji@yatex.org ��(2000�12��)�
ѳ���ѷƯ�����������fj�����
�����Ư���������Ĥ����ñ���
`docs/htmlqa'
ա���ֽξ�����������

��Ϣ��ʯ���(�����)ѹ��޹:-p�

                                                          ����




File: yahtmlj, Node: Concept Index, Prev: Copying, Up: Top

��
********

* Menu:

* ���ޤ�[���ޤ�]: Customizations.  4.
* ������[������]: Customizations.  4.
* Demacs:                       Intro.                  4.
* HTML�[HTML�]:           Intro.                  4.
* LaTeX:                        Intro.                  4.
* Mule:                         Intro.                  4.





Tag table:
Node: Top148
Node: Intro617
Node: Installation905
Node: yahtml�����1116
Node: lint����/�馶/�Ἰ�弢ĭ����1784
Node: WWWڼ�ĭ������2330
Node: Command Invocation3122
Node: Completion3465
Node: Jump4470
Node: Changing and Deleting4885
Node: п��ѹ5113
Node: ������ѹ5476
Node: ������URLencode5851
Node: td��/tr��6104
Node: CSS Support6740
Node: CSS-class completion6981
Node: Reread CSS file7989
Node: Customizations8233
Node: All customizable variables8469
Node: Hook variables11568
Node: Copying11684
Node: Concept Index12187

End tag table