diff --git a/docs/yatexe.tex b/docs/yatexe.tex index 4f4ff82..9191cd3 100644 --- a/docs/yatexe.tex +++ b/docs/yatexe.tex @@ -233,7 +233,7 @@ * Editing %# notation:: @end menu -@node Changing typesetter, Static region for typesetting, , %# notation +@node Changing typesetter, Static region for typesetting, %# notation, %# notation @comment node-name, next, previous, up @section To change the `latex' command or to split a source text. @cindex typesetter @@ -410,7 +410,7 @@ * Greek letters completion:: @end menu -@node Begin-type completion, Section-type completion, , Completion +@node Begin-type completion, Section-type completion, Completion, Completion @comment node-name, next, previous, up @section Begin-type completion @cindex begin-type completion @@ -622,7 +622,7 @@ * view-sectioning:: @end menu -@node view-sectioning, , , Section-type completion +@node view-sectioning, , Section-type completion, Section-type completion @comment node-name, next, previous, up @subsection view-sectioning @cindex view sectioning @@ -1017,36 +1017,33 @@ @node Local dictionaries, Updation of @code{\includeonly}, Filling an item, Top @comment node-name, next, previous, up -@chapter Local dictionaries: For nervous users +@chapter Local dictionaries @cindex local dictionaries @cindex nervous users - If you have had the experience that you couldn't concentrate on editing -because you typed miss-spelled word on completion and the registration of -the wrong word to @file{.yatexrc} weighed on your mind. Or if you have -thought that you want YaTeX not to register a local newcommand which goes -only in current text, into the standard user completion dictionary; -@file{.yatexrc}. Write this in your @file{~/.emacs}. + Tables for completion consist of three dictionaries; `standard +dictionary' built in @file{yatex.el}, `user dictionary' for your common +private commands, and `local dictionary' that is effective in a certain +directory. + + When you input the command unknown to YaTeX at a completion in the +minibuffer, YaTeX asks you with the following prompt; + +@example + `foo' is not in table. Register into: U)serTable L)ocal N)one +@end example + +@noindent +In this menu, typing `u' updates your `user dictionary', `l' updates your +local dictionary, and `n' updates no dictionary and throws the word away. + + If you find this switching feature meaningless and bothersome, put the +next expression into your @file{~/.emacs} @lisp - (setq YaTeX-nervous t) + (setq YaTeX-nervous nil) @end lisp - In addition to `standard table' built in yatex.el and `user table' which -is always saved into @file{~/.yatexrc}, the statement above allows you to -use `temporary table' for completion. When you enter a word which is -never seen in these tables, you can select the table in which you want to -save the word; `user table'(UserTable), `temporary table'(TempTable) or -discard it(None). - - But you may want to complete newcommand semi-permanently that is defined -in rather large text as graduation thesis, even if the newcommand is a -local declaration. After setting @code{YaTeX-nervous} to @code{t}, make -an empty file named @file{.yatexrc} (the same name as your user -dictionary). YaTeX will use it as the local dictionary to keep the -contents of temporary completion table. This local dictionary will be -loaded only when you edit the file which exists in the same directory. - @node Updation of @code{\includeonly}, What column?, Local dictionaries, Top @comment node-name, next, previous, up @chapter Updation of @code{\includeonly} @@ -1253,7 +1250,7 @@ * Add-in functions:: @end menu -@node Lisp variables, Add-in functions, , Customizations +@node Lisp variables, Add-in functions, Customizations, Customizations @comment node-name, next, previous, up @section Lisp variables @cindex customizable variables @@ -1279,7 +1276,7 @@ * Hook file:: @end menu -@node All customizable variables, Sample definitions, , Lisp variables +@node All customizable variables, Sample definitions, Lisp variables, Lisp variables @comment node-name, next, previous, up @subsection All customizable variables @cindex all customizable variables diff --git a/docs/yatexj.tex b/docs/yatexj.tex index db965c3..03707b3 100644 --- a/docs/yatexj.tex +++ b/docs/yatexj.tex @@ -30,7 +30,7 @@ * Cursor jump - �J�[�\���W�����v:: * Modifying/Deleting - �ύX/�폜:: * Filling item - item�̌�����:: -* Local dictionary - ���[�J������(�_�o���Ȑl��):: +* Local dictionary - ���[�J������:: * Includeonly - �����includeonly:: * Where am I? - ���͂ǂ�?:: * Intelligent newline - ���܂������s:: @@ -151,7 +151,7 @@ * Print out - �v�����g�A�E�g�p�R�}���h�̋N��:: @end menu -@node Calling typesetter - �^�C�v�Z�b�^�N��, Print out - �v�����g�A�E�g�p�R�}���h�̋N��, , Invocation - �O���R�}���h�̋N�� +@node Calling typesetter - �^�C�v�Z�b�^�N��, Print out - �v�����g�A�E�g�p�R�}���h�̋N��, Invocation - �O���R�}���h�̋N��, Invocation - �O���R�}���h�̋N�� @comment node-name, next, previous, up @section �^�C�v�Z�b�^�N�� @cindex �^�C�v�Z�b�^�N�� @@ -219,7 +219,7 @@ * Editing %# notation - %#�L�@�̕ҏW:: @end menu -@node Changing typesetter - �^�C�v�Z�b�g�p�R�}���h�̕ύX, Splitting input files - ���̓t�@�C������, , %#�L�@ +@node Changing typesetter - �^�C�v�Z�b�g�p�R�}���h�̕ύX, Splitting input files - ���̓t�@�C������, %#�L�@, %#�L�@ @comment node-name, next, previous, up @section �^�C�v�Z�b�g�p�R�}���h�ύX @@ -426,7 +426,7 @@ * Greek letter completion - �M���V�������⊮:: @end menu -@node begin�^�⊮, section�^�⊮, , Completion - �⊮���� +@node begin�^�⊮, section�^�⊮, Completion - �⊮����, Completion - �⊮���� @comment node-name, next, previous, up @section begin�^�⊮ @cindex begin�^�⊮[begin�����ق���] @@ -604,7 +604,7 @@ * view-sectioning - �Z�N�V������؂�̃A�E�g���C���\��:: @end menu -@node 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Input argument without copletion - �������͎��ɕ⊮���Ȃ�, , section�^�⊮ +@node 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Input argument without copletion - �������͎��ɕ⊮���Ȃ�, section�^�⊮, section�^�⊮ @comment node-name, next, previous, up @subsection 2�ˆȏ�̈������Ƃ� section�^�R�}���h @cindex ����[�Ђ�����] @@ -1072,7 +1072,7 @@ ��(�J�[�\���ʒu) @end example -@node Filling item - item�̌�����, Local dictionary - ���[�J������(�_�o���Ȑl��), Modifying/Deleting - �ύX/�폜, Top +@node Filling item - item�̌�����, Local dictionary - ���[�J������, Modifying/Deleting - �ύX/�폜, Top @comment node-name, next, previous, up @chapter item�̌����� @cindex item�̌�����[item�̂������낦] @@ -1107,41 +1107,42 @@ ���̕ϐ��̎w��̎d�����悭������Ȃ��ꍇ�́A�Ǝ��̍��ڗ񋓃R�}���h�̖��O�� @code{@code{"\item"}�Ŏn�܂���̂ɂ��ĉ�����(�Ⴆ��"\itembf"})�B -@node Local dictionary - ���[�J������(�_�o���Ȑl��), Includeonly - �����includeonly, Filling item - item�̌�����, Top +@node Local dictionary - ���[�J������, Includeonly - �����includeonly, Filling item - item�̌�����, Top @comment node-name, next, previous, up -@chapter �_�o���Ȑl�� +@chapter ���[�J������ @cindex ���[�J������[��[���邶����] -@cindex �_�o���Ȑl��[���񂯂����‚ȂЂƂ�] @cindex .yatexrc @cindex �ւ�Ȃ���[�ւ�Ȃ���] - �⊮���͂ŊԈ�����P������Ă��܂��A@file{.yatexrc} �ɕςȒP�ꂪ�L�^�� -���̂��C�ɂȂ��Ă��܂��āA���͂�ҏW�ɏW���ł��Ȃ����Ȃ��B�w�K�������R�} -���h�́A�������Ă��镶�����Œ�`���Ă��郍�[�J���Ȃ��̂Ȃ̂ŁA��͂�W���� -@file{.yatexrc} �ɂ͕ۑ����ė~�����Ȃ��A�Ǝv�������Ƃ̂��邠�Ȃ��B����Ȃ� -�Ȃ��́A@file{~/.emacs} �Ɏ��̈�s�𑫂��Ă��������B + �⊮���͗p�̌��͎O��ނ̎�������\������Ă��܂��B��‚� +@file{yatex.el}�ɑg�ݍ��܂ꂽ�u�W�������v�A������‚̓��[�U���l�I�ɏ�p +����R�}���h��ۑ�����u���[�U�����v�A�����Ă����ЂƂ‚͂���f�B���N�g���� +�̂ݗL���ȃR�}���h��ۑ�����u���[�J�������v�ł��B + + �⊮���͎��ɐV�����P�����ꂽ�ꍇ�ɁA���̒P����ǂ̎����ɓ���邩������ +���܂��B + +@example + `foo' is not in table. Register into: U)serTable L)ocal N)one +@end example + +@noindent +�Ƃ����v�����v�g�ɑ΂��A@kbd{u}�Ɠ�����Ɓu���[�U�����v���A@kbd{l}�Ɠ����� +�ƃ��[�J���������X�V���邱�ƂɂȂ�A@kbd{n}�Ɠ�����ƐV���ȒP����w�K���� +�Ɏ̂Ă邱�ƂɂȂ�܂��B + + �����A���[�J�������̋@�\�͂��炸�A�S�ă��[�U�����̍X�V�݂̂ł悢�ƌ����� +���ɂ�@file{~/.emacs}�ȂǂŁA @lisp - (setq YaTeX-nervous t) + (setq YaTeX-nervous nil) @end lisp @cindex YaTeX-nervous - �ʏ�́A@file{yatex.el} �ɑg�ݍ��܂ꂽ�u�W���e�[�u���v�� -@file{~/.yatexrc} �ɕۑ������u���[�U�e�[�u���v�ɉ����A�u�ꎞ�e�[�u���v�� -�g����悤�ɂȂ�܂��B�����⊮�e�[�u���ɂȂ��P�����ꂽ���ɁA���[�U�e�[ -�u��(UserTable)�A���̓������L���Ȉꎞ�e�[�u���ɕۑ����邩(TempTable)�A�o�� -���Ɏ̂Ă�(None)�����I�ׂ�悤�ɂȂ�܂��B +@noindent +�Ƃ��ĉ������B - �Ƃ��낪�A���_�Ȃǂ̂悤�ɒ����ɓn���ď����傫�Ȃ��̂ɂȂ�ƁA���̘_���� -��`���Ă��郍�[�J���ȃR�}���h�ł����Ă��u���̓������v�ł͂Ȃ��A���̘_���� -�����Ă���Ԃ͕⊮���Ă��炢�������̂ł��B����ȂƂ��́A��L�̕ϐ� -@code{YaTeX-nervous} ��@code{t}�ɃZ�b�g���������ŁA���̘_����u���Ă���f�B -���N�g����@file{.yatexrc}(���[�U�����Ɠ������O�Œ��g�͋�)������Ă��������B -����ƁA���̃t�@�C�������[�J�������Ƃ��Ĉꎞ�e�[�u���̓��e��ۑ����邽�߂� -�p���܂��B�Ȍ�A���̃��[�J�������̑��݂���f�B���N�g���̃t�@�C����ҏW���� -���̂݁A���̎����Ɋ܂܂��⊮��₪�L���ɂȂ�܂��B - -@node Includeonly - �����includeonly, Where am I? - ���͂ǂ�?, Local dictionary - ���[�J������(�_�o���Ȑl��), Top +@node Includeonly - �����includeonly, Where am I? - ���͂ǂ�?, Local dictionary - ���[�J������, Top @comment node-name, next, previous, up @chapter �����includeonly @cindex �����includeonly[�����Ă�includeonly] @@ -1341,7 +1342,7 @@ * Add-in functions - �t���֐�(�A�h�C���֐�):: @end menu -@node Lisp variables - lisp �ϐ�, Add-in functions - �t���֐�(�A�h�C���֐�), , Customizations - �J�X�^�}�C�Y +@node Lisp variables - lisp �ϐ�, Add-in functions - �t���֐�(�A�h�C���֐�), Customizations - �J�X�^�}�C�Y, Customizations - �J�X�^�}�C�Y @comment node-name, next, previous, up @section lisp �ϐ� @cindex prefix�L�[�ύX[prefix���[�ւ񂱂�] @@ -1362,7 +1363,7 @@ * Hook file - hook�p�t�@�C��:: @end menu -@node All customizable variables - �J�X�^�}�C�Y�ϐ��ꗗ, Sample definitions - �J�X�^�}�C�Y�ϐ��ݒ��, , Lisp variables - lisp �ϐ� +@node All customizable variables - �J�X�^�}�C�Y�ϐ��ꗗ, Sample definitions - �J�X�^�}�C�Y�ϐ��ݒ��, Lisp variables - lisp �ϐ�, Lisp variables - lisp �ϐ� @comment node-name, next, previous, up @subsection �J�X�^�}�C�Y�ϐ��ꗗ @cindex �J�X�^�}�C�Y�ϐ��ꗗ[�������܂����ւ񂷂��������] @@ -1470,7 +1471,7 @@ @item YaTeX-nervous -���[�J��������p���鎞 @code{t} (@code{nil}) +���[�J��������p���鎞 @code{t} (@code{t}) @item YaTeX-sectioning-regexp