diff --git a/docs/htmlqa b/docs/htmlqa index 96ab118..f6d5524 100644 --- a/docs/htmlqa +++ b/docs/htmlqa @@ -39,6 +39,16 @@ �������AEmacs-20 �� XEmacs �̏ꍇ�A�����R�[�h�̃V���{���̗��[��* �͕t���܂���B +�E
} will be automatically inserted. @code{^\(body\|dl\)} +@end defvar + +@defvar yahtml-template-file +File to automatically insert when editing a new HTML file. +@file{"~/http/template.html"} +@end defvar + +@defvar yahtml-prefer-upcases +Use uppercase for tags. @code{nil} +@end defvar + +@defvar yahtml-prefer-upcase-attributes +Use uppercase for attributes. @code{nil} +@end defvar + +@defvar yahtml-server-type +setq to 'apache if using a Apache server, and will refer ./.htaccess. +@code{'apache} +@end defvar + +@defvar yahtml-apache-access-file +When @code{yahtml-server-type} is @code{'apache}, define name of access +restriction file. @file{".htaccess"} +@end defvar + +@defvar yahtml-shell-command-option +Options needed to invoke shell commands. +@end defvar + +@defvar yahtml-translate-hyphens-when-comment-region +Whether to change hyphens to @code{-} when commenting out region. +(@code{t}) +@end defvar + +@defvar yahtml-entity-reference-chars-alist +alist of characters that needs to be written by Entity Reference. Enter +as @code{'(?char . "EntityReference")}. By default, @code{<}, @code{>}, +@code{&}, @code{'}, is set. Add as needed. Do not include @code{&} at +beginning and @code{;} at end of cdr portion of @code{"EntityReference"}. +@end defvar + +@defvar yahtml-faithful-to-htmllint +When using htmllint to check syntax, it will complain about excess spaces. +setq to @code{t} to avoid this. +@end defvar + + +@node Hook variables, , All customizable variables, Customizations +@comment node-name, next, previous, up +@section hook variables + + +@node Copying, Concept Index, Customizations, Top +@comment node-name, next, previous, up +@chapter Copying + +This program is distributed as freesoftware. The author will take no +responsibility to any damages due to the usage of this software +whatsoever. There are no restrictions to its redistribution, just use +common sense. Mail me your thoughts on this program and I will be more +than willing to help. + +Complaints, requests, bug reports and comments are welcome. Make contacts +to yuuji@@yatex.org�@(as of July 1999) + +If you like this program and use it on a regular basis, please join the +mailing list "fj Wild Bird Society". Procedures can be found in the "etc" +section of @file{docs/yahtmlqa} in this package. + + +@flushright +HIROSE, Yuuji +@end flushright + + +@node Concept Index, , Copying, Top +@comment node-name, next, previous, up +@unnumbered Index +@printindex cp + + +@contents + +@bye + +@c Local Variables: +@c fill-column: 74 +@c fill-prefix: nil +@c End: + +Tag table: + +End tag table diff --git a/docs/yahtmlj.tex b/docs/yahtmlj.tex index e9d53d6..287e1af 100644 --- a/docs/yahtmlj.tex +++ b/docs/yahtmlj.tex @@ -7,6 +7,7 @@ @c @syncodeindex fn cp @c Info���čŋߓǂސl���������炵�� @c �܂������I����Ă��܂���B +@c Last modified Mon Nov 29 15:43:04 1999 on buell @syncodeindex vr cp @end iftex @@ -16,7 +17,7 @@ @subtitle Yet Another html-mode for emacs @title �wHTML���x @subtitle // yahtml // -@author @copyright{} 1994-1997 by HIROSE, Yuuji [yuuji@@gentei.org] +@author @copyright{} 1994-1997 by HIROSE, Yuuji [yuuji@@yatex.org] @end titlepage @node Top, Intro, (dir), (dir) @@ -29,6 +30,7 @@ * Completion:: �⊮���� * Jump:: �J�[�\���W�����v * Changing and Deleting:: �ύX�ƍ폜 +* CSS Support:: �X�^�C���V�[�g�⊮ * Customizations:: �J�X�^�}�C�Y�ϐ��ꗗ * Copying:: �Ƃ肠���� * Concept Index:: ���� @@ -221,7 +223,7 @@ @c @item @code{\include(\input)} �� �Ή�����t�@�C�� @end itemize -@node Changing and Deleting, Customizations, Jump, Top +@node Changing and Deleting, CSS Support, Jump, Top @comment node-name, next, previous, up @chapter �ύX/�폜 @@ -249,7 +251,7 @@ @itemize @bullet @item @code{}�`@code{} @dots{} @code{TAG} �̕ύX -@item @code{ alt="photo"} �Ȃǂ̑����l +@item @code{} �Ȃǂ̑����l @dots{} �����l�̕ύX @end itemize @@ -279,8 +281,65 @@ �G���R�[�h�\�L�ɒu���B @end table +@node CSS Support, Customizations, Changing and Deleting, Top +@comment node-name, next, previous, up +@chapter CSS(�X�^�C���V�[�g)�T�|�[�g -@node Customizations, Copying, Changing and Deleting, Top +@menu +* CSS-class completion:: +* Reread CSS file:: +@end menu + +@node CSS-class completion, Reread CSS file, CSS Support, CSS Support +@comment node-name, next, previous, up +@section CSS�N���X���⊮ +HTML����CSS(Cascading Style Sheets)�̃N���X����⊮���͂��邱�Ƃ��ł��܂��B +�X�^�C����`�Ƃ��� + +@display + h1.foo, h2.foo @{ background-color: 0xffffff; @} + h1.bar, h2.bar @{ font-size: 120%; @} +@end display + +�̂悤�Ȃ��̂��������ꍇ�ɁAh1�܂���h2�^�O�� [prefix] b �� [prefix] l �ŕ� +�����͂����ꍇ�ɁA�����ɗL���� class ���ł��� foo, bar �����Ƃ��ĕ⊮ +���͂��邱�Ƃ��\�ł��B�܂� + +@display + .caution @{ font-size: 120%; background-color: 0xc00000;@} +@end display + +�̂悤�ȑS�ẴG�������g�ɓ���class����`����Ă����ꍇ�́A�S�Ẵ^�O�̕� +�����͎���class�Q�Ɠ��͂����߂��܂��B���ꂪ�ς킵���ꍇ�̓G�������g���� +�͊m��̂Ƃ��Ƀ��^�[���L�[(�܂���C-m)�ł͂Ȃ��AC-j��������class�⊮���͂� +�L�����Z���ł��܂��B���Ƃ��� + +@display + @kbd{[prefix] l} �s���^�O�⊮���N�� + (�܂���@kbd{[prefix] l SPC}) + tt �����ꂽ���̂�tt�Ɠ��� + @kbd{C-m} +@end display + +�Ƃ����ꍇ�͑����� class= �ƕ⊮�v�����v�g���o�܂����A + +@display + @kbd{[prefix] l} �s���^�O�⊮���N�� + (�܂���@kbd{[prefix] l SPC}) + tt �����ꂽ���̂�tt�Ɠ��� + @kbd{C-j} +@end display + +�ƍŌ�� @kbd{C-j} �œ��͂����ꍇ�� class �⊮�v�����v�g�͏o�܂���B + +@node Reread CSS file, , CSS-class completion, CSS Support +@comment node-name, next, previous, up +@section CSS��`�t�@�C���̓ǂݒ��� +html�t�@�C����ҏW����CSS��`�t�@�C�����C�����A�lj����� +class��⊮���Ƃ��Ē����ɓǂݍ��܂������ꍇ�́A +@kbd{M-x yahtml-mode} �Ƃ��čċN�����s���Ă��������B + +@node Customizations, Copying, CSS Support, Top @comment node-name, next, previous, up @chapter �J�X�^�}�C�Y @cindex �J�X�^�}�C�Y[�������܂���] @@ -414,7 +473,7 @@ �������ƁA��҂͊��ŃT�|�[�g�ɗ�ނ��Ƃł��傤�B ���A��]�A�o�O�A���z���͊��}�������܂��B -�A���� gentei.org �܂�(1999�N7������)�B +�A���� yuuji@@yatex.org �܂�(1999�N7������)�B �p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�̉�v�� ����������Ă��������B�������@�ɂ��Ă͖{�p�b�P�[�W�� @file{docs/yahtmlqa} �t�@�C���́u���̑��v�̏͂��䗗���������B diff --git a/docs/yatex.ref b/docs/yatex.ref index 17ced41..c6874a9 100644 --- a/docs/yatex.ref +++ b/docs/yatex.ref @@ -159,7 +159,7 @@ ���C���N���[�h�\���u���E�Y [prefix] d �L���Y�� - yuuji@gentei.org + yuuji@yatex.org Local variables: mode: text diff --git a/docs/yatexadd.doc b/docs/yatexadd.doc index 4bd51cf..d215f7b 100644 --- a/docs/yatexadd.doc +++ b/docs/yatexadd.doc @@ -170,4 +170,4 @@ �L���Y�� - yuuji@gentei.org + yuuji@yatex.org diff --git a/docs/yatexe.tex b/docs/yatexe.tex index cb51c73..9981ce2 100644 --- a/docs/yatexe.tex +++ b/docs/yatexe.tex @@ -5,6 +5,7 @@ @iftex @c @syncodeindex fn cp +@c Last modified Thu Mar 16 01:05:41 2000 on firestorm @syncodeindex vr cp @end iftex @@ -14,7 +15,7 @@ @subtitle Yet Another tex-mode for emacs @title Wild Bird @subtitle // YaTeX // -@author @copyright{} 1991-1996 by HIROSE, Yuuji [yuuji@@gentei.org] +@author @copyright{} 1991-1996 by HIROSE, Yuuji [yuuji@@yatex.org] @end titlepage @node Top, What is YaTeX?, (dir), (dir) @@ -292,12 +293,13 @@ @menu * Changing typesetter:: +* Splitting input files:: * Static region for typesetting:: * Lpr format:: * Editing %# notation:: @end menu -@node Changing typesetter, Static region for typesetting, %#notation, %#notation +@node Changing typesetter, Splitting input files, %#notation, %#notation @comment node-name, next, previous, up @section To change the `latex' command or to split a source text. @cindex typesetter @@ -314,6 +316,7 @@ @node Splitting input files, Static region for typesetting, Changing typesetter, %#notation @comment node-name, next, previous, up +@section Splitting input files And if you split the source text and edit subfile that should be included from main text. @@ -343,13 +346,13 @@ @item You can put split texts in sub directory, but not in sub directory of sub directory. @item In the main text, specify the child file name with relative path name - such as \include{chap1/sub}, when you include the file in + such as \include@{chap1/sub@}, when you include the file in a sub-directory. @item In a sub-text, write @code{%#!latex main.tex} even if @file{main.tex} is in the parent directory(not %#!latex ../main.tex). @end itemize -@node Static region for typesetting, Lpr format, Changing typesetter, %#notation +@node Static region for typesetting, Lpr format, Splitting input files, %#notation @comment node-name, next, previous, up @section Static region @cindex static region @@ -625,7 +628,7 @@ @example \???@{@} (default documentstyle): section - \section{???}: Hello world. + \section@{???@}: Hello world. @end example @noindent @@ -652,7 +655,7 @@ and move the cursor in the braces. In La@TeX{} command, there are commands which take more than one -arguments such as @code{\addtolength{\topmargin}{8mm}}. To complete these +arguments such as @code{\addtolength@{\topmargin@}@{8mm@}}. To complete these commands, invoke section-type completion with universal argument as, @cindex number of argument @@ -844,7 +847,7 @@ and you will see @example - \`{} + \`@{@} @end example @noindent @@ -852,7 +855,7 @@ one more character `o' for example, then @example - \`{o} + \`@{o@} @end example @noindent @@ -1817,6 +1820,10 @@ If you use AMS-LaTeX, set to @code{t} (@code{nil}) @end defvar +@defvar YaTeX-use-LaTeX2e +If you use LaTeX2e, set to @code{t} (@code{nil}) +@end defvar + @defvar YaTeX-template-file File name which is automatically inserted at creation (@code{~/work/template.tex}) @@ -1917,11 +1924,11 @@ functions, where underlined strings are generated by add-in functions. @display -\begin{table}[ht] (Function name: YaTeX:table) +\begin@{table@}[ht] (Function name: YaTeX:table) ~~~~ -\put(100,200){} (Function name: YaTeX:put) +\put(100,200)@{@} (Function name: YaTeX:put) ~~~~~~~~~ -\sum_{i=0}^{n} (Function name: YaTeX:sum) +\sum_@{i=0@}^@{n@} (Function name: YaTeX:sum) ~~~~~~~~~~ @end display @@ -1932,7 +1939,7 @@ for section-type commands. @display -\newcommand{\foo}{bar} (Function name: YaTeX::newcommand) +\newcommand@{\foo@}@{bar@} (Function name: YaTeX::newcommand) ~~~~ ~~~ @end display @@ -1955,7 +1962,7 @@ @lisp (defun YaTeX:tabular () - "{|c|c|c|}") + "@{|c|c|c|@}") @end lisp @noindent @@ -1971,7 +1978,7 @@ Emacs-Lisp. The next example reads the tabular format from keyboard. @lisp (defun YaTeX:tabular () - (concat "{" (read-string "Rule: ") "}")) + (concat "@{" (read-string "Rule: ") "@}")) @end lisp @node Defining argument-add-in, , Defining option-add-in, How the add-in function works @@ -2091,7 +2098,7 @@ For example, assume you have the LaTeX command as follows. @example - \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} + \epsinput[t](250,50)@{hoge.eps@}@{plain@}@{Picture of foo@} (A) (B) (1) (2) (3) (A)Optional parameter to specify the position One of t(top), b(bottom), l(left), r(right) @@ -2271,7 +2278,7 @@ redistribute this software freely but with NO warranty to anything as a result of using this software. However, any reports and suggestions are welcome as long as I feel interests in this -software. My possible e-mail address is `yuuji@@gentei.org'. +software. My possible e-mail address is `yuuji@@yatex.org'. (up to May.1999 at least) And there is mailing list for YaTeX. Although the common language is Japanese, questions in English will be welcome. To join the ML, send the mail whose subject is `append' to diff --git a/docs/yatexgen.doc b/docs/yatexgen.doc index b94c936..a510047 100644 --- a/docs/yatexgen.doc +++ b/docs/yatexgen.doc @@ -176,4 +176,4 @@ yatexgen ��������A�낭�Ȋ�����Ȃ����Ƃ͕������Ă܂�:-p�B �L���Y�� - yuuji@gentei.org + yuuji@yatex.org diff --git a/docs/yatexj.tex b/docs/yatexj.tex index faf4486..c425baf 100644 --- a/docs/yatexj.tex +++ b/docs/yatexj.tex @@ -10,6 +10,7 @@ @c �m�[�h���������� C-l C-u C-n �S���̃m�[�h�X�V C-l C-u C-e @c ���j���[���₵���� C-l C-u C-m �S���̃��j���[�X�V C-l C-u C-a @c �t�H�[�}�b�g����Ƃ��� C-l C-e C-b +@c Last modified Thu Mar 16 01:04:48 2000 on firestorm @syncodeindex vr cp @end iftex @@ -19,7 +20,7 @@ @subtitle Yet Another tex-mode for emacs @title �w�쒹�x @subtitle // YaTeX // -@author @copyright{} 1991-1999 by HIROSE, Yuuji [yuuji@@gentei.org] +@author @copyright{} 1991-1999 by HIROSE, Yuuji [yuuji@@yatex.org] @end titlepage @node Top, Intro, (dir), (dir) @@ -125,7 +126,7 @@ �X�g�̕ҏW���x�����܂��B����� La@TeX{} �R�}���h�̃I�����C���w���v�� ���}�j���A���ׂ��Ԃ��y�����܂��B - English manual @xref{Top, , , yatexe,YaTeX English info} + English manual @xref{Top, , , yatexe,YaTeX English info}. @node Terminology, Main features, Intro, Top @comment node-name, next, previous, up @@ -434,7 +435,7 @@ @item ���C���t�@�C������T�u�f�B���N�g�����̃t�@�C���� include ���鎞�ɂ́A���p�X�w���p���āA -@code{\include{chap1/sub}}�̂悤�ɋL�q�B +@code{\include@{chap1/sub@}}�̂悤�ɋL�q�B @item ���C���t�@�C�������̃f�B���N�g���ɂ���ꍇ���A�T�u�t�@�C���ɂ� %#!jlatex main.tex �̂悤�ɋL�q����(../main�ł͂Ȃ�)�B @@ -493,7 +494,7 @@ �̏����Y��ɂ͏\�������Ӊ������B @cindex �����t�@�C���̕ҏW[�Ȃ����ӂ�����̂ւ䂤] -@node Require, lpr format, Fix region for typesetting, %#notation +@c @node Require, lpr format, Fix region for typesetting, %#notation @comment node-name, next, previous, up @node lpr format, Editing %# notation, Fix region for typesetting, %#notation @@ -773,7 +774,7 @@ @subsection 2�ȏ�̈������Ƃ� section�^�R�}���h @cindex ����[�Ђ�����] - �Ƃ���ŁA@samp{\addtolength{\topmargin}{8mm}} �Ȃǂ̂悤�ɁA�������� + �Ƃ���ŁA@samp{\addtolength@{\topmargin@}@{8mm@}} �Ȃǂ̂悤�ɁA�������� �ȏ��� La@TeX{} �R�}���h������܂��B���̂悤�ȃR�}���h�̕⊮���͂ɂ́A section �^�⊮�Ăяo���Ɉ�����t���Ă��������B�Ⴆ�Ώ��@samp{addtolength} �̗�ł���A����2���w�肵�܂��B�܂�A @@ -959,7 +960,7 @@ @end table @noindent -�Ƃ��邱�ƂŁA���݊J���Ă�������� \end{} ������܂��B +�Ƃ��邱�ƂŁA���݊J���Ă�������� \end@{@} ������܂��B @node Accent mark completion, Image completion, end�⊮, Completion @comment node-name, next, previous, up @@ -1235,8 +1236,8 @@ �Ȃ��ꍇ�̓G���[�ɂȂ�܂��B�܂�����́A�̈�Œ�̂��߂� @code{%#BEGIN} �� @code{%#END} �̃y�A�ɑ��Ă����l�ɓ��삵�܂��B�Ȃ��A@code{label/ref}�� @code{cite/bibitem}�Ή�������̂��ʃt�@�C���ɂ��鎞�́A�W�����v��ƂȂ�t�@ -�C�����I�[�v������Ă��Ȃ���Ȃ�܂���B@xref{%#notation} -���C���� .tex �t�@�C���� @code{\include{chap1}} �ȂǂɃJ�[�\�������킹�A +�C�����I�[�v������Ă��Ȃ���Ȃ�܂���B@xref{%#notation}. +���C���� .tex �t�@�C���� @code{\include@{chap1@}} �ȂǂɃJ�[�\�������킹�A @kbd{[prefix] g} �������ƁA@file{chap1.tex} �ɃW�����v���܂��B �܂��A @@ -1538,7 +1539,7 @@ ���̂悤�� tabular �ɂ����āA @example - \begin@{tabular@}{|c|c|c|c|c|c|c|c|}\hline + \begin@{tabular@}@{|c|c|c|c|c|c|c|c|@}\hline ����&����&��&�Z��&�d�b&FAX&�A�Ȑ�&�A�Ȑ�d�b\\ \hline ����Y & 6 & 223 & ���l�s�`�k����g & xxx-yyy & zzz-www & �g���K & 9876-54321 \\ @@ -2018,6 +2019,10 @@ AMS-LaTeX ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{nil}) @end defvar +@defvar YaTeX-use-LaTeX2e +LaTeX2e ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{nil}) +@end defvar + @defvar YaTeX-template-file �V�K�t�@�C���쐬���Ɏ����}������t�@�C���� (@code{~/work/template.tex}) @end defvar @@ -2113,7 +2118,7 @@ �������ƁA��҂͊��ŃT�|�[�g�ɗ�ނ��Ƃł��傤�B ���A��]�A�o�O�A���z���͊��}�������܂��B -�A���� yuuji@@gentei.org �܂�(1999�N5������)�B +�A���� yuuji@@yatex.org �܂�(1999�N8������)�B �p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�̉�v�� ����������Ă��������B�������@�ɂ��Ă͖{�p�b�P�[�W�� @file{docs/qanda} �t�@�C���́u���̑��v�̏͂��䗗���������B diff --git a/docs/yatexref.eng b/docs/yatexref.eng index e0d91bf..a1b341a 100644 --- a/docs/yatexref.eng +++ b/docs/yatexref.eng @@ -155,7 +155,7 @@ *Browse included structure [prefix] d HIROSE Yuuji - yuuji@gentei.org + yuuji@yatex.org Local variables: mode: text diff --git a/help/YATEXHLP.eng b/help/YATEXHLP.eng index a2d6dcc..bf0d343 100644 --- a/help/YATEXHLP.eng +++ b/help/YATEXHLP.eng @@ -1,3 +1,10 @@ +%%% +%%% YaTeX-LaTeX Help File(c)HIROSE Yuuji [yuuji@yatex.org] +%%% You can translate this file for any device other than YaTeX via +%%% any filter program. But it is not allowed to remove copyright +%%% notice and any existing dictionary entiries. +%%% + textfloatsep \addtolength{\textfloatsep}{LENGTH} Length between the text and a float at the top or bottom of page diff --git a/help/YATEXHLP.jp b/help/YATEXHLP.jp index 58eddc0..13f63ff 100644 --- a/help/YATEXHLP.jp +++ b/help/YATEXHLP.jp @@ -1,3 +1,9 @@ +%%% +%%% �쒹-LaTeX�w���v�t�@�C��(c)HIROSE Yuuji [yuuji@yatex.org] +%%% �@�B�I�ɕϊ����Ė쒹�ȊO�̃f�o�C�X�ŗ��p���邱�Ƃ������܂��B +%%% ���̍ۂɃR�s�[���C�g�\���Ɗ܂܂�Ă��鍀�ڂ��폜���Ȃ��ł��������B +%%% + textfloatsep \addtolength{\textfloatsep}{����} �y�[�W�擪��float�܂��́A�y�[�W�ʼn�����float�ƃe�L�X�g�Ƃ̊Ԋu�B @@ -1344,8 +1350,8 @@ Nop.M����(asciinet) �قȂ���ł̐ݒ�̕s����̃��|�[�g�𐔑��������܂����B -jaybird����(asciinet) - �p��ł̃w���v�t�@�C�����쐬���Ē����܂����B +jaybird����(asciinet, bekkoame) + �h�L�������g�̑������p�ĉ������܂����B ���R������(������w) ���{����̓��[�h������̃o�O���p�b�`�Asection-view �̃o�O diff --git a/yahtml.el b/yahtml.el index c7087cf..54d9ab3 100644 --- a/yahtml.el +++ b/yahtml.el @@ -1,6 +1,6 @@ ;;; -*- Emacs-Lisp -*- -;;; (c ) 1994-1999 by HIROSE Yuuji [yuuji@gentei.org] -;;; Last modified Wed Jul 14 18:01:18 1999 on firestorm +;;; (c ) 1994-2000 by HIROSE Yuuji [yuuji@yatex.org] +;;; Last modified Wed Mar 1 23:28:22 2000 on firestorm ;;; $Id$ ;;;[Installation] @@ -175,7 +175,7 @@ "*Alist of unix path name vs. URL name of WWW server. Ex. '((\"/usr/home/yuuji/http\" . \"http://www.comp.ae.keio.ac.jp/~yuuji\") - (\"/usr/home/yuuji/darts/http\" . \"http://darts.comp.ae.keio.ac.jp/~darts\"))") + (\"/home/yuuji/http\" . \"http://www.gentei.org/~yuuji\"))") (defvar yahtml-directory-index "index.html" "*Directory index file name; Consult your site's WWW administrator.") @@ -194,7 +194,7 @@ (defvar yahtml-always-/p nil "*Those who always use
with