diff --git a/.hgignore b/.hgignore index a32856f..4e0c3b3 100644 --- a/.hgignore +++ b/.hgignore @@ -5,6 +5,15 @@ .cvsignore [._]win* __emacs -docs/* *.swp trashbox +*.aux +*.cp +*.dvi +*.fn +*.ky +*.log +*.pg +*.toc +*.tp +*.vr diff --git a/.hgtags b/.hgtags index 09f0f72..a9822ea 100644 --- a/.hgtags +++ b/.hgtags @@ -2,4 +2,5 @@ ce2deaceb818dad84bb6a06079cceddeca2f3ef7 yatex-1.74 801593454c59be43ddc14f725c647ab379b44c32 start-branch-for-1.75 6be1692f81cd35d0ea6022840c9f7e28af6c8e66 start-for-1.75 +cb1906082153a03966183a861889f5d96c73d399 start-for-1.76 33c8875f52f9cc99f1f67cbad4e9145171d2d262 yatex-1.75 diff --git a/docs/yahtmle b/docs/yahtmle index 1c6c43e..2ef49f6 100644 --- a/docs/yahtmle +++ b/docs/yahtmle @@ -1,531 +1,535 @@ -Info file: yahtmle, -*-Text-*- -produced by `texinfo-format-buffer' -from file `yahtmle.tex' -using `texinfmt.el' version 2.38 of 3 July 1998. - - - - - - -File: yahtmle, Node: Top, Next: Intro, Prev: (dir), Up: (dir) - -* Menu: - -* Intro:: Introduction -* Installation:: Installing yahtml -* Command Invocation:: Using External Commands -* Completion:: Input with Completion -* Jump:: Moving the Cursor -* Changing and Deleting:: Changing and Deleting -* CSS Support:: Style Sheet Support -* Customizations:: List of Customize Variables -* Copying:: Copyright -* Concept Index:: Index - - - -File: yahtmle, Node: Intro, Next: Installation, Prev: Top, Up: Top - -Introduction -************ - -yahtml is a package to support creating HTML documents on Emacsens. Easy -input of elements (tags) by completion, syntax checking with programs like -weblint, and invoking the appropriate browser or image viewer depending on -the cursor position is its main features. - -(This Info is still incomplete) - - - -File: yahtmle, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top - -Installing yahtml -***************** -* Menu: - -* Setting up yahtml:: -* Setting environments for weblint browsers and image viewers:: -* Setting environment variables for WWW pages:: - - - -File: yahtmle, Node: Setting up yahtml, Next: Setting environments for weblint browsers and image viewers, Prev: Installation, Up: Installation - -Setting up yahtml -================= - - -Add the following to `~/.emacs' - - (setq auto-mode-alist - (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) - (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) - -Next, add to load-path the directory with the yahtml files (`yahtml.el', -`yatexlib.el', `yatexprc.el'). For example, if you put them in -`~/src/emacs/yahtml', - - (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) - -is what you add. - -By this, yahtml will be automatically loaded when editing files with .html -extensions. "yahtml" will be displayed on the mode line if no errors -occurred. - - - -File: yahtmle, Node: Setting environments for weblint browsers and image viewers, Next: Setting environment variables for WWW pages, Prev: Setting up yahtml, Up: Installation - -Setting environments for weblint, browsers, and image viewers -============================================================= - -Check the variables for invoking external commands and modify as needed. -Defaults are in parenthesis. - -`yahtml-www-browser' - ... browser command name (netscape) -`yahtml-image-viewer' - ... image viewer command name (xv) -`yahtml-lint-program' - ... syntax check programs command name (jweblint) -`yahtml-kanji-code' - ... kanji code for HTML files - - - -File: yahtmle, Node: Setting environment variables for WWW pages, Prev: Setting environments for weblint browsers and image viewers, Up: Installation - -Setting environment variables for WWW pages -=========================================== - -Variables regarding path names for files that will be your home page. -`yahtml-path-url-alist' - ... list of matching path name on file system and URLs -`yahtml-directory-index' - ... index file displayed when none is given in URL. Usually - `index.html' on NCSA type httpd and `Welcome.html' on CERN types. - -Examples for `yahtml-path-url-alist'. If `/home/yuuji/http/' is -`http://localhost/~yuuji' at home and `/usr/home/yuuji/www/' is -`http://www.keio.ac.jp/~yuuji/' at work, then - - (setq yahtml-path-url-alist - '(("/home/yuuji/http" . "http://localhost/~yuuji") - ("/usr/home/yuuji/www" . "http://www.keio.ac.jp/~yuuji"))) - -Any number of additions can be made to this list. - - - -File: yahtmle, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top - -Invoking external commands -************************** - -For easy use of commands that are handy when editing HTML files. -`[prefix] t j' - ... Invoke HTML syntax checker (jweblint) -`[prefix] t p' - ... Display current page in browser -`[prefix] t r' - ... Reload current page if browser is already running - - - -File: yahtmle, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top - -Completion Input -**************** - -Completion input of HTML elements is done through the same key strokes as -YaTeX's begin-type completion, section-type completion, large-type -completion, maketitle-type completion, and accent completion. -Corresponding elements in this order is; elements that span multiple -lines, empty elements such as img, tags that start and end in a single -line, elements with no attributes or contents, and special or symbol -entities. - -`[prefix] b (YaTeX begin-type completion)' - ... - - - Completion for elements that the start tag and the end tag span - multiple lines. Mostly block-level elements. - -`[prefix] s (YateX section-type completion)' - ... - photo - - Completion for elements that do not have end tags and require only - attributes. Possible completions are, , . - -`[prefix] l (YaTeX large-type completion)' - ... - - $B!A(B - - Similar to begin-type completion but used for elements that start and - end on a single line. - - -`[prefix] m (YaTeX maketitle-type completion)' - ... Completion for elements without attributes or contents. Possible - completion is
- -`[prefix] a (YaTeX accent completion)' - ... Used to enter special or symbol entities. By default completion - for < (<), > (>), & (&), " ("), ' ('), blank - ( ) is possible. - - - -File: yahtmle, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top - -Cursor Movement -*************** -By using - -`[prefix] g' - ... move to corresponding object - -the cursor will go to the corresponding object according to the context. -Recognized contexts are - - * `' <--> `' - * `' -> invoke viewer - * `' -> move cursor to linked target - * `' -> open Java source - - - -File: yahtmle, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top - -Changing and Deleting -********************* - -* Menu: - -* Changing tags in pairs:: -* Changing entities:: -* URLencoding of strings within region:: - - - -File: yahtmle, Node: Changing tags in pairs, Next: Changing entities, Prev: Changing and Deleting, Up: Changing and Deleting - -Changing tags in pairs -====================== -By using - -`[prefix] c' - ... change tags in matching pairs - -the content can be changed according to the context of the HTML document -where the cursor is located. - - * `'$B!A(B`' - ... change `TAG' element name - * attributes such as `photo' - ... change attributes - - - -File: yahtmle, Node: Changing entities, Next: URLencoding of strings within region, Prev: Changing tags in pairs, Up: Changing and Deleting - -Changing entities -================= -Special characters such as < or > must be written as < and >. Easy -conversion of these characters can be done when importing text from non -HTML files. - - -`[prefix] ;' - ... convert char to special entity in marked region -`[prefix] :' - ... convert special entity to original char in marked region - (reverse of [prefix] ;) - - - - -File: yahtmle, Node: URLencoding of strings within region, Next: td-enclosure/tr-enclosure, Prev: Changing entities, Up: Changing and Deleting - -URLencoding of strings within region -==================================== - -`[prefix] #' - ... encode chars that needs to be URLencoded within region - - - -File: yahtmle, Node: td-enclosure/tr-enclosure, Prev: URLencoding of strings within region, Up: Changing and Deleting - -td-enclosure/tr-enclosure -========================= -If you wan to convert series of field into ... repetitions for -table element, td-enclosure or tr-enclosure is convenient. - - `[prefix] '} - - ... Enclose each field in a region into ...'s. - `[prefix] ]' - - ... Enclose each line in a region into ...'s, with every -line converted to ... repetition. They presume white space as -field separator by default. To change this, enter other delimiting -character for a query. You can convert CSV, for example, into table by -specifying comma(,) as a delimiter. - -If you want to enclose fields with th, call with universal-argument -(`C-u'). Enter `th' to enclose fields with .... The special -answer `thd' means that enclose the only first column with th, and the -rest with td. - - - -File: yahtmle, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top - -CSS(Style Sheets) Support -************************* - -* Menu: - -* CSS-class completion:: -* Reread CSS definition:: - - - -File: yahtmle, Node: CSS-class completion, Next: Reread CSS definition, Prev: CSS Support, Up: CSS Support - -CSS class-name completion -========================= -You can input a class name in your CSS definition with completion. If you -have CSS defined as below; - - h1.foo, h2.foo { background-color: 0xffffff; } - h1.bar, h2.bar { font-size: 120%; } - -when you input h1(or h2) tag with completing-read by [prefix] b or -[prefix] l, yahtml prompts you to input class name with completion from -the words which are effective to h1 or h2. And if you defined global -class like this; - - .caution { font-size: 120%; background-color: 0xc00000;} - -when you input any tags via completing-read, yahtml prompts you to input -class name. If this is bothering, typing `C-j' instead of `RET' (or -`C-m') cancels the next prompt to class name completion. - - - -File: yahtmle, Node: Reread CSS definition, Prev: CSS-class completion, Up: CSS Support - -Re-reading CSS definition -========================= -If you add some class to your CSS file and you want yahtml to load new -definitions, type `M-x yahtml-mode RET' to make yahtml do. - - - -File: yahtmle, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top - -Customizations -************** - -Variables that modify yahtml's behavior. - -* Menu: - -* All customizable variables:: List of customizable variables -* Hook variables:: hook variables - - - -File: yahtmle, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations - -List of customizable variables. Defaults in parenthesis -======================================================== - - -- Variable: yahtml-prefix - Prefix key for yahtml-mode. (`\C-c') - - -- Variable: yahtml-image-viewer - Command to view image files refered by img. (xv) - - -- Variable: yahtml-www-browser - Browser to view external pages with `[prefix]g'. (netscape) - - -- Variable: yahtml-kanji-code - Default kanji code. 1=sjis, 2=jis, 3=euc, 4=utf-8 (2) If AddType - "text/html; charset=xxx" .html is written in .htaccess, this will - override yahtml-kanji-code. - - -- Variable: yahtml-fill-column - Columns to auto-fill (72) - - -- Variable: yahtml-fill-prefix - fill-prefix specific to yahtml-mode. (`nil') - - -- Variable: yahtml-path-url-alist - Matching list of URL and full path name on OS's file system. - - -- Variable: yahtml-directory-index - Default index filed opened when accessing a server without a - filename, usually index.html. (`"index.html"') - - -- Variable: yahtml-lint-program - HTML syntax check program. (`"jweblint"') - - -- Variable: yahtml-hate-too-deep-indentation - setq to t when indentations for nested enumerate elements are too - deep. (`nil') - - -- Variable: yahtml-always-/p - setq to t if you always want `

' after `

'. `nil' - - -- Variable: yahtml-p-prefered-env-regexp - Elements that `

' will be automatically inserted. - (`"^\\(body\\|dl\\|blockquote\\)"') - - -- Variable: yahtml-template-file - File to automatically insert when editing a new HTML file. - `"~/http/template.html"' - - -- Variable: yahtml-prefer-upcases - Use uppercase for tags. `nil' - - -- Variable: yahtml-prefer-upcase-attributes - Use uppercase for attributes. `nil' - - -- Variable: yahtml-server-type - setq to 'apache if using a Apache server, and will refer ./.htaccess. - `'apache' - - -- Variable: yahtml-apache-access-file - When `yahtml-server-type' is `'apache', define name of access - restriction file. `".htaccess"' - - -- Variable: yahtml-shell-command-option - Options needed to invoke shell commands. - - -- Variable: yahtml-translate-hyphens-when-comment-region - Whether to change hyphens to `-' when commenting out region. - (`t') - - -- Variable: yahtml-entity-reference-chars-alist - alist of characters that needs to be written by Entity Reference. - Enter as `'(?char . "EntityReference")'. By default, `<', `>', `&', - `'', is set. Add as needed. Do not include `&' at beginning and `;' - at end of cdr portion of `"EntityReference"'. - - -- Variable: yahtml-faithful-to-htmllint - When using htmllint to check syntax, it will complain about excess - spaces. setq to `t' to avoid this. - - -- Variable: yahtml-use-css - Use style-sheet support or not (`t') - - -- Variable: yahtml-image-inspection-bytes - Number of bytes to inspect the image for geometry information - (`10000') - - -- Variable: yahtml:img-default-alt-format - format of img entity's ALT attributes. %x: width, %y: height, %s: - size in bytes, %c: first comment string, %f: filename - (`"%xx%y(%sbytes)"') - - -- Variable: yahtml-escape-chars - When, completing href-s, Escape reserved characters to URL-encoding - or not. Nil for never, t for everytime, and 'ask for inquiring at - each reserved chars. (`'ask') - - -- Variable: yahtml-use-font-lock - Use font-lock to fontify buffer or not (`(featurep 'font-lock)') - - -- Variable: yahtml-use-hilit19 - Use hilit19 to highlight buffer or not (`(featurep 'hilit19)') - - -- Variable: yahtml-indentation-boundary - Boundary regexp for indentation calculation. (`"^\\s *"') - - - -File: yahtmle, Node: Hook variables, Prev: All customizable variables, Up: Customizations - -hook variables -============== - - - - -File: yahtmle, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top - -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$B!!(B(as of December 2000) - -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 `docs/htmlqa.eng' in this package. - - - HIROSE, Yuuji - - - - -File: yahtmle, Node: Concept Index, Prev: Copying, Up: Top - -Index -***** - -* Menu: - -* Customize: Customizations. 4. -* Demacs: Intro. 4. -* Key Assign: Customizations. 4. -* LaTeX: Intro. 4. -* Mule: Intro. 4. -* yahtml: Intro. 4. - - - - - -Tag table: -Node: Top148 -Node: Intro725 -Node: Installation1123 -Node: Setting up yahtml1404 -Node: Setting environments for weblint browsers and image viewers2195 -Node: Setting environment variables for WWW pages2891 -Node: Command Invocation3862 -Node: Completion4290 -Node: Jump5807 -Node: Changing and Deleting6287 -Node: Changing tags in pairs6538 -Node: Changing entities7033 -Node: URLencoding of strings within region7569 -Node: td-enclosure/tr-enclosure7870 -Node: CSS Support8836 -Node: CSS-class completion9062 -Node: Reread CSS definition9915 -Node: Customizations10190 -Node: All customizable variables10466 -Node: Hook variables14234 -Node: Copying14360 -Node: Concept Index15151 - -End tag table +Info file: yahtmle, -*-Text-*- +produced by `texinfo-format-buffer' +from file `yahtmle.tex' +using `texinfmt.el' version 2.38 of 3 July 1998. + +START-INFO-DIR-ENTRY +* yahtml-e: (yahtmle). Yet Another html-mode for Emacs (English). +END-INFO-DIR-ENTRY + + + + + + +File: yahtmle, Node: Top, Next: Intro, Prev: (dir), Up: (dir) + +* Menu: + +* Intro:: Introduction +* Installation:: Installing yahtml +* Command Invocation:: Using External Commands +* Completion:: Input with Completion +* Jump:: Moving the Cursor +* Changing and Deleting:: Changing and Deleting +* CSS Support:: Style Sheet Support +* Customizations:: List of Customize Variables +* Copying:: Copyright +* Concept Index:: Index + + + +File: yahtmle, Node: Intro, Next: Installation, Prev: Top, Up: Top + +Introduction +************ + +yahtml is a package to support creating HTML documents on Emacsens. Easy +input of elements (tags) by completion, syntax checking with programs like +weblint, and invoking the appropriate browser or image viewer depending on +the cursor position is its main features. + +(This Info is still incomplete) + + + +File: yahtmle, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top + +Installing yahtml +***************** +* Menu: + +* Setting up yahtml:: +* Setting environments for weblint browsers and image viewers:: +* Setting environment variables for WWW pages:: + + + +File: yahtmle, Node: Setting up yahtml, Next: Setting environments for weblint browsers and image viewers, Prev: Installation, Up: Installation + +Setting up yahtml +================= + + +Add the following to `~/.emacs' + + (setq auto-mode-alist + (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) + (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) + +Next, add to load-path the directory with the yahtml files (`yahtml.el', +`yatexlib.el', `yatexprc.el'). For example, if you put them in +`~/src/emacs/yahtml', + + (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) + +is what you add. + +By this, yahtml will be automatically loaded when editing files with .html +extensions. "yahtml" will be displayed on the mode line if no errors +occurred. + + + +File: yahtmle, Node: Setting environments for weblint browsers and image viewers, Next: Setting environment variables for WWW pages, Prev: Setting up yahtml, Up: Installation + +Setting environments for weblint, browsers, and image viewers +============================================================= + +Check the variables for invoking external commands and modify as needed. +Defaults are in parenthesis. + +`yahtml-www-browser' + ... browser command name (netscape) +`yahtml-image-viewer' + ... image viewer command name (xv) +`yahtml-lint-program' + ... syntax check programs command name (jweblint) +`yahtml-kanji-code' + ... kanji code for HTML files + + + +File: yahtmle, Node: Setting environment variables for WWW pages, Prev: Setting environments for weblint browsers and image viewers, Up: Installation + +Setting environment variables for WWW pages +=========================================== + +Variables regarding path names for files that will be your home page. +`yahtml-path-url-alist' + ... list of matching path name on file system and URLs +`yahtml-directory-index' + ... index file displayed when none is given in URL. Usually + `index.html' on NCSA type httpd and `Welcome.html' on CERN types. + +Examples for `yahtml-path-url-alist'. If `/home/yuuji/http/' is +`http://localhost/~yuuji' at home and `/usr/home/yuuji/www/' is +`http://www.keio.ac.jp/~yuuji/' at work, then + + (setq yahtml-path-url-alist + '(("/home/yuuji/http" . "http://localhost/~yuuji") + ("/usr/home/yuuji/www" . "http://www.keio.ac.jp/~yuuji"))) + +Any number of additions can be made to this list. + + + +File: yahtmle, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top + +Invoking external commands +************************** + +For easy use of commands that are handy when editing HTML files. +`[prefix] t j' + ... Invoke HTML syntax checker (jweblint) +`[prefix] t p' + ... Display current page in browser +`[prefix] t r' + ... Reload current page if browser is already running + + + +File: yahtmle, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top + +Completion Input +**************** + +Completion input of HTML elements is done through the same key strokes as +YaTeX's begin-type completion, section-type completion, large-type +completion, maketitle-type completion, and accent completion. +Corresponding elements in this order is; elements that span multiple +lines, empty elements such as img, tags that start and end in a single +line, elements with no attributes or contents, and special or symbol +entities. + +`[prefix] b (YaTeX begin-type completion)' + ... +

+ + Completion for elements that the start tag and the end tag span + multiple lines. Mostly block-level elements. + +`[prefix] s (YateX section-type completion)' + ... + photo + + Completion for elements that do not have end tags and require only + attributes. Possible completions are, , . + +`[prefix] l (YaTeX large-type completion)' + ... + + �` + + Similar to begin-type completion but used for elements that start and + end on a single line. + + +`[prefix] m (YaTeX maketitle-type completion)' + ... Completion for elements without attributes or contents. Possible + completion is
+ +`[prefix] a (YaTeX accent completion)' + ... Used to enter special or symbol entities. By default completion + for < (<), > (>), & (&), " ("), ' ('), blank + ( ) is possible. + + + +File: yahtmle, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top + +Cursor Movement +*************** +By using + +`[prefix] g' + ... move to corresponding object + +the cursor will go to the corresponding object according to the context. +Recognized contexts are + + * `' <--> `' + * `' -> invoke viewer + * `' -> move cursor to linked target + * `' -> open Java source + + + +File: yahtmle, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top + +Changing and Deleting +********************* + +* Menu: + +* Changing tags in pairs:: +* Changing entities:: +* URLencoding of strings within region:: +* td-enclosure/tr-enclosure:: + + + +File: yahtmle, Node: Changing tags in pairs, Next: Changing entities, Prev: Changing and Deleting, Up: Changing and Deleting + +Changing tags in pairs +====================== +By using + +`[prefix] c' + ... change tags in matching pairs + +the content can be changed according to the context of the HTML document +where the cursor is located. + + * `'�``' + ... change `TAG' element name + * attributes such as `photo' + ... change attributes + + + +File: yahtmle, Node: Changing entities, Next: URLencoding of strings within region, Prev: Changing tags in pairs, Up: Changing and Deleting + +Changing entities +================= +Special characters such as < or > must be written as < and >. Easy +conversion of these characters can be done when importing text from non +HTML files. + + +`[prefix] ;' + ... convert char to special entity in marked region +`[prefix] :' + ... convert special entity to original char in marked region + (reverse of [prefix] ;) + + + + +File: yahtmle, Node: URLencoding of strings within region, Next: td-enclosure/tr-enclosure, Prev: Changing entities, Up: Changing and Deleting + +URLencoding of strings within region +==================================== + +`[prefix] #' + ... encode chars that needs to be URLencoded within region + + + +File: yahtmle, Node: td-enclosure/tr-enclosure, Prev: URLencoding of strings within region, Up: Changing and Deleting + +td-enclosure/tr-enclosure +========================= +If you wan to convert series of field into ... repetitions for +table element, td-enclosure or tr-enclosure is convenient. + + `[prefix] }' + + ... Enclose each field in a region into ...'s. + `[prefix] ]' + + ... Enclose each line in a region into ...'s, with every +line converted to ... repetition. They presume white space as +field separator by default. To change this, enter other delimiting +character for a query. You can convert CSV, for example, into table by +specifying comma(,) as a delimiter. + +If you want to enclose fields with th, call with universal-argument +(`C-u'). Enter `th' to enclose fields with .... The special +answer `thd' means that enclose the only first column with th, and the +rest with td. + + + +File: yahtmle, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top + +CSS(Style Sheets) Support +************************* + +* Menu: + +* CSS-class completion:: +* Reread CSS definition:: + + + +File: yahtmle, Node: CSS-class completion, Next: Reread CSS definition, Prev: CSS Support, Up: CSS Support + +CSS class-name completion +========================= +You can input a class name in your CSS definition with completion. If you +have CSS defined as below; + + h1.foo, h2.foo { background-color: 0xffffff; } + h1.bar, h2.bar { font-size: 120%; } + +when you input h1(or h2) tag with completing-read by [prefix] b or +[prefix] l, yahtml prompts you to input class name with completion from +the words which are effective to h1 or h2. And if you defined global +class like this; + + .caution { font-size: 120%; background-color: 0xc00000;} + +when you input any tags via completing-read, yahtml prompts you to input +class name. If this is bothering, typing `C-j' instead of `RET' (or +`C-m') cancels the next prompt to class name completion. + + + +File: yahtmle, Node: Reread CSS definition, Prev: CSS-class completion, Up: CSS Support + +Re-reading CSS definition +========================= +If you add some class to your CSS file and you want yahtml to load new +definitions, type `M-x yahtml-mode RET' to make yahtml do. + + + +File: yahtmle, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top + +Customizations +************** + +Variables that modify yahtml's behavior. + +* Menu: + +* All customizable variables:: List of customizable variables +* Hook variables:: hook variables + + + +File: yahtmle, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations + +List of customizable variables. Defaults in parenthesis +======================================================== + + -- Variable: yahtml-prefix + Prefix key for yahtml-mode. (`\C-c') + + -- Variable: yahtml-image-viewer + Command to view image files refered by img. (xv) + + -- Variable: yahtml-www-browser + Browser to view external pages with `[prefix]g'. (netscape) + + -- Variable: yahtml-kanji-code + Default kanji code. 1=sjis, 2=jis, 3=euc, 4=utf-8 (2) If AddType + "text/html; charset=xxx" .html is written in .htaccess, this will + override yahtml-kanji-code. + + -- Variable: yahtml-fill-column + Columns to auto-fill (72) + + -- Variable: yahtml-fill-prefix + fill-prefix specific to yahtml-mode. (`nil') + + -- Variable: yahtml-path-url-alist + Matching list of URL and full path name on OS's file system. + + -- Variable: yahtml-directory-index + Default index filed opened when accessing a server without a + filename, usually index.html. (`"index.html"') + + -- Variable: yahtml-lint-program + HTML syntax check program. (`"jweblint"') + + -- Variable: yahtml-hate-too-deep-indentation + setq to t when indentations for nested enumerate elements are too + deep. (`nil') + + -- Variable: yahtml-always-/p + setq to t if you always want `

' after `

'. `nil' + + -- Variable: yahtml-p-prefered-env-regexp + Elements that `

' will be automatically inserted. + (`"^\\(body\\|dl\\|blockquote\\)"') + + -- Variable: yahtml-template-file + File to automatically insert when editing a new HTML file. + `"~/http/template.html"' + + -- Variable: yahtml-prefer-upcases + Use uppercase for tags. `nil' + + -- Variable: yahtml-prefer-upcase-attributes + Use uppercase for attributes. `nil' + + -- Variable: yahtml-server-type + setq to 'apache if using a Apache server, and will refer ./.htaccess. + `'apache' + + -- Variable: yahtml-apache-access-file + When `yahtml-server-type' is `'apache', define name of access + restriction file. `".htaccess"' + + -- Variable: yahtml-shell-command-option + Options needed to invoke shell commands. + + -- Variable: yahtml-translate-hyphens-when-comment-region + Whether to change hyphens to `-' when commenting out region. + (`t') + + -- Variable: yahtml-entity-reference-chars-alist + alist of characters that needs to be written by Entity Reference. + Enter as `'(?char . "EntityReference")'. By default, `<', `>', `&', + `'', is set. Add as needed. Do not include `&' at beginning and `;' + at end of cdr portion of `"EntityReference"'. + + -- Variable: yahtml-faithful-to-htmllint + When using htmllint to check syntax, it will complain about excess + spaces. setq to `t' to avoid this. + + -- Variable: yahtml-use-css + Use style-sheet support or not (`t') + + -- Variable: yahtml-image-inspection-bytes + Number of bytes to inspect the image for geometry information + (`10000') + + -- Variable: yahtml:img-default-alt-format + format of img entity's ALT attributes. %x: width, %y: height, %s: + size in bytes, %c: first comment string, %f: filename + (`"%xx%y(%sbytes)"') + + -- Variable: yahtml-escape-chars + When, completing href-s, Escape reserved characters to URL-encoding + or not. Nil for never, t for everytime, and 'ask for inquiring at + each reserved chars. (`'ask') + + -- Variable: yahtml-use-font-lock + Use font-lock to fontify buffer or not (`(featurep 'font-lock)') + + -- Variable: yahtml-use-hilit19 + Use hilit19 to highlight buffer or not (`(featurep 'hilit19)') + + -- Variable: yahtml-indentation-boundary + Boundary regexp for indentation calculation. (`"^\\s *"') + + + +File: yahtmle, Node: Hook variables, Prev: All customizable variables, Up: Customizations + +hook variables +============== + + + + +File: yahtmle, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top + +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 December 2000) + +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 `docs/htmlqa.eng' in this package. + + + HIROSE, Yuuji + + + + +File: yahtmle, Node: Concept Index, Prev: Copying, Up: Top + +Index +***** + +* Menu: + +* Customize: Customizations. 4. +* Demacs: Intro. 4. +* Key Assign: Customizations. 4. +* LaTeX: Intro. 4. +* Mule: Intro. 4. +* yahtml: Intro. 4. + + + + +Tag table: +Node: Top259 +Node: Intro836 +Node: Installation1234 +Node: Setting up yahtml1515 +Node: Setting environments for weblint browsers and image viewers2306 +Node: Setting environment variables for WWW pages3002 +Node: Command Invocation3973 +Node: Completion4401 +Node: Jump5917 +Node: Changing and Deleting6397 +Node: Changing tags in pairs6681 +Node: Changing entities7176 +Node: URLencoding of strings within region7712 +Node: td-enclosure/tr-enclosure8013 +Node: CSS Support8979 +Node: CSS-class completion9205 +Node: Reread CSS definition10058 +Node: Customizations10333 +Node: All customizable variables10609 +Node: Hook variables14377 +Node: Copying14503 +Node: Concept Index15294 + +End tag table diff --git a/docs/yahtmle.tex b/docs/yahtmle.tex index 10fa2d5..528e985 100644 --- a/docs/yahtmle.tex +++ b/docs/yahtmle.tex @@ -2,10 +2,13 @@ \input texinfo @setfilename yahtmle @settitle Yet Another html-mode for Emacs +@direntry +* yahtml-e: (yahtmle). Yet Another html-mode for Emacs (English). +@end direntry @iftex @c @syncodeindex fn cp -@c Last modified Thu Dec 9 16:12:43 2010 on firestorm +@c Last modified Fri May 11 15:42:22 2012 on firestorm @syncodeindex vr cp @end iftex @@ -15,7 +18,7 @@ @subtitle Yet Another html-mode for emacs @title // yahtml // %@subtitle // yahtml // -@author @copyright{} 1994-1997 by HIROSE, Yuuji [yuuji@@yatex.org] +@author @copyright{} 1994-2012 by HIROSE, Yuuji [yuuji@@yatex.org] @end titlepage @node Top, Intro, (dir), (dir) @@ -79,12 +82,12 @@ (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) @end lisp -@noindent +@noindent is what you add. By this, yahtml will be automatically loaded when editing files with .html extensions. "yahtml" will be displayed on the mode line if no errors -occurred. +occurred. @node Setting environments for weblint browsers and image viewers, Setting environment variables for WWW pages, Setting up yahtml, Installation @comment node-name, next, previous, up @@ -115,7 +118,7 @@ @item yahtml-directory-index @dots{} index file displayed when none is given in URL. Usually @file{index.html} on NCSA type httpd and @file{Welcome.html} on - CERN types. + CERN types. @end table Examples for @code{yahtml-path-url-alist}. If @file{/home/yuuji/http/} @@ -179,7 +182,7 @@ attributes. Possible completions are, , . @item [prefix] l (YaTeX large-type completion) -@dots{} +@dots{} @example $B!A(B @@ -203,14 +206,14 @@ @node Jump, Changing and Deleting, Completion, Top @comment node-name, next, previous, up @chapter Cursor Movement -By using +By using @table @kbd @item [prefix] g @dots{} move to corresponding object @end table -@noindent +@noindent the cursor will go to the corresponding object according to the context. Recognized contexts are @@ -230,6 +233,7 @@ * Changing tags in pairs:: * Changing entities:: * URLencoding of strings within region:: +* td-enclosure/tr-enclosure:: @end menu @node Changing tags in pairs, Changing entities, Changing and Deleting, Changing and Deleting @@ -242,7 +246,7 @@ @dots{} change tags in matching pairs @end table -@noindent +@noindent the content can be changed according to the context of the HTML document where the cursor is located. @@ -286,7 +290,7 @@ table element, td-enclosure or tr-enclosure is convenient. @table @kbd - @item [prefix] } + @item [prefix] @} @dots{} Enclose each field in a region into ...'s. @item [prefix] ] @dots{} Enclose each line in a region into ...'s, with @@ -324,7 +328,7 @@ when you input h1(or h2) tag with completing-read by [prefix] b or [prefix] l, yahtml prompts you to input class name with completion from -the words which are effective to h1 or h2. And if you defined +the words which are effective to h1 or h2. And if you defined global class like this; @display diff --git a/docs/yahtmlj b/docs/yahtmlj index b4fdb18..f5f5ddd 100644 --- a/docs/yahtmlj +++ b/docs/yahtmlj @@ -1,542 +1,545 @@ -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:: $(B$O$8$a$K -(B* Installation:: $(B%$%s%9%H!<%k -(B* Command Invocation:: $(B30It%3%^%s%I5/F0 -(B* Completion:: $(BJd40F~NO -(B* Jump:: $(B%+!<%=%k%8%c%s%W -(B* Changing and Deleting:: $(BJQ99$H:o=| -(B* CSS Support:: $(B%9%?%$%k%7!<%HJd40 -(B* Customizations:: $(B%+%9%?%^%$%:JQ?t0lMw -(B* Copying:: $(B$H$j$"$D$+$$ -(B* Concept Index:: $(B:w0z - - - - -(BFile: yahtmlj, Node: Intro, Next: Installation, Prev: Top, Up: Top - -$(B$O$8$a$K -(B******** - -yahtml$(B$O (BGNU Emacs $(B>e$G (BHTML$(BJ8=q$r:n@.$9$k;~$K!"HK;($J(BHTML$(B%?%0$NF~NO$rJd40 -5!G=$K$h$C$F%9%`!<%:$K9T$($k$h$&$K$9$k$@$1$G$J$/!"(Bweblint$(B$J$I$N9=J8%A%'%C -%/%W%m%0%i%`!"%+!<%=%k0LCV$N(BURL$(B$d%U%!%$%kL>$K0MB8$7$?%V%i%&%6(B/$(B%$%a!<%8%t%e!< -%"$N5/F0$J$I$r (BEmacs $(BJT=82hLLCf$+$i9T$($k$h$&$K$9$k%Q%C%1!<%8$G$9!# - -(B($(B$3$N(BInfo$(B$OL$40@.$G$9(B(__)$(B!D(B) - - - -File: yahtmlj, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top - -$(B%$%s%9%H!<%k -(B************ -* Menu: - -* yahtml$(B5/F0$N$?$a$N@_Dj(B:: -* lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B:: -* WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj(B:: - - - -File: yahtmlj, Node: yahtml$(B5/F0$N$?$a$N@_Dj(B, Next: lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Prev: Installation, Up: Installation - -yahtml$(B5/F0$N$?$a$N@_Dj -(B====================== - - -`~/.emacs'$(B$K2<$N(B2$(B9`L\$r2C$($^$9!# - - (B(setq auto-mode-alist - (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) - (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) - -$(Be$N@_Dj$K$h$j!"3HD%;R$, (B.html $(B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$K -(Byahtml $(B$,%m!<%I$5$l$^$9!#(Byahtml$(B$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<( -$,!V(Byahtml$(B!W$KJQ$o$j$^$9!# - - - -(BFile: yahtmlj, Node: lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Next: WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj(B, Prev: yahtml$(B5/F0$N$?$a$N@_Dj(B, Up: Installation - -lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj -(B==================================================== - -$(BMxMQ$9$k30It%W%m%0%i%`$J$I$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ -99$7$^$9(B($(B3g8LFb$O%G%U%)%k%HCM(B)$(B!# -(B`yahtml-www-browser' - ... $(B5/F0$9$k%V%i%&%6$N%3%^%s%IL>(B(netscape) -`yahtml-image-viewer' - ... $(B5/F0$9$k2hA|%S%e!<%"$N%3%^%s%IL>(B(xv) -`yahtml-lint-program' - ... $(B9=J8%A%'%C%/%W%m%0%i%`$N%3%^%s%IL>(B(jweblint) -`yahtml-kanji-code' - ... html$(B%U%!%$%k$N4A;z%3!<%I - - - -(BFile: yahtmlj, Node: WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj(B, Prev: lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Up: Installation - -WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj -(B========================= - -$(B%[!<%`%Z!<%8$H$J$k%U%!%$%k$,B8:_$9$k(BPATH$(BL>$K4X$9$kJQ?t$r@_Dj$7$^$9!# -(B`yahtml-path-url-alist' - ... $(B%U%!%$%k%7%9%F%`>e$N(BPATH$(BL>$H!"(BURL$(B$NBP1~I= -(B`yahtml-directory-index' - ... URL$(B;XDj$G%U%!%$%kL>$r>JN,$7$?$H$-$KI=<($5$l$k%$%s%G%C%/%9 - %U%!%$%kL>(B(NCSA$(B7O(Bhttpd$(B$J$i (B`index.html', CERN$(B7O$J$i(B`Welcome.html'$(B$,0l - HLE*(B) - -$(BJQ?t (B`yahtml-path-url-alist' $(B$N@_DjNc$r<($7$^$9!#Nc$($P!"<+Bp$G$O!" -(B`/home/yuuji/http/' $(B$, (B`http://localhost/~yuuji' $(B$G;2>H$G$-!"?&>l$G$O -(B`/usr/home/yuuji/www/' $(B$,(B`http://www.keio.ac.jp/~yuuji/' $(B$G;2>H$G$-$k$h$& -$K$J$C$F$$$k>l9g$O0J2<$N$h$&$K@_Dj$7$^$9!# - - (B(setq yahtml-path-url-alist - '(("/home/yuuj/http" . "http://localhost/~yuuji") - ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) - -$(B$3$NBP1~AH$O$$$/$i$G$b@_Dj$9$k$3$H$,$G$-$^$9!# - - - -(BFile: yahtmlj, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top - -$(B30It%3%^%s%I5/F0 -(B**************** - -HTML$(B%U%!%$%kJT=8$K$+$+$o$k$$$/$D$+$N%3%^%s%I$rB(:B$K8F$V$3$H$,$G$-$^$9!# -(B`[prefix] t j' - ... HTML$(B9=J8%A%'%C%+(B(jweblint)$(B5/F0 -(B`[prefix] t p' - ... $(B8=:_$N%Z!<%8$rBP>]$H$7$?%V%i%&%65/F0 -(B`[prefix] t r' - ... $(B8=:_$N%Z!<%8$,%V%i%&%6$KI=<($5$l$F$$$k$H$-$N(Breload$(B;XDj - - - -(BFile: yahtmlj, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top - -$(BJd40F~NO -(B******** - -$(B!VLnD;!W$GMxMQ$G$-$k!"!V(Bbegin$(B7?Jd40!W!"!V(Bsection$(B7?Jd40!W!"!V(Blarge$(B7?Jd40!W!" -!V(Bmaketitle$(B7?Jd40!W!"!V%"%/%;%s%HJd40!W$HA4$/F1$8%-!$l$N7?$NJd40$O=g$K!"!VJ#?t9T$KEO$k%?%0F~NO!W!" -!V6uMWAG%?%0(B(img$(B$J$I(B)$(B$NJd40!W!"!V0l9TFb$G$N3+;O(B/$(B=*N;%?%0$NF~NO!W!"!V6uMWAG -6uB0@-%?%0$NF~NO!W!"!VJ8;z;2>HF~NO!W$KBP1~$7$F$$$^$9!#6qBNE*$K$O - -(B`[prefix] b ($(BLnD;$N(Bbegin$(BJd40$KBP1~(B)' - ... -

    -
- - $(B$N$h$&$K3+;O%?%0$H=*N;%?%0$rFs9T$KEO$C$F=q$-$?$$>l9g$NJd40$r;X$7$^$9!# - $*$b$K%V%m%C%/7?%?%0$,Jd408uJd$K4^$^$l$^$9!# - -(B`[prefix] s ($(BLnD;$N(Bsection$(B7?Jd40$KBP1~(B)' - ... - photo - - $(B$N$h$&$K=*N;%?%0$r;}$?$:!"$+$DB0@-CM$N$_$G5!G=$r;XDj$9$k%?%0$rJd40$7 - $^$9!#Jd408uJd$H$7$F$O!"(Bimg, input $(B$,B8:_$7$^$9!# - -(B`[prefix] l ($(BLnD;$N(Blarge$(B7?Jd40$KBP1~(B)' - ... begin$(B7?Jd40$H$[$\F1$8$G$9$,!" - - (B $(B!A (B - - $(B$N$h$&$K0l9TFb$K3+;O(B/$(B=*N;%?%0$rF~$l$?$$$H$-$KMxMQ$7$^$9!# - -(B`[prefix] m ($(BLnD;$N(Bmaketitle$(B7?Jd40$KBP1~(B)' - ... $(BMWAG$bB0@-CM$b;}$?$J$$%?%0$rJd40F~NO$7$^$9!#(B
- $(B$J$I$,Jd408uJd$KAjEv$7$^$9!# - -(B`[prefix] a ($(BLnD;$N%"%/%;%s%HJd40$KBP1~(B)' - ... $(B%(%s%F%#%F%#;2>H$K$h$kJ8;zI=5-$rF~NO$9$k$H$-$KMQ$$$^$9!# - %G%U%)%k%H$G$O (B< (<), > (>), & (&), " ("), ' ('), - $(B%V%i%s%/ (B( ) $(B$NJd40F~NO$,9T$($^$9!# - - - -(BFile: yahtmlj, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top - -$(B%+!<%=%k%8%c%s%W -(B**************** -$(BJ8=qCf$N$$$m$$$m$J>l=j$G - -(B`[prefix] g' - ... $(BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W - -$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$(B9=J8$KBP1~$9$k>l=j$K%8%c%s%W$7$^$9!#BP -1~4X78$,B8:_$9$k$H2r' $(B"+"* (B`' - * `' $(B"* BP1~$9$k(Bviewer$(B5/F0 - (B* `' $(B"* %j%s%/@h$X$N%]%$%s%H0\F0 - (B* `' $(B"* (BJava$(B%=!<%9%W%m%0%i%`$X$N0\F0 - - - -(BFile: yahtmlj, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top - -$(BJQ99(B/$(B:o=| -(B********* - -* Menu: - -* $(BBP%?%0$NJQ99(B:: -* $(BJ8;z;2>H$X$NJQ99(B:: -* $(B%j%8%g%sFbJ8;z$N(BURLencode:: -* td$(B3g$j(B/tr$(B3g$j(B:: - - - -File: yahtmlj, Node: $(BBP%?%0$NJQ99(B, Next: $(BJ8;z;2>H$X$NJQ99(B, Prev: Changing and Deleting, Up: Changing and Deleting - -$(BBP%?%0$NJQ99 -(B============ -$(BJ8=qCf$N$$$m$$$m$J>l=j$G - -(B`[prefix] c' - ... $(BBP1~$9$k%?%0Ey$rJQ99 - -$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$(B9=J8$K1~$8$?5-=RFbMF$NJQ99$r9T$$$^$9!# -%+!<%=%k0LCV$HJQ99$9$kFbMF$NBP1~$O0J2<$NDL$j$G$9!# - - (B* `'$(B!A(B`' - ... `TAG' $(B$NJQ99 - (B* `photo' $(B$J$I$NB0@-CM - (B... $(BB0@-CM$NJQ99 - - - -(BFile: yahtmlj, Node: $(BJ8;z;2>H$X$NJQ99(B, Prev: $(BBP%?%0$NJQ99(B, Up: Changing and Deleting - -$(BJ8;z;2>H$X$NJQ99 -(B================ -$(BJ8;z$H$7$F$N (B< $(B$d (B> $(B$rI=8=$9$k$H$-$O!"J8;z;2>H$rMQ$$$F(B< $(B$d (B> $(B$HI=5- -$9$kI,MW$,$"$j$^$9$,!"(BHTML$(B0J30$N%U%!%$%k$+$i$3$l$i$NJ8;z$r4^$`%F%-%9%H$rD% -$j9~$s$@>l9g$J$I$K!"$3$l$i$NJ8;z$r0l3g$7$FJ8;z;2>H7A<0$KJQ49$G$-$^$9!# - -(B`[prefix] ;' - ... $(B;XDj$7$?NN0h$NJ8;z;2>H$KCV$-49$($k$Y$-J8;z$NCV49 -(B`[prefix] :' - ... $(B;XDj$7$?NN0h$NJ8;z;2>H$r;2>HJ8;z$=$N$b$N$KCV49(B([prefix] ; - $(B$N5UJQ49(B) - - - - -File: yahtmlj, Node: $(B%j%8%g%sFbJ8;z$N(BURLencode, Next: td$(B3g$j(B/tr$(B3g$j(B, Prev: $(BJ8;z;2>H$X$NJQ99(B, Up: Changing and Deleting - -$(B%j%8%g%sFbJ8;z$N(BURLencode -========================= - [prefix] # - - ... $(B;XDj$7$?NN0hFb$K (BURLencode $(B$9$Y$-J8;z$,$"$l$P$=$l$i$r%(%s - %3!<%II=5-$KCV49!# - - - -(BFile: yahtmlj, Node: td$(B3g$j(B/tr$(B3g$j(B, Prev: $(B%j%8%g%sFbJ8;z$N(BURLencode, Up: Changing and Deleting - -td$(B3g$j(B/tr$(B3g$j -(B============= -$(B6uGr6h@Z$j$G=q$$$?I=7A<0$N9T%l%3!<%I$r (B $(B3g$j$NJB$S!$$"$k$$$O$=$l$i$r$5 -$i$K (B $(B$G3g$C$?9TJB$S$KJQ49$G$-$^$9!# - (B`[prefix] '} - - ... $(B8=:_$N%j%8%g%s$K$"$k%G!<%?$r6uGr6h@Z$j$4$H$K - (B... $(B$G3g$k - (B`[prefix] ]' - - ... $(B8=:_$N%j%8%g%s$K$"$k9T$r>e5-(Btd$(B3g$j$r$[$I$3$7$F$+$i$5$i$K9T$4$H -$K (B... $(B$G3g$k%G%U%)%k%H$G$O6uGr6h@Z$j$G$9$,!$$3$l$rJQ$($k$H$-$O -(BDelimiter: $(B$NLd$$9g$o$;$K6h@Z$jJ8;z$r;XDj$7$^$9!#$?$H$($P%+%s%^(B(,) $(B$r;XDj -$9$k$H(BCSV$(B$+$iI=$r:n$k$3$H$,$G$-$^$9!# - -(Btd$(B0J30$NMWAG!$6qBNE*$K$O (Bth $(B$G3g$j$?$$>l9g$O (Buniversal-argument (`C-u') $(B$r -$D$1$F>e5-(B2$(B$D$N%3%^%s%I$r8F$S$^$9!#$I$NMWAG$G3g$k$+$N... $(B$G3g$j$^$9!#$b$7!$Bh(B1$(B%U%#!< -%k%I$N$_ (Bth $(B$G!$;D$j$rA4It (Btd $(B3g$j$K$7$?$$$H$-$O (Bthd $(B$HF~NO$7$F2<$5$$!# - - - -(BFile: yahtmlj, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top - -CSS($(B%9%?%$%k%7!<%H(B)$(B%5%]!<%H -(B*************************** - -* Menu: - -* CSS-class completion:: -* Reread CSS file:: - - - -File: yahtmlj, Node: CSS-class completion, Next: Reread CSS file, Prev: CSS Support, Up: CSS Support - -CSS$(B%/%i%9L>Jd40 -(B=============== -HTML$(B20$O(BCSS(Cascading Style Sheets)$(B$N%/%i%9L>$rJd40F~NO$9$k$3$H$,$G$-$^$9!# -%9%?%$%kDj5A$H$7$F - - (Bh1.foo, h2.foo { background-color: 0xffffff; } - h1.bar, h2.bar { font-size: 120%; } - -$(B$N$h$&$J$b$N$,$"$C$?>l9g$K!"(Bh1$(B$^$?$O(Bh2$(B%?%0$r (B[prefix] b $(B$d (B[prefix] l $(B$GJd -40F~NO$7$?>l9g$K!"$=$l$i$KM-8z$J (Bclass $(BL>$G$"$k (Bfoo, bar $(B$r8uJd$H$7$FJd40 -F~NO$9$k$3$H$,2DG=$G$9!#$^$? - - (B.caution { font-size: 120%; background-color: 0xc00000;} - -$(B$N$h$&$JA4$F$N%(%l%a%s%H$KF/$/(Bclass$(B$,Dj5A$5$l$F$$$?>l9g$O!"A4$F$N%?%0$NJd -40F~NO;~$K(Bclass$(B;2>HF~NO$r5a$a$i$l$^$9!#$3$l$,HQ$o$7$$>l9g$O%(%l%a%s%HL>F~ -NO3NDj$N$H$-$K%j%?!<%s%-!<(B($(B$^$?$O(BC-m)$(B$G$O$J$/!"(BC-j$(B$r2!$;$P(Bclass$(BJd40F~NO$r -%-%c%s%;%k$G$-$^$9!#$?$H$($P - - (B`[prefix] l' $(B9TFb%?%0Jd40$r5/F0 - (B($(B$^$?$O(B`[prefix] l SPC') - tt $(B$r$$$l$?$$$N$G(Btt$(B$HF~NO - (B`C-m' - -$(B$H$7$?>l9g$OB3$$$F (Bclass= $(B$HJd40%W%m%s%W%H$,=P$^$9$,!" - - (B`[prefix] l' $(B9TFb%?%0Jd40$r5/F0 - (B($(B$^$?$O(B`[prefix] l SPC') - tt $(B$r$$$l$?$$$N$G(Btt$(B$HF~NO - (B`C-j' - -$(B$H:G8e$r (B`C-j' $(B$GF~NO$7$?>l9g$O (Bclass $(BJd40%W%m%s%W%H$O=P$^$;$s!# - - - -(BFile: yahtmlj, Node: Reread CSS file, Prev: CSS-class completion, Up: CSS Support - -CSS$(BDj5A%U%!%$%k$NFI$_D>$7 -(B========================= -html$(B%U%!%$%k$rJT=8Cf$K(BCSS$(BDj5A%U%!%$%k$r=$@5$7!"DI2C$7$?(Bclass$(B$rJd408uJd$H$7 -$FD>$A$KFI$_9~$^$;$?$$>l9g$O!"(B`M-x yahtml-mode' $(B$H$7$F:F5/F0$r9T$C$F$/$@$5 -$$!# - - - -(BFile: yahtmlj, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top - -$(B%+%9%?%^%$%: -(B************ - -yahtml$(B$NF0:n$r@)8f$9$kJQ?t$K$D$$$F@bL@$7$^$9!# - -(B* Menu: - -* All customizable variables:: $(B%+%9%?%^%$%:JQ?t0lMw -(B* Hook variables:: hook$(BJQ?t - - - -(BFile: yahtmlj, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations - -$(B%+%9%?%^%$%:JQ?t0lMw -(B==================== - - -- Variable: yahtml-prefix - yahtml-mode $(BCf$N%W%j%U%#%/%9%-!< (B(`\C-c') - - -- Variable: yahtml-image-viewer - img$(B$G;2>H$7$F$$$k2hA|%U%!%$%k$rI=<($9$k$H$-$K5/F0$9$k%3%^%s%I (B(xv) - - -- Variable: yahtml-www-browser - `[prefix]g' $(B$G30It%Z!<%8$rI=<($9$k$H$-$K5/F0$9$k%V%i%&%6 (B(netscape) - - -- Variable: yahtml-kanji-code - $(B%G%U%)%k%H$N4A;z%3!<%I!#(B1=sjis, 2=jis, 3=euc, 4=utf-8 (2) - .htaccess $(B%U%!%$%k$K - (BAddType "text/html; charset=xxx" .html $(B$N5-=R$,$"$C$?>l9g$O$=$l - $K=>$& - - (B-- Variable: yahtml-fill-column - auto-fill$(B$9$k$H$-$N%+%i%`?t (B(72) - - -- Variable: yahtml-fill-prefix - yahtml-mode $(B8GM-$N(Bfill-prefix (`nil') - - -- Variable: yahtml-path-url-alist - OS$(B$N%U%!%$%k%7%9%F%`>e$G$N%U%k%Q%9L>$H!"$=$N30It8x3+;~$N(BURL$(B$NBP1~I=!# - - (B-- Variable: yahtml-directory-index - $(B%5!<%P%"%/%;%9;~%U%!%$%kL>$r>JN,$7$?$H$-$K%G%U%)%k%H$G3+$+$l$k%$%s%G%C - %/%9%U%!%$%k$NL>A0!#B?$/$N>l9g (Bindex.html$(B!#(B(`"index.html"') - - -- Variable: yahtml-lint-program - HTML$(B9=J8%A%'%C%/%W%m%0%i%`!#(B(`"jweblint"') - - -- Variable: yahtml-hate-too-deep-indentation - $(B%M%9%H$7$?Ns5s7O4D6-$G$N%$%s%G%s%H$,?<$9$.$k$H$-$K(Bt$(B$K$9$k!#(B(`nil') - - -- Variable: yahtml-always-/p - `

' $(B$r$$$l$?$iI,$: (B`

' $(B$7$?$$?M8~$1!#(B`nil' - - -- Variable: yahtml-p-prefered-env-regexp - $(B<+F0E*$K (B`

' $(B$rF~$l$FM_$7$$4D6-!# - (B(`"^\\(body\\|dl\\|blockquote\\)"') - - -- Variable: yahtml-template-file - $(B?75,(BHTML$(B%U%!%$%k:n@.;~$K<+F0E*$KA^F~$7$FM_$7$$%U%!%$%kL>!# - (B`"~/http/template.html"' - - -- Variable: yahtml-prefer-upcases - $(B%?%0$KBgJ8;z$r;H$$$?$$!#(B`nil' - - -- Variable: yahtml-prefer-upcase-attributes - $(BB0@-;XDj;R$KBgJ8;z$r;H$$$?$$!#(B`nil' - - -- Variable: yahtml-server-type - Apache$(B7O$N%5!<%P$rMxMQ$7$F$$$k>l9g$O (B'apache $(B$r%;%C%H$9$k!# - (B./.htaccess $(B$r;2>H$9$k$+$I$&$+$r7hDj$9$k!#(B`'apache' - - -- Variable: yahtml-apache-access-file - `yahtml-server-type' $(B$, (B`'apache' $(B$N$H$-$K%"%/%;%9@)8B%U%!%$%kL>$r;X - Dj!#(B`".htaccess"' - - -- Variable: yahtml-shell-command-option - $(B%7%'%k$GJL%3%^%s%I$r5/F0$9$k$H$-$N%*%W%7%g%s!# - - (B-- Variable: yahtml-translate-hyphens-when-comment-region - $(BNN0h%3%a%s%H%"%&%H$r$9$k$H$-$K4{$KB8:_$9$k%O%$%U%s$r (B`-' $(B$KJQ99$9 - $k$+$I$&$+!#(B(`t') - - -- Variable: yahtml-entity-reference-chars-alist - $(B%(%s%F%#%F%#;2>H(B(Entity Reference)$(B$G5-=R$9$Y$-J8;z72$r(B`'(?$(BJ8;z (B. "$(B%( - %s%F%#%F%#I=5-(B")' $(B$H$$$&7A<0$rNs5s$7$?(Balist$(B$GJB$Y$k!#%G%U%)%k%H$G - (B`<', `>', `&', `'', `"' $(B$KBP$9$k(Balist$(B$,@_Dj$5$l$F$$$k$N$G!"DI2C$7$?$$ - J,$@$1$r5-=R$9$l$PNI$$!#(Bcdr$(BIt (B`"$(B%(%s%F%#%F%#I=5-(B"' $(B$O!"@hF,$N (B`&' $(B$H - KvHx$N(B`;' $(B$O4^$a$:$K=q$/!# - - (B-- Variable: yahtml-faithful-to-htmllint - $(B9=J8%A%'%C%+$H$7$F (Bhtmllint $(B$rMxMQ$9$k>l9g$A$g$C$H$7$?M>7W$J6uGr$J$I - $KBP$7$F$b7Y9p$r<($9$N$G!"$3$l$r2sHr$9$k$H$-$K$O$3$NJQ?t$r(B`t'$(B$K$9$k!# - - (B-- Variable: yahtml-use-css - CSS$(B$NJd405!G=$r;H$&$+$I$&$+ (B(`t') - - -- Variable: yahtml-image-inspection-bytes - $(B2hA|%U%!%$%k$N%5%$%:$rD4$Y$k$H$-$KFI$_9~$`%P%$%H?t (B(`10000') - - -- Variable: yahtml:img-default-alt-format - $(B$N(BALT$(BB0@-$N%G%U%)%k%HJ8;zNs$N=q<0!#(B%x$(B$O2hA|$NI}!"(B%y$(B$O2hA| - $N9b$5!"(B%s$(B$O%U%!%$%k%5%$%:$KCV49$5$l$k (B(`"%xx%y(%sbytes)"') - - -- Variable: yahtml-escape-chars - href$(BJd40$J$I$N$H$-$KM=LsJ8;z$r(BURL$(B%(%s%3!<%I$9$k$+(B; 'ask$(B$N$H$-$O3NG'$7 - $F$+$iCV49$9$k (B(`'ask') - - -- Variable: yahtml-use-font-lock - $(B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F (Bfont-lock $(B$rMxMQ$9$k$+(B(`(featurep - 'font-lock)') - - -- Variable: yahtml-use-hilit19 - $(B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F (Bhilit19 $(B$rMxMQ$9$k$+(B(`(featurep - 'hilit19)') - - -- Variable: yahtml-indentation-boundary - $(B%$%s%G%s%H7W;;$rBG$A@Z$C$F$h$$6-3&$H$J$k@55,I=8=(B(`"^\\s *"') - - - -File: yahtmlj, Node: Hook variables, Prev: All customizable variables, Up: Customizations - -hook$(BJQ?t -(B======== - - - - -File: yahtmlj, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top - -$(B:\Ey$K4X$7$F$O@)8B$$$? -$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$ -$?$@$/$H!":np!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#O"Mm$O (Byuuji@yatex.org $(B$^ -$G(B(2000$(BG/(B12$(B7n8=:_(B)$(B!#7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$(BLnD;$N -2q!W$K@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N (B`docs/htmlqa' -$(B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!# - -;EMM$O!"M=9p$J$/3NH$X$NJQ99(B5300 -Node: $(B%j%8%g%sFbJ8;z$N(BURLencode5658 -Node: td$(B3g$j(B/tr$(B3g$j(B5890 -Node: CSS Support6519 -Node: CSS-class completion6738 -Node: Reread CSS file7734 -Node: Customizations7956 -Node: All customizable variables8180 -Node: Hook variables11178 -Node: Copying11290 -Node: Concept Index11793 - -End tag table +Info file: yahtmlj, -*-Text-*- +produced by `texinfo-format-buffer' +from file `yahtmlj.tex' +using `texinfmt.el' version 2.38 of 3 July 1998. + +START-INFO-DIR-ENTRY +* yahtml: (yahtmlj). Yet Another html-mode for Emacs (Japanese). +END-INFO-DIR-ENTRY + + + + + + +File: yahtmlj, Node: Top, Next: Intro, Prev: (dir), Up: (dir) + +* Menu: + +* Intro:: �͂��߂� +* Installation:: �C���X�g�[�� +* Command Invocation:: �O���R�}���h�N�� +* Completion:: �⊮���� +* Jump:: �J�[�\���W�����v +* Changing and Deleting:: �ύX�ƍ폜 +* CSS Support:: �X�^�C���V�[�g�⊮ +* Customizations:: �J�X�^�}�C�Y�ϐ��ꗗ +* Copying:: �Ƃ肠�‚��� +* Concept Index:: ���� + + + + +File: yahtmlj, Node: Intro, Next: Installation, Prev: Top, Up: Top + +�͂��߂� +******** + +yahtml�� GNU Emacs ��� HTML�������쐬���鎞�ɁA�ɎG��HTML�^�O�̓��͂�⊮ +�@�\�ɂ���ăX���[�Y�ɍs����悤�ɂ��邾���łȂ��Aweblint�Ȃǂ̍\���`�F�b +�N�v���O�����A�J�[�\���ʒu��URL��t�@�C�����Ɉˑ������u���E�U/�C���[�W�����[ +�A�̋N���Ȃǂ� Emacs �ҏW��ʒ�����s����悤�ɂ���p�b�P�[�W�ł��B + +(����Info�͖������ł�(__)�c) + + + +File: yahtmlj, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top + +�C���X�g�[�� +************ +* Menu: + +* yahtml�N���̂��߂̐ݒ�:: +* lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�:: +* WWW�y�[�W�‹��p�ϐ��̐ݒ�:: + + + +File: yahtmlj, Node: yahtml�N���̂��߂̐ݒ�, Next: lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, Prev: Installation, Up: Installation + +yahtml�N���̂��߂̐ݒ� +====================== + + +`~/.emacs'�ɉ���2���ڂ������܂��B + + (setq auto-mode-alist + (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) + (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) + +����yahtml�ɕK�v�ȃt�@�C��(`yahtml.el', `yatexlib.el', `yatexprc.el') ��u +���f�B���N�g���� load-path �ɉ����܂��B���Ƃ��΁A `~/src/emacs/yahtml'�ɒu +���̂ł���΁A + + (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) + +�ȂǂƂ��܂��B + + �ȏ�̐ݒ�ɂ��A�g���q�� .html �ł���t�@�C����ҏW����Ǝ����I�� +yahtml �����[�h����܂��Byahtml������ɋN���ł����Ƃ��̓��[�h���C���̕\�� +���uyahtml�v�ɕς��܂��B + + + +File: yahtmlj, Node: lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, Next: WWW�y�[�W�‹��p�ϐ��̐ݒ�, Prev: yahtml�N���̂��߂̐ݒ�, Up: Installation + +lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ� +==================================================== + +���p����O���v���O�����ȂǂɊւ���ȉ��̕ϐ����m�F���A�K�v�Ȃ琳�����l�ɕ� +�X���܂�(���ʓ��̓f�t�H���g�l)�B +`yahtml-www-browser' + ... �N������u���E�U�̃R�}���h��(netscape) +`yahtml-image-viewer' + ... �N������摜�r���[�A�̃R�}���h��(xv) +`yahtml-lint-program' + ... �\���`�F�b�N�v���O�����̃R�}���h��(jweblint) +`yahtml-kanji-code' + ... html�t�@�C���̊����R�[�h + + + +File: yahtmlj, Node: WWW�y�[�W�‹��p�ϐ��̐ݒ�, Prev: lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, Up: Installation + +WWW�y�[�W�‹��p�ϐ��̐ݒ� +========================= + +�z�[���y�[�W�ƂȂ�t�@�C�������݂���PATH���Ɋւ���ϐ���ݒ肵�܂��B +`yahtml-path-url-alist' + ... �t�@�C���V�X�e�����PATH���ƁAURL�̑Ή��\ +`yahtml-directory-index' + ... URL�w��Ńt�@�C�������ȗ������Ƃ��ɕ\�������C���f�b�N�X + �t�@�C����(NCSA�nhttpd�Ȃ� `index.html', CERN�n�Ȃ�`Welcome.html'���� + �ʓI) + +�ϐ� `yahtml-path-url-alist' �̐ݒ��������܂��B�Ⴆ�΁A����ł́A +`/home/yuuji/http/' �� `http://localhost/~yuuji' �ŎQ�Ƃł��A�E��ł� +`/usr/home/yuuji/www/' ��`http://www.keio.ac.jp/~yuuji/' �ŎQ�Ƃł���悤 +�ɂȂ��Ă���ꍇ�͈ȉ��̂悤�ɐݒ肵�܂��B + + (setq yahtml-path-url-alist + '(("/home/yuuj/http" . "http://localhost/~yuuji") + ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) + +���̑Ή��g�͂�����ł��ݒ肷�邱�Ƃ��ł��܂��B + + + +File: yahtmlj, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top + +�O���R�}���h�N�� +**************** + +HTML�t�@�C���ҏW�ɂ�����邢���‚��̃R�}���h�𑦍��ɌĂԂ��Ƃ��ł��܂��B +`[prefix] t j' + ... HTML�\���`�F�b�J(jweblint)�N�� +`[prefix] t p' + ... ���݂̃y�[�W��ΏۂƂ����u���E�U�N�� +`[prefix] t r' + ... ���݂̃y�[�W���u���E�U�ɕ\������Ă���Ƃ���reload�w�� + + + +File: yahtmlj, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top + +�⊮���� +******** + +�u�쒹�v�ŗ��p�ł���A�ubegin�^�⊮�v�A�usection�^�⊮�v�A�ularge�^�⊮�v�A +�umaketitle�^�⊮�v�A�u�A�N�Z���g�⊮�v�ƑS�������L�[����őΉ�����HTML�^ +�O�̕⊮���͂��ł��܂��B���ꂼ��̌^�̕⊮�͏��ɁA�u�����s�ɓn��^�O���́v�A +�u��v�f�^�O(img�Ȃ�)�̕⊮�v�A�u��s���ł̊J�n/�I���^�O�̓��́v�A�u��v�f +�󑮐��^�O�̓��́v�A�u�����Q�Ɠ��́v�ɑΉ����Ă��܂��B��̓I�ɂ� + +`[prefix] b (�쒹��begin�⊮�ɑΉ�)' + ... +

    +
+ + �̂悤�ɊJ�n�^�O�ƏI���^�O���s�ɓn���ď��������ꍇ�̕⊮���w���܂��B + �����Ƀu���b�N�^�^�O���⊮���Ɋ܂܂�܂��B + +`[prefix] s (�쒹��section�^�⊮�ɑΉ�)' + ... + photo + + �̂悤�ɏI���^�O���������A���‘����l�݂̂ŋ@�\���w�肷��^�O��⊮�� + �܂��B�⊮���Ƃ��ẮAimg, input �����݂��܂��B + +`[prefix] l (�쒹��large�^�⊮�ɑΉ�)' + ... begin�^�⊮�Ƃقړ����ł����A + + �` + + �̂悤�Ɉ�s���ɊJ�n/�I���^�O����ꂽ���Ƃ��ɗ��p���܂��B + +`[prefix] m (�쒹��maketitle�^�⊮�ɑΉ�)' + ... �v�f�������l�������Ȃ��^�O��⊮���͂��܂��B
+ �Ȃǂ��⊮���ɑ������܂��B + +`[prefix] a (�쒹�̃A�N�Z���g�⊮�ɑΉ�)' + ... �G���e�B�e�B�Q�Ƃɂ�镶���\�L����͂���Ƃ��ɗp���܂��B + �f�t�H���g�ł� < (<), > (>), & (&), " ("), ' ('), + �u�����N ( ) �̕⊮���͂��s���܂��B + + + +File: yahtmlj, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top + +�J�[�\���W�����v +**************** +�������̂��낢��ȏꏊ�� + +`[prefix] g' + ... �Ή�����I�u�W�F�N�g�ɃW�����v + +���������Ƃɂ��A�J�[�\���ʒu��HTML�\���ɑΉ�����ꏊ�ɃW�����v���܂��B�� +���֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B + + * `' ���� `' + * `' �� �Ή�����viewer�N�� + * `' �� �����N��ւ̃|�C���g�ړ� + * `' �� Java�\�[�X�v���O�����ւ̈ړ� + + + +File: yahtmlj, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top + +�ύX/�폜 +********* + +* Menu: + +* �΃^�O�̕ύX:: +* �����Q�Ƃւ̕ύX:: +* ���W������������URLencode:: +* td����/tr����:: + + + +File: yahtmlj, Node: �΃^�O�̕ύX, Next: �����Q�Ƃւ̕ύX, Prev: Changing and Deleting, Up: Changing and Deleting + +�΃^�O�̕ύX +============ +�������̂��낢��ȏꏊ�� + +`[prefix] c' + ... �Ή�����^�O����ύX + +���������Ƃɂ��A�J�[�\���ʒu��HTML�\���ɉ������L�q���e�̕ύX���s���܂��B +�J�[�\���ʒu�ƕύX������e�̑Ή��͈ȉ��̒ʂ�ł��B + + * `'�``' + ... `TAG' �̕ύX + * `photo' �Ȃǂ̑����l + ... �����l�̕ύX + + + +File: yahtmlj, Node: �����Q�Ƃւ̕ύX, Next: ���W������������URLencode, Prev: �΃^�O�̕ύX, Up: Changing and Deleting + +�����Q�Ƃւ̕ύX +================ +�����Ƃ��Ă� < �� > ��\������Ƃ��́A�����Q�Ƃ�p����< �� > �ƕ\�L +����K�v������܂����AHTML�ȊO�̃t�@�C�����炱���̕������܂ރe�L�X�g�� +�荞�񂾏ꍇ�ȂǂɁA�����̕������ꊇ���ĕ����Q�ƌ`���ɕϊ��ł��܂��B + +`[prefix] ;' + ... �w�肵���̈�̕����Q�Ƃɒu��������ׂ������̒u�� +`[prefix] :' + ... �w�肵���̈�̕����Q�Ƃ��Q�ƕ������̂��̂ɒu��([prefix] ; + �̋t�ϊ�) + + + + +File: yahtmlj, Node: ���W������������URLencode, Next: td����/tr����, Prev: �����Q�Ƃւ̕ύX, Up: Changing and Deleting + +���W������������URLencode +========================= + `[prefix] #' + + ... �w�肵���̈���� URLencode ���ׂ�����������΂������G�� + �R�[�h�\�L�ɒu���B + + + +File: yahtmlj, Node: td����/tr����, Prev: ���W������������URLencode, Up: Changing and Deleting + +td����/tr���� +============= +�󔒋�؂�ŏ������\�`���̍s���R�[�h�� ����̕��сC���邢�͂������� +��� �Ŋ������s���тɕϊ��ł��܂��B + `[prefix] }' + + ... ���݂̃��W�����ɂ���f�[�^���󔒋�؂育�Ƃ� + ... �Ŋ��� + `[prefix] ]' + + ... ���݂̃��W�����ɂ���s����Ltd������قǂ����Ă��炳��ɍs���� +�� ... �Ŋ���f�t�H���g�ł͋󔒋�؂�ł����C�����ς���Ƃ��� +Delimiter: �̖₢���킹�ɋ�؂蕶�����w�肵�܂��B���Ƃ��΃J���}(,) ���w�� +�����CSV����\����邱�Ƃ��ł��܂��B + +td�ȊO�̗v�f�C��̓I�ɂ� th �Ŋ��肽���ꍇ�� universal-argument (`C-u') �� +�‚��ď�L2�‚̃R�}���h���Ăт܂��B�ǂ̗v�f�Ŋ��邩�̎��₪������̂ł��� +�� th �Ɠ����΁C�e�t�B�[���h�� ... �Ŋ���܂��B�����C��1�t�B�[ +���h�̂� th �ŁC�c���S�� td ����ɂ������Ƃ��� thd �Ɠ��͂��ĉ������B + + + +File: yahtmlj, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top + +CSS(�X�^�C���V�[�g)�T�|�[�g +*************************** + +* Menu: + +* CSS-class completion:: +* Reread CSS file:: + + + +File: yahtmlj, Node: CSS-class completion, Next: Reread CSS file, Prev: CSS Support, Up: CSS Support + +CSS�N���X���⊮ +=============== +HTML����CSS(Cascading Style Sheets)�̃N���X����⊮���͂��邱�Ƃ��ł��܂��B +�X�^�C����`�Ƃ��� + + h1.foo, h2.foo { background-color: 0xffffff; } + h1.bar, h2.bar { font-size: 120%; } + +�̂悤�Ȃ��̂��������ꍇ�ɁAh1�܂���h2�^�O�� [prefix] b �� [prefix] l �ŕ� +�����͂����ꍇ�ɁA�����ɗL���� class ���ł��� foo, bar �����Ƃ��ĕ⊮ +���͂��邱�Ƃ��”\�ł��B�܂� + + .caution { font-size: 120%; background-color: 0xc00000;} + +�̂悤�ȑS�ẴG�������g�ɓ���class����`����Ă����ꍇ�́A�S�Ẵ^�O�̕� +�����͎���class�Q�Ɠ��͂����߂��܂��B���ꂪ�ς킵���ꍇ�̓G�������g���� +�͊m��̂Ƃ��Ƀ��^�[���L�[(�܂���C-m)�ł͂Ȃ��AC-j��������class�⊮���͂� +�L�����Z���ł��܂��B���Ƃ��� + + [prefix] l �s���^�O�⊮���N�� + (�܂���[prefix] l SPC) + tt �����ꂽ���̂�tt�Ɠ��� + C-m + +�Ƃ����ꍇ�͑����� class= �ƕ⊮�v�����v�g���o�܂����A + + [prefix] l �s���^�O�⊮���N�� + (�܂���[prefix] l SPC) + tt �����ꂽ���̂�tt�Ɠ��� + C-j + +�ƍŌ�� `C-j' �œ��͂����ꍇ�� class �⊮�v�����v�g�͏o�܂���B + + + +File: yahtmlj, Node: Reread CSS file, Prev: CSS-class completion, Up: CSS Support + +CSS��`�t�@�C���̓ǂݒ��� +========================= +html�t�@�C����ҏW����CSS��`�t�@�C�����C�����A�lj�����class��⊮���Ƃ� +�Ē����ɓǂݍ��܂������ꍇ�́A`M-x yahtml-mode' �Ƃ��čċN�����s���Ă����� +���B + + + +File: yahtmlj, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top + +�J�X�^�}�C�Y +************ + +yahtml�̓���𐧌䂷��ϐ��ɂ‚��Đ������܂��B + +* Menu: + +* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ +* Hook variables:: hook�ϐ� + + + +File: yahtmlj, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations + +�J�X�^�}�C�Y�ϐ��ꗗ +==================== + + -- Variable: yahtml-prefix + yahtml-mode ���̃v���t�B�N�X�L�[ (`\C-c') + + -- Variable: yahtml-image-viewer + img�ŎQ�Ƃ��Ă���摜�t�@�C����\������Ƃ��ɋN������R�}���h (xv) + + -- Variable: yahtml-www-browser + `[prefix]g' �ŊO���y�[�W��\������Ƃ��ɋN������u���E�U (netscape) + + -- Variable: yahtml-kanji-code + �f�t�H���g�̊����R�[�h�B1=sjis, 2=jis, 3=euc, 4=utf-8 (2) + .htaccess �t�@�C���� + AddType "text/html; charset=xxx" .html �̋L�q���������ꍇ�͂��� + �ɏ]�� + + -- Variable: yahtml-fill-column + auto-fill����Ƃ��̃J������ (72) + + -- Variable: yahtml-fill-prefix + yahtml-mode �ŗL��fill-prefix (`nil') + + -- Variable: yahtml-path-url-alist + OS�̃t�@�C���V�X�e����ł̃t���p�X���ƁA���̊O�����J����URL�̑Ή��\�B + + -- Variable: yahtml-directory-index + �T�[�o�A�N�Z�X���t�@�C�������ȗ������Ƃ��Ƀf�t�H���g�ŊJ�����C���f�b + �N�X�t�@�C���̖��O�B�����̏ꍇ index.html�B(`"index.html"') + + -- Variable: yahtml-lint-program + HTML�\���`�F�b�N�v���O�����B(`"jweblint"') + + -- Variable: yahtml-hate-too-deep-indentation + �l�X�g�����񋓌n�‹��ł̃C���f���g���[������Ƃ���t�ɂ���B(`nil') + + -- Variable: yahtml-always-/p + `

' �����ꂽ��K�� `

' �������l�����B`nil' + + -- Variable: yahtml-p-prefered-env-regexp + �����I�� `

' �����ė~�����‹��B + (`"^\\(body\\|dl\\|blockquote\\)"') + + -- Variable: yahtml-template-file + �V�KHTML�t�@�C���쐬���Ɏ����I�ɑ}�����ė~�����t�@�C�����B + `"~/http/template.html"' + + -- Variable: yahtml-prefer-upcases + �^�O�ɑ啶�����g�������B`nil' + + -- Variable: yahtml-prefer-upcase-attributes + �����w��q�ɑ啶�����g�������B`nil' + + -- Variable: yahtml-server-type + Apache�n�̃T�[�o�𗘗p���Ă���ꍇ�� 'apache ���Z�b�g����B + ./.htaccess ���Q�Ƃ��邩�ǂ��������肷��B`'apache' + + -- Variable: yahtml-apache-access-file + `yahtml-server-type' �� `'apache' �̂Ƃ��ɃA�N�Z�X�����t�@�C�������w + ��B`".htaccess"' + + -- Variable: yahtml-shell-command-option + �V�F���ŕʃR�}���h���N������Ƃ��̃I�v�V�����B + + -- Variable: yahtml-translate-hyphens-when-comment-region + �̈�R�����g�A�E�g������Ƃ��Ɋ��ɑ��݂���n�C�t���� `-' �ɕύX�� + �邩�ǂ����B(`t') + + -- Variable: yahtml-entity-reference-chars-alist + �G���e�B�e�B�Q��(Entity Reference)�ŋL�q���ׂ������Q��`'(?���� . "�G + ���e�B�e�B�\�L")' �Ƃ����`����񋓂���alist�ŕ��ׂ�B�f�t�H���g�� + `<', `>', `&', `'', `"' �ɑ΂���alist���ݒ肳��Ă���̂ŁA�lj������� + ���������L�q����Ηǂ��Bcdr�� `"�G���e�B�e�B�\�L"' �́A�擪�� `&' �� + ������`;' �͊܂߂��ɏ����B + + -- Variable: yahtml-faithful-to-htmllint + �\���`�F�b�J�Ƃ��� htmllint �𗘗p����ꍇ������Ƃ����]�v�ȋ󔒂Ȃ� + �ɑ΂��Ă��x���������̂ŁA������������Ƃ��ɂ͂��̕ϐ���`t'�ɂ���B + + -- Variable: yahtml-use-css + CSS�̕⊮�@�\���g�����ǂ��� (`t') + + -- Variable: yahtml-image-inspection-bytes + �摜�t�@�C���̃T�C�Y�𒲂ׂ�Ƃ��ɓǂݍ��ރo�C�g�� (`10000') + + -- Variable: yahtml:img-default-alt-format + ��ALT�����̃f�t�H���g������̏����B%x�͉摜�̕��A%y�͉摜 + �̍����A%s�̓t�@�C���T�C�Y�ɒu������� (`"%xx%y(%sbytes)"') + + -- Variable: yahtml-escape-chars + href�⊮�Ȃǂ̂Ƃ��ɗ\�񕶎���URL�G���R�[�h���邩; 'ask�̂Ƃ��͊m�F�� + �Ă���u������ (`'ask') + + -- Variable: yahtml-use-font-lock + �\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� font-lock �𗘗p���邩(`(featurep + 'font-lock)') + + -- Variable: yahtml-use-hilit19 + �\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� hilit19 �𗘗p���邩(`(featurep + 'hilit19)') + + -- Variable: yahtml-indentation-boundary + �C���f���g�v�Z��ł��؂��Ă悢���E�ƂȂ鐳�K�\��(`"^\\s *"') + + + +File: yahtmlj, Node: Hook variables, Prev: All customizable variables, Up: Customizations + +hook�ϐ� +======== + + + + +File: yahtmlj, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top + +��舵�� +******** + + �{�v���O�����̓t���[�\�t�g�E�F�A�ł��B�{�v���O�������g�p���Đ����������� +�錋�ʂɑ΂��Ă���҂͐ӔC�𕉂�Ȃ����ƂƂ��܂��B�]�ړ��Ɋւ��Ă͐������� +���܂���B�펯�I�Ɉ����Ă��������B�܂��A�g�p���Ă���|�����C���ł��m�点�� +�������ƁA��҂͊��ŃT�|�[�g�ɗ�ނ��Ƃł��傤�B + + ���A��]�A�o�O�񍐁A���z���͊��}�������܂��B�A���� yuuji@yatex.org �� +��(2000�N12������)�B�p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�� +��v�ɐ���������Ă��������B�������@�ɂ‚��Ă͖{�p�b�P�[�W�� `docs/htmlqa' +�t�@�C���́u���̑��v�̏͂��䗗���������B + +�d�l�́A�\���Ȃ��m����(�C�������)�ύX����܂�:-p�B + + �L���Y�� + + + + +File: yahtmlj, Node: Concept Index, Prev: Copying, Up: Top + +���� +**** + +* Menu: + +* �J�X�^�}�C�Y[�������܂���]: Customizations. 4. +* �L�[�A�T�C��[������������]: Customizations. 4. +* Demacs: Intro. 4. +* HTML��[HTML��]: Intro. 4. +* LaTeX: Intro. 4. +* Mule: Intro. 4. + + + + +Tag table: +Node: Top260 +Node: Intro729 +Node: Installation1008 +Node: yahtml�N���̂��߂̐ݒ�1196 +Node: lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�1850 +Node: WWW�y�[�W�‹��p�ϐ��̐ݒ�2350 +Node: Command Invocation3121 +Node: Completion3448 +Node: Jump4432 +Node: Changing and Deleting4831 +Node: �΃^�O�̕ύX5005 +Node: �����Q�Ƃւ̕ύX5355 +Node: ���W������������URLencode5738 +Node: td����/tr����5972 +Node: CSS Support6601 +Node: CSS-class completion6799 +Node: Reread CSS file7783 +Node: Customizations8005 +Node: All customizable variables8229 +Node: Hook variables11227 +Node: Copying11339 +Node: Concept Index11842 + +End tag table diff --git a/docs/yahtmlj.tex b/docs/yahtmlj.tex index 84a62a9..72e3bc9 100644 --- a/docs/yahtmlj.tex +++ b/docs/yahtmlj.tex @@ -1,561 +1,564 @@ -\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 -\input texinfo -@setfilename yahtmlj -@settitle Yet Another html-mode for Emacs - -@iftex -@c @syncodeindex fn cp -@c Last modified Thu Dec 9 15:56:35 2010 on firestorm -@syncodeindex vr cp -@end iftex - -@titlepage -@sp 10 -@center -@subtitle Yet Another html-mode for emacs -@title �wHTML���x -@subtitle // yahtml // -@author @copyright{} 1994-1997 by HIROSE, Yuuji [yuuji@@yatex.org] -@end titlepage - -@node Top, Intro, (dir), (dir) -@comment node-name, next, previous, up - -@menu -* Intro:: �͂��߂� -* Installation:: �C���X�g�[�� -* Command Invocation:: �O���R�}���h�N�� -* Completion:: �⊮���� -* Jump:: �J�[�\���W�����v -* Changing and Deleting:: �ύX�ƍ폜 -* CSS Support:: �X�^�C���V�[�g�⊮ -* Customizations:: �J�X�^�}�C�Y�ϐ��ꗗ -* Copying:: �Ƃ肠�‚��� -* Concept Index:: ���� - -@end menu - -@node Intro, Installation, Top, Top -@comment node-name, next, previous, up -@chapter �͂��߂� -@cindex Demacs -@cindex Mule -@cindex LaTeX -@cindex HTML��[HTML��] - -yahtml�� GNU Emacs ��� HTML�������쐬���鎞�ɁA�ɎG��HTML�^�O�̓��͂�� -���@�\�ɂ���ăX���[�Y�ɍs����悤�ɂ��邾���łȂ��Aweblint�Ȃǂ̍\���`�F�b -�N�v���O�����A�J�[�\���ʒu��URL��t�@�C�����Ɉˑ������u���E�U/�C���[�W�����[ -�A�̋N���Ȃǂ� Emacs �ҏW��ʒ����� -�s����悤�ɂ���p�b�P�[�W�ł��B - -(����Info�͖������ł�(__)�c) - -@node Installation, Command Invocation, Intro, Top -@comment node-name, next, previous, up -@chapter �C���X�g�[�� -@menu -* yahtml�N���̂��߂̐ݒ�:: -* lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�:: -* WWW�y�[�W�‹��p�ϐ��̐ݒ�:: -@end menu - -@node yahtml�N���̂��߂̐ݒ�, lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, Installation, Installation -@section yahtml�N���̂��߂̐ݒ� - - -@file{~/.emacs}�ɉ���2���ڂ������܂��B - -@lisp -(setq auto-mode-alist - (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) -(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) -@end lisp - -����yahtml�ɕK�v�ȃt�@�C��(@file{yahtml.el}, @file{yatexlib.el}, -@file{yatexprc.el}) ��u���f�B���N�g���� load-path �ɉ����܂��B���Ƃ��΁A -@file{~/src/emacs/yahtml}�ɒu���̂ł���΁A - -@lisp -(setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) -@end lisp - -@noindent -�ȂǂƂ��܂��B - - �ȏ�̐ݒ�ɂ��A�g���q�� .html �ł���t�@�C����ҏW����Ǝ����I�� -yahtml �����[�h����܂��Byahtml������ɋN���ł����Ƃ��̓��[�h���C���̕\���� -�uyahtml�v�ɕς��܂��B - -@node lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, WWW�y�[�W�‹��p�ϐ��̐ݒ�, yahtml�N���̂��߂̐ݒ�, Installation -@section lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ� - -���p����O���v���O�����ȂǂɊւ���ȉ��̕ϐ����m�F���A�K�v�Ȃ琳�����l�ɕ� -�X���܂�(���ʓ��̓f�t�H���g�l)�B -@table @code -@item yahtml-www-browser - @dots{} �N������u���E�U�̃R�}���h��(netscape) -@item yahtml-image-viewer - @dots{} �N������摜�r���[�A�̃R�}���h��(xv) -@item yahtml-lint-program - @dots{} �\���`�F�b�N�v���O�����̃R�}���h��(jweblint) -@item yahtml-kanji-code - @dots{} html�t�@�C���̊����R�[�h -@end table - -@node WWW�y�[�W�‹��p�ϐ��̐ݒ�, , lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, Installation -@section WWW�y�[�W�‹��p�ϐ��̐ݒ� - -�z�[���y�[�W�ƂȂ�t�@�C�������݂���PATH���Ɋւ���ϐ���ݒ肵�܂��B -@table @code -@item yahtml-path-url-alist - @dots{} �t�@�C���V�X�e�����PATH���ƁAURL�̑Ή��\ -@item yahtml-directory-index - @dots{} URL�w��Ńt�@�C�������ȗ������Ƃ��ɕ\�������C���f�b�N�X - �t�@�C����(NCSA�nhttpd�Ȃ� @file{index.html}, CERN�n�Ȃ� - @file{Welcome.html}����ʓI) -@end table - -�ϐ� @code{yahtml-path-url-alist} �̐ݒ��������܂��B�Ⴆ�΁A����ł́A -@file{/home/yuuji/http/} �� @code{http://localhost/~yuuji} �ŎQ�Ƃł��A�E -��ł� @file{/usr/home/yuuji/www/} ��@code{http://www.keio.ac.jp/~yuuji/} -�ŎQ�Ƃł���悤�ɂȂ��Ă���ꍇ�͈ȉ��̂悤�ɐݒ肵�܂��B - -@lisp -(setq yahtml-path-url-alist - '(("/home/yuuj/http" . "http://localhost/~yuuji") - ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) -@end lisp - -���̑Ή��g�͂�����ł��ݒ肷�邱�Ƃ��ł��܂��B - -@node Command Invocation, Completion, Installation, Top -@comment node-name, next, previous, up -@chapter �O���R�}���h�N�� - -HTML�t�@�C���ҏW�ɂ�����邢���‚��̃R�}���h�𑦍��ɌĂԂ��Ƃ��ł��܂��B -@table @kbd -@item [prefix] t j - @dots{} HTML�\���`�F�b�J(jweblint)�N�� -@item [prefix] t p - @dots{} ���݂̃y�[�W��ΏۂƂ����u���E�U�N�� -@item [prefix] t r - @dots{} ���݂̃y�[�W���u���E�U�ɕ\������Ă���Ƃ���reload�w�� -@end table - -@node Completion, Jump, Command Invocation, Top -@comment node-name, next, previous, up -@chapter �⊮���� - -�u�쒹�v�ŗ��p�ł���A�ubegin�^�⊮�v�A�usection�^�⊮�v�A -�ularge�^�⊮�v�A�umaketitle�^�⊮�v�A�u�A�N�Z���g�⊮�v -�ƑS�������L�[����őΉ����� -HTML�^�O�̕⊮���͂��ł��܂��B���ꂼ��̌^�̕⊮�͏��ɁA -�u�����s�ɓn��^�O���́v�A�u��v�f�^�O(img�Ȃ�)�̕⊮�v�A -�u��s���ł̊J�n/�I���^�O�̓��́v�A�u��v�f�󑮐��^�O�̓��́v�A -�u�����Q�Ɠ��́v -�� -�Ή����Ă��܂��B��̓I�ɂ� - -@table @kbd -@item [prefix] b (�쒹��begin�⊮�ɑΉ�) -@dots{} -@example -

    -
-@end example - -@noindent -�̂悤�ɊJ�n�^�O�ƏI���^�O���s�ɓn���ď��������ꍇ�̕⊮���w���܂��B -�����Ƀu���b�N�^�^�O���⊮���Ɋ܂܂�܂��B - -@item [prefix] s (�쒹��section�^�⊮�ɑΉ�) -@dots{} -@example -photo -@end example - -@noindent -�̂悤�ɏI���^�O���������A���‘����l�݂̂ŋ@�\���w�肷��^�O��⊮���܂��B -�⊮���Ƃ��ẮAimg, input �����݂��܂��B - -@item [prefix] l (�쒹��large�^�⊮�ɑΉ�) -@dots{} begin�^�⊮�Ƃقړ����ł����A - -@example - �` -@end example - -@noindent -�̂悤�Ɉ�s���ɊJ�n/�I���^�O����ꂽ���Ƃ��ɗ��p���܂��B - -@item [prefix] m (�쒹��maketitle�^�⊮�ɑΉ�) -@dots{} �v�f�������l�������Ȃ��^�O��⊮���͂��܂��B
-�Ȃǂ��⊮���ɑ������܂��B - -@item [prefix] a (�쒹�̃A�N�Z���g�⊮�ɑΉ�) -@dots{} �G���e�B�e�B�Q�Ƃɂ�镶���\�L����͂���Ƃ��ɗp���܂��B -�f�t�H���g�ł� < (<), > (>), & (&), " ("), ' ('), -�u�����N ( ) �̕⊮���͂��s���܂��B -@end table - -@node Jump, Changing and Deleting, Completion, Top -@comment node-name, next, previous, up -@chapter �J�[�\���W�����v -�������̂��낢��ȏꏊ�� - -@table @kbd -@item [prefix] g - @dots{} �Ή�����I�u�W�F�N�g�ɃW�����v -@end table - -@noindent -���������Ƃɂ��A�J�[�\���ʒu��HTML�\���ɑΉ�����ꏊ�ɃW�����v -���܂��B�Ή��֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B - -@itemize @bullet -@item @code{} ���� @code{} -@item @code{} �� �Ή�����viewer�N�� -@item @code{} �� �����N��ւ̃|�C���g�ړ� -@item @code{} �� Java�\�[�X�v���O�����ւ̈ړ� -@c @item @code{\include(\input)} �� �Ή�����t�@�C�� -@end itemize - -@node Changing and Deleting, CSS Support, Jump, Top -@comment node-name, next, previous, up -@chapter �ύX/�폜 - -@menu -* �΃^�O�̕ύX:: -* �����Q�Ƃւ̕ύX:: -* ���W������������URLencode:: -* td����/tr����:: -@end menu - -@node �΃^�O�̕ύX, �����Q�Ƃւ̕ύX, Changing and Deleting, Changing and Deleting -@comment node-name, next, previous, up -@section �΃^�O�̕ύX -�������̂��낢��ȏꏊ�� - -@table @kbd -@item [prefix] c - @dots{} �Ή�����^�O����ύX -@end table - -@noindent -���������Ƃɂ��A�J�[�\���ʒu��HTML�\���ɉ����� -�L�q���e�̕ύX���s���܂��B�J�[�\���ʒu�ƕύX������e�� -�Ή��͈ȉ��̒ʂ�ł��B - -@itemize @bullet -@item @code{}�`@code{} -@dots{} @code{TAG} �̕ύX -@item @code{photo} �Ȃǂ̑����l -@dots{} �����l�̕ύX -@end itemize - -@node �����Q�Ƃւ̕ύX, , �΃^�O�̕ύX, Changing and Deleting -@comment node-name, next, previous, up -@section �����Q�Ƃւ̕ύX -�����Ƃ��Ă� < �� > ��\������Ƃ��́A�����Q�Ƃ�p���� -< �� > �ƕ\�L����K�v������܂����A -HTML�ȊO�̃t�@�C�����炱���̕������܂ރe�L�X�g�𒣂荞�񂾏ꍇ -�ȂǂɁA�����̕������ꊇ���ĕ����Q�ƌ`���ɕϊ��ł��܂��B - -@table @kbd -@item [prefix] ; - @dots{} �w�肵���̈�̕����Q�Ƃɒu��������ׂ������̒u�� -@item [prefix] : - @dots{} �w�肵���̈�̕����Q�Ƃ��Q�ƕ������̂��̂ɒu�� - ([prefix] ; �̋t�ϊ�) -@end table - - -@node ���W������������URLencode, td����/tr����, �����Q�Ƃւ̕ύX, Changing and Deleting -@comment node-name, next, previous, up -@section ���W������������URLencode -@table - @item [prefix] # - @dots{} �w�肵���̈���� URLencode ���ׂ�����������΂����� - �G���R�[�h�\�L�ɒu���B -@end table - -@node td����/tr����, , ���W������������URLencode, Changing and Deleting -@comment node-name, next, previous, up -@section td����/tr���� -�󔒋�؂�ŏ������\�`���̍s���R�[�h�� ����̕��сC -���邢�͂���������� �Ŋ������s���тɕϊ��ł��܂��B -@table @kbd - @item [prefix] } - @dots{} ���݂̃��W�����ɂ���f�[�^���󔒋�؂育�Ƃ� - ... �Ŋ��� - @item [prefix] ] - @dots{} ���݂̃��W�����ɂ���s�� - ��Ltd������قǂ����Ă��炳��ɍs���Ƃ� ... �Ŋ��� -@end table -�f�t�H���g�ł͋󔒋�؂�ł����C�����ς���Ƃ��� -Delimiter: �̖₢���킹�ɋ�؂蕶�����w�肵�܂��B���Ƃ��΃J���}(,) -���w�肷���CSV����\����邱�Ƃ��ł��܂��B - -td�ȊO�̗v�f�C��̓I�ɂ� th �Ŋ��肽���ꍇ�� universal-argument -(@kbd{C-u}) ���‚��ď�L2�‚̃R�}���h���Ăт܂��B�ǂ̗v�f�Ŋ��邩�� -���₪������̂ł���� th �Ɠ����΁C�e�t�B�[���h�� ... -�Ŋ���܂��B�����C��1�t�B�[���h�̂� th �ŁC�c���S�� td ����ɂ������Ƃ� -�� thd �Ɠ��͂��ĉ������B - -@node CSS Support, Customizations, Changing and Deleting, Top -@comment node-name, next, previous, up -@chapter CSS(�X�^�C���V�[�g)�T�|�[�g - -@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[�������܂���] -@cindex �L�[�A�T�C��[������������] - -yahtml�̓���𐧌䂷��ϐ��ɂ‚��Đ������܂��B - -@menu -* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ -* Hook variables:: hook�ϐ� -@end menu - -@node All customizable variables, Hook variables, Customizations, Customizations -@comment node-name, next, previous, up -@section �J�X�^�}�C�Y�ϐ��ꗗ - -@defvar yahtml-prefix -yahtml-mode ���̃v���t�B�N�X�L�[ (@kbd{\C-c}) -@end defvar - -@defvar yahtml-image-viewer -img�ŎQ�Ƃ��Ă���摜�t�@�C����\������Ƃ��ɋN������R�}���h (xv) -@end defvar - -@defvar yahtml-www-browser -@kbd{[prefix]g} �ŊO���y�[�W��\������Ƃ��ɋN������u���E�U (netscape) -@end defvar - -@defvar yahtml-kanji-code -�f�t�H���g�̊����R�[�h�B1=sjis, 2=jis, 3=euc, 4=utf-8 (2) -.htaccess �t�@�C���� -@quotation - AddType "text/html; charset=xxx" .html -@end quotation -�̋L�q���������ꍇ�͂���ɏ]�� -@end defvar - -@defvar yahtml-fill-column -auto-fill����Ƃ��̃J������ (72) -@end defvar - -@defvar yahtml-fill-prefix -yahtml-mode �ŗL��fill-prefix (@code{nil}) -@end defvar - -@defvar yahtml-path-url-alist -OS�̃t�@�C���V�X�e����ł̃t���p�X���ƁA���̊O�����J����URL�̑Ή��\�B -@end defvar - -@defvar yahtml-directory-index -�T�[�o�A�N�Z�X���t�@�C�������ȗ������Ƃ��Ƀf�t�H���g�ŊJ����� -�C���f�b�N�X�t�@�C���̖��O�B�����̏ꍇ index.html�B(@code{"index.html"}) -@end defvar - -@defvar yahtml-lint-program -HTML�\���`�F�b�N�v���O�����B(@code{"jweblint"}) -@end defvar - -@defvar yahtml-hate-too-deep-indentation -�l�X�g�����񋓌n�‹��ł̃C���f���g���[������Ƃ���t�ɂ���B(@code{nil}) -@end defvar - -@defvar yahtml-always-/p -@code{

} �����ꂽ��K�� @code{

} �������l�����B@code{nil} -@end defvar - -@defvar yahtml-p-prefered-env-regexp -�����I�� @code{

} �����ė~�����‹��B -(@code{"^\\(body\\|dl\\|blockquote\\)"}) -@end defvar - -@defvar yahtml-template-file -�V�KHTML�t�@�C���쐬���Ɏ����I�ɑ}�����ė~�����t�@�C�����B -@file{"~/http/template.html"} -@end defvar - -@defvar yahtml-prefer-upcases -�^�O�ɑ啶�����g�������B@code{nil} -@end defvar - -@defvar yahtml-prefer-upcase-attributes -�����w��q�ɑ啶�����g�������B@code{nil} -@end defvar - -@defvar yahtml-server-type -Apache�n�̃T�[�o�𗘗p���Ă���ꍇ�� 'apache ���Z�b�g����B -./.htaccess ���Q�Ƃ��邩�ǂ��������肷��B@code{'apache} -@end defvar - -@defvar yahtml-apache-access-file -@code{yahtml-server-type} �� @code{'apache} �̂Ƃ��� -�A�N�Z�X�����t�@�C�������w��B@file{".htaccess"} -@end defvar - -@defvar yahtml-shell-command-option -�V�F���ŕʃR�}���h���N������Ƃ��̃I�v�V�����B -@end defvar - -@defvar yahtml-translate-hyphens-when-comment-region -�̈�R�����g�A�E�g������Ƃ��Ɋ��ɑ��݂���n�C�t���� @code{-} �� -�ύX���邩�ǂ����B(@code{t}) -@end defvar - -@defvar yahtml-entity-reference-chars-alist -�G���e�B�e�B�Q��(Entity Reference)�ŋL�q���ׂ������Q�� - @code{'(?���� . "�G���e�B�e�B�\�L")} �Ƃ����`����񋓂��� -alist�ŕ��ׂ�B�f�t�H���g�� @code{<}, @code{>}, @code{&}, @code{'}, -@code{"} �ɑ΂���alist���ݒ肳��Ă���̂ŁA�lj����������������L�q����Η� -���Bcdr�� @code{"�G���e�B�e�B�\�L"} �́A�擪�� @code{&} �� ������@code{;} -�͊܂߂��ɏ����B -@end defvar - -@defvar yahtml-faithful-to-htmllint -�\���`�F�b�J�Ƃ��� htmllint �𗘗p����ꍇ������Ƃ����]�v�ȋ󔒂Ȃǂ� -�΂��Ă��x���������̂ŁA������������Ƃ��ɂ͂��̕ϐ���@code{t}�� -����B -@end defvar - -@defvar yahtml-use-css -CSS�̕⊮�@�\���g�����ǂ��� (@code{t}) -@end defvar - -@defvar yahtml-image-inspection-bytes -�摜�t�@�C���̃T�C�Y�𒲂ׂ�Ƃ��ɓǂݍ��ރo�C�g�� (@code{10000}) -@end defvar - -@defvar yahtml:img-default-alt-format -��ALT�����̃f�t�H���g������̏����B%x�͉摜�̕��A -%y�͉摜�̍����A%s�̓t�@�C���T�C�Y�ɒu������� (@code{"%xx%y(%sbytes)"}) -@end defvar - -@defvar yahtml-escape-chars -href�⊮�Ȃǂ̂Ƃ��ɗ\�񕶎���URL�G���R�[�h���邩; -'ask�̂Ƃ��͊m�F���Ă���u������ (@code{'ask}) -@end defvar - -@defvar yahtml-use-font-lock -�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� font-lock �𗘗p���邩 -(@code{(featurep 'font-lock)}) -@end defvar - -@defvar yahtml-use-hilit19 -�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� hilit19 �𗘗p���邩 -(@code{(featurep 'hilit19)}) -@end defvar - -@defvar yahtml-indentation-boundary -�C���f���g�v�Z��ł��؂��Ă悢���E�ƂȂ鐳�K�\�� -(@code{"^\\s *"}) -@end defvar - -@node Hook variables, , All customizable variables, Customizations -@comment node-name, next, previous, up -@section hook�ϐ� - - -@node Copying, Concept Index, Customizations, Top -@comment node-name, next, previous, up -@chapter ��舵�� - - �{�v���O�����̓t���[�\�t�g�E�F�A�ł��B�{�v���O�������g�p���Đ����������� -�錋�ʂɑ΂��Ă���҂͐ӔC�𕉂�Ȃ����ƂƂ��܂��B�]�ړ��Ɋւ��Ă͐������� -���܂���B�펯�I�Ɉ����Ă��������B�܂��A�g�p���Ă���|�����C���ł��m�点�� -�������ƁA��҂͊��ŃT�|�[�g�ɗ�ނ��Ƃł��傤�B - - ���A��]�A�o�O�񍐁A���z���͊��}�������܂��B -�A���� yuuji@@yatex.org �܂�(2000�N12������)�B -�p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�̉�v�� -����������Ă��������B�������@�ɂ‚��Ă͖{�p�b�P�[�W�� @file{docs/htmlqa} -�t�@�C���́u���̑��v�̏͂��䗗���������B - -�d�l�́A�\���Ȃ��m����(�C�������)�ύX����܂�:-p�B - -@flushright -�L���Y�� -@end flushright - - -@node Concept Index, , Copying, Top -@comment node-name, next, previous, up -@unnumbered ���� -@printindex cp - - -@contents - -@bye - -@c Local Variables: -@c fill-column: 74 -@c fill-prefix: nil -@c buffer-file-coding-system: sjis-dos -@c End: - -Tag table: - -End tag table +\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 +\input texinfo +@setfilename yahtmlj +@settitle Yet Another html-mode for Emacs +@direntry +* yahtml: (yahtmlj). Yet Another html-mode for Emacs (Japanese). +@end direntry + +@iftex +@c @syncodeindex fn cp +@c Last modified Fri May 11 15:42:05 2012 on firestorm +@syncodeindex vr cp +@end iftex + +@titlepage +@sp 10 +@center +@subtitle Yet Another html-mode for emacs +@title �wHTML���x +@subtitle // yahtml // +@author @copyright{} 1994-2012 by HIROSE, Yuuji [yuuji@@yatex.org] +@end titlepage + +@node Top, Intro, (dir), (dir) +@comment node-name, next, previous, up + +@menu +* Intro:: �͂��߂� +* Installation:: �C���X�g�[�� +* Command Invocation:: �O���R�}���h�N�� +* Completion:: �⊮���� +* Jump:: �J�[�\���W�����v +* Changing and Deleting:: �ύX�ƍ폜 +* CSS Support:: �X�^�C���V�[�g�⊮ +* Customizations:: �J�X�^�}�C�Y�ϐ��ꗗ +* Copying:: �Ƃ肠�‚��� +* Concept Index:: ���� + +@end menu + +@node Intro, Installation, Top, Top +@comment node-name, next, previous, up +@chapter �͂��߂� +@cindex Demacs +@cindex Mule +@cindex LaTeX +@cindex HTML��[HTML��] + +yahtml�� GNU Emacs ��� HTML�������쐬���鎞�ɁA�ɎG��HTML�^�O�̓��͂�� +���@�\�ɂ���ăX���[�Y�ɍs����悤�ɂ��邾���łȂ��Aweblint�Ȃǂ̍\���`�F�b +�N�v���O�����A�J�[�\���ʒu��URL��t�@�C�����Ɉˑ������u���E�U/�C���[�W�����[ +�A�̋N���Ȃǂ� Emacs �ҏW��ʒ����� +�s����悤�ɂ���p�b�P�[�W�ł��B + +(����Info�͖������ł�(__)�c) + +@node Installation, Command Invocation, Intro, Top +@comment node-name, next, previous, up +@chapter �C���X�g�[�� +@menu +* yahtml�N���̂��߂̐ݒ�:: +* lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�:: +* WWW�y�[�W�‹��p�ϐ��̐ݒ�:: +@end menu + +@node yahtml�N���̂��߂̐ݒ�, lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, Installation, Installation +@section yahtml�N���̂��߂̐ݒ� + + +@file{~/.emacs}�ɉ���2���ڂ������܂��B + +@lisp +(setq auto-mode-alist + (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) +(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) +@end lisp + +����yahtml�ɕK�v�ȃt�@�C��(@file{yahtml.el}, @file{yatexlib.el}, +@file{yatexprc.el}) ��u���f�B���N�g���� load-path �ɉ����܂��B���Ƃ��΁A +@file{~/src/emacs/yahtml}�ɒu���̂ł���΁A + +@lisp +(setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) +@end lisp + +@noindent +�ȂǂƂ��܂��B + + �ȏ�̐ݒ�ɂ��A�g���q�� .html �ł���t�@�C����ҏW����Ǝ����I�� +yahtml �����[�h����܂��Byahtml������ɋN���ł����Ƃ��̓��[�h���C���̕\���� +�uyahtml�v�ɕς��܂��B + +@node lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, WWW�y�[�W�‹��p�ϐ��̐ݒ�, yahtml�N���̂��߂̐ݒ�, Installation +@section lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ� + +���p����O���v���O�����ȂǂɊւ���ȉ��̕ϐ����m�F���A�K�v�Ȃ琳�����l�ɕ� +�X���܂�(���ʓ��̓f�t�H���g�l)�B +@table @code +@item yahtml-www-browser + @dots{} �N������u���E�U�̃R�}���h��(netscape) +@item yahtml-image-viewer + @dots{} �N������摜�r���[�A�̃R�}���h��(xv) +@item yahtml-lint-program + @dots{} �\���`�F�b�N�v���O�����̃R�}���h��(jweblint) +@item yahtml-kanji-code + @dots{} html�t�@�C���̊����R�[�h +@end table + +@node WWW�y�[�W�‹��p�ϐ��̐ݒ�, , lint�v���O����/�u���E�U/�C���[�W�����[�A�‹����̐ݒ�, Installation +@section WWW�y�[�W�‹��p�ϐ��̐ݒ� + +�z�[���y�[�W�ƂȂ�t�@�C�������݂���PATH���Ɋւ���ϐ���ݒ肵�܂��B +@table @code +@item yahtml-path-url-alist + @dots{} �t�@�C���V�X�e�����PATH���ƁAURL�̑Ή��\ +@item yahtml-directory-index + @dots{} URL�w��Ńt�@�C�������ȗ������Ƃ��ɕ\�������C���f�b�N�X + �t�@�C����(NCSA�nhttpd�Ȃ� @file{index.html}, CERN�n�Ȃ� + @file{Welcome.html}����ʓI) +@end table + +�ϐ� @code{yahtml-path-url-alist} �̐ݒ��������܂��B�Ⴆ�΁A����ł́A +@file{/home/yuuji/http/} �� @code{http://localhost/~yuuji} �ŎQ�Ƃł��A�E +��ł� @file{/usr/home/yuuji/www/} ��@code{http://www.keio.ac.jp/~yuuji/} +�ŎQ�Ƃł���悤�ɂȂ��Ă���ꍇ�͈ȉ��̂悤�ɐݒ肵�܂��B + +@lisp +(setq yahtml-path-url-alist + '(("/home/yuuj/http" . "http://localhost/~yuuji") + ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) +@end lisp + +���̑Ή��g�͂�����ł��ݒ肷�邱�Ƃ��ł��܂��B + +@node Command Invocation, Completion, Installation, Top +@comment node-name, next, previous, up +@chapter �O���R�}���h�N�� + +HTML�t�@�C���ҏW�ɂ�����邢���‚��̃R�}���h�𑦍��ɌĂԂ��Ƃ��ł��܂��B +@table @kbd +@item [prefix] t j + @dots{} HTML�\���`�F�b�J(jweblint)�N�� +@item [prefix] t p + @dots{} ���݂̃y�[�W��ΏۂƂ����u���E�U�N�� +@item [prefix] t r + @dots{} ���݂̃y�[�W���u���E�U�ɕ\������Ă���Ƃ���reload�w�� +@end table + +@node Completion, Jump, Command Invocation, Top +@comment node-name, next, previous, up +@chapter �⊮���� + +�u�쒹�v�ŗ��p�ł���A�ubegin�^�⊮�v�A�usection�^�⊮�v�A +�ularge�^�⊮�v�A�umaketitle�^�⊮�v�A�u�A�N�Z���g�⊮�v +�ƑS�������L�[����őΉ����� +HTML�^�O�̕⊮���͂��ł��܂��B���ꂼ��̌^�̕⊮�͏��ɁA +�u�����s�ɓn��^�O���́v�A�u��v�f�^�O(img�Ȃ�)�̕⊮�v�A +�u��s���ł̊J�n/�I���^�O�̓��́v�A�u��v�f�󑮐��^�O�̓��́v�A +�u�����Q�Ɠ��́v +�� +�Ή����Ă��܂��B��̓I�ɂ� + +@table @kbd +@item [prefix] b (�쒹��begin�⊮�ɑΉ�) +@dots{} +@example +

    +
+@end example + +@noindent +�̂悤�ɊJ�n�^�O�ƏI���^�O���s�ɓn���ď��������ꍇ�̕⊮���w���܂��B +�����Ƀu���b�N�^�^�O���⊮���Ɋ܂܂�܂��B + +@item [prefix] s (�쒹��section�^�⊮�ɑΉ�) +@dots{} +@example +photo +@end example + +@noindent +�̂悤�ɏI���^�O���������A���‘����l�݂̂ŋ@�\���w�肷��^�O��⊮���܂��B +�⊮���Ƃ��ẮAimg, input �����݂��܂��B + +@item [prefix] l (�쒹��large�^�⊮�ɑΉ�) +@dots{} begin�^�⊮�Ƃقړ����ł����A + +@example + �` +@end example + +@noindent +�̂悤�Ɉ�s���ɊJ�n/�I���^�O����ꂽ���Ƃ��ɗ��p���܂��B + +@item [prefix] m (�쒹��maketitle�^�⊮�ɑΉ�) +@dots{} �v�f�������l�������Ȃ��^�O��⊮���͂��܂��B
+�Ȃǂ��⊮���ɑ������܂��B + +@item [prefix] a (�쒹�̃A�N�Z���g�⊮�ɑΉ�) +@dots{} �G���e�B�e�B�Q�Ƃɂ�镶���\�L����͂���Ƃ��ɗp���܂��B +�f�t�H���g�ł� < (<), > (>), & (&), " ("), ' ('), +�u�����N ( ) �̕⊮���͂��s���܂��B +@end table + +@node Jump, Changing and Deleting, Completion, Top +@comment node-name, next, previous, up +@chapter �J�[�\���W�����v +�������̂��낢��ȏꏊ�� + +@table @kbd +@item [prefix] g + @dots{} �Ή�����I�u�W�F�N�g�ɃW�����v +@end table + +@noindent +���������Ƃɂ��A�J�[�\���ʒu��HTML�\���ɑΉ�����ꏊ�ɃW�����v +���܂��B�Ή��֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +@itemize @bullet +@item @code{} ���� @code{} +@item @code{} �� �Ή�����viewer�N�� +@item @code{} �� �����N��ւ̃|�C���g�ړ� +@item @code{} �� Java�\�[�X�v���O�����ւ̈ړ� +@c @item @code{\include(\input)} �� �Ή�����t�@�C�� +@end itemize + +@node Changing and Deleting, CSS Support, Jump, Top +@comment node-name, next, previous, up +@chapter �ύX/�폜 + +@menu +* �΃^�O�̕ύX:: +* �����Q�Ƃւ̕ύX:: +* ���W������������URLencode:: +* td����/tr����:: +@end menu + +@node �΃^�O�̕ύX, �����Q�Ƃւ̕ύX, Changing and Deleting, Changing and Deleting +@comment node-name, next, previous, up +@section �΃^�O�̕ύX +�������̂��낢��ȏꏊ�� + +@table @kbd +@item [prefix] c + @dots{} �Ή�����^�O����ύX +@end table + +@noindent +���������Ƃɂ��A�J�[�\���ʒu��HTML�\���ɉ����� +�L�q���e�̕ύX���s���܂��B�J�[�\���ʒu�ƕύX������e�� +�Ή��͈ȉ��̒ʂ�ł��B + +@itemize @bullet +@item @code{}�`@code{} +@dots{} @code{TAG} �̕ύX +@item @code{photo} �Ȃǂ̑����l +@dots{} �����l�̕ύX +@end itemize + +@node �����Q�Ƃւ̕ύX, ���W������������URLencode, �΃^�O�̕ύX, Changing and Deleting +@comment node-name, next, previous, up +@section �����Q�Ƃւ̕ύX +�����Ƃ��Ă� < �� > ��\������Ƃ��́A�����Q�Ƃ�p���� +< �� > �ƕ\�L����K�v������܂����A +HTML�ȊO�̃t�@�C�����炱���̕������܂ރe�L�X�g�𒣂荞�񂾏ꍇ +�ȂǂɁA�����̕������ꊇ���ĕ����Q�ƌ`���ɕϊ��ł��܂��B + +@table @kbd +@item [prefix] ; + @dots{} �w�肵���̈�̕����Q�Ƃɒu��������ׂ������̒u�� +@item [prefix] : + @dots{} �w�肵���̈�̕����Q�Ƃ��Q�ƕ������̂��̂ɒu�� + ([prefix] ; �̋t�ϊ�) +@end table + + +@node ���W������������URLencode, td����/tr����, �����Q�Ƃւ̕ύX, Changing and Deleting +@comment node-name, next, previous, up +@section ���W������������URLencode +@table @kbd + @item [prefix] # + @dots{} �w�肵���̈���� URLencode ���ׂ�����������΂����� + �G���R�[�h�\�L�ɒu���B +@end table + +@node td����/tr����, , ���W������������URLencode, Changing and Deleting +@comment node-name, next, previous, up +@section td����/tr���� +�󔒋�؂�ŏ������\�`���̍s���R�[�h�� ����̕��сC +���邢�͂���������� �Ŋ������s���тɕϊ��ł��܂��B +@table @kbd + @item [prefix] @} + @dots{} ���݂̃��W�����ɂ���f�[�^���󔒋�؂育�Ƃ� + ... �Ŋ��� + @item [prefix] ] + @dots{} ���݂̃��W�����ɂ���s�� + ��Ltd������قǂ����Ă��炳��ɍs���Ƃ� ... �Ŋ��� +@end table +�f�t�H���g�ł͋󔒋�؂�ł����C�����ς���Ƃ��� +Delimiter: �̖₢���킹�ɋ�؂蕶�����w�肵�܂��B���Ƃ��΃J���}(,) +���w�肷���CSV����\����邱�Ƃ��ł��܂��B + +td�ȊO�̗v�f�C��̓I�ɂ� th �Ŋ��肽���ꍇ�� universal-argument +(@kbd{C-u}) ���‚��ď�L2�‚̃R�}���h���Ăт܂��B�ǂ̗v�f�Ŋ��邩�� +���₪������̂ł���� th �Ɠ����΁C�e�t�B�[���h�� ... +�Ŋ���܂��B�����C��1�t�B�[���h�̂� th �ŁC�c���S�� td ����ɂ������Ƃ� +�� thd �Ɠ��͂��ĉ������B + +@node CSS Support, Customizations, Changing and Deleting, Top +@comment node-name, next, previous, up +@chapter CSS(�X�^�C���V�[�g)�T�|�[�g + +@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[�������܂���] +@cindex �L�[�A�T�C��[������������] + +yahtml�̓���𐧌䂷��ϐ��ɂ‚��Đ������܂��B + +@menu +* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ +* Hook variables:: hook�ϐ� +@end menu + +@node All customizable variables, Hook variables, Customizations, Customizations +@comment node-name, next, previous, up +@section �J�X�^�}�C�Y�ϐ��ꗗ + +@defvar yahtml-prefix +yahtml-mode ���̃v���t�B�N�X�L�[ (@kbd{\C-c}) +@end defvar + +@defvar yahtml-image-viewer +img�ŎQ�Ƃ��Ă���摜�t�@�C����\������Ƃ��ɋN������R�}���h (xv) +@end defvar + +@defvar yahtml-www-browser +@kbd{[prefix]g} �ŊO���y�[�W��\������Ƃ��ɋN������u���E�U (netscape) +@end defvar + +@defvar yahtml-kanji-code +�f�t�H���g�̊����R�[�h�B1=sjis, 2=jis, 3=euc, 4=utf-8 (2) +.htaccess �t�@�C���� +@quotation + AddType "text/html; charset=xxx" .html +@end quotation +�̋L�q���������ꍇ�͂���ɏ]�� +@end defvar + +@defvar yahtml-fill-column +auto-fill����Ƃ��̃J������ (72) +@end defvar + +@defvar yahtml-fill-prefix +yahtml-mode �ŗL��fill-prefix (@code{nil}) +@end defvar + +@defvar yahtml-path-url-alist +OS�̃t�@�C���V�X�e����ł̃t���p�X���ƁA���̊O�����J����URL�̑Ή��\�B +@end defvar + +@defvar yahtml-directory-index +�T�[�o�A�N�Z�X���t�@�C�������ȗ������Ƃ��Ƀf�t�H���g�ŊJ����� +�C���f�b�N�X�t�@�C���̖��O�B�����̏ꍇ index.html�B(@code{"index.html"}) +@end defvar + +@defvar yahtml-lint-program +HTML�\���`�F�b�N�v���O�����B(@code{"jweblint"}) +@end defvar + +@defvar yahtml-hate-too-deep-indentation +�l�X�g�����񋓌n�‹��ł̃C���f���g���[������Ƃ���t�ɂ���B(@code{nil}) +@end defvar + +@defvar yahtml-always-/p +@code{

} �����ꂽ��K�� @code{

} �������l�����B@code{nil} +@end defvar + +@defvar yahtml-p-prefered-env-regexp +�����I�� @code{

} �����ė~�����‹��B +(@code{"^\\(body\\|dl\\|blockquote\\)"}) +@end defvar + +@defvar yahtml-template-file +�V�KHTML�t�@�C���쐬���Ɏ����I�ɑ}�����ė~�����t�@�C�����B +@file{"~/http/template.html"} +@end defvar + +@defvar yahtml-prefer-upcases +�^�O�ɑ啶�����g�������B@code{nil} +@end defvar + +@defvar yahtml-prefer-upcase-attributes +�����w��q�ɑ啶�����g�������B@code{nil} +@end defvar + +@defvar yahtml-server-type +Apache�n�̃T�[�o�𗘗p���Ă���ꍇ�� 'apache ���Z�b�g����B +./.htaccess ���Q�Ƃ��邩�ǂ��������肷��B@code{'apache} +@end defvar + +@defvar yahtml-apache-access-file +@code{yahtml-server-type} �� @code{'apache} �̂Ƃ��� +�A�N�Z�X�����t�@�C�������w��B@file{".htaccess"} +@end defvar + +@defvar yahtml-shell-command-option +�V�F���ŕʃR�}���h���N������Ƃ��̃I�v�V�����B +@end defvar + +@defvar yahtml-translate-hyphens-when-comment-region +�̈�R�����g�A�E�g������Ƃ��Ɋ��ɑ��݂���n�C�t���� @code{-} �� +�ύX���邩�ǂ����B(@code{t}) +@end defvar + +@defvar yahtml-entity-reference-chars-alist +�G���e�B�e�B�Q��(Entity Reference)�ŋL�q���ׂ������Q�� + @code{'(?���� . "�G���e�B�e�B�\�L")} �Ƃ����`����񋓂��� +alist�ŕ��ׂ�B�f�t�H���g�� @code{<}, @code{>}, @code{&}, @code{'}, +@code{"} �ɑ΂���alist���ݒ肳��Ă���̂ŁA�lj����������������L�q����Η� +���Bcdr�� @code{"�G���e�B�e�B�\�L"} �́A�擪�� @code{&} �� ������@code{;} +�͊܂߂��ɏ����B +@end defvar + +@defvar yahtml-faithful-to-htmllint +�\���`�F�b�J�Ƃ��� htmllint �𗘗p����ꍇ������Ƃ����]�v�ȋ󔒂Ȃǂ� +�΂��Ă��x���������̂ŁA������������Ƃ��ɂ͂��̕ϐ���@code{t}�� +����B +@end defvar + +@defvar yahtml-use-css +CSS�̕⊮�@�\���g�����ǂ��� (@code{t}) +@end defvar + +@defvar yahtml-image-inspection-bytes +�摜�t�@�C���̃T�C�Y�𒲂ׂ�Ƃ��ɓǂݍ��ރo�C�g�� (@code{10000}) +@end defvar + +@defvar yahtml:img-default-alt-format +��ALT�����̃f�t�H���g������̏����B%x�͉摜�̕��A +%y�͉摜�̍����A%s�̓t�@�C���T�C�Y�ɒu������� (@code{"%xx%y(%sbytes)"}) +@end defvar + +@defvar yahtml-escape-chars +href�⊮�Ȃǂ̂Ƃ��ɗ\�񕶎���URL�G���R�[�h���邩; +'ask�̂Ƃ��͊m�F���Ă���u������ (@code{'ask}) +@end defvar + +@defvar yahtml-use-font-lock +�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� font-lock �𗘗p���邩 +(@code{(featurep 'font-lock)}) +@end defvar + +@defvar yahtml-use-hilit19 +�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� hilit19 �𗘗p���邩 +(@code{(featurep 'hilit19)}) +@end defvar + +@defvar yahtml-indentation-boundary +�C���f���g�v�Z��ł��؂��Ă悢���E�ƂȂ鐳�K�\�� +(@code{"^\\s *"}) +@end defvar + +@node Hook variables, , All customizable variables, Customizations +@comment node-name, next, previous, up +@section hook�ϐ� + + +@node Copying, Concept Index, Customizations, Top +@comment node-name, next, previous, up +@chapter ��舵�� + + �{�v���O�����̓t���[�\�t�g�E�F�A�ł��B�{�v���O�������g�p���Đ����������� +�錋�ʂɑ΂��Ă���҂͐ӔC�𕉂�Ȃ����ƂƂ��܂��B�]�ړ��Ɋւ��Ă͐������� +���܂���B�펯�I�Ɉ����Ă��������B�܂��A�g�p���Ă���|�����C���ł��m�点�� +�������ƁA��҂͊��ŃT�|�[�g�ɗ�ނ��Ƃł��傤�B + + ���A��]�A�o�O�񍐁A���z���͊��}�������܂��B +�A���� yuuji@@yatex.org �܂�(2000�N12������)�B +�p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�̉�v�� +����������Ă��������B�������@�ɂ‚��Ă͖{�p�b�P�[�W�� @file{docs/htmlqa} +�t�@�C���́u���̑��v�̏͂��䗗���������B + +�d�l�́A�\���Ȃ��m����(�C�������)�ύX����܂�:-p�B + +@flushright +�L���Y�� +@end flushright + + +@node Concept Index, , Copying, Top +@comment node-name, next, previous, up +@unnumbered ���� +@printindex cp + + +@contents + +@bye + +@c Local Variables: +@c fill-column: 74 +@c fill-prefix: nil +@c buffer-file-coding-system: sjis +@c End: + +Tag table: + +End tag table diff --git a/docs/yatexe b/docs/yatexe index 9d700e5..fc737d8 100644 --- a/docs/yatexe +++ b/docs/yatexe @@ -1,2219 +1,2246 @@ -Info file: yatexe, -*-Text-*- -produced by `texinfo-format-buffer' -from file `yatexe.tex' -using `texinfmt.el' version 2.38 of 3 July 1998. - - - - - - -File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir) - -* Menu: - -* What is YaTeX?:: -* Main features:: What YaTeX can do -* Installation:: Guide to install -* Typesetting:: Call typesetting processes -* %#notation:: Meta-keyword `%#' -* Completion:: Input LaTeX commands with completion -* Local dictionaries:: Directory dependent completion -* Commenting out:: Commenting/uncommenting text -* Cursor jump:: Jumping to related position -* Changing and Deleting:: Changing/deleting certain unit of text -* Filling:: Filling an item or paragraph -* Updation of includeonly:: Free from maintaining includeonly -* What column:: Check what table-column the cursor belong -* Intelligent newline:: Guess requisites of new line -* Usepackage checker:: Selecting correct \usepackage is YaTeX's job -* Online help:: On-line documentation of LaTeX -* Browsing file hierarchy:: Walking through file hierarchy -* Cooperation with other packages:: Work well with gmhist, min-out -* Customizations:: How to breed `Wild Bird' -* Etcetera:: YaTeX is acquisitive. -* Copying:: Redistribution - - - - -File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top - -What is YaTeX? -************** - - YaTeX automates typesetting and previewing of LaTeX and enables -completing input of LaTeX mark-up command such as -`\begin{}'..`\end{}'. - - YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi -Language Enhancement to GNU Emacs), and latex on DOS. - - - -File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top - -Main features -************* - - * Invocation of typesetter, previewer and related programs(`C-c t') - * Typesetting on static region which is independent from point - * Semiautomatic replacing of `\includeonly' - * Jumping to error line(`C-c '') - * Completing-read of LaTeX commands such as `\begin{}', - `\section' etc. - (`C-c b', `C-c s', `C-c l', `C-c m') - * Enclosing text into LaTeX environments or commands - (`C-u' ABOVEKEYSTROKES) - * Displaying the structure of text at entering sectioning commands - * Lump shifting of sectioning commands (*Note view-sectioning::) - * Learning unknown/new LaTeX commands for the next completion - * Argument reading with a guide for complicated LaTeX commands - * Generating argument-readers for new/unsupported commands(`yatexgen') - * Quick changing or deleting of LaTeX commands(`C-c c', `C-c k') - * Jumping from and to inter-file, begin<->end, ref<->label(`C-c g') - * Blanket commenting out or uncommenting - (`C-c >', `C-c <', `C-c ,', `C-c .') - * Easy input of accent mark, math-mode's commands and Greek letters - (`C-c a', `;', `:') - * Online help for the popular LaTeX commands - (`C-c ?', `C-c /') - * Document files hierarchy browser (`C-c d') - * Adding automatically \usepackage corresponding to inputting LaTeX - macro with completion - * Allow you to forget creating \label{}s, \ref or \cite completion - automatically generate labels. - - - -File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top - -Installation -************ - - Put next two expressions into your `~/.emacs'. - - (setq auto-mode-alist - (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) - (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) - -Next, add certain path name where you put files of YaTeX to your -load-path. If you want to put them in `~/src/emacs', write - - (setq load-path - (cons (expand-file-name "~/src/emacs") load-path)) - -in your `~/.emacs' - - Then, yatex-mode will be automatically loaded when you visit a -file which has extension `.tex'. If yatex-mode is successfully -loaded, mode string on mode line will be turned to "YaTeX". - - - - -File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top - -Typesetting -*********** - - The prefix key stroke of yatex-mode is `C-c' (Press 'C' with Control -key) by default. If you don't intend to change the prefix key stroke, -assume all `[prefix]' as `C-c' in this document. These key -strokes execute typeset or preview command. - -`[prefix] t j' - ... invoke latex -`[prefix] t r' - ... invoke latex on region -`[prefix] t e' - ... invoke latex on current environment or whole - portion of current formulas in math-mode. -`[prefix] t k' - ... kill current typesetting process -`[prefix] t b' - ... invoke bibtex -`[prefix] t i' - ... invoke makeindex -`[prefix] t d' - ... invoke latex && dvipdfmx -`[prefix] t p' - ... preview -`[prefix] t l' - ... lpr dvi-file -`[prefix] t s' - ... search current string on xdvi-remote - -* Menu: - -* Calling typesetter:: -* Calling previewer:: -* Printing out:: - - - -File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting - -Calling typesetter -================== - - Typing `[prefix] t j', the current editing window will be divided -horizontally when you invoke latex command, and log message of LaTeX -typesetting will be displayed in the other window; called typesetting -buffer. The typesetting buffer automatically scrolls up and traces LaTeX -warnings and error messages. If you see latex stopping by an error, you -can send string to latex in the typesetting buffer. - - If an error stops the LaTeX typesetting, this key stroke will move the -cursor to the line where LaTeX error is detected. - -`[prefix] '' -`([prefix]+single quotation)' - - ... jump to the previous error or warning - - If you find a noticeable error, move to the typesetting buffer and move -the cursor on the line of error message and type `SPACE' key. This makes -the cursor move to corresponding source line. - - YaTeX-typeset-region invoked by `[prefix] tr' call typesetter for -region. The region is specified by standard point and mark, or by -`%#BEGIN' and `%#END' marks. Selected region will be copied to the -temporary file `texput.tex' with the same preamble as the main file of -current editing sources. Be sure to put all local macro settings in -preamble, not after `\begin{document}'. The method of specification of -the region is shown in the section *Note %#notation::. - - The documentclass for typeset-region is the same as that of editing file -if you edit one file, and is the same as main file's if you edit splitting -files. - - The `[prefix] te' key automatically marks current inner environment or -inner math mode and then call typeset-region with marked region. This is -convenient to quick view of current tabular environment or current editing -formulas. Keeping previewer window for `texput.dvi' is handy for -debugging. Since `[prefix] te' selects the inner-most environment as -region, it is not suitable for partial typesetting of doubly or more -composed environment. If you want to do partial typesetting for a nested -environment, use `[prefix] tr' for static-region, which is described in -the section *Note %#notation::. - - - -File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting - -Calling previewer -================= - - `[prefix] t p' invokes the TeX previewer. And if you are using -xdvi-remote, which can be controled from other terminals, `[prefix] t s' -enables you to search current string at the cursor on the running xdvi -window. - - - -File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting - -Printing out -============ - - When you type `[preifx] t l', YaTeX asks you the range of dvi-printing -by default. You can skip this by invoking it with universal-argument as -follows: - - C-u [prefix] tl - - - -File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top - -%# notation -*********** - - You can control the typesetting process by describing `%#' notations in -the source text. - -* Menu: - -* Changing typesetter:: -* Splitting input files:: -* Static region for typesetting:: -* Lpr format:: -* Editing %# notation:: - - - -File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation - -To change the `latex' command or to split a source text. -======================================================== - - To change the typesetting command, write - - %#!latex-big - -anywhere in the source text. This is useful for changing typesetter. - - - -File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation - -Splitting input files -===================== - - And if you split the source text and edit subfile that should be -included from main text. - - %#!latex main.tex - -will be helpful to execute latex on main file from sub text buffer. Since -this command line after `%#!' will be sent to shell literally, next -description makes it convenient to use ghostview as dvi-previewer. - - %#!latex main ; dvi2ps main.dvi > main - -Note that YaTeX assumes the component before the last period of the last -word in this line as base name of the main LaTeX source. The `%f' -notation in this line is replaced by main file name, and `%r' replaced by -root name of main file name. If you specify `%f' or `%r', YaTeX always -ask you the name of main file at the first typesetting. - - To make best use of the feature of inter-file jumping by `[prefix] g' -(see *Note Cursor jump::), take described below into consideration. - - * You can put split texts in sub directory, but not in sub directory of - sub directory. - * In the main text, specify the child file name with relative path name - such as \include{chap1/sub}, when you include the file in a - sub-directory. - * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the - parent directory(not %#!latex ../main.tex). - - - -File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation - -Static region -============= - - Typeset-region by `[prefix] tr' passes the region between point and mark -to typesetting command by default. But when you want to typeset static -region, enclose the region by `%#BEGIN' and `%#END' as follows. - - %#BEGIN - TheRegionYouWantToTypesetManyTimes - %#END - -This is the rule of deciding the region. - - 1. If there exists %#BEGIN before point, - - 1. If there exists %#END after %#BEGIN, - * From %#BEGIN to %#END. - - 2. If %#END does not exist after %#BEGIN, - * From %#BEGIN to the end of buffer. - - 2. If there does not exist %#BEGIN before point, - * Between point and mark(standard method of Emacs). - - It is useful to write `%#BEGIN' in the previous line of \begin and -`%#END' in the next line of \`end' when you try complex environment such -as `tabular' many times. It is also useful to put only `%#BEGIN' alone at -the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' -pair. - - - -File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation - -Lpr format -========== - - Lpr format is specified by three Lisp variables. Here are the default -values of them. - -`(1)dviprint-command-format' - `"dvi2ps %f %t %s | lpr"' -`(2)dviprint-from-format' - `"-f %b"' -`(3)dviprint-to-format' - `"-t %e"' - - On YaTeX-lpr, `%s' in (1) is replaced by the file name of main text, -`%f' by contents of (2), %t by contents of (3). At these replacements, -`%b' in (2) is also replaced by the number of beginning page, `%e' in (3) -is replaced by the number of ending page. But `%f' and `%t' are ignored -when you omit the range of print-out by `C-u [prefix] tl'. - - If you want to change this lpr format temporarily, put a command such as -follows somewhere in the text: - - %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 - - And if you want YaTeX not to ask you the range of printing out, the next -example may be helpful. - - %#LPR dvi2ps %s | lpr - - - -File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation - -Editing %# notation -=================== - - To edit `%#' notation described above, type - -`[prefix] %' - ... editing %# notation menu - -and select one of the entry of the menu as follows. - - !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR - -Type `!' to edit `%#!' entry, `b' to enclose the region with `%#BEGIN' and -`%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' -and `%#END' are automatically erased. - - - -File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top - -Completion -********** - - YaTeX makes it easy to input the LaTeX commands. There are several -kinds of completion type, begin-type, section-type, large-type, etc... - -* Menu: - -* Begin-type completion:: -* Section-type completion:: -* Large-type completion:: -* Maketitle-type completion:: -* Arbitrary completion:: -* End completion:: -* Accent completion:: -* Image completion:: -* Greek letters completion:: - - - -File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion - -Begin-type completion -===================== - - "Begin-type completion" completes commands of `\begin{env}' ... -`\end{env}'. All of the begin-type completions begin with this key -sequence. - -`[prefix] b' - ... start begin-type completion - -An additional key stroke immediately completes a frequently used LaTeX -`\begin{}'...`\`end'{}' environment. - -`[prefix] b c' - ... `\begin{center}...\end{center}' -`[prefix] b d' - ... `\begin{document}...\end{document}' -`[prefix] b D' - ... `\begin{description}...\end{description}' -`[prefix] b e' - ... `\begin{enumerate}...\end{enumerate}' -`[prefix] b E' - ... `\begin{equation}...\end{equation}' -`[prefix] b i' - ... `\begin{itemize}...\end{itemize}' -`[prefix] b l' - ... `\begin{flushleft}...\end{flushleft}' -`[prefix] b m' - ... `\begin{minipage}...\end{minipage}' -`[prefix] b t' - ... `\begin{tabbing}...\end{tabbing}' -`[prefix] b T' - ... `\begin{tabular}...\end{tabular}' -`[prefix] b^T' - ... `\begin{table}...\end{table}' -`[prefix] b p' - ... `\begin{picture}...\end{picture}' -`[prefix] b q' - ... `\begin{quote}...\end{quote}' -`[prefix] b Q' - ... `\begin{quotation}...\end{quotation}' -`[prefix] b r' - ... `\begin{flushright}...\end{flushright}' -`[prefix] b v' - ... `\begin{verbatim}...\end{verbatim}' -`[prefix] b V' - ... `\begin{verse}...\end{verse}' - - Any other LaTeX environments are made by completing-read of the Emacs -function. - -`[prefix] b SPACE' - ... begin-type completion - -The next message will show up in the minibuffer - - Begin environment(default document): - -by typing `[prefix] b'. Put the wishing environment with completion in -the minibuffer, and `\begin{env}'...\`\end{env}' will be inserted in the -LaTeX source text. If the environment you want to put does not exist in -the YaTeX completion table, it will be registered in the user completion -table. YaTeX automatically saves the user completion table in the user -dictionary file at exiting of emacs. - -At the completion of certain environments, the expected initial entry will -automatically inserted such as `\item' for `itemize' environment. If you -don't want the entry, it can be removed by undoing. - - If you want to enclose some paragraphs which have already been written, -invoke the begin-type completion with changing the case of `b' of key -sequence upper(or invoke it with universal argument by `C-u' prefix). - - The following example encloses a region with `description' environment. - -`[prefix] B D' -`(or ESC 1 [prefix] b D)' -`(or C-u [prefix] b D)' - - ... begin-type completion for region - - This enclosing holds good for the completing input by `[prefix] b SPC'. -`[prefix] B SPC' enclose a region with the environment selected by -completing-read. - - - -File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion - -Section-type completion -======================= - - "Section-type completion" completes section-type commands which take an -argument or more such as `\section{foo}'. To invoke section-type -completion, type - -`[prefix] s' - ... section-type completion - -then the prompt - - (C-v for view) \???{} (default documentclass): - -will show up in the minibuffer. Section-type LaTeX commands are completed -by space key, and the default value is selected when you type nothing in -the minibuffer. - - Next, - - \section{???}: - -prompts you the argument of section-type LaTeX command. For example, the -following inputs - - \???{} (default documentclass): section - \section{???}: Hello world. - -will insert the string - - \section{Hello world.} - -in your LaTeX source. When you neglect argument such as - - (C-v for view) \???{} (default section): vspace* - \vspace*{???}: - -YaTeX puts - - \vspace*{} - -and move the cursor in the braces. - - In LaTeX command, there are commands which take more than one arguments -such as `\addtolength{\topmargin}{8mm}'. To complete these commands, -invoke section-type completion with universal argument as, - - C-u 2 [prefix] s (or ESC 2 [prefix] s) - -and make answers in minibuffer like this. - - (C-v for view) \???{} (default vspace*): addtolength - \addtolength{???}: \topmargin - Argument 2: 8mm - -`\addtolength' and the first argument `\topmargin' can be typed easily by -completing read. Since YaTeX also learns the number of arguments of -section-type command and will ask that many arguments in future -completion, you had better tell the number of arguments to YaTeX at the -first completion of the new word. But you can change the number of -arguments by calling the completion with different universal argument -again. - - - Invoking section-type completion with `[Prefix] S' (Capital `S') -includes the region as the first argument of section-type command. - - The section/large/maketitle type completion can work at the prompt for -the argument of other section-type completion. Nested LaTeX commands are -efficiently read with the recursive completion by typing YaTeX's -completion key sequence in the minibuffer. - -* Menu: - -* view-sectioning:: - - - -File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion - -view-sectioning ---------------- - - In the minibuffer at the prompt of section-type command completion, -typing `C-v' shows a list of sectioning commands in source text(The line -with `<<--' mark is the nearest sectioning command). Then, default -sectioning command appears in the minibuffer. You can go up/down -sectioning command by typing `C-p'/`C-n', can scrolls up/down the listing -buffer by `C-v'/`M-v', and can hide sectioning commands under certain -level by 0 through 6. Type `?' in the minibuffer of sectioning prompt -for more information. - - You can generate this listing buffer (`*Sectioning Lines*' buffer) by -typing -`M-x YaTeX-section-overview' - ... Generate *Sectioning Lines* buffer - -from the LaTeX source buffer. In this listing buffer, typing `u' on the -sectioning command shifts up the corresponding sectioning command in -source text and `d' shifts down. After marking lines in the listing -buffer, typing `U' shifts up all sectioning commands in the region, and -`U' shifts down. Here are all the key bindings of `*Sectioning Lines*' -buffer. - -`SPC' - ... Jump to corresponding source line -`.' - ... Display corresponding source line -`u' - ... Shift up a sectioning line -`d' - ... Shift down a sectioning line -`U' - ... Shift up sectioning lines in region -`D' - ... Shift down sectioning lines in region -`0...6' - ... Hide sectioning commands whose level is lower than n - - - - -File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion - -Large-type completion -===================== - - "Large-type completion" inputs the font or size changing descriptions -such as `{\large }'. When you type - -`[prefix] l' - ... large-type completion - -the message in the minibuffer - - {\??? } (default large): - -prompts prompts you large-type command with completing-read. There are -TeX commands to change fonts or sizes, `it', `huge' and so on, in the -completion table. - - Region-based completion is also invoked by changing the letter after -prefix key stroke as `[prefix] L'. It encloses the region by braces with -large-type command. - - - -File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion - -Maketitle-type completion -========================= - - We call it "maketitle-type completion" which completes commands such as -`\maketitle'. Take notice that maketitle-type commands take no arguments. -Then, typing - -`[prefix] m' - ... maketitle-type completion - -begins maketitle-completion. Above mentioned method is true for -maketitle-completion, and there are LaTeX commands with no arguments in -completion table. - - - -File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion - -Arbitrary completion -==================== - - You can complete certain LaTeX command anywhere without typical -completing method as described, by typing - -`[prefix] SPC' - ... arbitrary completion - -after the initial string of LaTeX command that is preceded by `\'. - - - -File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion - -End completion -============== - - YaTeX automatically detects the opened environment and close it with -\`\end{environment}'. Though proficient YaTeX users never fail to make -environment with begin-type completion, some may begin an environment -manually. In that case, type - -`[prefix] e' - ... `end' completion - -at the end of the opened environment. - - - -File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion - -Accent completion -================= - - When you want to write the European accent marks(like `\`{o}'), - -`[prefix] a' - ... accent completion - -shows the menu - - 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b - -in the minibuffer. Chose one character or corresponding numeric, and you -will see - - \`{} - -in the editing buffer with the cursor positioned in braces. Type one more -character `o' for example, then - - \`{o} - -will be completed, and the cursor gets out from braces. - - - -File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion - -Image completion of mathematical sign -===================================== - - Arrow marks, sigma mark and those signs mainly used in the TeX's math -environment are completed by key sequences which imitate the corresponding -symbols graphically. This completion only works in the math environment. -YaTeX automatically detects whether the cursor located in math environment -or not, and change the behavior of key strokes `;' and `:'. - - By the way, we often express the leftarrow mark by `<-' for example. -Considering such image, you can write `\leftarrow' by typing `<-' after -`;' (semicolon) as a prefix. In the same way, `\longleftarrow' (`<--') is -completed by typing `;<--', infinity mark which is imitated by `oo' is -completed by typing `;oo'. - - Here are the sample operations in YaTeX math-mode. - - INPUT Completed LaTeX commands - ; < - `\leftarrow' - ; < - - `\longleftarrow' - ; < - - > `\longleftrightarrow' - ; o `\circ' - ; o o `\infty' - - In any case, you can quit from image completion and can move to the next -editing operation if the LaTeX command you want is shown in the buffer. - - `;' itself in math-environment is inserted by `;;'. Typing `TAB' in the -midst of image completion shows all of the LaTeX commands that start with -the same name as string you previously typed in. In this menu buffer, -press `RET' after moving the cursor (by `n', `p', `b', `f') to insert the -LaTeX command. - - To know all of the completion table, type `TAB' just after `;'. And -here is the sample menu by `TAB' after `;<'. - - KEY LaTeX sequence sign - < \leq < - ~ - << \ll << - <- \leftarrow <- - <= \Leftarrow <= - - You can define your favorite key-vs-sequence completion table in the -Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also -`yatexmth.el' for the information of the structure of this variable. - - - -File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion - -Greek letters completion -======================== - - Math-mode of YaTeX provides another image completion, Greek letters -completion in the same method. After prefix `:', typing `a' makes -`\alpha', `b' makes `\beta' and `g' makes `\gamma' and so on. First, type -`:TAB' to know all the correspondence of alphabets vs. Greek letters. - - If you will find `;' or `:' doesn't work in correct position of math -environment, it may be a bug of YaTeX. Please send me a bug report with -the configuration of your text, and avoid it temporarily by typing `;' or -`:' after universal-argument(`C-u') which forces `;' and `:' to work as -math-prefix. - - - -File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top - -Local dictionaries -****************** - - Tables for completion consist of three dictionaries; `standard -dictionary' built in `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; - - `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard - -In this menu, typing `u' updates your `user dictionary', `l' updates your -local dictionary, `n' updates only on-memory dictionary which go through -only current Emacs session, and `d' updates no dictionary and throws the -new word away. - - If you find this switching feature meaningless and bothersome, put the -next expression into your `~/.emacs' - - (setq YaTeX-nervous nil) - - - -File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top - -Commenting out -************** - - You may want to comment out some region. - -`[prefix] >' - ... comment out region by % -`[prefix] <' - ... uncomment region - -cause an operation to the region between point and mark. - -`[prefix] .' - ... comment out current paragraph -`[prefix] ,' - ... uncomment current paragraph - -comments or uncomments the paragraph where the cursor belongs. This -`paragraph' means the region marked by the function mark-paragraph, bound -to `ESC h' by default. It is NOT predictable what will happen when you -continuously comment out some paragraph many times. - - You can also comment out an environment between `\begin' and `\end', or -a `\begin'-\`\end' pair themselves, by making the following key strokes on -the line where `\begin{}' or `\end{}' exists. - -`[prefix] >' - ... comment out from \begin to \`end' -`[prefix] <' - ... uncomment from \begin to \`end' - -comment whole the contents of environment. Moreover, - -`[prefix] .' - ... comment out \begin and \`end' -`[prefix] ,' - ... uncomment \begin and \`end' - -(un)comments out only environment declaration: `\begin{}' and `\end{}'. -NOTE that even if you intend to comment out some region, invoking -`[prefix] >' on the `\begin',`\end' line decides to work in `commenting -out from `\begin' to `\end'' mode. - - - - -File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top - -Cursor jump -*********** - - -* Menu: - -* Jump to corresponding object:: -* Invoking image processor:: -* Jump to main file:: -* Jumping around the environment:: -* Jumping to last completion position:: - - - -File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump - -Jump to corresponding object -============================ - - Typing - -`[prefix] g' - ... go to corresponding object - -in a certain place move the cursor to the place corresponding to the LaTeX -command of last place. YaTeX recognize the followings as pairs that have -relation each other. - - * `\begin{}' <-> `\end{}' - * `%#BEGIN' <-> `%#END' - * On the image-including line -> corresponding viewer or drawing tool - * `\label{}' <-> `\ref{}' - * `\include(\input)' -> included file - * `\bibitem{}' <-> `\cite{}' - - On a `\begin',`\end' line, typing `[prefix] g' moves the cursor to the -corresponding `\end',`\begin' line, if its partner really exists. The -behavior on the line `%#BEGIN' and `%#END' are the same. Note that if the -correspondent of `label/ref' or `cite/bibitem' exists in another file, -that file have to be opened to make a round trip between references by -`[prefix] g'. - - If you type `[prefix] g' on the line of `\include{chap1}', typically in -the main text, YaTeX switches buffer to `chap1.tex'. - -`[prefix] 4 g' - ... go to corresponding object in other window - -do the same job as `[prefix] g' except it's done in other window. Note -that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs -because it is meaningless. - - - -File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump - -Invoking image processor -======================== - - -`image-including line' described above means such lines as -`\epsfile{file=foo.ps}'. If you type `[prefix] g' on that line, YaTeX -automatically searches source of `foo.ps' and invokes image viewer or -drawing tool correspoinding to it. For example; if you draw an image -foo.obj with Tgif and enclose its product named foo.eps by `\epsfile' -command. Typing `[prefix] g' on `\epsfile' line make YaTeX invoke `tgif -foo.obj'. How a processor is choosen is as follows. - - 1. If there is an expression matching with one of the pattern defined in - `YaTeX-processed-file-regexp-alist', extract file name from regexp - group surrounded by \\(\\). (Which group corresponds is written in - the cdr part of each list.) If no matches were found, do nothing. - 2. If there is a pattern as `%PROCESSOR' which is defined in the - variable `YaTeX-file-processor-alist', call that processor giving the - file name with corresponding extension. - 3. If not, check the existence of each file which is supplied the - extension in the cdr part of each list of - `YaTeX-file-processor-alist'. If any, call the corresponding image - viewer or drawing tool. - - - -File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump - -Jump to main file -================= - - Typing - -`[prefix] ^' - ... visit main file -`[prefix] 4^' - ... visit main file in other buffer - -in a sub text switch the buffer to the main text specified by `%#!' -notation. - - - -File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump - -Jumping around the environment -============================== - - And these are the functions which work on the current LaTeX environment: - -`M-C-a' - ... beginning of environment -`M-C-e' - ... `end' of environment -`M-C-@' - ... mark environment - - - -File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump - -Jumping to last completion position -=================================== - -YaTeX always memorize the position of completion into register `3'. So -every time you make a trip to any other part of text other than you are -writing, you can return to the editing paragraph by calling -register-to-point with argument YaTeX-current-position-register, which is -achieved by typing `C-x j 3'(by default). - - - -File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top - -Changing and Deleting -********************* - - These functions are for change or deletion of LaTeX commands already -entered. - -`[prefix] c' - ... change LaTeX command -`[prefix] k' - ... kill LaTeX command - -* Menu: - -* Changing LaTeX commands:: -* Killing LaTeX commands:: - - - -File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting - -Changing LaTeX commands -======================= - -`[prefix] c' can change the various (La)TeX commands. This can change the -followings. - * Environment names - * Section-type commands - * Argument of section-type commands - * Optional parameters (enclosed by []) of section-type commands - * Font/size designators - * Math-mode's maketitle-type commands that can be inputted with image - completion - - Typing `[prefix] c' on one of above objects you want to change brings a -suitable reading function sometimes with completion. Note: If you want to -change the argument of section-type command that contains other LaTeX -commands, type `[prefix] c' either of surrounding braces of the argument -in order to make YaTeX ignore the internal LaTeX sequences as an object of -changing. Anyway, it is very difficult to know which argument position -the cursor belongs because the LaTeX commands can be nested and braces can -freely emerge. So keep it mind to put the cursor on a brace when you are -thinking of changing a complicated argument. - - - -File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting - -Killing LaTeX commands -====================== - - `[prefix] k' kills the LaTeX commands sometimes with their arguments. -Following table illustrates the correspondence of the invoking position -and what is killed. - - [Invoking position] [action] - \begin, \end line kill \begin,\end pairs - %#BEGIN, %#END line kill %#BEGIN,%#END pairs - on a Section-type command kill section-type command - on a parenthesis kill parentheses - -Note that when killing `\begin, \end' or `%#BEGIN, %#END' pair, the lines -`\begin, \end' or `%#BEGIN, %#END' exist will be killed entirely. So take -care not to create any line that contains more than one `\begin' or so. - -While all operations above are to kill `containers' which surround some -text, universal argument (`C-u') for these commands kills not only -`containers' but also `contents' of them. See below as a sample. - - Original text: [prefix] k C-u [prefix] k - Main \footnote{note} here. Main note here. Main here. - ~(cursor) - - - -File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top - -Filling -******* - - -Filling an item -=============== - - To fill a term (descriptive sentences) of `\item', type - -`M-q' - ... fill item - -on that item. - - YaTeX uses the value of the variable `YaTeX-item-regexp' as the regular -expression to search item header in itemize environment. If you make a -newcommand to itemize terms(e.g. `\underlineitem'), put - - (setq YaTeX-item-regexp - "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") - -in your `~/.emacs'. If you are not familiar with regular expression for -Emacs-Lisp, name a newcommand for `itemize' beginning with `\item' such as -`\itembf', not `\bfitem'. - - This function reformats the `\item' into `hang-indented' style. For -example: - - itemize, enumerate environment: - > - >\item[foo] `foo' is the typical word for describing an - > arbitrarily written.... - description environment: - > \item[bar] When the word `for' is used as an arbitrarily - > word, `bar' is bound to follow it. - - Note that the indent depth of an `\item' word and its descriptive -paragraph are the same in latter case. If you want to use different -depth, invoke fill-paragraph at the beginning of non-whitespace -character(see below). - - -Filling paragraph -================= - - Fill-paragraph is little bit adapted for LaTeX sources. It retains from -filling in certain environments where formatting leads to a disaster such -as verbatim, tabular, or so. And it protects `\verb' expressions from -being folded (The variable `YaTeX-verb-regexp' controls this). Besides, -putting cursor on the first occurrence of non-whitespace character on a -line changes the fill-prefix temporarily to the depth of the line. - - - -File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top - -Updation of `\includeonly' -************************** - - When you edit splitting source texts, the notation - - \includeonly{CurrentEditingFileName} - -in the main file reduces the time of typesetting. If you want to hack -other file a little however, you have to rewrite it to - - \includeonly{OtherFileNameYouWantToFix} - -in the main file. YaTeX automatically detects that the current edited -text is not in includeonly list and prompts you - - A)dd R)eplace %)comment? - -in the minibuffer. Type `a' if you want to add the current file name to -`\includeonly' list, `r' to replace \`includeonly' list with the current -file, and type `%' to comment out the `\includeonly' line. - - - -File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top - -What column? -************ - - We are often get tired of finding the corresponding column in large -tabulars. For example, - - \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline - Name&Position&Post No.&Addr.&Phone No.&FAX No.& - Home Addr.&Home Phone\\ \hline - Thunder Bird & 6 & 223 & LA & xxx-yyy & - zzz-www & Japan & 9876-54321 \\ - & 2 & \multicolumn{2}{c|}{Unknown} - &&&(???) - \\ \hline - \end{tabular} - -Suppose you have the cursor located at `(???)' mark, can you tell which -column it is belonging at once? Maybe no. In such case, type - -`[prefix] &' - ... What column - -in that position. YaTeX tells you the column header of the current field. -Since YaTeX assumes the first line of tabular environment as a row of -column headers, you can create a row of virtual column headers by putting -them in the first line and commenting that line with `%'. - - - -File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top - -Intelligent newline -******************* - - At the end of begin-type completion of tabular[*], array, itemize, -enumerate or tabbing environment, or typing - -`ESC RET' - ... Intelligent newline - -in these environments inserts the contents corresponding to the current -environment in the next line. (At the begin-type completion, this -contents can be removed by `undo'.) In `tabular' environment, for -example, `ESC RET' inserts the certain number of `&' and trailing `\\', -and `\hline' if other `\hline' is found in backward. Here are the list of -contents vs. environments. - - * `tabular', `tabular*', `array' - - Corresponding number of `&' and `\\'. And `\hline' if - needed. - - * `tabbing' - - The same number of `\>' as `\=' in the first line. - - * `itemize', `enumerate', `description', `list' - - `\item' or `item[]'. - - Note that since this function works seeing the contents of the first -line, please call this after the second line if possible. - - If you want to apply these trick to other environments, `foo' -environment for example, define the function named -`YaTeX-intelligent-newline-foo' to insert corresponding contents. That -function will be called at the beginning of the next line after the -newline is inserted to the current line. Since the function -`YaTeX-indent-line' is designed to indent the current line properly, -calling this function before your code to insert certain contents must be -useful. See the definition of the function -`YaTeX-intelligent-newline-itemize' as an example. - - - -File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top - -Usepackage checker -****************** - -When you input begint-type, section-type, maketitle-type macros with -completion, and it requires some LaTeX2e package, YaTeX examines the -existence of correct `\usepackage'. If not, YaTeX inserts the -`\usepackage{}' declaration corresponding to input macro. - -To activate the package completion for your favarite package, set the -variable `YaTeX-package-alist-private' correctly. Please refere the value -of `YaTeX-package-alist-default' as an example. - - - -File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top - -Online help -*********** - - YaTeX provides you the online help with popular LaTeX commands. - - Here are the key strokes for the online help. - -`[prefix] ?' - ... Online help -`[prefix] /' - ... Online apropos - - -Online help -=========== - - `Online help' shows the documentation for the popular LaTeX -commands(defaults to the commands on the cursor) in the next buffer. -There are two help file, `global help' and `private help'. The former -file contains the descriptions on the standard LaTeX command and is -specified its name by variable `YaTeX-help-file'. Usually, the global -help file should be located in public space (`$EMACSEXECPATH' by default) -and should be world writable so that anyone can update it to enrich its -contents. The latter file contains descriptions on non-standard or -personal command definitions and is specified by -`YaTeX-help-file-private'. This file should be put into private -directory. - - -Online apropos -============== - - `Online apropos' is an equivalent of GNU Emacs's apropos. It shows all -the documentations that contains the keyword entered by the user. - - -When no descriptions are found... -================================= - - If there is no description on a command in help files, YaTeX requires -you to write a description on that command. If you are willing to do, -determine which help file to add and write the description on it referring -your manual of (La)TeX. Please send me your additional descriptions if -you describe the help on some standard commands. I might want to include -it in the next distribution. - - - -File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top - -Browsing file hierarchy -*********************** - - When you are editing multi-file source, typing - -`[prefix] d' - ... browse file hierarchy - -asks you the parent-most file (which may be defaulted) and displays the -documentation hierarchy in the next window. In this buffer, the following -commands are available. - -`n' - ... move to the next line and show its contents -`p' - ... move to the previous line and show its contents -`N' - ... move to the next file in the same inclusion level -`P' - ... move to the previous file in the same inclusion level -`j' - ... move to the next line -`k' - ... move to the previous line -`u' - ... move to the parent file -`.' - ... show the current files contents in the next window -`SPC' - ... scroll up the current file window -`DEL, b' - ... scroll down the current file window -`<' - ... show the beginning of the current file -`>' - ... show the end of the current file -`>' - ... return to the previous postion after `<' or `>' -`RET, g' - ... open the current file in the next window -`mouse-2' - ... same as RET(available only with window system) -`o' - ... other window -`1' - ... delete other windows -`-' - ... shrink hierarchy buffer window -`+' - ... enlarge hierarchy buffer window -`?' - ... describe mode -`q' - ... quit - - Note that operations on the file contents in the next window do not work -correctly when you close the corresponding file. - - - -File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top - -Cooperation with other packages -******************************* - - YaTeX works better with other brilliant packages. - - -gmhist -====== - - When you are loading `gmhist.el' and `gmhist-mh.el', you can use -independent command history list at the prompt of preview command -(`[prefix] tp') and print command (`[prefix] tl'). On each prompt, you -can enter the previous command line string repeatedly by typing `M-p'. - - -min-out -======= - - `min-out', the outline minor mode, can be used in yatex-mode buffers. -If you want to use it with YaTeX, please refer the file `yatexm-o.el' as -an example. - - - -File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top - -Customizations -************** - - You can customize YaTeX by setting Emacs-Lisp variables and by making -add-in functions. - -* Menu: - -* Lisp variables:: -* Add-in functions:: -* Add-in generator:: - - - -File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations - -Lisp variables -============== - - You can change the key assignments or make completion more comfortable -by setting the values of various variables which control the movement of -yatex-mode. - - For example, if you want to change the prefix key stroke from `C-c' to -any other sequence, set YaTeX-prefix to whatever you want to use. If you -don't want to use the key sequence `C-c letter' which is assumed to be the -user reserved sequence in Emacs world, set `YaTeX-inhibit-prefix-letter' -to `t', and all of the default key bind of `C-c letter' will turn to the -corresponding `C-c C-letter' (but the region based completions that is -invoked with `C-c Capital-letter' remain valid, if you want to disable -those bindings, set that variable to 1 instead of `t'). - -* Menu: - -* All customizable variables:: -* Sample definitions:: -* Hook variables:: -* Hook file:: - - - -File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables - -All customizable variables --------------------------- - - Here are the customizable variables of yatex-mode. Each value setq-ed -in `~/.emacs' is preferred and that of defined in `yatex.el' is neglected. -Parenthesized contents stands for the default value. When you are to -change some of these variables, see more detailed documentation of the -variable by `M-x describe-variable'. - - -- Variable: YaTeX-japan - Set this nil to produce all messages in English (`Depends on Japanese - feature of Emacs') - - -- Variable: YaTeX-kanji-code - Default buffer-file-coding-system for YaTeX modes' buffer. Set this - 0 to no language conversion. Nil to preserve original - coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') - - -- Variable: YaTeX-prefix - Prefix key stroke (`C-c') - - -- Variable: YaTeX-inhibit-prefix-letter - Change key stroke from `C-c letter' to `C-c C-letter' (`nil') - - -- Variable: YaTeX-fill-prefix - Fill-prefix used in yatex-mode (`nil') - - -- Variable: YaTeX-user-completion-table - Name of user dictionary where learned completion table will be - stored. (`"~/.yatexrc"') - - -- Variable: tex-command - LaTeX typesetter command (`"latex"') - - -- Variable: dvi2-command - Preview command (`"xdvi -geo +0+0 -s 4"') - - -- Variable: dviprint-command-format - Command format to print dvi file (`"dvi2ps %f %t %s | lpr"') - - -- Variable: dviprint-from-format - Start page format of above %f. %b will turn to start page (`"-f %b"') - - -- Variable: dviprint-to-format - End page format of above %t. %e will turn to `end' page (`"-t %e"') - - -- Variable: makeindex-command - Default makeindex command (`"makeindex"' (`"makeind"' on MS-DOS)) - - -- Variable: YaTeX-dvipdf-command - Default command name to convert .dvi to PDF (`"dvipdfmx"') - - -- Variable: YaTeX-need-nonstop - Put `\nonstopmode{}' or not (`nil') - - -- Variable: latex-warning-regexp - Regular expression of warning message latex command puts out - (`"line.* [0-9]*"') - - -- Variable: latex-error-regexp - Regular expression of error message (`"l\\.[1-9][0-9]*"') - - -- Variable: latex-dos-emergency-message - Message latex command running on DOS puts at abort (`"Emergency - stop"') - - -- Variable: YaTeX-item-regexp - Regular expression of item command (`"\\\\item"') - - -- Variable: YaTeX-verb-regexp - Regexp of verb family. Omit \\\\. (`"verb\\*?\\|path"') - - -- Variable: YaTeX-nervous - T for using local dictionary (`t') - - -- Variable: YaTeX-sectioning-regexp - Regexp of LaTeX sectioning command - (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') - - -- Variable: YaTeX-fill-inhibit-environments - Inhibit fill in these environments (`'("tabular" "tabular*" "array" - "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" - "verbatim" "verbatim*")') - - -- Variable: YaTeX-uncomment-once - T for deleting all preceding `%' (`nil') - - -- Variable: YaTeX-close-paren-always - T for always close all parenthesis automatically, `nil' for only eol - (`t') - - -- Variable: YaTeX-auto-math-mode - Switch math-mode automatically (`t') - - -- Variable: YaTeX-math-key-list-private - User defined alist, math-mode-prefix vs completion alist used in - image completion (`nil'). See `yatexmth.el' for the information - about how to define a completion alist. - - -- Variable: YaTeX-default-pop-window-height - Initial height of typesetting buffer when one-window. Number for the - lines of the buffer, numerical string for the percentage of the - screen-height. `nil' for half height (10) - - -- Variable: YaTeX-help-file - Global online help file name - (`$doc-directory/../../site-lisp/YATEXHLP.eng') - - -- Variable: YaTeX-help-file-private - Private online help file name (`"~/YATEXHLP.eng"') - - -- Variable: YaTeX-no-begend-shortcut - Disable [prefix] b ?? shortcut (`nil)' - - -- Variable: YaTeX-hilit-pattern-adjustment-private - List of the list that contain the regular expression and the symbol - of logical meaning of the string that matches the pattern. See also - the value from `(assq 'yatex-mode hilit-patterns-alist)' and the - value of `YaTeX-hilit-pattern-adjustment-default' (and even the - document of hilit19.el). - - -- Variable: YaTeX-sectioning-level - Alist of LaTeX's sectioning command vs its height. - - -- Variable: YaTeX-hierarchy-ignore-heading-regexp - `YaTeX-display-hierarchy' searches for sectioning command first, and - comment line secondary as a file headings. In latter case, ignore lines - that match with regular expression of this variable. Default value of - this variable is RCS header expressions and mode specifying line `-*- xxxx - -*'. - - -- Variable: YaTeX-skip-default-reader - Non-nil for this variable skips the default argument reader of - section-type command when add-in function for it is not defined - (`nil') - - -- Variable: YaTeX-create-file-prefix-g - When typing `prefix g' on the `\include' line, open the target file - even if the file doesn't exist (`nil') - - -- Variable: YaTeX-simple-messages - Simplyfy messages of various completions (`nil') - - -- Variable: YaTeX-hilit-sectioning-face - When hilit19 and yatex19 is active, YaTeX colors the sectioning - commands. This variable specifies the foreground and background - color of `\part' macro. The default value is `'(yellow/dodgerblue - yellow/slateblue)'. The first element of this list is for the screen - when `hilit-background-mode' is `'light', and the second element is - for `'dark'. You should specify both color as `forecolor/backcolor'. - - -- Variable: YaTeX-hilit-sectioning-attenuation-rate - When color mode, this variable specifies how much attenuate the color - density of `\subparagraph' compared with that of `\chapter' (`'(15 - 40)') See also `YaTeX-hilit-sectioning-face'. - - -- Variable: YaTeX-use-AMS-LaTeX - If you use AMS-LaTeX, set to `t' (`nil') - - -- Variable: YaTeX-use-LaTeX2e - If you use LaTeX2e, set to `t' (`t') - - -- Variable: YaTeX-template-file - File name which is automatically inserted at creation - (`~/work/template.tex') - - -- Variable: YaTeX-search-file-from-top-directory - Non-nil means to search input-files from the directory where main - file exists (`t') - - -- Variable: YaTeX-use-font-lock - Use font-lock to fontify buffer or not (`(featurep 'font-lock)' - - -- Variable: YaTeX-use-hilit19 - Use hilit19 to highlight buffer or not (`(featurep 'hilit19)' - - -- Variable: YaTeX-use-italic-bold - YaTeX tries to search italic, bold fontsets or not (`t' if Emacs-20 - or later). This variable is effective only when font-lock is used. - (`(featurep 'hilit19)' - - -- Variable: YaTeX-singlecmd-suffix - Suffix which is always inserted after maketitle-type macros. `"{}"' - is recommended. - - -- Variable: YaTeX-package-alist-private - Alist of LaTeX2e-package name vs. lists of macros in it. Set this - alist properly and YaTeX automatically check the declaratiion of - `usepackage' for corresponding macro, when you input that macro with - completion. If required `usepackage' is not found, YaTeX also - automatically inserts `\usepackage'. Alist is as follows; - '((PackageName1 (completionType ListOfMacro) (completionType - ListOfMacro)) (PackageName2 (completionType ListOfMacro) - (completionType ListOfMacro...))....) completionType is one of `env, - section, maketitle'. Consult the value of - `YaTeX-package-alist-default' as an example. - - -- Variable: YaTeX-tabular-indentation - At indentation by `C-i' in tabular or array environment, YaTeX put - the additional spaces to the normail indentation depth. The number - of additional spaces is the product of YaTeX-tabular-indentation and - the number of column position in tabular. - - -- Variable: YaTeX-noindent-env-regexp - Regexp of environment names that should begin with no indentation. - All verbatime-like environment name should match with. - - -- Variable: YaTeX-ref-default-label-string - Default \\ref time string format. This format is like strftime(3) - but allowed conversion char are as follows; %y -> Last 2 digit of - year, %b -> Month name, %m -> Monthe number(1-12), %d -> Day, %H -> - Hour, %M -> Minute, %S -> Second, %qx -> alphabetical-decimal - conversion of yymmdd. %qX -> alphabetical-decimal conversion of - HHMMSS. Beware defualt label-string should be always unique. So - this format string should have both time part (%H+%M+%S or %qX) and - date part (%y+(%b|%m)+%d or %qx). - - -- Variable: YaTeX-ref-generate-label-function - Function to generate default label string for unnamed \\label{}s. - The function pointed to this value should take two arguments. First - argument is LaTeX macro's name, second is macro's argument. Here is - an example for using this value. - (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) - (defun my-yatex-generate-label (command value) - (and (string= command "caption") - (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) - (setq command (match-string 1))) - (let ((alist '(("chapter" . "chap") - ("section" . "sec") - ("subsection" . "subsec") - ("figure" . "fig") - ("table" . "tbl")))) - (if (setq command (cdr (assoc command alist))) - (concat command ":" value) - (YaTeX::ref-generate-label nil nil)))) - - - - -File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables - -Sample definitions ------------------- - - For instance, to change the prefix key stroke to `ESC', and name of the -user dictionary `~/src/emacs/yatexrc', and set `fill-prefix' to single TAB -character, add the following `setq' to `~/.emacs'. - - (setq YaTeX-prefix "\e" - YaTeX-user-completion-table "~/src/emacs/yatexrc" - YaTeX-fill-prefix " ") - - - -File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables - -Hook variables --------------- - - More customizations will be done by the hook-function defined in -hook-variable `yatex-mode-hook'. This is useful to define a shortcut key -sequence to enter some environments other than `document' and `enumerate' -etc. The following statement defines `[prefix] ba' to enter -`\begin{abstract}' ... `=end{abstract}' immediately. - - (setq yatex-mode-hook - '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) - - You should use functions `YaTeX-define-key', or -`YaTeX-define-begend-key' to define all the key sequences of yatex-mode. - - - -File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables - -Hook file ---------- - - You can stuff all of YaTeX related expressions into a file named -`yatexhks.el' if you have a lot of codes. YaTeX automatically load this -file at the initialization of itself. Using `yatexhks.el' makes -`yatex-mode-load-hook' unnecessary. - - - -File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations - -Add-in functions -================ - - You can easily define a function to input detailed arguments with -completion according to LaTeX environments or commands. - - -What is add-in functions? -------------------------- - - When you input `tabular' environment, don't you think "I want YaTeX to -complete its argument toward my favorite one such as `{|c|c|c|}'..."? -Yes, you can define the function to complete arguments for any environment -and any LaTeX commands. - - -Procedure ---------- - - Here is the procedure to define add-in functions. - 1. Define the function - 2. Put the function into `yatexhks.el' - -* Menu: - -* How the add-in function works:: -* How the function is called:: -* Useful functions for creating add-in:: -* Contribution:: - - - -File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions - -How the add-in function works ------------------------------ - -There are three types of add-in. - - 1. Option add-in - 2. argument add-in - 3. enclosing add-in - -"Option add-in" returns the LaTeX's optional parameters such as optional -strings after `\begin{ENV}', optional strings between a section-type -command and its first argument, and optional strings just after type -maketitle-type command. The following illustrates the name of add-in -functions, where underlined strings are generated by add-in functions. - - \begin{table}[ht] (Function name: YaTeX:table) - ~~~~ - \put(100,200){} (Function name: YaTeX:put) - ~~~~~~~~~ - \sum_{i=0}^{n} (Function name: YaTeX:sum) - ~~~~~~~~~~ - - Obviously, the function name is decided by concatenating the prefix -`YaTeX:' and LaTeX command's name. - - Another add-in type is "argument add-in", which completes arguments for -section-type commands. - - \newcommand{\foo}{bar} (Function name: YaTeX::newcommand) - ~~~~ ~~~ - - When the section-type command is inputted, the function named by -concatenating `YaTeX::' and section-type command, is called automatically -with an integer argument which indicates which argument of section-type -command is being read. Thus the add-in should determine the job referring -the value of its argument. - - "enclosing add-in" is for modifying and/or checking the region that will -be enclosed by section-type commands via `[prefix] S'. An enclosing -add-in function will be called with two arguments, beginning of the -enclosed region and end of the region. Suppose you want to enclose the -existing text `(a+b)/c' by `\frac{}'. - - a/c - | | - A B - -You do set-mark-command at point A and then move to point B. Typing -`[prefix] S' and input `frac' enclose the region like this; - - \frac{a/c} - -Normally, the expression `a/c' is translated to `\frac{a}{c}'. An -enclosing add-in is useful for modifying `/' to `}{'. - -* Menu: - -* Defining option-add-in:: -* Defining argument-add-in:: -* Defining enclosing-add-in:: - - - -File: yatexe, Node: Defining option-add-in, Next: Defining argument-add-in, Prev: How the add-in function works, Up: How the add-in function works - -Defining `option add-in' -........................ - - If you want `{|c|c|c|}' for all `tabular' environment, - - (defun YaTeX:tabular () - "{|c|c|c|}") - -is enough. If you want more complicated format, define as below. - - (defun YaTeX:tabular () - "{@{\\vrule width 1pt\\ }|||@{\\ \\vrule width 1pt}}") - -Note that the character `\' must be described as `\\' in Emacs-Lisp. The -next example reads the tabular format from keyboard. - (defun YaTeX:tabular () - (concat "{" (read-string "Rule: ") "}")) - - - -File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works - -Defining `argument add-in' -.......................... - - This section describes how to define the add-in function for -`\newcommand'. - - The first argument of `\newcommand' begins always with `\'. The second -argument is usually so complex that we can not edit them in the -minibuffer. Here is the created function considering this. - - (defun YaTeX::newcommand (n) ;n is argument position - (cond - ((= n 1) ;1st argument is macro name - (read-string "Command: " "\\")) ;initial input `\' - ((= n 2) "") ;do nothing when reading arg#2 - (t nil))) - - Note that when the `argument add-in' function return `nil', normal -argument reader will be called. - - - -File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works - -Defining `enclosing add-in' -........................... - - This section describes how to define the add-in function for text -enclosed by `\frac{}'. - - When enclosing the text `5/3' by `\frac{}', you might want to replace -`/' with `}{'. Enclosing function `YaTeX::frac-region' is called with two -arguments, beginning of enclosed text and end of enclosed text. The -function is expected to replace `/' with `}{'. Here is an example -expression. - - (defun YaTeX::frac-region (beg end) - (catch 'done - (while (search-forward "/" end t) - (goto-char (match-beginning 0)) - (if (y-or-n-p "Replace this slash(/) with `}{'") - (throw 'done (replace-match "}{"))) - (goto-char (match-end 0))))) - - - -File: yatexe, Node: How the function is called, Next: Useful functions for creating add-in, Prev: How the add-in function works, Up: Add-in functions - -How the function is called --------------------------- - - YaTeX calls the add-in functions for specified begin-type, section-type, -and maketitle-type command, if any. `Option add-in' functions for -begin-type are called when `\begin{ENV}' has been inserted, functions for -section-type are called just before input of the first argument, and -functions for maketitle-type is called after maketitle-type command has -been inserted. `Argument add-in' functions are called at each entry of -arguments for section-type commands. - - - -File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions - -Useful functions for creating add-in ------------------------------------- - - Many add-in functions for typical LaTeX commands are defined in -`yatexadd.el'. Those are also useful as references. Here are the short -descriptions on useful functions, where [F] means function, [A] means -arguments, [D] means description. - -`[F]' - YaTeX:read-position -`[A]' - Character list which can show up in the brackets -`[D]' - Return the location specifier such as `[htb]'. When nothing is - entered, omit [] itself. If the possible characters are "htbp", call - this function as `(YaTeX:read-position "htbp")' - -`[F]' - YaTeX:read-coordinates -`[A]' - Base prompt, X-axis prompt, Y-axis prompt (each optional) -`[D]' - Read the coordinates with the prompt "BasePrompt X-axisPrompt:" for - X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the - form of "(X,Y)". The default prompts are `Dimension', `X', `Y' - respectively. - -`[F]' - YaTeX:check-completion-type -`[A]' - One of the symbols: 'begin, 'section, or 'maketitle -`[D]' - Check the current completion type is specified one and cause error - if not. The variable `YaTeX-current-completion-type' holds the symbol - according to the current completion type. - - - -File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions - -Contribution ------------- - - If you make your own pretty function and you let it be in public, please -send me the function. I'm going to include it in the next release. - - - -File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations - -Add-in generator -================ - - First, don't forget to read the section of add-in functions *Note Add-in -functions::. If you easily understand how to define them, there's no need -to read this section. But being not familiar with Emacs-Lisp, when you -don't have clear idea what to do, this section describes how to get YaTeX -make add-in function. - - There are two methods of generation. One is for fully interactive -generator for beginners and another requires little knowledge of -Emacs-Lisp. - - -Generator for beginners ------------------------ - The former generator is called by - `M-x YaTeX-generate' - -strokes. All you have to do is follow the guidances. Defying them may -cases the disaster (I wonder what is it???). So when you make some -mistake, it is recommendable to type `C-g' and start afresh. - - -Simple generator ----------------- - - The latter generator is invoked by the next sequence. `M-x -YaTeX-generate-simple' This generator can make both "option add-in" and -"argument add-in" (*refer the section add-in functions* *Note How the -add-in function works::), whereas `YaTeX-generate' cannot make "argument -addin". - - For example, assume you have the LaTeX command as follows. - - \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) - (B)Maximum size of frame - (1)1st argument is filename of EPS file - (2)2nd argument indicates - plain do nothing - frame make frame around image - dframe make double-frame around image - for included EPS file. - (3)Caption for the picture - - Now get start with generation. Typing `M-x YaTeX-generate-simple' -brings the prompt: - (O)ption? (A)rgument? - - -Generating "option add-in" -.......................... - - Since (A), (B) above are optional argument, all we have to do to -complete them is define the option add-in for them. Let's generate the -function to complete (A). - - M-x YaTeX-generate-simple RET - epsinput RET - o - -Typing as above leads the next prompt. - - Read type(1): (S)tring (C)omplete (F)ile ([)option (P)osition co(O)rd. (q)uit - - This asks that "Which type is the completion style of 1st argument?". -Here are the possible completion style. - -`String' - read plain string -`Complete' - read with completion -`File' - read file name -`Option' - read optional string (if string omitted, omit [] too) -`Position' - read positional option (like [htbp]) -`Coord.' - read coordinates -`Quit' - quit from generating - - Since (A) is the optional argument to specify the location of included -EPS file, the completion style is `Position', and the possible characters -are t, b, l, and r. To tell these information to generator, operate as -follows. - - Read type(1).... p - Acceptable characters: tblr RET - - (B) is coordinate. So its completion style is coOrd. We want a prompt -meaning "Maximum size" when completion. - - Read type(2).... o - Prompt for coordinates: Max size RET - - That's all for optional argument. Select quit. - - Read type(3).... q - - Then the generated option add-in function for \epsinput will be shown in -the next window. - - -Generating "argument add-in" -............................ - - Next, create the argument add-in. The arguments for \epsinput are EPS -file name, framing style, and caption string in sequence. - - M-x YaTeX-generate-simple RET - epsinput RET - a - - Above key strokes bring the prompt that asks the number of argument. -Answer it with 3. - - How many arguments?: 3 RET - - Then the generator asks the completion style and prompt for completion. -Answer them. `f' for FileName and prompt string. - - Read type(1).... f - Prompt for argument#1 EPS file name RET - - The second argument is one of selected symbol. So the completion type -is `Completion'. - - Read type(2).... c - Prompt for argument#2 Include style RET - - Then all the candidates ready to be read. Type single RET after -entering all. - - Item[1](RET to exit): plain RET - Item[2](RET to exit): frame RET - Item[3](RET to exit): dframe RET - Item[4](RET to exit): RET - - The following prompt asks whether the entered string must belong to -candidates or not. In this case, since the argument must be one of -`plain', `frame', and `dframe', type `y'. - - Require match? (y or n) y - - The last argument is the caption string for which any completion is -needed. - - Read type(3).... s - Prompt for argument#3 Caption RET - default: Figure of RET - - Finally we'll get the argument add-in in the next window. - - -Contribution ------------- - - If you get your own pretty function and you let it be in public, please -steel yourself in the happy atmosphere and do not send me the function. I -do know it is not fine because it is generated by yatexgen:-p. - - - -File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top - -Etcetera -******** - - The standard completion tables provided in `yatex.el' contain a few -LaTeX commands I frequently use. This is to lessen the key strokes to -complete entire word, because too many candidates rarely used often cause -too many hits. Therefore always try to use completion in order to enrich -your dictionary, and you will also find `Wild Bird' growing suitable for -your LaTeX style. - - The package name `Wild Bird' is the English translation of Japanese -title `Yachou', which is a trick on words of Japanese. - - - -File: yatexe, Node: Copying, Prev: Etcetera, Up: Top - -Copying -******* - - This program is distributed as a free software. You can -use/copy/modify/redistribute this software freely but with NO warranty to -anything as a result of using this software. Adopting code from this -program is also free. But I would not do contract act. - -Any reports and suggestions are welcome as long as I feel interests in -this software. My possible e-mail address is `yuuji@yatex.org'. (as of -Jan.2004) 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 the address -`yatex@yatex.org. If you have some question, please ask to -`yatex-admin@yatex.org'. - - The specification of this software will be surely modified (depending on -my feelings) without notice :-p. - - - HIROSE Yuuji - - -Tag table: -Node: Top146 -Node: What is YaTeX?1487 -Node: Main features1860 -Node: Installation3452 -Node: Typesetting4229 -Node: Calling typesetter5298 -Node: Calling previewer7502 -Node: Printing out7863 -Node: %#notation8155 -Node: Changing typesetter8531 -Node: Splitting input files8895 -Node: Static region for typesetting10319 -Node: Lpr format11448 -Node: Editing %# notation12505 -Node: Completion13024 -Node: Begin-type completion13584 -Node: Section-type completion16627 -Node: view-sectioning19062 -Node: Large-type completion20642 -Node: Maketitle-type completion21373 -Node: Arbitrary completion21925 -Node: End completion22315 -Node: Accent completion22785 -Node: Image completion23402 -Node: Greek letters completion25659 -Node: Local dictionaries26386 -Node: Commenting out27323 -Node: Cursor jump28782 -Node: Jump to corresponding object29094 -Node: Invoking image processor30495 -Node: Jump to main file31838 -Node: Jumping around the environment32203 -Node: Jumping to last completion position32621 -Node: Changing and Deleting33130 -Node: Changing LaTeX commands33522 -Node: Killing LaTeX commands34699 -Node: Filling35884 -Node: Updation of includeonly37735 -Node: What column38532 -Node: Intelligent newline39617 -Node: Usepackage checker41271 -Node: Online help41862 -Node: Browsing file hierarchy43537 -Node: Cooperation with other packages45274 -Node: Customizations45979 -Node: Lisp variables46313 -Node: All customizable variables47317 -Node: Sample definitions57116 -Node: Hook variables57629 -Node: Hook file58333 -Node: Add-in functions58672 -Node: How the add-in function works59532 -Node: Defining option-add-in61731 -Node: Defining argument-add-in62453 -Node: Defining enclosing-add-in63335 -Node: How the function is called64189 -Node: Useful functions for creating add-in64865 -Node: Contribution66270 -Node: Add-in generator66544 -Node: Etcetera71916 -Node: Copying72521 - -End tag table +Info file: yatexe, -*-Text-*- +produced by `texinfo-format-buffer' +from file `yatexe.tex' +using `texinfmt.el' version 2.38 of 3 July 1998. + +START-INFO-DIR-ENTRY +* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs (English). +END-INFO-DIR-ENTRY + + + + + + +File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir) + +* Menu: + +* What is YaTeX?:: +* Main features:: What YaTeX can do +* Installation:: Guide to install +* Typesetting:: Call typesetting processes +* %#notation:: Meta-keyword `%#' +* Completion:: Input LaTeX commands with completion +* Local dictionaries:: Directory dependent completion +* Commenting out:: Commenting/uncommenting text +* Cursor jump:: Jumping to related position +* Changing and Deleting:: Changing/deleting certain unit of text +* Filling:: Filling an item or paragraph +* Updation of includeonly:: Free from maintaining includeonly +* What column:: Check what table-column the cursor belong +* Intelligent newline:: Guess requisites of new line +* Usepackage checker:: Selecting correct \usepackage is YaTeX's job +* Online help:: On-line documentation of LaTeX +* Browsing file hierarchy:: Walking through file hierarchy +* Cooperation with other packages:: Work well with gmhist, min-out +* Customizations:: How to breed `Wild Bird' +* Etcetera:: YaTeX is acquisitive. +* Copying:: Redistribution + + + + +File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top + +What is YaTeX? +************** + + YaTeX automates typesetting and previewing of LaTeX and enables +completing input of LaTeX mark-up command such as `\begin{}'..`\end{}'. + + YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi +Language Enhancement to GNU Emacs), and latex on DOS. + + + +File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top + +Main features +************* + + * Invocation of typesetter, previewer and related programs(`C-c t') + * Typesetting on static region which is independent from point + * Semiautomatic replacing of `\includeonly' + * Jumping to error line(`C-c '') + * Completing-read of LaTeX commands such as `\begin{}', `\section' etc. + (`C-c b', `C-c s', `C-c l', `C-c m') + * Enclosing text into LaTeX environments or commands (`C-u' + ABOVEKEYSTROKES) + * Displaying the structure of text at entering sectioning commands + * Lump shifting of sectioning commands (*Note view-sectioning::) + * Learning unknown/new LaTeX commands for the next completion + * Argument reading with a guide for complicated LaTeX commands + * Generating argument-readers for new/unsupported commands(`yatexgen') + * Quick changing or deleting of LaTeX commands(`C-c c', `C-c k') + * Jumping from and to inter-file, begin<->end, ref<->label(`C-c g') + * Blanket commenting out or uncommenting (`C-c >', `C-c <', `C-c ,', + `C-c .') + * Easy input of accent mark, math-mode's commands and Greek letters + (`C-c a', `;', `:') + * Online help for the popular LaTeX commands (`C-c ?', `C-c /') + * Document files hierarchy browser (`C-c d') + * Adding automatically \usepackage corresponding to inputting LaTeX + macro with completion + * Allow you to forget creating \label{}s, \ref{} or \cite{} completion + automatically generate labels. + + + +File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top + +Installation +************ + + Put next two expressions into your `~/.emacs'. + + (setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) + (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) + +Next, add certain path name where you put files of YaTeX to your +load-path. If you want to put them in `~/src/emacs', write + + (setq load-path + (cons (expand-file-name "~/src/emacs") load-path)) + +in your `~/.emacs' + + Then, yatex-mode will be automatically loaded when you visit a file +which has extension `.tex'. If yatex-mode is successfully loaded, mode +string on mode line will be turned to "YaTeX". + + + + +File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top + +Typesetting +*********** + + The prefix key stroke of yatex-mode is `C-c' (Press 'C' with Control +key) by default. If you don't intend to change the prefix key stroke, +assume all `[prefix]' as `C-c' in this document. These key strokes +execute typeset or preview command. + +`[prefix] t j' + ... invoke latex +`[prefix] t r' + ... invoke latex on region +`[prefix] t e' + ... invoke latex on current environment or whole portion of + current formulas in math-mode. +`[prefix] t d' + ... invoke dvipdfmx after successful typesetting +`[prefix] t k' + ... kill current typesetting process +`[prefix] t b' + ... invoke bibtex +`[prefix] t i' + ... invoke makeindex +`[prefix] t d' + ... invoke latex && dvipdfmx +`[prefix] t p' + ... preview +`[prefix] t l' + ... lpr dvi-file +`[prefix] t s' + ... search current string on xdvi-remote + +* Menu: + +* Calling typesetter:: +* Calling previewer:: +* Printing out:: + + + +File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting + +Calling typesetter +================== + + Typing `[prefix] t j', the current editing window will be divided +horizontally when you invoke latex command, and log message of LaTeX +typesetting will be displayed in the other window; called typesetting +buffer. The typesetting buffer automatically scrolls up and traces LaTeX +warnings and error messages. If you see latex stopping by an error, you +can send string to latex in the typesetting buffer. + + If an error stops the LaTeX typesetting, this key stroke will move the +cursor to the line where LaTeX error is detected. + +`[prefix] '' +`([prefix]+single quotation)' + + ... jump to the previous error or warning + + If you find a noticeable error, move to the typesetting buffer and move +the cursor on the line of error message and type `SPACE' key. This makes +the cursor move to corresponding source line. + + YaTeX-typeset-region invoked by `[prefix] tr' call typesetter for +region. The region is specified by standard point and mark, or by +`%#BEGIN' and `%#END' marks. Selected region will be copied to the +temporary file `texput.tex' with the same preamble as the main file of +current editing sources. Be sure to put all local macro settings in +preamble, not after `\begin{document}'. The method of specification of +the region is shown in the section *Note %#notation::. + + The documentclass for typeset-region is the same as that of editing file +if you edit one file, and is the same as main file's if you edit splitting +files. + + The `[prefix] te' key automatically marks current inner environment or +inner math mode and then call typeset-region with marked region. This is +convenient to quick view of current tabular environment or current editing +formulas. Keeping previewer window for `texput.dvi' is handy for +debugging. Since `[prefix] te' selects the inner-most environment as +region, it is not suitable for partial typesetting of doubly or more +composed environment. If you want to do partial typesetting for a nested +environment, use `[prefix] tr' for static-region, which is described in +the section *Note %#notation::. + + + +File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting + +Calling previewer +================= + + `[prefix] t p' invokes the TeX previewer. And if you are using +xdvi-remote, which can be controled from other terminals, `[prefix] t s' +enables you to search current string at the cursor on the running xdvi +window. + + + +File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting + +Printing out +============ + + When you type `[preifx] t l', YaTeX asks you the range of dvi-printing +by default. You can skip this by invoking it with universal-argument as +follows: + + C-u [prefix] tl + + + +File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top + +%# notation +*********** + + You can control the typesetting process by describing `%#' notations in +the source text. + +* Menu: + +* Changing typesetter:: +* Splitting input files:: +* Static region for typesetting:: +* Lpr format:: +* Controlling which command to invoke:: +* Editing %# notation:: + + + +File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation + +To change the `latex' command or to split a source text. +======================================================== + + To change the typesetting command, write + + %#!latex-big + +anywhere in the source text. This is useful for changing typesetter. + + + +File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation + +Splitting input files +===================== + + And if you split the source text and edit subfile that should be +included from main text. + + %#!latex main.tex + +will be helpful to execute latex on main file from sub text buffer. Since +this command line after `%#!' will be sent to shell literally, next +description makes it convenient to use ghostview as dvi-previewer. + + %#!latex main && dvi2ps main.dvi > main + +Note that YaTeX assumes the component before the last period of the last +word in this line as base name of the main LaTeX source. The `%f' +notation in this line is replaced by main file name, and `%r' replaced by +root name of main file name. If you specify `%f' or `%r', YaTeX always +ask you the name of main file at the first typesetting. + + To make best use of the feature of inter-file jumping by `[prefix] g' +(see *Note Cursor jump::), take described below into consideration. + + * You can put split texts in sub directory, but not in sub directory of + sub directory. + * In the main text, specify the child file name with relative path name + such as \include{chap1/sub}, when you include the file in a + sub-directory. + * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the + parent directory(not %#!latex ../main.tex). + + + +File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation + +Static region +============= + + Typeset-region by `[prefix] tr' passes the region between point and mark +to typesetting command by default. But when you want to typeset static +region, enclose the region by `%#BEGIN' and `%#END' as follows. + + %#BEGIN + TheRegionYouWantToTypesetManyTimes + %#END + +This is the rule of deciding the region. + + 1. If there exists %#BEGIN before point, + + 1. If there exists %#END after %#BEGIN, + * From %#BEGIN to %#END. + + 2. If %#END does not exist after %#BEGIN, + * From %#BEGIN to the end of buffer. + + 2. If there does not exist %#BEGIN before point, + * Between point and mark(standard method of Emacs). + + It is useful to write `%#BEGIN' in the previous line of \begin and +`%#END' in the next line of \`end' when you try complex environment such +as `tabular' many times. It is also useful to put only `%#BEGIN' alone at +the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' +pair. + + + +File: yatexe, Node: Lpr format, Next: Controlling which command to invoke, Prev: Static region for typesetting, Up: %#notation + +Lpr format +========== + + Lpr format is specified by three Lisp variables. Here are the default +values of them. + +`(1)dviprint-command-format' + `"dvi2ps %f %t %s | lpr"' +`(2)dviprint-from-format' + `"-f %b"' +`(3)dviprint-to-format' + `"-t %e"' + + On YaTeX-lpr, `%s' in (1) is replaced by the file name of main text, +`%f' by contents of (2), %t by contents of (3). At these replacements, +`%b' in (2) is also replaced by the number of beginning page, `%e' in (3) +is replaced by the number of ending page. But `%f' and `%t' are ignored +when you omit the range of print-out by `C-u [prefix] tl'. + + If you want to change this lpr format temporarily, put a command such as +follows somewhere in the text: + + %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 + + And if you want YaTeX not to ask you the range of printing out, the next +example may be helpful. + + %#LPR dvi2ps %s | lpr + + + +File: yatexe, Node: Controlling which command to invoke, Next: Editing %# notation, Prev: Lpr format, Up: %#notation + +Controlling which command to invoke +=================================== + +These %# notation below can control which command to invoke for LaTeX +related process. + + `%#BIBTEX' + + ... Command line for makeindex ([prefix] t i) + `%#MAKEINDEX' + + ... Command line for bibtex ([prefix] t b) + +If you want to invoke "makeidx hogehoge" to update index, put the next +line some upper place in the source, for example. + + %#MAKEINDEX makeidx hogehoge + + + + +File: yatexe, Node: Editing %# notation, Prev: Controlling which command to invoke, Up: %#notation + +Editing %# notation +=================== + + To edit `%#' notation described above, type + +`[prefix] %' + ... editing %# notation menu + +and select one of the entry of the menu as follows. + + !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR + +Type `!' to edit `%#!' entry, `b' to enclose the region with `%#BEGIN' and +`%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' +and `%#END' are automatically erased. + + + +File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top + +Completion +********** + + YaTeX makes it easy to input the LaTeX commands. There are several +kinds of completion type, begin-type, section-type, large-type, etc... + +* Menu: + +* Begin-type completion:: +* Section-type completion:: +* Large-type completion:: +* Maketitle-type completion:: +* Arbitrary completion:: +* End completion:: +* Accent completion:: +* Image completion:: +* Greek letters completion:: + + + +File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion + +Begin-type completion +===================== + + "Begin-type completion" completes commands of `\begin{env}' ... +`\end{env}'. All of the begin-type completions begin with this key +sequence. + +`[prefix] b' + ... start begin-type completion + +An additional key stroke immediately completes a frequently used LaTeX +`\begin{}'...`\`end'{}' environment. + +`[prefix] b c' + ... `\begin{center}...\end{center}' +`[prefix] b d' + ... `\begin{document}...\end{document}' +`[prefix] b D' + ... `\begin{description}...\end{description}' +`[prefix] b e' + ... `\begin{enumerate}...\end{enumerate}' +`[prefix] b E' + ... `\begin{equation}...\end{equation}' +`[prefix] b i' + ... `\begin{itemize}...\end{itemize}' +`[prefix] b l' + ... `\begin{flushleft}...\end{flushleft}' +`[prefix] b m' + ... `\begin{minipage}...\end{minipage}' +`[prefix] b t' + ... `\begin{tabbing}...\end{tabbing}' +`[prefix] b T' + ... `\begin{tabular}...\end{tabular}' +`[prefix] b^T' + ... `\begin{table}...\end{table}' +`[prefix] b p' + ... `\begin{picture}...\end{picture}' +`[prefix] b q' + ... `\begin{quote}...\end{quote}' +`[prefix] b Q' + ... `\begin{quotation}...\end{quotation}' +`[prefix] b r' + ... `\begin{flushright}...\end{flushright}' +`[prefix] b v' + ... `\begin{verbatim}...\end{verbatim}' +`[prefix] b V' + ... `\begin{verse}...\end{verse}' + + Any other LaTeX environments are made by completing-read of the Emacs +function. + +`[prefix] b SPACE' + ... begin-type completion + +The next message will show up in the minibuffer + + Begin environment(default document): + +by typing `[prefix] b'. Put the wishing environment with completion in +the minibuffer, and `\begin{env}'...\`\end{env}' will be inserted in the +LaTeX source text. If the environment you want to put does not exist in +the YaTeX completion table, it will be registered in the user completion +table. YaTeX automatically saves the user completion table in the user +dictionary file at exiting of emacs. + +At the completion of certain environments, the expected initial entry will +automatically inserted such as `\item' for `itemize' environment. If you +don't want the entry, it can be removed by undoing. + + If you want to enclose some paragraphs which have already been written, +invoke the begin-type completion with changing the case of `b' of key +sequence upper(or invoke it with universal argument by `C-u' prefix). + + The following example encloses a region with `description' environment. + +`[prefix] B D' +`(or ESC 1 [prefix] b D)' +`(or C-u [prefix] b D)' + + ... begin-type completion for region + + This enclosing holds good for the completing input by `[prefix] b SPC'. +`[prefix] B SPC' enclose a region with the environment selected by +completing-read. + + + +File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion + +Section-type completion +======================= + + "Section-type completion" completes section-type commands which take an +argument or more such as `\section{foo}'. To invoke section-type +completion, type + +`[prefix] s' + ... section-type completion + +then the prompt + + (C-v for view) \???{} (default documentclass): + +will show up in the minibuffer. Section-type LaTeX commands are completed +by space key, and the default value is selected when you type nothing in +the minibuffer. + + Next, + + \section{???}: + +prompts you the argument of section-type LaTeX command. For example, the +following inputs + + \???{} (default documentclass): section + \section{???}: Hello world. + +will insert the string + + \section{Hello world.} + +in your LaTeX source. When you neglect argument such as + + (C-v for view) \???{} (default section): vspace* + \vspace*{???}: + +YaTeX puts + + \vspace*{} + +and move the cursor in the braces. + + In LaTeX command, there are commands which take more than one arguments +such as `\addtolength{\topmargin}{8mm}'. To complete these commands, +invoke section-type completion with universal argument as, + + C-u 2 [prefix] s (or ESC 2 [prefix] s) + +and make answers in minibuffer like this. + + (C-v for view) \???{} (default vspace*): addtolength + \addtolength{???}: \topmargin + Argument 2: 8mm + +`\addtolength' and the first argument `\topmargin' can be typed easily by +completing read. Since YaTeX also learns the number of arguments of +section-type command and will ask that many arguments in future +completion, you had better tell the number of arguments to YaTeX at the +first completion of the new word. But you can change the number of +arguments by calling the completion with different universal argument +again. + + + Invoking section-type completion with `[Prefix] S' (Capital `S') +includes the region as the first argument of section-type command. + + The section/large/maketitle type completion can work at the prompt for +the argument of other section-type completion. Nested LaTeX commands are +efficiently read with the recursive completion by typing YaTeX's +completion key sequence in the minibuffer. + +* Menu: + +* view-sectioning:: + + + +File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion + +view-sectioning +--------------- + + In the minibuffer at the prompt of section-type command completion, +typing `C-v' shows a list of sectioning commands in source text(The line +with `<<--' mark is the nearest sectioning command). Then, default +sectioning command appears in the minibuffer. You can go up/down +sectioning command by typing `C-p'/`C-n', can scrolls up/down the listing +buffer by `C-v'/`M-v', and can hide sectioning commands under certain +level by 0 through 6. Type `?' in the minibuffer of sectioning prompt +for more information. + + You can generate this listing buffer (`*Sectioning Lines*' buffer) by +typing +`M-x YaTeX-section-overview' + ... Generate *Sectioning Lines* buffer + +from the LaTeX source buffer. In this listing buffer, typing `u' on the +sectioning command shifts up the corresponding sectioning command in +source text and `d' shifts down. After marking lines in the listing +buffer, typing `U' shifts up all sectioning commands in the region, and +`U' shifts down. Here are all the key bindings of `*Sectioning Lines*' +buffer. + +`SPC' + ... Jump to corresponding source line +`.' + ... Display corresponding source line +`u' + ... Shift up a sectioning line +`d' + ... Shift down a sectioning line +`U' + ... Shift up sectioning lines in region +`D' + ... Shift down sectioning lines in region +`0...6' + ... Hide sectioning commands whose level is lower than n + + + + +File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion + +Large-type completion +===================== + + "Large-type completion" inputs the font or size changing descriptions +such as `{\large }'. When you type + +`[prefix] l' + ... large-type completion + +the message in the minibuffer + + {\??? } (default large): + +prompts prompts you large-type command with completing-read. There are +TeX commands to change fonts or sizes, `it', `huge' and so on, in the +completion table. + + Region-based completion is also invoked by changing the letter after +prefix key stroke as `[prefix] L'. It encloses the region by braces with +large-type command. + + + +File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion + +Maketitle-type completion +========================= + + We call it "maketitle-type completion" which completes commands such as +`\maketitle'. Take notice that maketitle-type commands take no arguments. +Then, typing + +`[prefix] m' + ... maketitle-type completion + +begins maketitle-completion. Above mentioned method is true for +maketitle-completion, and there are LaTeX commands with no arguments in +completion table. + + + +File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion + +Arbitrary completion +==================== + + You can complete certain LaTeX command anywhere without typical +completing method as described, by typing + +`[prefix] SPC' + ... arbitrary completion + +after the initial string of LaTeX command that is preceded by `\'. + + + +File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion + +End completion +============== + + YaTeX automatically detects the opened environment and close it with +\`\end{environment}'. Though proficient YaTeX users never fail to make +environment with begin-type completion, some may begin an environment +manually. In that case, type + +`[prefix] e' + ... `end' completion + +at the end of the opened environment. + + + +File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion + +Accent completion +================= + + When you want to write the European accent marks(like `\`{o}'), + +`[prefix] a' + ... accent completion + +shows the menu + + 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b + +in the minibuffer. Chose one character or corresponding numeric, and you +will see + + \`{} + +in the editing buffer with the cursor positioned in braces. Type one more +character `o' for example, then + + \`{o} + +will be completed, and the cursor gets out from braces. + + + +File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion + +Image completion of mathematical sign +===================================== + + Arrow marks, sigma mark and those signs mainly used in the TeX's math +environment are completed by key sequences which imitate the corresponding +symbols graphically. This completion only works in the math environment. +YaTeX automatically detects whether the cursor located in math environment +or not, and change the behavior of key strokes `;' and `:'. + + By the way, we often express the leftarrow mark by `<-' for example. +Considering such image, you can write `\leftarrow' by typing `<-' after +`;' (semicolon) as a prefix. In the same way, `\longleftarrow' (`<--') is +completed by typing `;<--', infinity mark which is imitated by `oo' is +completed by typing `;oo'. + + Here are the sample operations in YaTeX math-mode. + + INPUT Completed LaTeX commands + ; < - `\leftarrow' + ; < - - `\longleftarrow' + ; < - - > `\longleftrightarrow' + ; o `\circ' + ; o o `\infty' + + In any case, you can quit from image completion and can move to the next +editing operation if the LaTeX command you want is shown in the buffer. + + `;' itself in math-environment is inserted by `;;'. Typing `TAB' in the +midst of image completion shows all of the LaTeX commands that start with +the same name as string you previously typed in. In this menu buffer, +press `RET' after moving the cursor (by `n', `p', `b', `f') to insert the +LaTeX command. + + To know all of the completion table, type `TAB' just after `;'. And +here is the sample menu by `TAB' after `;<'. + + KEY LaTeX sequence sign + < \leq < + ~ + << \ll << + <- \leftarrow <- + <= \Leftarrow <= + + You can define your favorite key-vs-sequence completion table in the +Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also +`yatexmth.el' for the information of the structure of this variable. + + + +File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion + +Greek letters completion +======================== + + Math-mode of YaTeX provides another image completion, Greek letters +completion in the same method. After prefix `:', typing `a' makes +`\alpha', `b' makes `\beta' and `g' makes `\gamma' and so on. First, type +`:TAB' to know all the correspondence of alphabets vs. Greek letters. + + If you will find `;' or `:' doesn't work in correct position of math +environment, it may be a bug of YaTeX. Please send me a bug report with +the configuration of your text, and avoid it temporarily by typing `;' or +`:' after universal-argument(`C-u') which forces `;' and `:' to work as +math-prefix. + + + +File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top + +Local dictionaries +****************** + + Tables for completion consist of three dictionaries; `standard +dictionary' built in `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; + + `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard + +In this menu, typing `u' updates your `user dictionary', `l' updates your +local dictionary, `n' updates only on-memory dictionary which go through +only current Emacs session, and `d' updates no dictionary and throws the +new word away. + + If you find this switching feature meaningless and bothersome, put the +next expression into your `~/.emacs' + + (setq YaTeX-nervous nil) + + + +File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top + +Commenting out +************** + + You may want to comment out some region. + +`[prefix] >' + ... comment out region by % +`[prefix] <' + ... uncomment region + +cause an operation to the region between point and mark. + +`[prefix] .' + ... comment out current paragraph +`[prefix] ,' + ... uncomment current paragraph + +comments or uncomments the paragraph where the cursor belongs. This +`paragraph' means the region marked by the function mark-paragraph, bound +to `ESC h' by default. It is NOT predictable what will happen when you +continuously comment out some paragraph many times. + + You can also comment out an environment between `\begin' and `\end', or +a `\begin'-\`\end' pair themselves, by making the following key strokes on +the line where `\begin{}' or `\end{}' exists. + +`[prefix] >' + ... comment out from \begin to \`end' +`[prefix] <' + ... uncomment from \begin to \`end' + +comment whole the contents of environment. Moreover, + +`[prefix] .' + ... comment out \begin and \`end' +`[prefix] ,' + ... uncomment \begin and \`end' + +(un)comments out only environment declaration: `\begin{}' and `\end{}'. +NOTE that even if you intend to comment out some region, invoking +`[prefix] >' on the `\begin',`\end' line decides to work in `commenting +out from `\begin' to `\end'' mode. + + + + +File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top + +Cursor jump +*********** + + +* Menu: + +* Jump to corresponding object:: +* Invoking image processor:: +* Jump to main file:: +* Jumping around the environment:: +* Jumping to last completion position:: + + + +File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump + +Jump to corresponding object +============================ + + Typing + +`[prefix] g' + ... go to corresponding object + +in a certain place move the cursor to the place corresponding to the LaTeX +command of last place. YaTeX recognize the followings as pairs that have +relation each other. + + * `\begin{}' <-> `\end{}' + * `%#BEGIN' <-> `%#END' + * On the image-including line -> corresponding viewer or drawing tool + * `\label{}' <-> `\ref{}' + * `\include(\input)' -> included file + * `\bibitem{}' <-> `\cite{}' + + On a `\begin',`\end' line, typing `[prefix] g' moves the cursor to the +corresponding `\end',`\begin' line, if its partner really exists. The +behavior on the line `%#BEGIN' and `%#END' are the same. Note that if the +correspondent of `label/ref' or `cite/bibitem' exists in another file, +that file have to be opened to make a round trip between references by +`[prefix] g'. + + If you type `[prefix] g' on the line of `\include{chap1}', typically in +the main text, YaTeX switches buffer to `chap1.tex'. + +`[prefix] 4 g' + ... go to corresponding object in other window + +do the same job as `[prefix] g' except it's done in other window. Note +that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs +because it is meaningless. + + + +File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump + +Invoking image processor +======================== + + +`image-including line' described above means such lines as +`\epsfile{file=foo.ps}'. If you type `[prefix] g' on that line, YaTeX +automatically searches source of `foo.ps' and invokes image viewer or +drawing tool correspoinding to it. For example; if you draw an image +foo.obj with Tgif and enclose its product named foo.eps by `\epsfile' +command. Typing `[prefix] g' on `\epsfile' line make YaTeX invoke `tgif +foo.obj'. How a processor is choosen is as follows. + + 1. If there is an expression matching with one of the pattern defined in + `YaTeX-processed-file-regexp-alist', extract file name from regexp + group surrounded by \\(\\). (Which group corresponds is written in + the cdr part of each list.) If no matches were found, do nothing. + 2. If there is a pattern as `%PROCESSOR' which is defined in the + variable `YaTeX-file-processor-alist', call that processor giving the + file name with corresponding extension. + 3. If not, check the existence of each file which is supplied the + extension in the cdr part of each list of + `YaTeX-file-processor-alist'. If any, call the corresponding image + viewer or drawing tool. + + + +File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump + +Jump to main file +================= + + Typing + +`[prefix] ^' + ... visit main file +`[prefix] 4^' + ... visit main file in other buffer + +in a sub text switch the buffer to the main text specified by `%#!' +notation. + + + +File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump + +Jumping around the environment +============================== + + And these are the functions which work on the current LaTeX environment: + +`M-C-a' + ... beginning of environment +`M-C-e' + ... `end' of environment +`M-C-@' + ... mark environment + + + +File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump + +Jumping to last completion position +=================================== + +YaTeX always memorize the position of completion into register `3'. So +every time you make a trip to any other part of text other than you are +writing, you can return to the editing paragraph by calling +register-to-point with argument YaTeX-current-position-register, which is +achieved by typing `C-x j 3'(by default). + + + +File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top + +Changing and Deleting +********************* + + These functions are for change or deletion of LaTeX commands already +entered. + +`[prefix] c' + ... change LaTeX command +`[prefix] k' + ... kill LaTeX command + +* Menu: + +* Changing LaTeX commands:: +* Killing LaTeX commands:: + + + +File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting + +Changing LaTeX commands +======================= + +`[prefix] c' can change the various (La)TeX commands. This can change the +followings. + * Environment names + * Section-type commands + * Argument of section-type commands + * Optional parameters (enclosed by []) of section-type commands + * Font/size designators + * Math-mode's maketitle-type commands that can be inputted with image + completion + + Typing `[prefix] c' on one of above objects you want to change brings a +suitable reading function sometimes with completion. Note: If you want to +change the argument of section-type command that contains other LaTeX +commands, type `[prefix] c' either of surrounding braces of the argument +in order to make YaTeX ignore the internal LaTeX sequences as an object of +changing. Anyway, it is very difficult to know which argument position +the cursor belongs because the LaTeX commands can be nested and braces can +freely emerge. So keep it mind to put the cursor on a brace when you are +thinking of changing a complicated argument. + + + +File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting + +Killing LaTeX commands +====================== + + `[prefix] k' kills the LaTeX commands sometimes with their arguments. +Following table illustrates the correspondence of the invoking position +and what is killed. + + [Invoking position] [action] + \begin, \end line kill \begin,\end pairs + %#BEGIN, %#END line kill %#BEGIN,%#END pairs + on a Section-type command kill section-type command + on a parenthesis kill parentheses + +Note that when killing `\begin, \end' or `%#BEGIN, %#END' pair, the lines +`\begin, \end' or `%#BEGIN, %#END' exist will be killed entirely. So take +care not to create any line that contains more than one `\begin' or so. + +While all operations above are to kill `containers' which surround some +text, universal argument (`C-u') for these commands kills not only +`containers' but also `contents' of them. See below as a sample. + + Original text: [prefix] k C-u [prefix] k + Main \footnote{note} here. Main note here. Main here. + ~(cursor) + + + +File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top + +Filling +******* + + +Filling an item +=============== + + To fill a term (descriptive sentences) of `\item', type + +`M-q' + ... fill item + +on that item. + + YaTeX uses the value of the variable `YaTeX-item-regexp' as the regular +expression to search item header in itemize environment. If you make a +newcommand to itemize terms(e.g. `\underlineitem'), put + + (setq YaTeX-item-regexp + "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") + +in your `~/.emacs'. If you are not familiar with regular expression for +Emacs-Lisp, name a newcommand for `itemize' beginning with `\item' such as +`\itembf', not `\bfitem'. + + This function reformats the `\item' into `hang-indented' style. For +example: + + itemize, enumerate environment: + > + >\item[foo] `foo' is the typical word for describing an + > arbitrarily written.... + description environment: + > \item[bar] When the word `for' is used as an arbitrarily + > word, `bar' is bound to follow it. + + Note that the indent depth of an `\item' word and its descriptive +paragraph are the same in latter case. If you want to use different +depth, invoke fill-paragraph at the beginning of non-whitespace +character(see below). + + +Filling paragraph +================= + + Fill-paragraph is little bit adapted for LaTeX sources. It retains from +filling in certain environments where formatting leads to a disaster such +as verbatim, tabular, or so. And it protects `\verb' expressions from +being folded (The variable `YaTeX-verb-regexp' controls this). Besides, +putting cursor on the first occurrence of non-whitespace character on a +line changes the fill-prefix temporarily to the depth of the line. + + + +File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top + +Updation of `\includeonly' +************************** + + When you edit splitting source texts, the notation + + \includeonly{CurrentEditingFileName} + +in the main file reduces the time of typesetting. If you want to hack +other file a little however, you have to rewrite it to + + \includeonly{OtherFileNameYouWantToFix} + +in the main file. YaTeX automatically detects that the current edited +text is not in includeonly list and prompts you + + A)dd R)eplace %)comment? + +in the minibuffer. Type `a' if you want to add the current file name to +`\includeonly' list, `r' to replace \`includeonly' list with the current +file, and type `%' to comment out the `\includeonly' line. + + + +File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top + +What column? +************ + + We are often get tired of finding the corresponding column in large +tabulars. For example, + + \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline + Name&Position&Post No.&Addr.&Phone No.&FAX No.& + Home Addr.&Home Phone\\ \hline + Thunder Bird & 6 & 223 & LA & xxx-yyy & + zzz-www & Japan & 9876-54321 \\ + & 2 & \multicolumn{2}{c|}{Unknown} + &&&(???) + \\ \hline + \end{tabular} + +Suppose you have the cursor located at `(???)' mark, can you tell which +column it is belonging at once? Maybe no. In such case, type + +`[prefix] &' + ... What column + +in that position. YaTeX tells you the column header of the current field. +Since YaTeX assumes the first line of tabular environment as a row of +column headers, you can create a row of virtual column headers by putting +them in the first line and commenting that line with `%'. + + + +File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top + +Intelligent newline +******************* + + At the end of begin-type completion of tabular[*], array, itemize, +enumerate or tabbing environment, or typing + +`ESC RET' + ... Intelligent newline + +in these environments inserts the contents corresponding to the current +environment in the next line. (At the begin-type completion, this +contents can be removed by `undo'.) In `tabular' environment, for +example, `ESC RET' inserts the certain number of `&' and trailing `\\', +and `\hline' if other `\hline' is found in backward. Here are the list of +contents vs. environments. + + * `tabular', `tabular*', `array' + + Corresponding number of `&' and `\\'. And `\hline' if + needed. + + * `tabbing' + + The same number of `\>' as `\=' in the first line. + + * `itemize', `enumerate', `description', `list' + + `\item' or `item[]'. + + Note that since this function works seeing the contents of the first +line, please call this after the second line if possible. + + If you want to apply these trick to other environments, `foo' +environment for example, define the function named +`YaTeX-intelligent-newline-foo' to insert corresponding contents. That +function will be called at the beginning of the next line after the +newline is inserted to the current line. Since the function +`YaTeX-indent-line' is designed to indent the current line properly, +calling this function before your code to insert certain contents must be +useful. See the definition of the function +`YaTeX-intelligent-newline-itemize' as an example. + + + +File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top + +Usepackage checker +****************** + +When you input begint-type, section-type, maketitle-type macros with +completion, and it requires some LaTeX2e package, YaTeX examines the +existence of correct `\usepackage'. If not, YaTeX inserts the +`\usepackage{}' declaration corresponding to input macro. + +To activate the package completion for your favarite package, set the +variable `YaTeX-package-alist-private' correctly. Please refere the value +of `YaTeX-package-alist-default' as an example. + + + +File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top + +Online help +*********** + + YaTeX provides you the online help with popular LaTeX commands. + + Here are the key strokes for the online help. + +`[prefix] ?' + ... Online help +`[prefix] /' + ... Online apropos + + +Online help +=========== + + `Online help' shows the documentation for the popular LaTeX +commands(defaults to the commands on the cursor) in the next buffer. +There are two help file, `global help' and `private help'. The former +file contains the descriptions on the standard LaTeX command and is +specified its name by variable `YaTeX-help-file'. Usually, the global +help file should be located in public space (`$EMACSEXECPATH' by default) +and should be world writable so that anyone can update it to enrich its +contents. The latter file contains descriptions on non-standard or +personal command definitions and is specified by +`YaTeX-help-file-private'. This file should be put into private +directory. + + +Online apropos +============== + + `Online apropos' is an equivalent of GNU Emacs's apropos. It shows all +the documentations that contains the keyword entered by the user. + + +When no descriptions are found... +================================= + + If there is no description on a command in help files, YaTeX requires +you to write a description on that command. If you are willing to do, +determine which help file to add and write the description on it referring +your manual of (La)TeX. Please send me your additional descriptions if +you describe the help on some standard commands. I might want to include +it in the next distribution. + + + +File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top + +Browsing file hierarchy +*********************** + + When you are editing multi-file source, typing + +`[prefix] d' + ... browse file hierarchy + +asks you the parent-most file (which may be defaulted) and displays the +documentation hierarchy in the next window. In this buffer, the following +commands are available. + +`n' + ... move to the next line and show its contents +`p' + ... move to the previous line and show its contents +`N' + ... move to the next file in the same inclusion level +`P' + ... move to the previous file in the same inclusion level +`j' + ... move to the next line +`k' + ... move to the previous line +`u' + ... move to the parent file +`.' + ... show the current files contents in the next window +`SPC' + ... scroll up the current file window +`DEL, b' + ... scroll down the current file window +`<' + ... show the beginning of the current file +`>' + ... show the end of the current file +`>' + ... return to the previous postion after `<' or `>' +`RET, g' + ... open the current file in the next window +`mouse-2' + ... same as RET(available only with window system) +`o' + ... other window +`1' + ... delete other windows +`-' + ... shrink hierarchy buffer window +`+' + ... enlarge hierarchy buffer window +`?' + ... describe mode +`q' + ... quit + + Note that operations on the file contents in the next window do not work +correctly when you close the corresponding file. + + + +File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top + +Cooperation with other packages +******************************* + + YaTeX works better with other brilliant packages. + + +gmhist +====== + + When you are loading `gmhist.el' and `gmhist-mh.el', you can use +independent command history list at the prompt of preview command +(`[prefix] tp') and print command (`[prefix] tl'). On each prompt, you +can enter the previous command line string repeatedly by typing `M-p'. + + +min-out +======= + + `min-out', the outline minor mode, can be used in yatex-mode buffers. +If you want to use it with YaTeX, please refer the file `yatexm-o.el' as +an example. + + + +File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top + +Customizations +************** + + You can customize YaTeX by setting Emacs-Lisp variables and by making +add-in functions. + +* Menu: + +* Lisp variables:: +* Add-in functions:: +* Add-in generator:: + + + +File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations + +Lisp variables +============== + + You can change the key assignments or make completion more comfortable +by setting the values of various variables which control the movement of +yatex-mode. + + For example, if you want to change the prefix key stroke from `C-c' to +any other sequence, set YaTeX-prefix to whatever you want to use. If you +don't want to use the key sequence `C-c letter' which is assumed to be the +user reserved sequence in Emacs world, set `YaTeX-inhibit-prefix-letter' +to `t', and all of the default key bind of `C-c letter' will turn to the +corresponding `C-c C-letter' (but the region based completions that is +invoked with `C-c Capital-letter' remain valid, if you want to disable +those bindings, set that variable to 1 instead of `t'). + +* Menu: + +* All customizable variables:: +* Sample definitions:: +* Hook variables:: +* Hook file:: + + + +File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables + +All customizable variables +-------------------------- + + Here are the customizable variables of yatex-mode. Each value setq-ed +in `~/.emacs' is preferred and that of defined in `yatex.el' is neglected. +Parenthesized contents stands for the default value. When you are to +change some of these variables, see more detailed documentation of the +variable by `M-x describe-variable'. + + -- Variable: YaTeX-japan + Set this nil to produce all messages in English (`Depends on Japanese + feature of Emacs') + + -- Variable: YaTeX-kanji-code + Default buffer-file-coding-system for YaTeX modes' buffer. Set this + 0 to no language conversion. Nil to preserve original + coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') + + -- Variable: YaTeX-prefix + Prefix key stroke (`C-c') + + -- Variable: YaTeX-inhibit-prefix-letter + Change key stroke from `C-c letter' to `C-c C-letter' (`nil') + + -- Variable: YaTeX-fill-prefix + Fill-prefix used in yatex-mode (`nil') + + -- Variable: YaTeX-user-completion-table + Name of user dictionary where learned completion table will be + stored. (`"~/.yatexrc"') + + -- Variable: tex-command + LaTeX typesetter command (`"latex"') + + -- Variable: dvi2-command + Preview command (`"xdvi -geo +0+0 -s 4"') + + -- Variable: dviprint-command-format + Command format to print dvi file (`"dvi2ps %f %t %s | lpr"') + + -- Variable: dviprint-from-format + Start page format of above %f. %b will turn to start page (`"-f %b"') + + -- Variable: dviprint-to-format + End page format of above %t. %e will turn to `end' page (`"-t %e"') + + -- Variable: makeindex-command + Default makeindex command (`"makeindex"' (`"makeind"' on MS-DOS)) + + -- Variable: YaTeX-dvipdf-command + Default command name to convert .dvi to PDF (`"dvipdfmx"') + + -- Variable: YaTeX-need-nonstop + Put `\nonstopmode{}' or not (`nil') + + -- Variable: latex-warning-regexp + Regular expression of warning message latex command puts out + (`"line.* [0-9]*"') + + -- Variable: latex-error-regexp + Regular expression of error message (`"l\\.[1-9][0-9]*"') + + -- Variable: latex-dos-emergency-message + Message latex command running on DOS puts at abort (`"Emergency + stop"') + + -- Variable: YaTeX-item-regexp + Regular expression of item command (`"\\\\item"') + + -- Variable: YaTeX-verb-regexp + Regexp of verb family. Omit \\\\. (`"verb\\*?\\|path"') + + -- Variable: YaTeX-nervous + T for using local dictionary (`t') + + -- Variable: YaTeX-sectioning-regexp + Regexp of LaTeX sectioning command + (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') + + -- Variable: YaTeX-fill-inhibit-environments + Inhibit fill in these environments (`'("tabular" "tabular*" "array" + "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" + "verbatim" "verbatim*")') + + -- Variable: YaTeX-uncomment-once + T for deleting all preceding `%' (`nil') + + -- Variable: YaTeX-close-paren-always + T for always close all parenthesis automatically, `nil' for only eol + (`t') + + -- Variable: YaTeX-auto-math-mode + Switch math-mode automatically (`t') + + -- Variable: YaTeX-math-key-list-private + User defined alist, math-mode-prefix vs completion alist used in + image completion (`nil'). See `yatexmth.el' for the information + about how to define a completion alist. + + -- Variable: YaTeX-default-pop-window-height + Initial height of typesetting buffer when one-window. Number for the + lines of the buffer, numerical string for the percentage of the + screen-height. `nil' for half height (10) + + -- Variable: YaTeX-help-file + Global online help file name + (`$doc-directory/../../site-lisp/YATEXHLP.eng') + + -- Variable: YaTeX-help-file-private + Private online help file name (`"~/YATEXHLP.eng"') + + -- Variable: YaTeX-no-begend-shortcut + Disable [prefix] b ?? shortcut (`nil)' + + -- Variable: YaTeX-hilit-pattern-adjustment-private + List of the list that contain the regular expression and the symbol + of logical meaning of the string that matches the pattern. See also + the value from `(assq 'yatex-mode hilit-patterns-alist)' and the + value of `YaTeX-hilit-pattern-adjustment-default' (and even the + document of hilit19.el). + + -- Variable: YaTeX-sectioning-level + Alist of LaTeX's sectioning command vs its height. + + -- Variable: YaTeX-hierarchy-ignore-heading-regexp + `YaTeX-display-hierarchy' searches for sectioning command first, and + comment line secondary as a file headings. In latter case, ignore lines + that match with regular expression of this variable. Default value of + this variable is RCS header expressions and mode specifying line `-*- xxxx + -*'. + + -- Variable: YaTeX-skip-default-reader + Non-nil for this variable skips the default argument reader of + section-type command when add-in function for it is not defined + (`nil') + + -- Variable: YaTeX-create-file-prefix-g + When typing `prefix g' on the `\include' line, open the target file + even if the file doesn't exist (`nil') + + -- Variable: YaTeX-simple-messages + Simplyfy messages of various completions (`nil') + + -- Variable: YaTeX-hilit-sectioning-face + When hilit19 and yatex19 is active, YaTeX colors the sectioning + commands. This variable specifies the foreground and background + color of `\part' macro. The default value is `'(yellow/dodgerblue + yellow/slateblue)'. The first element of this list is for the screen + when `hilit-background-mode' is `'light', and the second element is + for `'dark'. You should specify both color as `forecolor/backcolor'. + + -- Variable: YaTeX-hilit-sectioning-attenuation-rate + When color mode, this variable specifies how much attenuate the color + density of `\subparagraph' compared with that of `\chapter' (`'(15 + 40)') See also `YaTeX-hilit-sectioning-face'. + + -- Variable: YaTeX-use-AMS-LaTeX + If you use AMS-LaTeX, set to `t' (`nil') + + -- Variable: YaTeX-use-LaTeX2e + If you use LaTeX2e, set to `t' (`t') + + -- Variable: YaTeX-template-file + File name which is automatically inserted at creation + (`~/work/template.tex') + + -- Variable: YaTeX-search-file-from-top-directory + Non-nil means to search input-files from the directory where main + file exists (`t') + + -- Variable: YaTeX-use-font-lock + Use font-lock to fontify buffer or not (`(featurep 'font-lock)' + + -- Variable: YaTeX-use-hilit19 + Use hilit19 to highlight buffer or not (`(featurep 'hilit19)' + + -- Variable: YaTeX-use-italic-bold + YaTeX tries to search italic, bold fontsets or not (`t' if Emacs-20 + or later). This variable is effective only when font-lock is used. + (`(featurep 'hilit19)' + + -- Variable: YaTeX-singlecmd-suffix + Suffix which is always inserted after maketitle-type macros. `"{}"' + is recommended. + + -- Variable: YaTeX-package-alist-private + Alist of LaTeX2e-package name vs. lists of macros in it. Set this + alist properly and YaTeX automatically check the declaratiion of + `usepackage' for corresponding macro, when you input that macro with + completion. If required `usepackage' is not found, YaTeX also + automatically inserts `\usepackage'. Alist is as follows; + '((PackageName1 (completionType ListOfMacro) (completionType + ListOfMacro)) (PackageName2 (completionType ListOfMacro) + (completionType ListOfMacro...))....) completionType is one of `env, + section, maketitle'. Consult the value of + `YaTeX-package-alist-default' as an example. + + -- Variable: YaTeX-tabular-indentation + At indentation by `C-i' in tabular or array environment, YaTeX put + the additional spaces to the normail indentation depth. The number + of additional spaces is the product of YaTeX-tabular-indentation and + the number of column position in tabular. + + -- Variable: YaTeX-noindent-env-regexp + Regexp of environment names that should begin with no indentation. + All verbatime-like environment name should match with. + + -- Variable: YaTeX-ref-default-label-string + Default \\ref time string format. This format is like strftime(3) + but allowed conversion char are as follows; %y -> Last 2 digit of + year, %b -> Month name, %m -> Monthe number(1-12), %d -> Day, %H -> + Hour, %M -> Minute, %S -> Second, %qx -> alphabetical-decimal + conversion of yymmdd. %qX -> alphabetical-decimal conversion of + HHMMSS. Beware defualt label-string should be always unique. So + this format string should have both time part (%H+%M+%S or %qX) and + date part (%y+(%b|%m)+%d or %qx). + + -- Variable: YaTeX-ref-generate-label-function + Function to generate default label string for unnamed \\label{}s. + The function pointed to this value should take two arguments. First + argument is LaTeX macro's name, second is macro's argument. Here is + an example for using this value. + (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) + (defun my-yatex-generate-label (command value) + (and (string= command "caption") + (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) + (setq command (match-string 1))) + (let ((alist '(("chapter" . "chap") + ("section" . "sec") + ("subsection" . "subsec") + ("figure" . "fig") + ("table" . "tbl")))) + (if (setq command (cdr (assoc command alist))) + (concat command ":" value) + (YaTeX::ref-generate-label nil nil)))) + + + + +File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables + +Sample definitions +------------------ + + For instance, to change the prefix key stroke to `ESC', and name of the +user dictionary `~/src/emacs/yatexrc', and set `fill-prefix' to single TAB +character, add the following `setq' to `~/.emacs'. + + (setq YaTeX-prefix "\e" + YaTeX-user-completion-table "~/src/emacs/yatexrc" + YaTeX-fill-prefix " ") + + + +File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables + +Hook variables +-------------- + + More customizations will be done by the hook-function defined in +hook-variable `yatex-mode-hook'. This is useful to define a shortcut key +sequence to enter some environments other than `document' and `enumerate' +etc. The following statement defines `[prefix] ba' to enter +`\begin{abstract}' ... `=end{abstract}' immediately. + + (setq yatex-mode-hook + '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) + + You should use functions `YaTeX-define-key', or +`YaTeX-define-begend-key' to define all the key sequences of yatex-mode. + + + +File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables + +Hook file +--------- + + You can stuff all of YaTeX related expressions into a file named +`yatexhks.el' if you have a lot of codes. YaTeX automatically load this +file at the initialization of itself. Using `yatexhks.el' makes +`yatex-mode-load-hook' unnecessary. + + + +File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations + +Add-in functions +================ + + You can easily define a function to input detailed arguments with +completion according to LaTeX environments or commands. + + +What is add-in functions? +------------------------- + + When you input `tabular' environment, don't you think "I want YaTeX to +complete its argument toward my favorite one such as `{|c|c|c|}'..."? +Yes, you can define the function to complete arguments for any environment +and any LaTeX commands. + + +Procedure +--------- + + Here is the procedure to define add-in functions. + 1. Define the function + 2. Put the function into `yatexhks.el' + +* Menu: + +* How the add-in function works:: +* How the function is called:: +* Useful functions for creating add-in:: +* Contribution:: + + + +File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions + +How the add-in function works +----------------------------- + +There are three types of add-in. + + 1. Option add-in + 2. argument add-in + 3. enclosing add-in + +"Option add-in" returns the LaTeX's optional parameters such as optional +strings after `\begin{ENV}', optional strings between a section-type +command and its first argument, and optional strings just after type +maketitle-type command. The following illustrates the name of add-in +functions, where underlined strings are generated by add-in functions. + + \begin{table}[ht] (Function name: YaTeX:table) + ~~~~ + \put(100,200){} (Function name: YaTeX:put) + ~~~~~~~~~ + \sum_{i=0}^{n} (Function name: YaTeX:sum) + ~~~~~~~~~~ + + Obviously, the function name is decided by concatenating the prefix +`YaTeX:' and LaTeX command's name. + + Another add-in type is "argument add-in", which completes arguments for +section-type commands. + + \newcommand{\foo}{bar} (Function name: YaTeX::newcommand) + ~~~~ ~~~ + + When the section-type command is inputted, the function named by +concatenating `YaTeX::' and section-type command, is called automatically +with an integer argument which indicates which argument of section-type +command is being read. Thus the add-in should determine the job referring +the value of its argument. + + "enclosing add-in" is for modifying and/or checking the region that will +be enclosed by section-type commands via `[prefix] S'. An enclosing +add-in function will be called with two arguments, beginning of the +enclosed region and end of the region. Suppose you want to enclose the +existing text `(a+b)/c' by `\frac{}'. + + a/c + | | + A B + +You do set-mark-command at point A and then move to point B. Typing +`[prefix] S' and input `frac' enclose the region like this; + + \frac{a/c} + +Normally, the expression `a/c' is translated to `\frac{a}{c}'. An +enclosing add-in is useful for modifying `/' to `}{'. + +* Menu: + +* Defining option-add-in:: +* Defining argument-add-in:: +* Defining enclosing-add-in:: + + + +File: yatexe, Node: Defining option-add-in, Next: Defining argument-add-in, Prev: How the add-in function works, Up: How the add-in function works + +Defining `option add-in' +........................ + + If you want `{|c|c|c|}' for all `tabular' environment, + + (defun YaTeX:tabular () + "{|c|c|c|}") + +is enough. If you want more complicated format, define as below. + + (defun YaTeX:tabular () + "{@{\\vrule width 1pt\\ }|||@{\\ \\vrule width 1pt}}") + +Note that the character `\' must be described as `\\' in Emacs-Lisp. The +next example reads the tabular format from keyboard. + (defun YaTeX:tabular () + (concat "{" (read-string "Rule: ") "}")) + + + +File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works + +Defining `argument add-in' +.......................... + + This section describes how to define the add-in function for +`\newcommand'. + + The first argument of `\newcommand' begins always with `\'. The second +argument is usually so complex that we can not edit them in the +minibuffer. Here is the created function considering this. + + (defun YaTeX::newcommand (n) ;n is argument position + (cond + ((= n 1) ;1st argument is macro name + (read-string "Command: " "\\")) ;initial input `\' + ((= n 2) "") ;do nothing when reading arg#2 + (t nil))) + + Note that when the `argument add-in' function return `nil', normal +argument reader will be called. + + + +File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works + +Defining `enclosing add-in' +........................... + + This section describes how to define the add-in function for text +enclosed by `\frac{}'. + + When enclosing the text `5/3' by `\frac{}', you might want to replace +`/' with `}{'. Enclosing function `YaTeX::frac-region' is called with two +arguments, beginning of enclosed text and end of enclosed text. The +function is expected to replace `/' with `}{'. Here is an example +expression. + + (defun YaTeX::frac-region (beg end) + (catch 'done + (while (search-forward "/" end t) + (goto-char (match-beginning 0)) + (if (y-or-n-p "Replace this slash(/) with `}{'") + (throw 'done (replace-match "}{"))) + (goto-char (match-end 0))))) + + + +File: yatexe, Node: How the function is called, Next: Useful functions for creating add-in, Prev: How the add-in function works, Up: Add-in functions + +How the function is called +-------------------------- + + YaTeX calls the add-in functions for specified begin-type, section-type, +and maketitle-type command, if any. `Option add-in' functions for +begin-type are called when `\begin{ENV}' has been inserted, functions for +section-type are called just before input of the first argument, and +functions for maketitle-type is called after maketitle-type command has +been inserted. `Argument add-in' functions are called at each entry of +arguments for section-type commands. + + + +File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions + +Useful functions for creating add-in +------------------------------------ + + Many add-in functions for typical LaTeX commands are defined in +`yatexadd.el'. Those are also useful as references. Here are the short +descriptions on useful functions, where [F] means function, [A] means +arguments, [D] means description. + +`[F]' + YaTeX:read-position +`[A]' + Character list which can show up in the brackets +`[D]' + Return the location specifier such as `[htb]'. When nothing is + entered, omit [] itself. If the possible characters are "htbp", call + this function as `(YaTeX:read-position "htbp")' + +`[F]' + YaTeX:read-coordinates +`[A]' + Base prompt, X-axis prompt, Y-axis prompt (each optional) +`[D]' + Read the coordinates with the prompt "BasePrompt X-axisPrompt:" for + X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the + form of "(X,Y)". The default prompts are `Dimension', `X', `Y' + respectively. + +`[F]' + YaTeX:check-completion-type +`[A]' + One of the symbols: 'begin, 'section, or 'maketitle +`[D]' + Check the current completion type is specified one and cause error + if not. The variable `YaTeX-current-completion-type' holds the symbol + according to the current completion type. + + + +File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions + +Contribution +------------ + + If you make your own pretty function and you let it be in public, please +send me the function. I'm going to include it in the next release. + + + +File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations + +Add-in generator +================ + + First, don't forget to read the section of add-in functions *Note Add-in +functions::. If you easily understand how to define them, there's no need +to read this section. But being not familiar with Emacs-Lisp, when you +don't have clear idea what to do, this section describes how to get YaTeX +make add-in function. + + There are two methods of generation. One is for fully interactive +generator for beginners and another requires little knowledge of +Emacs-Lisp. + + +Generator for beginners +----------------------- + The former generator is called by + `M-x YaTeX-generate' + +strokes. All you have to do is follow the guidances. Defying them may +cases the disaster (I wonder what is it???). So when you make some +mistake, it is recommendable to type `C-g' and start afresh. + + +Simple generator +---------------- + + The latter generator is invoked by the next sequence. `M-x +YaTeX-generate-simple' This generator can make both "option add-in" and +"argument add-in" (*refer the section add-in functions* *Note How the +add-in function works::), whereas `YaTeX-generate' cannot make "argument +addin". + + For example, assume you have the LaTeX command as follows. + + \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) + (B)Maximum size of frame + (1)1st argument is filename of EPS file + (2)2nd argument indicates + plain do nothing + frame make frame around image + dframe make double-frame around image + for included EPS file. + (3)Caption for the picture + + Now get start with generation. Typing `M-x YaTeX-generate-simple' +brings the prompt: + (O)ption? (A)rgument? + + +Generating "option add-in" +.......................... + + Since (A), (B) above are optional argument, all we have to do to +complete them is define the option add-in for them. Let's generate the +function to complete (A). + + M-x YaTeX-generate-simple RET + epsinput RET + o + +Typing as above leads the next prompt. + + Read type(1): (S)tring (C)omplete (F)ile ([)option (P)osition co(O)rd. (q)uit + + This asks that "Which type is the completion style of 1st argument?". +Here are the possible completion style. + +`String' + read plain string +`Complete' + read with completion +`File' + read file name +`Option' + read optional string (if string omitted, omit [] too) +`Position' + read positional option (like [htbp]) +`Coord.' + read coordinates +`Quit' + quit from generating + + Since (A) is the optional argument to specify the location of included +EPS file, the completion style is `Position', and the possible characters +are t, b, l, and r. To tell these information to generator, operate as +follows. + + Read type(1).... p + Acceptable characters: tblr RET + + (B) is coordinate. So its completion style is coOrd. We want a prompt +meaning "Maximum size" when completion. + + Read type(2).... o + Prompt for coordinates: Max size RET + + That's all for optional argument. Select quit. + + Read type(3).... q + + Then the generated option add-in function for \epsinput will be shown in +the next window. + + +Generating "argument add-in" +............................ + + Next, create the argument add-in. The arguments for \epsinput are EPS +file name, framing style, and caption string in sequence. + + M-x YaTeX-generate-simple RET + epsinput RET + a + + Above key strokes bring the prompt that asks the number of argument. +Answer it with 3. + + How many arguments?: 3 RET + + Then the generator asks the completion style and prompt for completion. +Answer them. `f' for FileName and prompt string. + + Read type(1).... f + Prompt for argument#1 EPS file name RET + + The second argument is one of selected symbol. So the completion type +is `Completion'. + + Read type(2).... c + Prompt for argument#2 Include style RET + + Then all the candidates ready to be read. Type single RET after +entering all. + + Item[1](RET to exit): plain RET + Item[2](RET to exit): frame RET + Item[3](RET to exit): dframe RET + Item[4](RET to exit): RET + + The following prompt asks whether the entered string must belong to +candidates or not. In this case, since the argument must be one of +`plain', `frame', and `dframe', type `y'. + + Require match? (y or n) y + + The last argument is the caption string for which any completion is +needed. + + Read type(3).... s + Prompt for argument#3 Caption RET + default: Figure of RET + + Finally we'll get the argument add-in in the next window. + + +Contribution +------------ + + If you get your own pretty function and you let it be in public, please +steel yourself in the happy atmosphere and do not send me the function. I +do know it is not fine because it is generated by yatexgen:-p. + + + +File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top + +Etcetera +******** + + The standard completion tables provided in `yatex.el' contain a few +LaTeX commands I frequently use. This is to lessen the key strokes to +complete entire word, because too many candidates rarely used often cause +too many hits. Therefore always try to use completion in order to enrich +your dictionary, and you will also find `Wild Bird' growing suitable for +your LaTeX style. + + The package name `Wild Bird' is the English translation of Japanese +title `Yachou', which is a trick on words of Japanese. + + + +File: yatexe, Node: Copying, Prev: Etcetera, Up: Top + +Copying +******* + + This program is distributed as a free software. You can +use/copy/modify/redistribute this software freely but with NO warranty to +anything as a result of using this software. Adopting code from this +program is also free. But I would not do contract act. + +Any reports and suggestions are welcome as long as I feel interests in +this software. My possible e-mail address is `yuuji@yatex.org'. (as of +Jan.2004) 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 the address +`yatex@yatex.org. If you have some question, please ask to +`yatex-admin@yatex.org'. + + The specification of this software will be surely modified (depending on +my feelings) without notice :-p. + + + HIROSE Yuuji + +Tag table: +Node: Top256 +Node: What is YaTeX?1597 +Node: Main features1970 +Node: Installation3499 +Node: Typesetting4276 +Node: Calling typesetter5406 +Node: Calling previewer7610 +Node: Printing out7971 +Node: %#notation8263 +Node: Changing typesetter8681 +Node: Splitting input files9045 +Node: Static region for typesetting10470 +Node: Lpr format11599 +Node: Controlling which command to invoke12672 +Node: Editing %# notation13265 +Node: Completion13809 +Node: Begin-type completion14369 +Node: Section-type completion17412 +Node: view-sectioning19847 +Node: Large-type completion21427 +Node: Maketitle-type completion22158 +Node: Arbitrary completion22710 +Node: End completion23100 +Node: Accent completion23570 +Node: Image completion24187 +Node: Greek letters completion26444 +Node: Local dictionaries27171 +Node: Commenting out28108 +Node: Cursor jump29567 +Node: Jump to corresponding object29879 +Node: Invoking image processor31280 +Node: Jump to main file32623 +Node: Jumping around the environment32988 +Node: Jumping to last completion position33406 +Node: Changing and Deleting33915 +Node: Changing LaTeX commands34307 +Node: Killing LaTeX commands35484 +Node: Filling36669 +Node: Updation of includeonly38520 +Node: What column39317 +Node: Intelligent newline40402 +Node: Usepackage checker42056 +Node: Online help42647 +Node: Browsing file hierarchy44322 +Node: Cooperation with other packages46059 +Node: Customizations46764 +Node: Lisp variables47098 +Node: All customizable variables48102 +Node: Sample definitions57901 +Node: Hook variables58414 +Node: Hook file59118 +Node: Add-in functions59457 +Node: How the add-in function works60317 +Node: Defining option-add-in62516 +Node: Defining argument-add-in63238 +Node: Defining enclosing-add-in64120 +Node: How the function is called64974 +Node: Useful functions for creating add-in65650 +Node: Contribution67055 +Node: Add-in generator67329 +Node: Etcetera72701 +Node: Copying73306 + +End tag table diff --git a/docs/yatexe.tex b/docs/yatexe.tex index 344850f..416978c 100644 --- a/docs/yatexe.tex +++ b/docs/yatexe.tex @@ -2,10 +2,13 @@ \input texinfo.tex @setfilename yatexe @settitle Yet Another tex-mode for Emacs +@direntry +* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs (English). +@end direntry @iftex @c @syncodeindex fn cp -@c Last modified Thu May 27 18:04:10 2010 on firestorm +@c Last modified Fri May 11 15:40:49 2012 on firestorm @syncodeindex vr cp @end iftex @@ -15,7 +18,7 @@ @subtitle Yet Another tex-mode for emacs @title Wild Bird @subtitle // YaTeX // -@author @copyright{} 1991-2003 by HIROSE, Yuuji [yuuji@@yatex.org] +@author @copyright{} 1991-2012 by HIROSE, Yuuji [yuuji@@yatex.org] @end titlepage @node Top, What is YaTeX?, (dir), (dir) @@ -48,6 +51,7 @@ * Etcetera:: YaTeX is acquisitive. * Copying:: Redistribution +@end menu @node What is YaTeX?, Main features, Top, Top @comment node-name, next, previous, up @@ -90,8 +94,8 @@ @item Document files hierarchy browser (@kbd{C-c d}) @item Adding automatically \usepackage corresponding to inputting LaTeX macro with completion -@item Allow you to forget creating \label{}s, \ref or \cite completion - automatically generate labels. +@item Allow you to forget creating \label@{@}s, \ref@{@} or \cite@{@} + completion automatically generate labels. @end itemize @node Installation, Typesetting, Main features, Top @@ -148,6 +152,8 @@ @item [prefix] t e @dots{} invoke latex on current environment or whole portion of current formulas in math-mode. +@item [prefix] t d + @dots{} invoke dvipdfmx after successful typesetting @item [prefix] t k @dots{} kill current typesetting process @item [prefix] t b @@ -200,7 +206,7 @@ by @code{%#BEGIN} and @code{%#END} marks. Selected region will be copied to the temporary file @file{texput.tex} with the same preamble as the main file of current editing sources. Be sure to put -all local macro settings in preamble, not after @code{\begin{document}}. +all local macro settings in preamble, not after @code{\begin@{document@}}. The method of specification of the region is shown in the section @xref{%#notation}. @@ -252,6 +258,7 @@ * Splitting input files:: * Static region for typesetting:: * Lpr format:: +* Controlling which command to invoke:: * Editing %# notation:: @end menu @@ -287,7 +294,7 @@ description makes it convenient to use ghostview as dvi-previewer. @example - %#!latex main ; dvi2ps main.dvi > main + %#!latex main && dvi2ps main.dvi > main @end example @noindent @@ -362,7 +369,7 @@ @code{%#BEGIN} alone at the middle of very long text. Do not forget to erase @code{%#BEGIN} @code{%#END} pair. -@node Lpr format, Editing %# notation, Static region for typesetting, %#notation +@node Lpr format, Controlling which command to invoke, Static region for typesetting, %#notation @comment node-name, next, previous, up @section Lpr format @cindex lpr format @@ -400,7 +407,29 @@ %#LPR dvi2ps %s | lpr @end example -@node Editing %# notation, , Lpr format, %#notation +@node Controlling which command to invoke, Editing %# notation, Lpr format, %#notation +@comment node-name, next, previous, up +@section Controlling which command to invoke + +These %# notation below can control which command to invoke for +La@TeX{} related process. + +@table @code + @item %#BIBTEX + @dots{} Command line for makeindex ([prefix] t i) + @item %#MAKEINDEX + @dots{} Command line for bibtex ([prefix] t b) +@end table + +If you want to invoke ``makeidx hogehoge'' to update index, +put the next line some upper place in the source, for example. + +@example +%#MAKEINDEX makeidx hogehoge +@end example + + +@node Editing %# notation, , Controlling which command to invoke, %#notation @comment node-name, next, previous, up @section Editing %# notation @@ -917,7 +946,7 @@ `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard @end example -@noindent +@noindent In this menu, typing @kbd{u} updates your `user dictionary', @kbd{l} updates your local dictionary, @kbd{n} updates only on-memory dictionary which go through only current Emacs session, and @kbd{d} updates no @@ -1365,7 +1394,7 @@ @dots{} Intelligent newline @end table -@noindent +@noindent in these environments inserts the contents corresponding to the current environment in the next line. (At the begin-type completion, this contents can be removed by `undo'.) In @code{tabular} environment, for @@ -1824,7 +1853,7 @@ @defvar YaTeX-singlecmd-suffix Suffix which is always inserted after maketitle-type macros. -@code{"{}"} is recommended. +@code{"@{@}"} is recommended. @end defvar @defvar YaTeX-package-alist-private @@ -1870,7 +1899,7 @@ @end defvar @defvar YaTeX-ref-generate-label-function -Function to generate default label string for unnamed \\label{}s. +Function to generate default label string for unnamed \\label@{@}s. The function pointed to this value should take two arguments. First argument is LaTeX macro's name, second is macro's argument. Here is an example for using this value. @@ -1878,7 +1907,7 @@ (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) (defun my-yatex-generate-label (command value) (and (string= command "caption") - (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) + (re-search-backward "\\\\begin@{\\(figure\\|table\\)@}" nil t) (setq command (match-string 1))) (let ((alist '(("chapter" . "chap") ("section" . "sec") @@ -2027,7 +2056,7 @@ will be enclosed by section-type commands via @kbd{[prefix] S}. An enclosing add-in function will be called with two arguments, beginning of the enclosed region and end of the region. Suppose you want to enclose -the existing text @code{(a+b)/c} by @code{\frac{}}. +the existing text @code{(a+b)/c} by @code{\frac@{@}}. @display a/c @@ -2039,7 +2068,7 @@ @kbd{[prefix] S} and input @code{frac} enclose the region like this; @display -\frac{a/c} +\frac@{a/c@} @end display Normally, the expression @code{a/c} is translated to @@ -2120,8 +2149,8 @@ (catch 'done (while (search-forward "/" end t) (goto-char (match-beginning 0)) - (if (y-or-n-p "Replace this slash(/) with `}{'") - (throw 'done (replace-match "}{"))) + (if (y-or-n-p "Replace this slash(/) with `@}@{'") + (throw 'done (replace-match "@}@{"))) (goto-char (match-end 0))))) @end lisp diff --git a/docs/yatexj b/docs/yatexj index 5c1d9b9..5901ad8 100644 --- a/docs/yatexj +++ b/docs/yatexj @@ -1,2132 +1,2168 @@ -Info file: yatexj, -*-Text-*- -produced by `texinfo-format-buffer' -from file `yatexj.tex' -using `texinfmt.el' version 2.38 of 3 July 1998. - - - - - - -File: yatexj, Node: Top, Next: Intro, Prev: (dir), Up: (dir) - -* Menu: - -* Intro:: $B$O$8$a$K(B -* Terminology:: $B%^%K%e%"%k;2>H>e$NCm0U(B -* Main features:: $B!%Q%C%1!<%8$H$NO"7H(B -* Customizations:: $B%+%9%?%^%$%:(B -* Etc:: $B$=$NB>(B -* Copying:: $BH>e$NCm0U(B -************************ - - $BK\%^%K%e%"%k$G$O0J2<$NI=5-$rMQ$$$^$9!#(B - - * begin$B7?%3%^%s%I(B - - `\begin{$B4D6-(B} $B!A(B \end{$B4D6-(B}'$B$H$$$&7A<0$N(BLaTeX$B%3%^%s%I$r;X$7$^$9!#(B - begin$B7?%3%^%s%I$rJd40F~NO$9$k$3$H$r(Bbegin$B7?Jd40$H8F$S$^$9!#(B - - * section$B7?%3%^%s%I(B - - `\section{$B%?%$%H%k(B}'$B$d(B`\mbox{$BFbMF(B}'$B$N$h$&$K0z?t$rl9gK\%^%K%e%"%k$N(B `[prefix]' - $B$H$$$&I=5-$O!"(B`C-c' $B$HFI$_49$($F$/$@$5$$!#(B - - - -File: yatexj, Node: Main features, Next: Installation, Prev: Terminology, Up: Top - -$BoJd40%-!<(B) - * $B%;%/%7%g%s6h@Z$jF~NO;~$NJ8=q9=B$%"%&%H%i%$%sI=<((B - * $B%;%/%7%g%s%3%^%s%I$N0l3g%7%U%H(B (*Note view-sectioning::) - * $BJd40<-=q$N3X=,(B - * LaTeX $B$N4D6-$d%3%^%s%I$K1~$8$?%,%$%IIU$-0z?tF~NO(B - * $BLnD;$K$J$$%,%$%IIU$-0z?tF~NO4X?t$N<+F0@8@.(B(`yatexgen.el') - * LaTeX $B%3%^%s%I$N:o=|(B/$BJQ99(B(`C-c k', `C-c c') - * $B%U%!%$%k4V!"(B`\begin'<->`\end'$B4V!"(B`\ref'<->`\label'$B4V!"(B - `\cite'<->`\bibitem'$B%8%c%s%W(B(`C-c g') - * $B0l3g%3%a%s%H%"%&%H(B/$B%"%s%3%a%s%H%"%&%H(B(`C-c >', `C-c <', `C-c ,', `C-c - .') - * $B%"%/%;%s%H5-9f(B/$B?t<04D6-MQ%3%^%s%I(B/$B%.%j%7%cJ8;z$NF~NO;Y1g(B(`C-c a', - `;', `/') - * tabular/array$B4D6-$N%+%i%`0LCV%,%$%I(B - * $BI8=`E*(B LaTeX $B%3%^%s%I$N%*%s%i%$%s%X%k%W(B(`C-c ?', `C-c /') - * $B%I%-%e%a%s%H$N%$%s%/%k!<%I9=B$$N;k3PE*I=<($H%P%C%U%!@Z$jBX$((B(`C-c d') - * $BJd40F~NO$7$?%^%/%m$K1~$8$FI,MW$J(B \userpackage $B$rF~$l$F$/$l$k@h2s$j(B - userpackage - * \label$B$rBG$D$3$H$O$b$&K:$l$h$&(B! ref$B$d(Bcite$BJd40F~NO$G<+F0@8@.$7$^$9(B - - - -File: yatexj, Node: Installation, Next: Invocation, Prev: Main features, Up: Top - -$B5/F0K!(B -****** - -$BLnD;5/F0$N$?$a$N@_Dj(B -==================== - - ~/.emacs$B$K2<$N(B2$B9`L\$r2C$($^$9!#(B - - (setq auto-mode-alist - (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) - (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) - -$Be$N@_Dj$K$h$j!"3HD%;R$,(B .tex $B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$KLnD;$,(B -$B%m!<%I$5$l$^$9!#LnD;$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<($,!V$d$F$U!W(B -$B$KJQ$o$j$^$9!#(B - - -$B%?%$%W%;%C%?(B/$B%W%l%t%e!<%"4D6-$N@_Dj(B -=================================== - - $BMxMQ$9$k30It%W%m%0%i%`$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ99(B -$B$7$^$9!#(B -`tex-command' - ... $B5/F0$9$k%?%$%W%;%C%?$N%3%^%s%IL>(B -`dvi2-command' - ... $B5/F0$9$k%W%l%t%e!<%"$N%3%^%s%IL>(B -`NTT-jTeX' - ... $B2~9T(B+$B%$%s%G%s%H$K$h$C$F!"%?%$%W%;%C%H8e$N;z4V$,6u$$$F$7$^(B - $B$&$N$rM^@)$9$k>l9g$K(Bt$B$K$9$k(B($B8E$$(BNTT-jTeX$B$G82Cx$K8=$l$k(B)$B!#6qBNE*$K$O!"(B - fill$B$9$k$H$-$K3F9T$N=*$o$j$K(B%$B$rIU2C$9$k$h$&$K$J$k!#(B -`YaTeX-kanji-code' - ... $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(B -`dviprint-command-format' - ... $B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%INs$N=q<0(B -`makeindex-command' - ... makeindex$B%3%^%s%I(B - -$B$3$l$i$rJQ99$9$k>l9g$O!"$d$O$j(B`~/.emacs'$B$K$F!"$?$H$($P(B(setq tex-command -"bigjlatex") $B$N$h$&$K$7$F$/$@$5$$!#$I$N$h$&$JCM$r%;%C%H$9$l$PNI$$$+$K$D$$(B -$B$F$O!"(B*Note All customizable variables::$B$r;2>H$7$F$/$@$5$$!#(B - - - - -File: yatexj, Node: Invocation, Next: %#notation, Prev: Installation, Up: Top - -latex$B%3%^%s%I5/F0(B -***************** - -LaTeX$B%=!<%9$NJT=8Cf!"N(B) -`[prefix] t k' - ... $BF0:nCf$N%?%$%W%;%C%?$NDd;_(B -`[prefix] t b' - ... jbibtex$B5/F0(B -`[prefix] t i' - ... makeindex$B5/F0(B -`[prefix] t d' - ... $B%?%$%W%;%C%?$H(Bdvipdfmx$B5/F0(B -`[prefix] t p' - ... $B%W%l%t%e!<%"5/F0(B -`[prefix] t l' - ... lpr($B%W%j%s%H%"%&%HMQ(B)$B%3%^%s%I5/F0(B -`[prefix] t s' - ... xdvi -remote $B$G$N%5!<%A(B - -* Menu: - -* Calling typesetter:: $B%?%$%W%;%C%?5/F0(B -* Calling previewer:: $B%W%l%t%e!<%"5/F0(B -* Print out:: $B%W%j%s%H%"%&%HMQ%3%^%s%I$N5/F0(B - - - -File: yatexj, Node: Calling typesetter, Next: Calling previewer, Prev: Invocation, Up: Invocation - -$B%?%$%W%;%C%?5/F0(B -================ - - $B%?%$%W%;%C%?$r5/F0$9$k$H!"JT=8%&%#%s%I%&$,(B2$B$D$KJ,3d$5$l!"JRJ}$N%&%#%s%I(B -$B%&$K%?%$%W%;%C%H2hLL$,I=<($5$l$^$9!#=PNO$5$l$k%a%C%;!<%8$HO"F0$7%?%$%W%;%C(B -$B%H%P%C%U%!$O<+F0E*$K%9%/%m!<%k$7$^$9!#$b$7!"ESCf$G%(%i!<$,5/$3$C$F;_$^$C$F(B -$B$7$^$C$?>l9g$K$O%?%$%W%;%C%H%P%C%U%!$K0\$j!"(B(`C-x o') $B%?%$%W%;%C%?$N=P$7$F(B -$B$$$k(B ? $B%W%m%s%W%H$KBP$7$F!"(B`x' ($B=hM}$NCfCG(B)$B$J$I$N;X<($rAw$k$3$H$,$G$-$^$9!#(B -$B%(%i!<$r=$@5$9$k>l9g$O!"(B - -`[prefix] '' -`(prefix+$B%"%]%9%H%m%U%#(B)' - ... $BD>A0$N%(%i!l9g$O!"%?%$%W%;%C%H%P%C%U%!$G!"%(%i!<$NI=(B -$B<($5$l$F$$$k9T$K%+!<%=%k$r9g$o$;%9%Z!<%9%-!<$r2!$9$H(B LaTeX $B%=!<%9$NBP1~$9(B -$B$k9T$K%8%c%s%W$7$^$9!#(B - - -$BNN0h%?%$%W%;%C%H(B ----------------- - - $B%]%$%s%H$H%^!<%/$N4V!"$"$k$$$O%F%-%9%HCf$KKd$a9~$s$@(B `%#BEGIN' $B$H(B`%#END' -$B$N4V$NNN0h(B(*Note %#notation::)$B$@$1$r@Z$jl9g%a%$%s%U%!%$%k$N%W%j%"%s%V%k$,0l;~%U%!%$%k$N%W%j%"%s%V%k$H$7$F(B -$B;H$o$l$^$9!#$7$?$,$C$F%W%j%"%s%V%k$K$J$$%^%/%mDj5A$,NN0hFb$K$"$k$H%(%i!<$K(B -$B$J$j$^$9!#NN0h%?%$%W%;%C%H$r;H$&>l9g!"I,$:%^%/%mDj5A$O%W%j%"%s%V%k(B -(`\begin{document}'$B$h$jA0(B)$B$KCV$/$h$&$K$7$F2<$5$$!#0l;~%U%!%$%k$O%a%$%s%U%!(B -$B%$%k$N$"$k%G%#%l%/%H%j$N(B`texput.tex'$B$H$$$&L>A0$G=PNO$5$l$k$N$G!">e=q$-$K$O(B -$BCm0U$7$F$/$@$5$$!#(B - - -$B4D6-%?%$%W%;%C%H(B ----------------- - - - `[prefix] te' $B$r2!$9$H!"%]%$%s%H0LCV$N:G$bFbB&$N4D6-!"$^$?$O?t<0%b!<%IFb(B -$B$N>l9g$O$=$N?t<0%b!<%IA4BN$,<+F0E*$KNN0hA*Br$5$l$F!"NN0h%?%$%W%;%C%H$r8F$S(B -$B=P$7$^$9!#(Btabular$B4D6-$d?t<0%b!<%I$GJ#;($J$b$N$r:n$C$F$$$k>l9g$O3N$+$a$?$$(B -$BItJ,$@$1$r3NG'$G$-$k$N$GJXMx$G$9!#$3$l$b(B `texput.tex' $B$K3:EvItJ,$r=q$-=P$7(B -$B$^$9!#%W%l%t%e!<%"$G(B `texput.dvi' $B$r3+$$$?$^$^$K$7$F$*$1$P=$@5$H3NG'$,AGAa(B -$B$/$G$-$k$G$7$g$&!#(B - - - -File: yatexj, Node: Calling previewer, Next: Print out, Prev: Calling typesetter, Up: Invocation - -$B%W%l%t%e!<%"5/F0(B -================ - `[prefix] t p' $B$K$h$j%W%l%t%e!<%"$N5/F0$,$G$-$^$9!#$5$i$K!"$b$7$"$J$?$,!"(B- -remote $B5!G=$D$-$N(Bxdvi$B$rMxMQ$7$F$$$k>l9g$O(B `[prefix] t s' $B$r2!$9$3$H$K$h$j(B -$B%+!<%=%k0LCV$NJ8;zNs$r8!:w$7$F$=$N%Z!<%8$rI=<($9$k$h$&$K$9$G$K5/F0Cf$N(Bxdvi -$B$KL?Na$rAw$j$^$9!#$3$l$K$h$j!"8=:_JT=8Cf$N2U=j$N%?%$%W%;%C%H7k2L$rB(:B$K8+(B -$B$k$3$H$,$G$-$^$9!#(B - - - - -File: yatexj, Node: Print out, Prev: Calling previewer, Up: Invocation - -$B%W%j%s%H%"%&%H(B -============== - - `[prefix] t l'$B$r2!$7$F%W%j%s%H%"%&%H$r;X<($9$k$H!"=PNO3+;O(B/$B=*N;%Z!<%8$r(B -$BJ9$$$F$/$k$N$G!"$=$l$>$l$KEz$($^$9!#$3$l$r>JN,$7$?$$;~$O!"(B -universal-argument $B$r$D$1!"(B - - -`C-u [prefix] t l' - ... $B%Z!<%83NG'>JN,(Blpr$B5/F0(B - -$B$N$h$&$K5/F0$7$F$/$@$5$$!#(B - - - -File: yatexj, Node: %#notation, Next: Completion, Prev: Invocation, Up: Top - -%#$B5-K!(B -****** - - $BK\J8Cf$K(B`%#'$B$G$O$8$^$k%-!<%o!<%I$rKd$a9~$`$3$H$G%?%$%W%;%C%?5/F0Ey$N@)8f(B -$B$r$9$k$3$H$,$G$-$^$9!#(B - -* Menu: - -* Changing typesetter:: $B%?%$%W%;%C%HMQ%3%^%s%I$NJQ99(B -* Splitting input files:: $BF~NO%U%!%$%kJ,3d(B -* Fix region for typesetting:: $BNN0h$N8GDj(B -* lpr format:: $B%W%j%s%H%"%&%H%3%^%s%IMQ%U%)!<%^%C%H(B -* Editing %# notation:: %#$B5-K!$NJT=8(B - - - -File: yatexj, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation - -$B%?%$%W%;%C%HMQ%3%^%s%IJQ99(B -========================== - - $B5/F0$9$k%3%^%s%I$rJQ$($?$$;~$OK\J8Cf$Kl9g$KJXMx$G$7$g$&!#(B - - - - -File: yatexj, Node: Splitting input files, Next: Fix region for typesetting, Prev: Changing typesetter, Up: %#notation - -$BF~NO%U%!%$%kJ,3d(B -================ - -$B$^$?!">OKh$KJL%U%!%$%k$N(B .tex $B$r:n@.$7$F$$$k>l9g$G!"(B`main.tex'$B$+$i(B -`sub.tex'$B$r(B `\include'$B$7$F$$$k$h$&$J;~$O!"(B`sub.tex'$B$NG$0U$N0LCV$Ke$NNc$N$h$&$K%3%^%s%IL>$@$1$G$J$/0z?t$b=q$$$?>l9g$K$O!"A4$F$r$=$N$^$^(B -shell $B$KEO$9$N$G main - -$B$J$*!"$3$N9T$N:G8e$NC18l$N%T%j%*%I0JA0$r!V%a%$%s%U%!%$%k!W$N%Y!<%9%M!<%`$G(B -$B$"$k$H2>Dj$7$^$9(B($B>e$N(B2$B$D$N>l9g$I$A$i$b(B`main')$B!#$3$N9T$K5-=R$7$?!"(B`%f'$B$O%a(B -$B%$%s%U%!%$%kL>$K!"(B`%r' $B$O%a%$%s%U%!%$%k$N3HD%;R$rl9g!"=i2s%?%$%W%;%C%H;~$KI,$:%a%$%s%U%!%$(B -$B%kL>$NF~NO$rB%$5$l$^$9!#(B - - `[prefix] g' (*Note Cursor jump::$B;2>H(B) $B$G$N%U%!%$%k4V%8%c%s%W$rM-8z$K5!(B -$BG=$5$;$k$?$a!"F~NO%U%!%$%kJ,3d;~$K$Oe$N%G%#%l%/%H%j$K$"$k>l9g$b!"%5%V%U%!%$%k$K$O(B - %#!platex main.tex $B$N$h$&$K5-=R$9$k(B(../main$B$G$O$J$$(B)$B!#(B - - - - - -File: yatexj, Node: Fix region for typesetting, Next: lpr format, Prev: Splitting input files, Up: %#notation - -$BNN0h$N8GDj(B -========== - - `[prefix] tr' $B$NNN0h;XDj$N%?%$%W%;%C%H$G$O!"$H$/$K;XDj$N$J$$$+$.$j!"(B -`C-SPC'$B$G%^!<%/$7$?0LCV$H!"%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$rNN0h$H$_$J$7$^$9$,!"(B -$BI,$:7h$^$C$?NN0h$r%?%$%W%;%C%H$7$?$$>l9g$O!"$=$NNN0h$r(B - - %#BEGIN - <$BEO$7$?$$NN0h(B> - %#END - -$B$N$h$&$K(B`%#BEGIN'$B$H(B`%#END'$B$G0O$_!"%+!<%=%k$r!V(B`%#BEGIN'$B0J9_!W$KCV$$$F$/$@(B -$B$5$$!#$3$N;~$NNN0h7hDj5,B'$r$^$H$a$k$Hl(B - $B9g(B - - 1. `%#BEGIN'$B$h$j%P%C%U%!$NKvHxJ}8~$K(B`%#END'$B$H$$$&%-!<%o!<%I$,8+$D$+$C(B - $B$?>l9g!#(B - =>`%#BEGIN' $B$+$i!"$=$N(B `%#END' $B$N$"$k0LCV$^$G!#(B - 2. `%#END' $B$,8+$D$+$i$J$+$C$?>l9g!#(B=>$B%P%C%U%!$N:G8eHx$^$G!#(B - - 2. $B%+!<%=%k0LCV$h$j%P%C%U%!$N@hF,J}8~$K(B `%#BEGIN' $B$H$$$&%-!<%o!<%I$,(B - $B8+$D$+$i$J$+$C$?>l9g!#(B - =>$B%^!<%/(B(`C-SPC'$B0LCV(B)$B$H%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$NNN0h!#(B - - tabular $B4D6-$r2?EY$b;n9T:x8m$7$F$$$k$h$&$J>l9g$O!"(B`\begin'$B$NA0$N9T$K(B -`%#BEGIN' $B$H=q$-!"(B`\end' $B$N$K(B `%#BEGIN' $B$r=q(B -$B$$$F$*$1$P!"A0H>$NItJ,$OL5;k$G$-$^$9!#$3$N(BBEGIN$B$H(BEND $B$N>C$7K:$l$K$O==J,$4(B -$BCm0U2<$5$$!#(B - - - - -File: yatexj, Node: lpr format, Next: Editing %# notation, Prev: Fix region for typesetting, Up: %#notation - -lpr$B%U%)!<%^%C%H(B -=============== - - $B$^$:!"%W%j%s%H%"%&%HMQ%3%^%s%INs$N%U%)!<%^%C%H$K$D$$$F@bL@$7$^$9!#%3%^%s(B -$B%INs%U%)!<%^%C%H$O!"(B3$B$D$N(B Lisp $BJQ?t$K$h$C$FI=8=$5$l$^$9!#%G%U%)%k%H$N(B -dvi2ps $BMQ$N%U%)!<%^%C%H$rNc$K@bL@$7$^$9!#(B - -`(1)dviprint-command-format' - `"dvi2ps %f %t %s | lpr"' - -`(2)dviprint-from-format' - `"-f %b"' - -`(3)dviprint-to-format' - `"-t %e"' - -$B$KCV$-49$($i$l!"(B%f $B$,(B -(2)$B$NFbMF!"(B%t $B$,(B(3)$B$NFbMF$KCV$-49$($i$l$^$9!#$=$N:]$K(B(2)$B$NJ8;zNsCf$N(B %b $B$O(B -$B!V=PNO3+;O%Z!<%8!W!"(B(3)$B$NJ8;zNsCf$N(B %e $B$O!V=PNO=*N;%Z!<%8!W$KCV$-49$($i$l(B -$B$^$9!#$b$7!"%Z!<%8$r;XDj$7$J$$;~$K$O!"(B%f, %t $BN>J}$H$bL5;k$5$l$^$9!#(B - - $B$3$N!"(Bdviprint-command-format $B$rNW;~$KJQ$($?$$;~$O!"(BLaTeX $B$N%=!<%9%F%-%9(B -$B%HCf$NG$0U$N>l=j$K!"(B - - %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 - -$B$N$h$&$K=q$$$F2<$5$$!#%W%j%s%H%"%&%H$9$k%Z!<%8HO0O$r$$$A$$$AJ9$+$;$J$$$h$&(B -$B$K$9$k;~$K(B - - %#LPR dvi2ps %s | lpr - -$B$J$I$H$9$k$N$bJXMx$+$b$7$l$^$;$s!#(B - - - -File: yatexj, Node: Editing %# notation, Prev: lpr format, Up: %#notation - -%#$B5-K!<+BN$NJT=8(B -================ - -$B0J>e$N$h$&$J(B`%#'$B$G;O$^$k3FC5n$5$l$^$9!#(B - - - -File: yatexj, Node: Completion, Next: Local dictionary, Prev: %#notation, Up: Top - -$BJd40F~NO(B -******** - - LaTeX $B$G$N4D6-L>$J$I$O!"LnD;$NJd405!G=$rMxMQ$7$FG=N(E*$KF~NO$9$k$3$H$,$G(B -$B$-$^$9!#(B - -* Menu: - -* begin$B7?Jd40(B:: -* section$B7?Jd40(B:: -* large$B7?Jd40(B:: -* maketitle$B7?Jd40(B:: -* Arbitrary completion:: $B?o;~Jd40(B -* end$BJd40(B:: -* Accent mark completion:: $B%"%/%;%s%H5-9fJd40(B -* Image completion:: $B?t<05-9f%$%a!<%8Jd40(B -* Greek letter completion:: $B%.%j%7%cJ8;zJd40(B - - - -File: yatexj, Node: begin$B7?Jd40(B, Next: section$B7?Jd40(B, Prev: Completion, Up: Completion - -begin$B7?Jd40(B -=========== - - `\begin{env}...\end{env}'$B$NMM$J7A<0$NF~NO$NJd40$r(Bbegin$B7?Jd40$H8F$V$3$H$K(B -$B$7$^$9!#(Bbegin $B7?Jd40$O!"(B - -`[prefix] b' - ... begin $B7?Jd403+;O(B($BI8=`$G$O(B `C-c b') - -$B$G;O$^$j$^$9!#IQHK$KMQ$$$i$l$ke5-$N$b$N0J30$N4D6-L>$O(B Emacs $B$N;}$D%$%s%/%j%a%s%?%k$JJd405!G=$rMQ$$$F(B -$BF~NO$7$^$9(B($B>e5-$N4D6-L>$b0J2<$NJd40F~NO2DG=(B)$B!#(B - -`[prefix] b SPC' - ... begin $B7?Jd40F~NO(B - -`[prefix] b SPC' $B$HF~NO$9$k$H!":G2<9T$N%_%K%P%C%U%!$K(B - - Begin environment(default document): - -$B$HI=<($5$l$^$9!#$3$3$G!"2?$bF~$l$:$K%j%?!<%s%-!<$N$_2!$9$H!"3g8LFb$K=P$F$$(B -$B$k%G%U%)%k%H$N4D6-L>$,F~NO$5$l$^$9$,!"E,Ev$J4D6-L>$rF~NO$9$k$H!"(B`\begin{$B4D(B -$B6-L>(B} $B!D(B \end{$B4D6-L>(B}'$B$,J8=qCf$KA^F~$5$l$^$9!#%_%K%P%C%U%!$G4D6-L>$rF~NO$9(B -$B$k$H$-$K!"4D6-L>$NF,J8;z$rF~NO$7!V%9%Z!<%9!W$r$?$?$/$H!"0lCW$9$k4D6-L>$,Fb(B -$BIt%F!<%V%k$KB8:_$7$?>l9g!"@5$7$$4D6-L>$KJd40$5$l$k$N$G!"F~NO$NJ$1$^(B -$B$9!#FbIt%F!<%V%k$KB8:_$7$J$$4D6-L>$rF~NO$7$?;~$O%f!<%6@lMQ$N%F!<%V%k$KEPO?(B -$B$5$l!"$5$i$K$=$N%F!<%V%k$r<+F0E*$K!"%f!<%6<-=q(B($B%G%U%)%k%H$G$O(B -`~/.yatexrc')$B$KJ]B8$7$^$9!#(B - -$B$5$i$K!"FCDj$N4D6-$rJd40F~NO$7$?;~$K$O$=$N4D6-$GI,$:MQ$$$i$l$k%(%s%H%j$r<+(B -$BF0A^F~$7$^$9(B($BNc(B: `itemize'$B4D6-$K$*$1$k(B`\item'$B$J$I(B)$B!#A^F~$5$l$?%(%s%H%j$,IT(B -$BMW$J>l9g$K$O(Bundo$B$K$h$C$F>C5n$7$F2<$5$$!#(B - - -$B4{$K=q$$$?%F%-%9%H$r4D6-$G3g$k(B ------------------------------- - - $B$H$3$m$G!":G=i$K=q$$$F$7$^$C$?%V%m%C%/$r8e$+$i!"(Bitemize $B4D6-$NCf$KJD$8$3(B -$B$a$?$$$H;W$&$3$H$,$"$j$^$9$,!"$=$N$h$&$J$H$-$O!"$"$i$+$8$aJD$8$3$a$?$$CJMn(B -$B$r%^!<%/$7$F!"(Bbegin $B7?Jd40$N3F%3%^%s%I$N(B `[prefix]' $B$N.J8;z$N(B 'b'$B!Y(B -$B$r!XBgJ8;z!Y$KJQ$($F5/F0$7$F2<$5$$!#(B($B$^$?$O!"(B`C-u' $B$r@h$KBG$A!"(Buniversal -argument $B$r$D$1$F$b2DG=$G$9(B) - - $BNc$($P$"$k%Q%i%0%i%U$r(B description $B4D6-$NCf$KF~$l$?$$$H$-$O!"$=$N%Q%i%0(B -$B%i%U$r%^!<%/$7$F$+$i!"(B - -`[prefix] B D' -`($B$^$?$O(B ESC 1 [prefix] b D)' -`($B$^$?$O(B C-u [prefix] b D $B$J$I(B)' - -$B$H%?%$%W$7$F$/$@$5$$!#$3$l$O!"(B`[prefix] b SPC'$B$NJd40F~NO$K$b$"$F$O$^$j!"(B -`b' $B$rBgJ8;z$KJQ$($F!"(B`[prefix] B SPC' $B$H%?%$%W$9$l$P!"$"$i$+$8$a%^!<%/$7(B -$B$F$*$$$?%j%8%g%s$r!"(Bbegin $B$H(B end $B$N4D6-$G3g$j$^$9!#(B - - - -File: yatexj, Node: section$B7?Jd40(B, Next: large$B7?Jd40(B, Prev: begin$B7?Jd40(B, Up: Completion - -section$B7?Jd40(B -============= - - `\section{$BL\E*(B}' $B$N$h$&$J7A<0$NF~NO$NJd40$r(B section $B7?Jd40$H8F$V$3$H$K$7(B -$B$^$9!#(Bsection $B7?Jd40$O!"(B - -`[prefix] s' - ... section $B7?Jd40(B - -$B$G$r(B -$BF~NO$7$^$9!#$3$3$G$b%j%?!<%s%-!<$N$_$G3g8LFb$N%G%U%)%k%HCM$,A*Br$5$l$k$[$+!"(B -`chapter'$B$J$I$N$h$&$JIQEY$N9b$$L>>NF~NO$K$O%9%Z!<%9%-!<$K$h$kJd405!G=$,M-(B -$B8z$G$9!#(B $Bl9g$O!"J8>OCf$K(B - - \section{$BL\E*(B} - -$B$,A^F~$5$l!"(B - - (C-v for view-section) \???{} (default section): vspace* - \vspace*{???}: - -$B$N$h$&$K(B{}$B$NCf?H$r>JN,$7$?$H$-$O!"(B - - \vspace*{} - -$B$@$1$,A^F~$5$l!"2~9T$O$;$:%+!<%=%k$O<+F0E*$KCf3g8L$NFbB&$K0\F0$7$^$9!#(B - -* Menu: - -* 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B:: -* Enclose section-type command:: $B3g$jJd40(B -* Recursive completion:: $B:F5"Jd40(B -* view-sectioning:: $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B -* label-generation:: $B%i%Y%k<+F0@8@.(B - - - -File: yatexj, Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Next: Enclose section-type command, Prev: section$B7?Jd40(B, Up: section$B7?Jd40(B - -2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B -------------------------------------- - - $B$H$3$m$G!"(B`\addtolength{\topmargin}{8mm}' $B$J$I$N$h$&$K!"0z?t$rFs$D0J>ee$N(B`addtolength' $B$NNc$G$"$l$P!"(B -$B0z?t(B2$B$r;XDj$7$^$9!#$D$^$j!"(B - - C-u 2 [prefix] s ($B$^$?$O!"(BESC 2 [prefix] s) - -$B$H(B section $B7?Jd40$r8F$S=P$7$?8e!"(B - - (Ctrl-v for view-section) \???{} (default vspace*): addtolength - \addtolength{???}: \topmargin - Argument 2: 8mm - -$B$N$h$&$KF~NO$7$F$/$@$5$$!#:G=i$N(B addtolength $B$NItJ,$H!"Bh0l0z?t$G$"$k(B -\topmargin $B$NF~NO$OEvA3%9%Z!<%9$K$h$kJd40F~NO$,2DG=$G$9!#%f!<%6<-=q$KEPO?(B -$B$5$l$k(B LaTeX $B%3%^%s%I$K$O!"$3$N0z?t$N?t$b3X=,$5$l$k$N$G!":G=i$NJd40$N;~0z(B -$B?t$N?t$r;XDj$7$F5/F0$7$F$*$1$P!"0J8e$NJd40;~$K$O!"5-21$5$l$?8D?t$@$10z?t$r(B -$BJ9$$$FMh$k$h$&$K$J$j$^$9!#$"$H$G0z?t$N8D?t$rJQ$($?$$;~$O!":F$S(B `C-u' $B$rMQ(B -$B$$$F8D?t$r;XDj$7D>$9$3$H$G!"<+F0E*$K<-=qCf$N0z?t$N8D?t$NItJ,$r99?7$7$^$9!#(B - - - - -File: yatexj, Node: Enclose section-type command, Next: Recursive completion, Prev: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Up: section$B7?Jd40(B - -$B4{$K=q$$$?%F%-%9%H$r3g$k(B ------------------------- - - $B$^$?!"5/F0%3%^%s%I$N(B`s'$B$rBgJ8;z$KJQ$($F5/F0$9$k$H!"$"$i$+$8$a=q$$$?J8>O(B -$B$r(B section $B7?%3%^%s%I$NBh0l0z?t$H$7$F3g$j$^$9!#(B - - - -File: yatexj, Node: Recursive completion, Next: view-sectioning, Prev: Enclose section-type command, Up: section$B7?Jd40(B - -$B:F5"Jd40(B --------- - - $B9bEY$J;H$$J}$K$J$k$+$b$7$l$^$;$s$,!"(Bsection$B7?Jd40$N0z?t$NF~NO;~$K$5$i$K(B -$BJd40F~NO$rMxMQ$9$k$3$H$,$G$-$^$9(B(section/large/maketitle$B7?$K8B$k(B)$B!#(Bsection -$B7?%3%^%s%I$N0z?t$K99$K(B LaTeX $B%3%^%s%I$,Mh$k>l9g$K$O%_%K%P%C%U%!$GLnD;$NJd(B -$B40%-!<$r:F5"E*$KF~NO$9$k$3$H$G0z?t$NF~NO$b8zN(E*$K9T$J$($^$9!#(B - - - -File: yatexj, Node: view-sectioning, Next: label-generation, Prev: Recursive completion, Up: section$B7?Jd40(B - -$B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B ----------------------------------- - - $BDL>o$N(Bsection$B7?Jd40$N;~$K%_%K%P%C%U%!$G(B`C-v'$B$r2!$9$H8=:_B8:_$9$k%;%/%7%g(B -$B%s6h@Z$j%3%^%s%IA4$F$r(B `*Sectioning Lines*'$B$H$$$&%P%C%U%!$K0lMwI=<($7$^$9(B -($B!V(B<<--$B!W$N$D$$$F$$$k9T$,$b$C$H$b6a$$%;%/%7%g%s6h@Z$j(B)$B!#$3$N;~%_%K%P%C%U%!(B -$B$G(B`C-p', `C-n' $B$r2!$9$H(B`part', `chapter', ..., `subparagraph' $B$N%3%^%s%I$,(B -$BO@M}3,AX$N9b$5$K$7$?$,$C$F>e2<$7$^$9!#$^$?!"(B`C-v', `M-v' $B$r2!$9$H%;%/%7%g(B -$B%s6h@Z$j0lMw%P%C%U%!$,%9%/%m!<%k$7!"?t;z$N(B`0'$B!A(B`7'$B$r2!$9$H$"$k9b$50J>e$N%;(B -$B%/%7%g%s6h@Z$j$@$1$rA*$s$GI=<($7$^$9(B($Bl=j$K%8%c%s%W$7$^$9!#$5$i$K!"F1%P%C(B -$B%U%!$G(B `u' $B$r2!$9$H!"%=!<%9%F%-%9%H$NBP1~$9$k%;%/%7%g%s%3%^%s%I$,0l3,AX>e(B -$B$,$j(B($BNc(B: subsection $B$,(B section $B$KJQ$o$k(B)$B!"(B`d'$B$r2!$9$H0l3,AX2<$,$j$^$9!#(B -`*Sectioning Lines*'$B%P%C%U%!$K$"$k%;%/%7%g%s6h@Z$j$N9T$r%^!<%/$7$F$*$$$F(B -`U'$B$r2!$9$H%j%8%g%sFb$N$b$N$KBP1~$9$k%=!<%9%F%-%9%H$N%;%/%7%g%s%3%^%s%I$9(B -$B$Y$F$,0l3,AX>e$,$j!"(B`D'$B$r2!$9$H2<$,$j$^$9!#%;%/%7%g%s6h@Z$j0lMw%P%C%U%!$G(B -$BMxMQ$G$-$k%-!<%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B - -`SPC' - ... $BBP1~$9$k%=!<%99T$X%8%c%s%W(B -`.' - ... $BBP1~$9$k%=!<%99T$rI=<((B -`u' - ... $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B -`d' - ... $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX2<$2$k(B -`U' - ... $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B -`D' - ... $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B -`0$B!A(B6' - ... $B%l%Y%k(B n $B0J2<$N%;%/%7%g%s%3%^%s%I$r1#$7$FI=<((B - - - - -File: yatexj, Node: label-generation, Prev: view-sectioning, Up: section$B7?Jd40(B - -$B%i%Y%k<+F0@8@.(B --------------- - - `\ref{}' $B$d(B `\cite{@}' $B%^%/%m$r(Bsection$B7?Jd40$GF~$l$?>l9g;2>H@h$H$J$jF@$k(B -$B$b$N$rA4$FC5$7$F%a%K%e!<$K$7$FA*Br$G$-$^$9!#;2>H@h$K$O(B`\label{}'$B$r$D$1$F$*(B -$B$/I,MW$O$"$j$^$;$s!#$b$7$"$l$P!"$=$N%i%Y%k$r;H$$!"$J$1$l$P$=$N>l$G;2>H@h$K(B -`\label{}'$B$r:n$i$;$F$/$l$^$9!#%i%Y%kL>$r9M$($k$N$O6lDK$K46$8$k$b$N$G$9!#A4(B -$B$F$N%+%&%s%?$K%i%Y%k$r$D$1$k$N$b$?$$$X$s$G$9!#$b$&%i%Y%kL>$K2?$r$D$1$k$+!"(B -$B%i%Y%k$r$D$1$k$+$D$1$^$$$+!"$J$I$H$$$&$3$H$OK:$l$^$7$g$&(B! - - - -File: yatexj, Node: large$B7?Jd40(B, Next: maketitle$B7?Jd40(B, Prev: section$B7?Jd40(B, Up: Completion - -large$B7?Jd40(B -=========== - - `{\large }' $B$N$h$&$J7A<0$NJd40$r(B large $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B - -`[prefix] l' - ... large $B7?Jd403+;O(B - -$B$,(Blarge$B7?Jd40$N3+;O$G$9!#(B`[prefix] l' $B$r2!$9$H!"%_%K%P%C%U%!$K(B - - {\??? } (default large): - -$B$HI=<($5$l$k$N$G!">e5-$N$b$N$HF1$8MWNN$GJd40F~NO$7$F2<$5$$!#Jd408uJd$KMQ0U(B -$B$5$l$F$$$k$N$O!"(B`footnotesize' $B$d(B `huge' $B$N$h$&$JJ8;z%5%$%:;XDj;R$H!"(B`bf' -$B$d(B`dg'$B$N$h$&$J%U%)%s%H;XDj;R$G$9!#(B - - -$B4{$K=q$$$?J8;z$r3g$k(B --------------------- - - $B$^$?!"(Bbegin$B7?Jd40$N;~$HF1MM!"@h$K=q$$$F$7$^$C$?0lO"$NJ8>O$NJ8;z$N%5%$%:(B -$B$rJQ$($?$$$H;W$&;~$,$"$j$^$9$,!"$=$N$h$&$J;~$O!"%5%$%:$dBg$-$5$rJQ$($?$$J8(B -$B;z$NHO0O$r%^!<%/$7$F$+$i!"8F$S=P$7%-!<$r(B `[prefix] L' $B$H!"BgJ8;z$N(B L $B$KJQ(B -$B$($F8F$S=P$;$P!"$=$N%j%8%g%sA4BN$,!"%V%l!<%9$G0O$^$l$^$9!#(B - - - -File: yatexj, Node: maketitle$B7?Jd40(B, Next: Arbitrary completion, Prev: large$B7?Jd40(B, Up: Completion - -maketitle$B7?Jd40(B -=============== - - `\maketitle' $B$N7A<0$NJd40$r(B maketitle $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B - -`[prefix] m' - ... maketitle $B7?Jd403+;O(B - -$B$G!"(Bmaketitle $B7?Jd40$r3+;O$7$^$9!#Jd40$NMWNN$O:#$^$G$N$b$N$H$^$C$?$/F1$8$G(B -$B$9!#(BLaTeX $BMQ$N%3%^%s%IL>$,Jd408uJd$H$7$FMQ0U$5$l$F$$$^$9!#(B - - - -File: yatexj, Node: Arbitrary completion, Next: end$BJd40(B, Prev: maketitle$B7?Jd40(B, Up: Completion - -$B?o;~Jd40(B -======== - - $B$5$F!":#$^$G=R$Y$?E57?E*$J(B LaTeX $B%3%^%s%I7A<0$NJd40F~NO$rMQ$$$:$K!":#F~(B -$BNO$7$h$&$H$7$F$$$k(B LaTeX $B%3%^%s%I$rJ8=qCf$NG$0U$N0LCV$G?o;~Jd40$9$k$3$H$b(B -$B$G$-$^$9!#(BLaTeX $B%3%^%s%I(B($B@hF,$,(B\$B$G;O$^$k(B)$B$rF~NO$7$F$$$kESCf$G!"(B - -`[prefix] SPC' - ... $B?o;~Jd40(B - -$B$rF~NO$9$l$P!"A4$F$NJd408uJd$NCf$+$i0lCW$9$k$b$N$,A*$P$l%+!<%=%k0LCV$KA^F~(B -$B$5$l$^$9!#(B - - - -File: yatexj, Node: end$BJd40(B, Next: Accent mark completion, Prev: Arbitrary completion, Up: Completion - -end$BJd40(B -======= - - $B8=:_3+$$$?$^$^$N4D6-L>$r<+F0E*$K8!=P$7!"(B`\end{$B4D6-L>(B}'$B$rA^F~$7$^$9!#(B -begin $B7?Jd40$rMQ$$$l$P4D6-$NJD$8K:$l$O$J$$$N$G$9$,!";~$K$O$D$$$D$$(B}' $B$rF~$l$F$7$^$$!"Ha$7$$;W$$$r$9$k$3$H$,$"$j$^$9!#$=$N$h$&(B -$B$J;~$K$O5$$K$;$:B3$1$FJ8>O$rF~NO$7!"$7$+$k$N$A$K(B - -`[prefix] e' - ... end $BJd40(B - -$B$H$9$k$3$H$G!"8=:_3+$$$F$$$k4D6-L>$G(B \end{} $B$,Jd$o$l$^$9!#(B - - - -File: yatexj, Node: Accent mark completion, Next: Image completion, Prev: end$BJd40(B, Up: Completion - -$B%"%/%;%s%H5-9fJd40(B -================== - - $B2$J8$N%"%/%;%s%H5-9f(B(`\`{o}'$B$J$I(B)$B$rF~NO$9$k;~$O!"(B - -`[prefix] a' - ... $B%"%/%;%s%H5-9fF~NO(B - -$B$r2!$9$H!"%_%K%P%C%U%!$K(B - - 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b - -$B$H$$$&%a%K%e!<$,=P$FMh$k$N$G!"?t;z!"$^$?$OBP1~$9$k5-9f(B/$B1Q;z$rF~NO$7$F2<$5(B -$B$$!#$9$k$HJT=8%P%C%U%!$K!"(B - - \`{} - -$B$,$"$i$o$l!"%+!<%=%k$,(B{}$BFb$K0LCV$9$k$N$G!"$5$i$K0lJ8;zF~NO$9$k;v$G!"(B - - \`{o} - -$B$,40@.$5$l!"%+!<%=%k$O(B{}$B$N30$KLa$j$^$9!#(B - - - -File: yatexj, Node: Image completion, Next: Greek letter completion, Prev: Accent mark completion, Up: Completion - -$B?t<05-9f%$%a!<%8Jd40(B -==================== - - $Bl9g!"0lHLE*$K$O!V(B<-$B!W(B -$B$N$h$&$K$7$^$9$,!"$3$l$rMxMQ$7$F!"?t<05-9f%$%a!<%8F~NO%b!<%I$G(B -`\leftarrow'$B$rF~NO$9$k$K$O!"(B`;'($B%;%_%3%m%s(B)$B$rBG$C$F$+$i(B`<-'$B$HF~NO$7$^$9!#(B -$BF1MM$K!"D9$$Lp0u"+(B-(long-leftarrow) $B$r(BASCII$BJ8;z$@$1$GI=8=$9$k>l9g!V(B<--$B!W$H(B -$B$9$k$N$G!"(B`\longleftarrow'$B$rF~NO$9$k$?$a$K$O!"(B`;<--' $B$HF~NO$7$^$9!#$"$k$$(B -$B$OL58BBg5-9f$r(BASCII$BJ8;z$@$1$GI=8=$9$k;~$O!V(Boo$B!W$N$h$&$K$9$k$3$H$+$i!"(B -`\infty' $B$rF~NO$9$k;~$O!"(B`;oo'$B$H%-! `\longleftrightarrow' - ; o `\circ' - ; o o `\infty' - - - $B$$$:$l$N>l9g$b!"%$%a!<%8F~NO$r9T$C$F$$$kESCf$GK>$_$N$b$N$,%P%C%U%!$KI=<((B -$B$5$l$?$J$i!"$=$3$G%$%a!<%8F~NO$r;_$a$F8e(B -$B$K(BTAB$B$r2!$7$F$/$@$5$$!#0J2<$NNc$O!"(B`;<'$B$H2!$7$?8e$K(BTAB$B$r2!$7$?$b$N$G$9!#(B - - KEY LaTeX sequence sign - < \leq $B!e(B - << \ll $B!T(B - <- \leftarrow $B"+(B - <= \Leftarrow <= - -$B:8$+$i(B[$BF~NO%-!<(B]$B!"(B[$BBP1~$9$k(B LaTeX $B%3%^%s%I(B]$B!"(B[($B5<;w(B)$B5-9f?^<((B]$B!"$H$$$&=g$G(B -$B%a%K%e!<$,=P$FMh$k$N$G!"$h$/;H$&$b$N$r3P$($F$*$/$HNI$$$G$7$g$&!#$b$N$K$h$C(B -$B$F$O(BASCII$BJ8;z$GI=8=$9$k$3$H$,:$Fq$J$N$G!"$"$^$j3P$($d$9$$%-!l9g$O(B \maketitle $B7?Jd40$GF~NO$9$k$+!"0J(B -$B2<$K=R$Y$kBP1~I=$N@_Dj$r9T$C$FC1=c$J%-!l9g$O(B -Emacs-Lisp $BJQ?t(B `YaTeX-math-sign-alist-private' $B$KDj5A$7$F$/$@$5$$!#$=$NFb(B -$BMF$H%G%U%)%k%H$N$b$N$r9g$o$;$?$b$N$,BP1~I=$H$7$F;HMQ$5$l$^$9(B(private $B$NJ}(B -$B$,M%@h$5$l$k(B)$B!#$J$*!"$3$NJQ?t$N9=B$$K$D$$$F$O(B `yatexmth.el' $B$r;2>H$7$F$/$@(B -$B$5$$!#(B - - - -File: yatexj, Node: Greek letter completion, Prev: Image completion, Up: Completion - -$B%.%j%7%cJ8;zJd40(B -================ - - $B$b$&0l$D!"?t<04D6-Cf$G(B`:'$B$r2!$9$H%.%j%7%cJ8;zF~NO%b!<%I$KF~$j$^$9!#(B`:'$B$r(B -$B2!$7$?D>8e$K(B`a'$B$r2!$9$H(B`\alpha'$B$,!"(B`g' $B$r2!$9$H(B `\gamma'$B$,!"$J$I%"%k%U%!%Y%C(B -$B%H$KBP1~$7$?%.%j%7%cJ8;z$,A^F~$5$l$^$9!#A`:nJ}K!$O(B;$B$N?t<05-9fJd40$H$^$C$?(B -$B$/F1$8$G$9!#$^$:$O(B`:'$B$ND>8e$K(BTAB$B$r2!$7$F$I$N%"%k%U%!%Y%C%H$K$I$N%.%j%7%cJ8(B -$B;z$,BP1~$7$F$$$k$+D4$Y$F$_$F$/$@$5$$!#(B - - `;'$B$H(B`:'$B$r?t<04D6-Cf$G2!$7$F$$$k$K$b$+$+$o$i$:!"%$%a!<%8Jd40$,F/$+$J$$>l(B -$B9g$O!"(B`C-u ;'$B$N$h$&$K(B universal-argument $B$r$D$1$F%-!<$r2!$9$3$H$K$h$j!"6/(B -$B@)E*$K%$%a!<%8Jd40$KF~$k$3$H$,$G$-$^$9!#$^$?!"$3$N;~$K$I$N$h$&$J>uBV$G?t<0(B -$B4D6-FbH=Dj$K<:GT$7$?$+$r$4O"Mm2<$5$$!#(B - - - -File: yatexj, Node: Local dictionary, Next: Commenting out, Prev: Completion, Up: Top - -$B%m!<%+%k<-=q(B -************ - - $BJd40F~NOMQ$N8uJd$O;0oMQ$9$k%3%^%s%I$rJ]B8$9(B -$B$k!V%f!<%6<-=q!W!"$=$7$F$b$&$R$H$D$O$"$k%G%#%l%/%H%j$G$N$_M-8z$J%3%^%s%I$r(B -$BJ]B8$9$k!V%m!<%+%k<-=q!W$G$9!#(B - - $BJd40F~NO;~$K?7$7$$C18l$rF~$l$?>l9g$K!"$=$NC18l$r$I$N<-=q$KF~$l$k$+J9$$$F(B -$BMh$^$9!#(B - - `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard - -$B$H$$$&%W%m%s%W%H$KBP$7!"(B`u'$B$HEz$($k$H!V%f!<%6<-=q!W$r!"(B`l'$B$HEz$($k$H%m!<%+(B -$B%k<-=q$r99?7$7!"(B`n'$B$HEz$($k$H<-=q%U%!%$%k$O99?7$;$:8=:_$N(BEmacs $B%;%C%7%g%s(B -$B$N$_M-8z$JC18l$H$7!"(B`d'$B$HEz$($k$H?7$?$JC18l$r3X=,$;$:$Kl(B -$B9g$K$O(B`~/.emacs'$B$J$I$G!"(B - - (setq YaTeX-nervous nil) - -$B$H$7$F2<$5$$!#(B - - - -File: yatexj, Node: Commenting out, Next: Cursor jump, Prev: Local dictionary, Up: Top - -$B%3%a%s%H%"%&%H(B -************** - - - LaTeX$B$NJT=8$K$O;n9T:x8m$,$D$-$b$N$G$9!#$"$kItJ,$r0l3g$G%3%a%s%H%"%&%H$7(B -$B$?$j!"%3%a%s%H$r30$7$?$j$7$?$$$3$H$,$"$j$^$9!#(B - -`[prefix] >' - ... $B%j%8%g%s$r(B % $B$G%3%a%s%H%"%&%H(B -`[prefix] <' - ... $B%j%8%g%s$N(B % $B$N%3%a%s%H$r30$9(B - -$B$O!"$"$i$+$8$a@_Dj$7$?%j%8%g%s$KBP$7$F$NA`:n!"(B - -`[prefix] .' - ... $B8=:_$N%Q%i%0%i%U$r%3%a%s%H%"%&%H(B -`[prefix] ,' - ... $B8=:_$N%Q%i%0%i%U$N%3%a%s%H$r30$9(B - -$B$O!"%+!<%=%k$N0LCV$9$k%Q%i%0%i%UA4BN$KBP$7$F$NA`:n$G$9!#$J$*!"$3$3$G$$$&(B -$B!V%Q%i%0%i%U!W$O(B (`mark-paragraph') $B4X?t$K$h$j%^!<%/$5$l$kHO0O$r;X$7$^$9(B -($BI8=`@_Dj$G(B`ESC h'$B$K%P%$%s%I$5$l$F$$$k(B)$B!#$J$*!"4{$K(B`%'$B$G%3%a%s%H%"%&%H$5$l(B -$B$F$$$k%Q%i%0%i%U$KBP$7$F7+$jJV$7%Q%i%0%i%U$N%3%a%s%H$r;HMQ$7$?>l9g$NF0:n$O(B -$BJ]>Z$7$^$;$s$N$G8fCm0U$/$@$5$$!#(B - - $B$5$F!"J8>O$KBP$7$F$@$1$G$J$/!";~$K$O(B`\begin', `\end' $B<+BN$KBP$7$F$b%3%a(B -$B%s%H%"%&%H$NA`:n$r$7$?$$$H$-$,$"$j$^$9!#$3$N$h$&$J$H$-$O!"(B`\begin{}' $B$"$k(B -$B$$$O(B `\end{}' $B$N9T$K%+!<%=%k$r9g$o$;!"(B - -`[prefix] >' - ... `\begin{}'$B!A(B`\end{}' $BA4$F%3%a%s%H%"%&%H(B -`[prefix] <' - ... `\begin{}'$B!A(B`\end{}' $BA4$F%3%a%s%H$r30$9(B - -$B$H$9$k$3$H$G!"(B`\begin$B!A(B\end'$B$G0O$^$l$k4D6-A4$F$KBP$7$F%3%a%s%HA`:n$7!"(B - -`[prefix] .' - ... `\begin{}' $B$H(B `\end{}' $B$r%3%a%s%H%"%&%H(B -`[prefix] ,' - ... `\begin{}' $B$H(B `\end{}' $B$N%3%a%s%H$r30$9(B - -$B$O!"BP1~$9$k(B `\begin' $B$H(B `\end' 2$B9T$@$1$r!"%3%a%s%HA`:n$NBP>]$H$7$^$9!#%j(B -$B%8%g%s$r%3%a%s%H%"%&%H$7$h$&$H$7$F!"%^!<%/$r@_Dj$7$?$N$A$K%+!<%=%k$r0\F0$7(B -`[preifx] >' $B$r2!$7$F$b%+!<%=%k$,(B `\begin{}' $B$N>e$K$"$k$H(B`\begin{}'$B!A(B -`\end{}'$B%b!<%I$G%3%a%s%H5!G=$,F/$$$F$7$^$&$N$GCm0U$7$F2<$5$$!#(B - - - -File: yatexj, Node: Cursor jump, Next: Modifying/Deleting, Prev: Commenting out, Up: Top - -$B%+!<%=%k%8%c%s%W(B -**************** - - -* Menu: - -* $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B:: -* $B$*3(IA$-%D!<%k5/F0(B:: -* $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B:: -* $B4D6-$rC10L$H$7$?%8%c%s%W(B:: -* $B:G8e$NJd400LCV$X$N%8%c%s%W(B:: - - - -File: yatexj, Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Next: $B$*3(IA$-%D!<%k5/F0(B, Prev: Cursor jump, Up: Cursor jump - -$BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B -============================ - - $BJ8=qCf$N$$$m$$$m$J>l=j$G(B - -`[prefix] g' - ... $BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W(B - -$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BLaTeX$B%3%^%s%I$KBP1~$9$k>l=j$K%8%c%s%W$7$^(B -$B$9!#BP1~4X78$,B8:_$9$k$H2rl9g$O%(%i!<$K(B -$B$J$j$^$9!#$^$?$3$l$O!"NN0h8GDj$N$?$a$N(B `%#BEGIN' $B$H(B `%#END' $B$N%Z%"$KBP$7$F(B -$B$bF1MM$KF0:n$7$^$9!#$J$*!"(B`label/ref'$B$d(B`cite/bibitem'$BBP1~$9$k$b$N$,JL%U%!(B -$B%$%k$K$"$k;~$O!"%8%c%s%W@h$H$J$k%U%!%$%k$,%*!<%W%s$5$l$F$$$J$1$l$P$J$j$^$;(B -$B$s!#(B*Note %#notation::. $B%a%$%s$N(B .tex $B%U%!%$%k$N(B `\include{chap1}' $B$J$I$K(B -$B%+!<%=%k$r9g$o$;!"(B`[prefix] g' $B$r2!$9$H!"(B`chap1.tex' $B$K%8%c%s%W$7$^$9!#(B - -$B$^$?!"(B - -`[prefix] 4 g' - ... $BJL%&%#%s%I%&$GBP1~%*%V%8%'%/%H$K%8%c%s%W(B - -$B$r2!$9$H!"BP1~$9$k%*%V%8%'%/%H$X$N%8%c%s%W$rJL%&%#%s%I%&$G9T$$$^$9!#$?$@$7!"(B -$B$3$N5!G=$O(B `begin/end', `%#BEGIN/%#END' $B4V$N%8%c%s%W$KBP$7$F$O(B($B0UL#$,$J$$(B -$B$H;W$o$l$k$N$G(B)$B5!G=$7$J$$$N$GCm0U$7$F$/$@$5$$!#(B - - - -File: yatexj, Node: $B$*3(IA$-%D!<%k5/F0(B, Next: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Prev: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Up: Cursor jump - -$B$*3(IA$-%D!<%k5/F0(B -================== - -$B>e5-$N!V2hA|%U%!%$%k$N$KAjEv$9$kItJ,$r(B \\(\\)$B$+(B - $B$iH4$-=P$7$F3P$($F$*$/(B($B2?HVL\$N(B\\(\\)$B$+$OJQ?t$N3F%j%9%H$N(B cdr $BIt$KF~(B - $B$l$F$*$/(B)$B!#%^%C%A$7$J$1$l$P2?$b$7$J$$!#(B - 2. $B9TKv$K!"JQ?t(B `YaTeX-file-processor-alist' $B$KEPO?$5$l$F$$$k%3%^%s%I$,(B - $B!V(B%$B%3%^%s%I!W(B $B$N$h$&$K=q$$$F$"$l$P6/@)E*$K!V%3%^%s%I(B $B%U%!%$%kL>(B.$B3HD%(B - $B;R!W$r5/F0!#(B - 3. $B$J$1$l$P!"JQ?t(B `YaTeX-file-processor-alist' $B$N3F%j%9%H$N(Bcdr$BIt$KF~$C$F(B - $B$$$k3HD%;R$r!V%U%!%$%kL>!W$N8e$m$KB-$7$?%U%!%$%k$,B8:_$9$k$+=gl9g(Bcar$BIt$KF~$C$F$$$k%3%^%s%I$r5/F0$9$k!#(B - 4. $B0J>e$I$l$+$K%^%C%A$7$J$1$l$P$"$-$i$a$k!#(B - - -$BJQ?t(B `YaTeX-file-processor-alist' $B$HJQ?t(B `YaTeX-file-processor-alist' $B$N@_(B -$BDjJ}K!$K$D$$$F$O$=$l$>$l$NJQ?t$K$D$$$F(B describe-variable $B$7$F@bL@$rFI$s$G(B -$B2<$5$$!#$&$^$/@_Dj$9$k$H!"2hA|%U%!%$%k$K$+$.$i$:!"G$0U$N7A<0$N%U%!%$%k$rG$(B -$B0U$N%W%m%;%C%5$G=hM}$9$k%3%^%s%I$r4JC1$K8F$S=P$9$3$H$,$G$-$^$9!#(B - - - -File: yatexj, Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Next: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Prev: $B$*3(IA$-%D!<%k5/F0(B, Up: Cursor jump - -$B%a%$%s%U%!%$%k$X$N%8%c%s%W(B -========================== - -`chap1.tex'$B$N$h$&$J%5%V%U%!%$%k$G!"(B - -`[prefix] ^' - ... $B%a%$%s%U%!%$%k$K%8%c%s%W(B -`[prefix] 4 ^' - ... $BJL%&%#%s%I%&$G%a%$%s%U%!%$%k$K%8%c%s%W(B - -$B$r2!$9$H!"%a%$%s%U%!%$%k$NJT=8%P%C%U%!$K@ZBX$($^$9!#$b$7!"%a%$%s%U%!%$%k$r(B -$B%*!<%W%s$7$F$$$J$$>l9g$O!"%+%l%s%H%G%#%l%/%H%j$+$iC5$7$F<+F0E*$K%*!<%W%s$7(B -$B$^$9!#(B - - - -File: yatexj, Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Next: $B:G8e$NJd400LCV$X$N%8%c%s%W(B, Prev: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Up: Cursor jump - -$B4D6-$rC10L$H$7$?%8%c%s%W(B -======================== - -$B$5$i$K8=:_$N4D6-$rC10L$H$7$F5!G=$9$k%3%^%s%I$K0J2<$N$b$N$,$"$j$^$9!#(B - -`M-C-a' - ... $B4D6-$N@hF,(B(`\begin')$B$X%8%c%s%W(B -`M-C-e' - ... $B4D6-$NKvHx(B(`\end')$B$X%8%c%s%W(B -`M-C-@' - ... $B4D6-A4BN$r%^!<%/(B - -$B>e5-$N%3%^%s%I$ODL>o$N(B`[prefix]'$B%-!<$G$O$J$/(B`META'$B%-!<$r%W%j%U%#%/%9$H$7$F(B -$B5!G=$9$k$N$G$4Cm0U2<$5$$!#(B - - - -File: yatexj, Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B, Prev: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Up: Cursor jump - -$B:G8e$NJd400LCV$X$N%8%c%s%W(B -========================== - -$BLnD;$OJd40F~NO$7$?0LCV$r>o$K%l%8%9%?(B `3'$B$KJ]B8$7$F$$$^$9!#F~NOESCf$GG!2?$J(B -$B$k%U%!%$%k$NG!2?$J$k0LCV$K9T$C$?$H$7$F$b!"(B`C-x j 3'(`jump-to-register')$B$r(B -$B;H$C$FD>$A$K:G8e$NJd40F~NO0LCV$KLa$k$3$H$,$G$-$^$9!#(B - - - -File: yatexj, Node: Modifying/Deleting, Next: Filling, Prev: Cursor jump, Up: Top - -$BJQ99(B/$B:o=|(B -********* - - $B4{$KF~NO$5$l$F$$$k(B LaTeX $B%3%^%s%I$NJQ99(B/$B:o=|$N$?$a$K0J2<$N5!G=$,MQ0U$5$l(B -$B$F$$$^$9!#(B - -`[prefix] c' - ... $B%+!<%=%k0LCV$N(B LaTeX $B%3%^%s%I$NJQ99(B -`[prefix] k' - ... $B%+!<%=%k0LCV$N(B LaTeX $B%3%^%s%I$N:o=|(B - -$B$3$l$i$N%3%^%s%I$O!"%3%^%s%I$r5/F0$9$k>l=j$K$h$C$FF0:n$r7hDj$9$k$N$GCm0U$7(B -$B$F2<$5$$!#(B - -* Menu: - -* Changing LaTeX command:: LaTeX $B%3%^%s%I$NJQ99(B -* Killing LaTeX command:: LaTeX $B%3%^%s%I$N:o=|(B - - - -File: yatexj, Node: Changing LaTeX command, Next: Killing LaTeX command, Prev: Modifying/Deleting, Up: Modifying/Deleting - -LaTeX $B%3%^%s%I$NJQ99(B -==================== - -$BJQ99$7$?$$(B LaTeX $B%3%^%s%I$K%+!<%=%k$r9g$o$;$F(B `[prefix] c' $B$r2!$9$H$=$N%3(B -$B%^%s%I$rJd40F~NO$J$I$rMQ$$$F(B - * section$B7?%3%^%s%I$N%3%^%s%IL>(B - * section$B7?%3%^%s%I$N0z?t(B - * section$B7?%3%^%s%I$N%*%W%7%g%s%Q%i%a!<%?(B([]$B$G0O$^$l$?$b$N(B) - * large$B7?%3%^%s%I(B - * ($B%$%a!<%8Jd40$GF~NO2DG=$J(B)$B?t<0%b!<%I@lMQ$N(Bmaketitle$B7?%3%^%s%I(B - - $BJQ$($?$$(Bsection$B7?%3%^%s%I$N0z?t$,$5$i$K(B LaTeX $B%3%^%s%I$r4^$`>l9g$O!"$=$N(B -$B0z?t$r0O$`Cf3g8L$N>e$G(B `[prefix] c' $B$r2!$9$3$H$GCf$N%3%^%s%I$rJQ99BP>]H=Dj(B -$B$+$i=|30$9$k$3$H$,$G$-$^$9!#(B - - - - -File: yatexj, Node: Killing LaTeX command, Prev: Changing LaTeX command, Up: Modifying/Deleting - -LaTeX $B%3%^%s%I$N:o=|(B -==================== - -`[prefix] k' $B$O5/F0$9$k0LCV$K$h$je(B($BCf(B) section$B7?%3%^%s%I$N:o=|(B - $B%U%)%s%H;XDj3g8L$N>e(B $B%U%)%s%H;XDj$N:o=|(B - $B3g8L$N>e(B $BBP$r$J$93g8L$N:o=|(B - -`\begin, \end' $B$*$h$S(B `%#BEGIN, %#END' $B$r:o=|$9$k>l9g!"(B`\begin, \end' $B$d(B -`%#BEGIN, %#END' $B$NB8:_$9$k9T$O$^$k$4$H:o=|$5$l$k$N$G!"$=$l$i$N0l9T$K(B -`\begin' $B$J$I$rFs$D0J>eO"$M$F=q$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#>e5-$N$b$N$O(B -$B$9$Y$FK\J8$r0O$&!VMF4o!W$r:o=|$9$k$h$&$KF/$-$^$9$,!"(Buniversal-argument -(`C-u') $B$rBG$C$?8e$G(B`[prefix] k'$B$r%?%$%W$9$k$H!"$=$l$>$l$N!VMF4o!W$K4^$^$l(B -$B$k!VCf?H!W$b0l5$$K:o=|$7$^$9!#0J2<$NNc$r;29M$K$7$F2<$5$$!#(B - - $B85$N%F%-%9%H(B: [prefix] k C-u [prefix] k - $BK\J8(B\footnote{$B5SCm(B}$B$G$9!#(B $BK\J85SCm$G$9!#(B $BK\J8$G$9!#(B - $B",(B($B%+!<%=%k0LCV(B) - - - -File: yatexj, Node: Filling, Next: Includeonly, Prev: Modifying/Deleting, Up: Top - -$B7eB7$((B -****** - - -item$B$N7eB7$((B -============ - - itemize $B4D6-Cf$K$"$k(B`\item'$B$N9`L\(B($BJ8>O(B)$B$,J#?t9T$KEO$k>l9g$K!"9`L\$N@hF,(B -$B$r7eB7$($7$?$$>l9g$K$O!"(B - - -`M-q' - ... $B7eB7$((B - -$B$K$h$C$F!"$=$N(B item $B$N%$%s%G%s%H$N?<$5$K1~$8$F(B fill $B$5$l$^$9!#$J$*!"8E$$(B -NTT jTeX $B$r;HMQ$7$F$$$k>l9g$K$O!"(BLisp $BJQ?t(B`NTT-jTeX'$B$r(B`t'$B$K%;%C%H$7$F2<$5(B -$B$$!#(B - - $B$3$N$H$-!"JQ?t(B`YaTeX-item-regexp'$B$NCM(B($BI8=`$G$O(B `"\\\\item"')$B$r9`L\;XDj%3(B -$B%^%s%I$N@55,I=8=$H$7$F8!:w$K;HMQ$7$^$9!#(Bitemize $B4D6-$G!"FH<+$N%3%^%s%I$rDj(B -$B5A$7$F9`L\$rNs5s$7$F$$$k>l9g(B($BNc$($P(B`\underlineitem')$B$O!"(B`~/.emacs' $B$Gl9g$O!"FH<+$N9`L\Ns5s%3%^%s%I$NL>A0$r(B -``"\item"'$B$G;O$^$k$b$N$K$7$F2<$5$$(B($BNc$($P(B"\itembf"')$B!#(B - -$BLnD;$N(B `M-q' $B$G$O(B `\item' $B$r4D6-$K1~$8$F0J2<$N$h$&$K!V%O%s%0%$%s%G%s%H!W$7(B -$B$^$9!#(B - - itemize, enumerate$B4D6-(B: - >\item[$B$[$2$[$2(B] $B1Q8l$G$O!"FC$K0UL#$N$J$$C18l$r(B `foo' $B$G$"$i$o$7$^(B - > $B$9$,!"$3$l$NF|K\8lHG$H$b$$$($kC18l$,!V$[$2$[$2!W(B - > $B$G$9!#(B - description$B4D6-(B: - > \item[$B$X$m$X$m(B] $B!V$[$2$[$2!W$r$G$?$i$a$,C18l$H$7$F;H$C$?;~$K!"Bh(B - > 2$B$N$G$?$i$a$JC18l$H$7$F!V$X$m$X$m!W$,;H$o$l$k$3$H$,B?(B - > $B$$$h$&$G$9!#(B - - -$B%Q%i%0%i%U$N7eB7$((B -================== - - itemize$B4D6-0J30$G$N%Q%i%0%i%U$N7eB7$((B(fill)$B$O!"4pK\E*$KB>$N%b!<%I$HF1$8(B -$B$h$&$K5!G=$7$^$9$,!"(Bverbatim$B4D6-$d!"(Btabular$B4D6-$J$I7eB7$($r$9$k$HHa;4$J>u(B -$B67$K$J$k$h$&$J4D6-Cf$G$O5!G=$7$^$;$s!#$^$?!"(B\verb $B$G3g$C$F$"$k$b$N$O7h$7$F(B -$B9TJ,3d$5$l$^$;$s(B($BJQ?t(B `YaTeX-verb-regexp' $B$G@)8f(B) )$B!#$5$i$K!"0l;~E*$K%$%s(B -$B%G%s%H$N?<$5$rJQ$($F$"$k2U=j$G$O!"$=$N%$%s%G%s%H$N@hF,$G(B`M-q'$B$r2!$9$3$H$K(B -$B$h$j(B fill-prefix $B$r$$$A$$$AJQ99$7$J$/$F7eB7$($,$G$-$^$9!#(B - - - - -File: yatexj, Node: Includeonly, Next: What column, Prev: Filling, Up: Top - -$B>!O$rF~NO$7$F$$$k;~$K$O!"%a%$%s%U%!%$%kCf$K(B - - \includeonly{$B8=:_JT=8Cf$N%U%!%$%kL>(B} - -$B$N$h$&$K=q$$$F$*$/$3$H$G!"%?%$%W%;%C%H$N;~4V$r@aLs$G$-$^$9$,!"$A$g$C$HB>$N(B -$B%U%!%$%k$r$7$7$?$$;~$K$O(B - - \includeonly{$B$A$g$C$H$7$7$?$$%U%!%$%kL>(B} - -$B$H=q$-D>$5$J$1$l$P$J$i$:$,%a%$%s%U%!%$%k$N(B`\includeonly'$B$K$J$$>l9g$K$O<+F0E*$K$3$l$r8!=P$7!"$l2!$7$F2<$5$$!#(B - - - -File: yatexj, Node: What column, Next: Intelligent newline, Prev: Includeonly, Up: Top - -$B$3$3$O$I$3(B? -*********** - - $B9`L\?t$NB?$$(B tabular $B$J$I$r$?$/$5$s=q$$$F$$$k$H2<$NJ}$N9T$G!"$$$^=q$$$F(B -$B$$$k7e$,$I$3$KBP1~$9$k$N$+$o$+$i$J$/$J$C$F$7$^$&$3$H$,$"$j$^$9!#Nc$($P!"0J(B -$B2<$N$h$&$J(B tabular $B$K$*$$$F!"(B - - \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline - $B;aL>(B&$B=jB0(B&$B")(B&$B=;=j(B&$BEEOC(B&FAX&$B5">J@h(B&$B5">J@hEEOC(B\\ \hline - $BLp>eFsO:(B & 6 & 223 & $B2#IM;T9AKL6hF|5H(B & xxx-yyy & - zzz-www & $B%H%s%,(B & 9876-54321 \\ - $BF|5H>.AN(B & 2 & \multicolumn{2}{c|}{$B65$($J$$(B} - &&&(???) - \\ \hline - \end{tabular} - -(???)$B$NItJ,$,$I$N9`L\$J$N$+$9$0$KH=CG$9$k$N$OFq$7$$$G$7$g$&!#$3$s$J;~$O!"(B - -`[prefix] &' - ... $B8=:_$N%+%i%`I=<((B - -$B$r2!$9$H%+!<%=%k0LCV$N%+%i%`$,$I$N9`L\$K3:Ev$9$k$+$r%_%K%P%C%U%!$KI=<($7$^(B -$B$9!#(Btabular/array$B4D6-$NBh(B1$B9TL\$r9`L\L>$NJB$S$H$_$J$7$FBP1~$9$k$b$N$rC5$7$^(B -$B$9!#$b$79`L\L>$H$7$FJL$N$b$N$rI=<($7$FM_$7$$>l9g$O!"9TF,$r(B`%'$B$K$7$F%@%_!<(B -$B$N9`L\JB$S$r:n$C$F$*$/$HNI$$$G$7$g$&!#(B - - - -File: yatexj, Node: Intelligent newline, Next: Usepackage cheker, Prev: What column, Up: Top - -$B$*$^$+$;2~9T(B -************ - - tabular[*], array, itemize, enumerate, tabbing $B4D6-$r(Bbegin$B7?Jd40$GF~NO$7(B -$B$?;~!"$^$?$O3F4D6-Fb$G(B - -`ESC RET' - ... $B$*$^$+$;2~9T(B - -$B$r2!$9$H!"$=$N4D6-$K1~$8$?9T%(%s%H%j$rl9g$O(B undo $B$K$h$C$F>C5n$G$-$^$9(B)$B!#Nc$($P!"(B -tabular$B4D6-$G$O!"$=$N4D6-$N%+%i%`?t$KBP1~$7$?8D?t$N(B `&' $B$K2C$(!"9TKv$N(B -`\\' $B$rF~$l$^$9!#$3$N;~$=$l0JA0$K(B `\hline' $B$,$"$l$P$=$l$bIU$12C$($^$9!#4D(B -$B6-$H$=$l$K1~$8$F<+F0F~NO$9$k$b$N$NBP1~$O0J2<$N$h$&$K$J$j$^$9!#(B - - * `tabular', `tabular*', `array' - - $B%+%i%`?t(B-1 $B$@$1$N(B `&' $B$H(B `\\'$B!#I,MW$K1~$8$F(B `\hline' - - * `tabbing' - - $B0l9TL\$GDj5A$7$F$$$k(B `\=' $B$HF1$88D?t$N(B `\>'$B!#(B - - * `itemize', `enumerate', `description', `list' - - `\item' $B$^$?$O(B `item[]' - - tabular $B4D6-$NNc$N$h$&$K!"K\5!G=$O3F4D6-$N0l9TL\$NFbMF$r;29M$K$7$FF0:n$9(B -$B$k$N$G!"$J$k$Y$/Fs9TL\0J9_$G8F$S=P$9$h$&$K$7$F$/$@$5$$!#(B - - $B$b$7!"$=$NB>$N4D6-!"Nc$($P(B `foo'$B!"$KBP$7$F(B`$B$*$^$+$;2~9T(B'$B$rF0:n$5$;$?$$;~(B -$B$O!"(B`YaTeX-intelligent-newline-foo' $B$H$$$&L>A0$N4X?t$rDj5A$7$^$9!#Dj5A$7$?(B -$B4X?t$O!"8=:_$N9T$K2~9T$rA^F~$7$?D>8e$N9TF,$N0LCV$G8F$P$l$^$9!#4X?t(B -`YaTeX-indent-line' $B$r8F$V$H8=:_$N4D6-$N%M%9%H$K1~$8$??<$5$K%$%s%G%s%H$5$l(B -$B$k$N$G!"$3$l$r8F$s$G$+$i2?$+$rA^F~$9$k$h$&$J%3!<%I$r=q$/$H$h$$$G$7$g$&!#(B -`yatexenv.el'$BFb$N4X?t(B `YaTeX-intelligent-newline-itemize' $B$NDj5A$J$I$r;29M(B -$B$K$7$F$/$@$5$$!#(B - - - - -File: yatexj, Node: Usepackage cheker, Next: Changing mode of YaTeX, Prev: Intelligent newline, Up: Top - -$B@h2s$j(Busepackage -**************** - - begin$B7?!"(Bsection$B7?!"(Bmaketitle$B7?!"$$$:$l$+$N(BLaTeX2e$B%^%/%m$rJd40F~NO$9$k$H!"(B -$B$=$N%^%/%m$NMxMQ$K30It%Q%C%1!<%8$rI,MW$H$9$k>l9g!"$=$N%Q%C%1!<%8$rK\J8Cf$G(B -`\usepackage{}' $B$7$F$$$k$+$I$&$+$rD4::$7!"$b$7$7$F$$$J$1$l$P%W%j%"%s%V%k$K(B -$BBP1~$9$k%Q%C%1!<%8$r0z?t$K$7$?(B `\usepackage' $BJ8$r(B($B3NG'8e$K(B)$BA^F~$7$^$9!#(B - - $B$?$@$7$3$N5!G=$,F/$/$?$a$K$O!"%Q%C%1!<%8L>$H$=$NCf$GDj5A$5$l$F$$$k%^%/%m(B -$B72$r(Balist$B$N7A<0$GJQ?t(B `YaTeX-package-alist-private' $B$K@_Dj$7$F$*$/I,MW$,$"(B -$B$j$^$9!#(B - - - -File: yatexj, Node: Changing mode of YaTeX, Next: Online help, Prev: Usepackage cheker, Up: Top - -$BLnD;$NF0:n%b!<%I@Z$jBX$((B -************************ - -`[prefix] w' - ... $BLnD;F0:n%b!<%I@Z$jBX$(%a%K%e!<(B - -$B$GLnD;<+?H$NF0:n$r7hDj$9$k0J2<$N%b!<%I$r@Z$jBX$($^$9!#(B - - * $B=$@5%b!<%I(B - * $BLnD;?t<0%b!<%I(B - -$B=$@5%b!<%I$O!"3+$-3g8LF~NO;~$N=hM}$r%3%s%H%m!<%k$7!"=$@5%b!<%I(BON$B$N;~$O3+$-(B -$B3g8L$NF~NO$O3+$-3g8L$N$_$NF~NO$K$J$j!"=$@5%b!<%I(BOFF$B$N;~$O3+$-3g8L$NF~NO$@(B -$B$1$GJD$83g8L$^$GF~NO$7$^$9!#%G%U%)%k%H(B($B5/F0;~(B)$B$N@_Dj$O(B*OFF*$B$G$9!#(B - - $BLnD;?t<0%b!<%I$O!"JQ?t(B `YaTeX-auto-math-mode' $B$,(B `nil' $B$N;~$N$_M-8z$G!"(B -$B$3$N$H$-(B`;'$B$d(B`:'$B$r2!$7$?;~(B(*Note Image completion::$B;2>H(B)$B$K!"$I$N$h$&$J%$%a!<(B -$B%8Jd40$r5!G=$5$;$k$+!"DL>o$N%-!<$H$7$F5!G=$5$;$k$+$rH$5$l$k%X%k%W(B -$BMQ%U%!%$%k$K$O!V%0%m!<%P%k%X%k%W!W$H!V%W%i%$%Y!<%H%X%k%W!W$NFso8x6&$N>l=j(B($B%G%U%)%k(B -$B%H$G(B`$EMACSEXECPATH')$B$KCV$+$l!"C/$b$,$=$NFbMF$r99?7$G$-$k$h$&$KA40w$K=q$-(B -$B9~$_8"$,M?$($i$l$k$Y$-$b$N$G$9!#8el9g$O!"@bL@J8$NF~NO$r5a$a$F$/$k$N$G!"2DG=$G$"$l$P;29M=q$J$I$rD4(B -$B$Y$F$=$N%3%^%s%I$N@bL@$rF~NO$7$F$/$@$5$$!#$b$7!"$J$K$+I8=`E*$J%3%^%s%I$KBP(B -$B$9$k@bL@$r=q$$$?$J$i$P$<$R;d$^$G$=$N@bL@$r$*Aw$j2<$5$$!#l9g!"(B - -`[prefix] d' - ... $B%$%s%/%k!<%I9=B$%V%i%&%:(B - -$B$r2!$9$H!"$=$N%I%-%e%a%s%H$N?F%U%!%$%k$rJ9$$$FMh$^$9!#$3$3$GA4$F$N%U%!%$%k(B -$B$N?F$H$J$k%U%!%$%k(B($B%G%U%)%k%H$,<($5$l$F$$$k$N$GBgDq$O(BRET$B$N$_(B)$B$rF~NO$9$k$H(B -$B%$%s%/%k!<%I$7$F$$$kA4$F$N%U%!%$%k$r2r@O$7!"%$%s%/%k!<%I>u67$r;k3PE*$KI=<((B -$B$7$^$9!#$3$N%P%C%U%!$G$O0J2<$N%-!e$N9T$K0\F0$7BP1~$9$k%U%!%$%k$rNY$N%P%C%U%!$KI=<((B -`N' - ... $BF1$8%$%s%/%k!<%I%l%Y%k$Ne$N9T$K0\F0(B -`u' - ... $B0lBe?F$K$"$?$k%U%!%$%k$K0\F0(B -`.' - ... $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$KI=<((B -`SPC' - ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%"%C%W(B -`DEL, b' - ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%@%&%s(B -`<' - ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$N@hF,$rI=<((B -`>' - ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$NKvHx$rI=<((B -`'' - ... (`<'$B$d(B`>'$B$N8e$G(B)$B85$NI=<(0LCV$KLa$k(B -`RET, g' - ... $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$G%*!<%W%s(B -`mouse-2' - ... RET$B$HF1$8(B($B%&%#%s%I%&;HMQ;~$N$_(B) -`o' - ... $BNY$N%&%#%s%I%&$K0\F0(B -`1' - ... $BB>$N%&%#%s%I%&$r>C$9(B -`-' - ... $B%V%i%&%:%&%#%s%I%&$r>.$5$/$9$k(B -`+' - ... $B%V%i%&%:%&%#%s%I%&$rBg$-$/$9$k(B -`?' - ... $B%X%k%WI=<((B -`q' - ... $BI=<(A0$N>uBV$KLa$k(B - - $B$?$@$7!"NY$N%&%#%s%I%&$N%U%!%$%k$NFbMF$rI=<($9$k5!G=$K4X$7$F$O!"BP1~$9$k(B -$B%U%!%$%k$r%/%m!<%:$7$F$7$^$&$H$&$^$/F/$-$^$;$s$N$G$4Cm0U$/$@$5$$!#(B - - - -File: yatexj, Node: Cooperation with other packages, Next: Customizations, Prev: Inclusion hierarchy browser, Up: Top - -$BB>%Q%C%1!<%8$H$NO"7H(B -******************** - - -gmhist -====== - - `gmhist.el'$B$H(B`gmhist-mh.el' $B$r%m!<%I$7$F$$$k>l9g!"%W%l%t%e!<%3%^%s%I$NF~(B -$BNO(B(`[prefix] tp]')$B!"0u:~%3%^%s%I$NF~NO(B(`[prefix] tl')$B$N;~$KFHN)$7$?%R%9%H(B -$B%j$rMxMQ$G$-$^$9!#$=$l$>$l$N%W%m%s%W%H$G!"(B`M-p' $B$r2!$9$HD>A0$KMxMQ$7$?%3%^(B -$B%s%IJ8;zNs$r$/$jJV$78F$S=P$9$3$H$,$G$-$^$9!#(B - - -min-out -======= - - `min-out.el' (`outline-minor-mode') $B$HLnD;$rAH$_9g$o$;$F;H$&$3$H$b$b$A$m(B -$B$s2DG=$G$9!#@_Dj$NJ}K!$K4X$7$F$O(B`yatexm-o.el'$B$r$4Mw$/$@$5$$!#(B - - - -File: yatexj, Node: Customizations, Next: Etc, Prev: Cooperation with other packages, Up: Top - -$B%+%9%?%^%$%:(B -************ - - $BLnD;$NF0:n$r@)8f$9$k$NJd408uJd$r$5$i$K=<l9g$O!"(B`YaTeX-prefix'$B$K(B -prefix $B%-!<$K$7$?$$%7%s%\%k$rDj5A$7$F$/$@$5$$!#$5$i$K!"!V(B`C-c $B1Q;z(B'$B!W$H$$(B -$B$&%-!<%P%$%s%I$OFH<+$N4X?t$,3d$jEv$F$F$"$k$N$G;H$$$?$/$J$$!#$3$N$h$&$J;~$O!"(B -`YaTeX-inhibit-prefix-letter' $B$r(B `t' $B$K@_Dj$9$k$3$H$K$h$j!"(B`C-c $B1Q;z!D(B'$B$N(B -$B%P%$%s%I$,A4$F!"BP1~$9$k(B`C-c C-$B1Q;z!D(B'$B$KJQ$o$j$^$9(B($B$?$@$7!"(Bbegin$B7?(B large$B7?(B -$BJd40$NBgJ8;z5/F0$K$h$k%j%8%g%s;XDj$O2DG=$J$^$^$G$9!#$3$l$bL58z$K$7$?$$>l9g(B -$B$O(B`t'$B$G$O$J$/(B 1 $B$K%;%C%H$7$F2<$5$$!#(B)$B!#(B - -* Menu: - -* All customizable variables:: $B%+%9%?%^%$%:JQ?t0lMw(B -* Sample definitions:: $B%+%9%?%^%$%:JQ?t@_DjNc(B -* Hook variables:: hook$BJQ?t(B -* Hook file:: hook$BMQ%U%!%$%k(B - - - -File: yatexj, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables - -$B%+%9%?%^%$%:JQ?t0lMw(B --------------------- - - yatex-mode $B$K$*$1$kl9g$O(B `M-x describe-variable' $B$GJQ?t$N>\:Y$J@bL@$r;2>H(B -$B$7$F$/$@$5$$!#(B - - -- Variable: YaTeX-prefix - yatex-mode $BCf$N%W%j%U%#%/%9%-!<(B (`\C-c') - - -- Variable: YaTeX-inhibit-prefix-letter - prefix $B%-!<$ND>8e$N%-!<%P%$%s%I$G(B `$B1Q;z(B' $B$N$b$N$r(B `C-$B1Q;z(B' $B$KJQ99(B - (`nil') - - -- Variable: YaTeX-fill-prefix - $BK\J8$r=q$/;~$N9TF,$KA^F~$9$k@\F,<-$9$J$o$A(B fill-prefix (`""(nil)') - - -- Variable: YaTeX-user-completion-table - $B3X=,$7$?(BLaTeX$B%3%^%s%IJ]B8%U%!%$%kL>(B (`"~/.yatexrc"') - - -- Variable: YaTeX-kanji-code - $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(Bnil=$B4{B8$N%3!<%I$N$^$^(B 0=no-conversion - 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOS$B$G$O(B1)) - - -- Variable: tex-command - LaTeX$B%?%$%W%;%C%?%3%^%s%IL>(B (`"platex"') - - -- Variable: dvi2-command - $B%W%l%t%e!<%"%3%^%s%IL>(B (`"xdvi -geo +0+0 -s 4"') - - -- Variable: dviprint-command-format - dvi$B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%I<0(B (`"dvi2ps %f %t %s | lpr"') - - -- Variable: dviprint-from-format - $B>e$N(B`%f'$B$KAjEv$9$k3+;O%Z!<%8;XDj=q<0!"(B`%b' $B$,3+;O%Z!<%8HV9f$KJQ$o$k(B - (`"-f %b"') - - -- Variable: dviprint-to-format - `%t' $B$KAjEv$9$k=*N;%Z!<%8;XDj=q<0!"(B`%e'$B$,=*N;%Z!<%8HV9f$KJQ$o$k(B (`"-t - %e"') - - -- Variable: makeindex-command - makeindex$B%3%^%s%I(B (`"makeindex"' (MS-DOS$B$G$O(B`"makeind"')) - - -- Variable: YaTeX-dvipdf-command - dvi$B$r(BPDF$B$KJQ49$9$k%3%^%s%I(B (`"dvipdfmx"') - - -- Variable: YaTeX-need-nonstop - `\nonstopmode{}'$B$r<+F0E*$KIU2C$9$k$+(B (`nil') - - -- Variable: latex-warning-regexp - latex$B%3%^%s%I$N=PNO$9$k%&%)!<%K%s%09T$N@55,I=8=(B (`"line.* [0-9]*"') - - -- Variable: latex-error-regexp - $BF1$8$/%(%i!<9T$N@55,I=8=(B (`"l\\.[1-9][0-9]*"') - - -- Variable: latex-dos-emergency-message - MS-DOS$B>e$GF0:n$9$k(B latex $B%3%^%s%I$,!"%(%i!<$K$h$jDd;_$9$k$H$-=PNO$9$k(B - $B%a%C%;!<%8(B (`"Emergency stop"') - - -- Variable: latex-message-kanji-code - $B%?%$%W%;%C%?$N=PNO$9$k%a%C%;!<%8$N4A;z%3!<%I(B.$B%?%$%W%;%C%H%P%C%U%!$N=P(B - $BNO$,2=$1$k;~$O!"$3$l$r@_Dj$9$k(B (2, Nemacs$B$G$N$_M-8z(B) - - -- Variable: NTT-jTeX - $B8E$$(BNTT-jTeX$B;HMQ;~$N$h$&$K%$%s%G%s%H$7$?9T$N@hF,$HA0$N9T$N(B($B%?%$%W%;%C(B - $B%H8e$N(B)$B;z4V$,6u$$$F$7$^$&$N$r7y$&>l9g$O(B`t'$B$K$9$k(B(`nil') - - -- Variable: YaTeX-item-regexp - item$B$N7eB7$($N;~$KMQ$$$k!"(Bitem$B$N@55,I=8=(B (`"\\\\(sub\\)*item"') - - -- Variable: YaTeX-verb-regexp - verb$B%3%^%s%I$N@55,I=8=!#@hF,$N(B\\\\$B$O$D$1$J$$(B (`"verb\\*?\\|path"') - - -- Variable: YaTeX-nervous - $B%m!<%+%k<-=q$rMQ$$$k;~(B `t' (`t') - - -- Variable: YaTeX-sectioning-regexp - $B%;%/%7%g%s6h@Z$j@_Dj%3%^%s%I$N@55,I=8=(B - (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') - - -- Variable: YaTeX-fill-inhibit-environments - fill $B$rM^;_$9$k4D6-L>$N%j%9%H(B (`'("tabular" "tabular*" "array" - "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" - "verbatim" "verbatim*")') - - -- Variable: YaTeX-uncomment-once - $BNN0h(Buncomment$B$G9TF,$NJ#?t$N(B`%'$B$rA4$F:o=|$9$k$+(B (`nil') - - -- Variable: YaTeX-close-paren-always - $B3+$-3g8L$NF~NO$G>o$KJD$83g8L$rF~NO$9$k(B (`t') - - -- Variable: YaTeX-auto-math-mode - $B?t<0%b!<%I$N@Z$jBX$($r<+F0E*$K9T$&(B (`t') - - -- Variable: YaTeX-math-key-list-private - $B?t<0%$%a!<%8Jd40$GMQ$$$k(B ($B%W%j%U%#%/%9%-!<(B . $BBP1~Jd40%F!<%V%k(B) $B$N(B - alist (`nil')$B!#Jd40%F!<%V%k$N=q$-J}$K$D$$$F$O(B`yatexmth.el'$B$r;2>H!#(B - - -- Variable: YaTeX-default-pop-window-height - 1$B2hLL$N;~$K%?%$%W%;%C%H%P%C%U%!$r=i$a$F:n@.$9$k;~$N9b$5!#?tCM$G9T?t!"(B - $B?t;zJ8;zNs$G(BEmacs$B%&%#%s%I%&$KBP$9$kI4J,N((B (10) - - -- Variable: YaTeX-help-file - $B6&MQ%X%k%W%U%!%$%k(B (`$doc-directory/../../site-lisp/YATEXHLP.jp') - - -- Variable: YaTeX-help-file-private - $B8D?MMQ%X%k%W%U%!%$%k(B (`"~/YATEXHLP.jp"') - - -- Variable: YaTeX-no-begend-shortcut - `[prefix] b ??' $B$N%7%g!<%H%+%C%H$r;H$o$:!"(B`[prefix] b' $B$@$1$GJd40F~NO(B - $B$KF~$k(B (`nil') - - -- Variable: YaTeX-hilit-pattern-adjustment-private - $B@55,I=8=$H$=$l$K%^%C%A$9$k$b$N$NO@M}E*0UL#$r%7%s%\%k$G$"$i$o$7$?$b$N(B - $B$N%j%9%H!D$N%j%9%H!#(Bhilit19 $B$rAH$_9~$s$G$$$k;~$N$_M-8z!#>\$7$/$O(B - `(assq 'yatex-mode hilit-patterns-alist)' $B$7$?7k2L$H!"JQ?t(B - `YaTeX-hilit-pattern-adjustment-default' $B$NCM(B($B$H>l9g$K$h$C$F$O(B - hilit19 $B$N%I%-%e%a%s%H(B)$B$r;2>H$;$h!#(B - - -- Variable: YaTeX-sectioning-level - LaTeX$B$N%;%/%7%g%sC10L@k8@%3%^%s%I$H$=$NO@M}E*9b$5$N(Balist$B!#(B - - -- Variable: YaTeX-hierarchy-ignore-heading-regexp - Hierarchy $B%P%C%U%!$ODL>o%U%!%$%k%X%C%@$H$7$F!"(BLaTeX$B$N%;%/%7%g%s@k8@%3(B - $B%^%s%I$N0z?t$r8!:w$7!"$=$l$,$J$1$l$P%3%a%s%H9T$rC5$9$,!"$=$N:]$K%X%C(B - $B%@$H$7$F$O0UL#$r;}$?$J$$%Q%?!<%s$r$3$NJQ?t$K@_Dj$9$k!#%G%U%)%k%H$G$O(B - RCS $B%X%C%@$H%b!<%I;XDj9T(B(-*- xxx -*-)$B$,@_Dj$5$l$F$$$k!#(B - - -- Variable: YaTeX-skip-default-reader - Non-nil $B$K@_Dj$9$k$H(Bsection$B7?%3%^%s%I$N0z?tF~NO;~!"%"%I%$%s4X?t$,$J$1(B - $B$l$P%_%K%P%C%U%!$G$NFI$_9~$_$r$;$:$KF~NO$r40N;$5$;$k(B (`nil') - - -- Variable: YaTeX-create-file-prefix-g - `\include'$B$J$I$G(B `prefix g'$B$7$?;~$K!"%8%c%s%W@h$,B8:_$7$J$$%U%!%$%k$G(B - $B$"$C$F$b%*!<%W%s$9$k(B (`nil') - - -- Variable: YaTeX-simple-messages - $B3FH!#(B - - -- Variable: YaTeX-use-AMS-LaTeX - AMS-LaTeX $B$r;HMQ$9$k>l9g$O(B `t' $B$K@_Dj$9$k(B (`nil') - - -- Variable: YaTeX-use-LaTeX2e - LaTeX2e $B$r;HMQ$9$k>l9g$O(B `t' $B$K@_Dj$9$k(B (`t') - - -- Variable: YaTeX-template-file - $B?75,%U%!%$%k:n@.;~$K<+F0A^F~$9$k%U%!%$%kL>(B (`~/work/template.tex') - - -- Variable: YaTeX-search-file-from-top-directory - input$B$9$k%U%!%$%k$rC5$9$H$-$N4p=`%G%#%l%/%H%j$r(Bmain$B%U%!%$%k$N$"$k%G%#(B - $B%l%/%H%j$K$9$k$+(B (`t') - -- Variable: YaTeX-use-font-lock - $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-lock $B$rMxMQ$9$k$+$I$&$+(B - (`(featurep 'font-lock)') - - -- Variable: YaTeX-use-hilit19 - $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+$I$&$+(B(`(featurep - 'hilit19)') - - -- Variable: YaTeX-use-italic-bold - italic, bold$B%U%)%s%H$rLnD;$,C5$9$+$I$&$+(B (Emacs20$B0J9_$J$i(B`t') - font-lock$BMxMQ;~$N$_M-8z!#(B(`(featurep 'hilit19)' - - -- Variable: YaTeX-singlecmd-suffix - $BA4$F$N(Bmaketitle$B7?%3%^%s%I$NJd40F~NOD>8e$KA^F~$9$kJ8;zNs!#(B`"{}"' $B$J$I(B - $B$,$*4+$a!#(B - - -- Variable: YaTeX-package-alist-private - LaTeX2e$B$N%Q%C%1!<%8L>$H$=$NCf$K4^$^$l$k%^%/%m$N%j%9%H!#E,@Z$K@_Dj$7$F(B - $B$*$/$HK\J8F~NO;~$K%^%/%m$rJd40F~NO$9$k$H$=$N%^%/%m$KI,MW$J%Q%C%1!<%8(B - $B$r(B usepackage $B$9$k$+<+F0E*$K8!::$7$F$/$l$k!#$7$F$$$J$1$l$P(B - \usepackage $B$r<+F0DI2C$9$k$3$H$b$G$-$k!#%j%9%H$O(B'(($B%Q%C%1!<%8L>(B1 ($BJd(B - $B40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B)) ($B%Q%C%1!<(B - $B%8L>(B2 ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) ($BJd40%?%$%W(B $B%^%/%m$N%j%9(B - $B%H!D!D(B))$B!D!D!D(B) $B$H$$$&7A<0$K$9$k!#Jd40%?%$%W$O(B `env, section, - maketitle' $B$N$I$l$+!#6qBNNc$OJQ?t(B `YaTeX-package-alist-default' $B$NCM(B - $B;2>H!#(B - - -- Variable: YaTeX-tabular-indentation - tabular/array $B4D6-$G8=:_9T$N@hF,0LCV$,I=$NBh(BN$B%+%i%`$N$H$-$OI8=`%$%s%G(B - $B%s%H0LCV$+$i(B N*YaTeX-tabular-indentation $B7e2<$2$?%$%s%G%s%H$K$9$k!#(B - - -- Variable: YaTeX-noindent-env-regexp - $BJL$N4D6-Fb$K$"$C$F$b(B \begin{} $B$,9TF,$+$i;O$^$k$Y$-4D6-L>$N@55,I=8=!#(B - verbatim$B4D6-$J$I$r;XDj$9$k!#(B - - -- Variable: YaTeX-ref-default-label-string - \ref{} $B$N%i%Y%kJd40$G%i%Y%kL$@_Dj$N$b$N$K<+F0E*$K@8@.$9$k%i%Y%kL>$N=q(B - $B<0!#(Bstrftime(3)$B4X?t$K;w$?F|IU%Y!<%9$G;XDj$9$k!#MxMQ$G$-$k=q<0$O0J2<$N(B - $B$H$*$j!#(B%y -> $B@>Nq2 $B7n$N1QL>(B, %m -> $B7n(B(1$B!A(B12) %d -> $BF|(B, - %H -> $B;~(B, %M -> $BJ,(B, %S -> $BIC(B, %qx -> $B%"%k%U%!%Y%C%H$G(B26$B?J?t2=$7$?(B - yymmdd. %qX -> $B%"%k%U%!%Y%C%H$G(B26$B?J?t2=$7$?(B HHMMSS. $B%G%U%)%k%H$O(B - "%H%M%S_%d%b%y" - - -- Variable: YaTeX-ref-generate-label-function - \ref{}$B$N%i%Y%kL><+F0@8@.$N$H$-$K;H$&4X?t$N%7%s%\%k!#%G%U%)%k%H$OI8=`(B - $B$N(B YaTeX::ref-generate-label $B4X?t$,3d$jEv$F$F$"$k!#0z?t$r(B2$B$D8uJd$H$9$k!#@_DjNc(B: - (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) - (defun my-yatex-generate-label (command value) - (and (string= command "caption") - (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) - (setq command (match-string 1))) - (let ((alist '(("chapter" . "chap") - ("section" . "sec") - ("subsection" . "subsec") - ("figure" . "fig") - ("table" . "tbl")))) - (if (setq command (cdr (assoc command alist))) - (concat command ":" value) - (YaTeX::ref-generate-label nil nil)))) - - - -File: yatexj, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables - -$B%+%9%?%^%$%:JQ?t@_DjNc(B ----------------------- - - $B$?$H$($P!"(Bprefix $B%-!<$H$7$F(B`ESC'$B$r;HMQ$7!"?7$?$JJd408uJd$r3JG<$9$k%U%!%$(B -$B%k$r!"(B`~/src/emacs/yatexrc' $B$K$7!"9TF,$N(B prefix $B$r%?%VJ8;z0l$D$KJQ$($?$$$H(B -$B$-$O!"(B - - (setq YaTeX-prefix "\e" - YaTeX-user-completion-table "~/src/emacs/yatexrc" - YaTeX-fill-prefix " ") - -$B$r(B `~/.emacs' $B$K2C$($^$9!#(B - - - -File: yatexj, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables - -hook$BJQ?t(B --------- - - $B$^$?!"(Bhook $BJQ?t(B `yatex-mode-hook', `yatex-mode-load-hook' $B$rMQ0U$7$F$$$^(B -$B$9!#$9$Y$F$N(B yatex-mode $B$N%P%C%U%!$G:nMQ$5$;$?$$$b$N$O!"(B`yatex-mode-hook' -$B$K5-=R$7!"(B`yatex.el' $B$r%m!<%I$9$k;~$@$1:nMQ$5$;$?$$$b$N$O(B -`yatex-mode-load-hook' $B$K5-=R$7$^$9!#Nc$($P!"(B`outline-minor-mode' $B$rMxMQ$9(B -$B$k>l9g!"$=$l$>$l$N%P%C%U%!$G(B `outline-minor-mode' $B$rM-8z$K$7$?$$$N$G!"(B -`yatex-mode-hook' $B$r$b(B -$B%7%g!<%H%+%C%H%-!<$GF~$l$?$$$J$I$H$$$&;~$O!"$d%3%^%s%IL>$K1~$8$?$-$a:Y$d$+$JJd40F~NO5!G=$r(B -****** - - $BLnD;$NI8=`$N(B LaTeX $B%3%^%s%I$N<-=q$K$O!":n:\Ey$K4X$7$F$O@)8B$$$?(B -$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!"K\%W%m%0%i%`$K4^$^$l$k%3!<%I$rMxMQ(B -$B$9$k$3$H!"2~B$$9$k$3$H$b<+M3$K9T$J$C$F9=$$$^$;$s$,!"N.MQ$9$k$3$H$K$h$j7@Ls(B -$BDy7k$NI,MW$,@8$8$k>l9g!";d$O$$$+$J$k7@Ls$bDy7k$7$^$;$s!#6qBNE*$K$O(BGPL$B$X$N(B -$B%5%$%s$O$7$^$;$s$N$G!"(BGNU$B$K4sB#$9$k$b$N$r:n$C$F$$$k>l9g;d$N:nIJ$+$ip!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#O"Mm$O(B yuuji@yatex.org $B$^(B -$B$G(B(2004$BG/(B1$B7n8=:_(B)$B!#7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N(B -$B2q!W$K@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B `docs/qanda' -$B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B - -$B;EMM$O!"M=9p$J$/3N: Commenting out. 4. -* prefix /: Online help. 4. -* prefix ?: Online help. 4. -* prefix &: What column. 4. -* prefix a: Accent mark completion. 4. -* prefix b: begin�^��(J.(B. 4. -* prefix c: Modifying/Deleting. 4. -* prefix d: Inclusion hierarchy browser. 4. -* prefix e: end��(J.(B. 4. -* prefix g: Cursor jump. 4. -* prefix i: Filling. 8. -* prefix k: Modifying/Deleting. 4. -* prefix key: Invocation. 4. -* prefix l: large�^��(J.(B. 4. -* prefix m: maketitle�^��(J.(B. 4. -* prefix s: section�^��(J.(B. 4. -* prefix SPC: Arbitrary completion. 4. -* prefix w: Changing mode of YaTeX. 4. -* prefix�L�[�ύX[prefix,B+"Vq1$(B]: Lisp variables. 4. -* �y�[�W�m�F�ȗ�lpr�N��[,BV&5)-Iq5f$hb-(Blpr,B+F$(B]: Print out. 12. -* section�^��(J.(B[section,B)=Y)q(B]: section�^��(J.(B. 4. -* ���G,BH(Btabular[,BS-3BH(Btabular]: What column. 4. -* ��(Iq,Bh(Busepackage[,B3+\mh(B]: Usepackage cheker. 4. -* YaTeX-help-file: Online help. 16. -* YaTeX-help-file-private: Online help. 16. -* YaTeX-item-regexp: Filling. 20. -* YaTeX-math-sign-alist-private: Image completion. 56. -* yatex-mode-hook: Hook variables. 4. -* yatex-mode-load-hook: Hook variables. 4. -* YaTeX-nervous: Local dictionary. 22. -* .yatexrc: Local dictionary. 4. - - - - - -Tag table: -Node: Top146 -Node: Intro1200 -Node: Terminology1503 -Node: Main features2138 -Node: Installation3171 -Node: Invocation4390 -Node: Calling typesetter5214 -Node: Calling previewer6452 -Node: Print out6768 -Node: %#notation7034 -Node: Changing typesetter7408 -Node: Splitting input files7666 -Node: Fix region for typesetting8615 -Node: lpr format9516 -Node: Editing %# notation10309 -Node: Completion10742 -Node: begin$B7?Jd40(B11215 -Node: section$B7?Jd40(B13800 -Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B14895 -Node: Enclose section-type command15712 -Node: Recursive completion15949 -Node: view-sectioning16255 -Node: label-generation17451 -Node: large$B7?Jd40(B17801 -Node: maketitle$B7?Jd40(B18381 -Node: Arbitrary completion18680 -Node: end$BJd40(B18993 -Node: Accent mark completion19335 -Node: Image completion19761 -Node: Greek letter completion21578 -Node: Local dictionary22038 -Node: Commenting out22643 -Node: Cursor jump23802 -Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B24039 -Node: $B$*3(IA$-%D!<%k5/F0(B25027 -Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B25947 -Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B26283 -Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B26640 -Node: Modifying/Deleting26877 -Node: Changing LaTeX command27282 -Node: Killing LaTeX command27833 -Node: Filling28703 -Node: Includeonly30031 -Node: What column30590 -Node: Intelligent newline31368 -Node: Usepackage cheker32400 -Node: Changing mode of YaTeX32826 -Node: Online help33402 -Node: Inclusion hierarchy browser34378 -Node: Cooperation with other packages35656 -Node: Customizations36111 -Node: Lisp variables36408 -Node: All customizable variables37015 -Node: Sample definitions44315 -Node: Hook variables44749 -Node: Hook file45642 -Node: Add-in functions45848 -Node: Etc46075 -Node: Copying46359 -Node: Concept Index46990 - -End tag table +Info file: yatexj, -*-Text-*- +produced by `texinfo-format-buffer' +from file `yatexj.tex' +using `texinfmt.el' version 2.38 of 3 July 1998. + +START-INFO-DIR-ENTRY +* YaTeX: (yatexj). Yet Another tex-mode for Emacs (Japanese). +END-INFO-DIR-ENTRY + + + + + + +File: yatexj, Node: Top, Next: Intro, Prev: (dir), Up: (dir) + +* Menu: + +* Intro:: �͂��߂� +* Terminology:: �}�j���A���Q�Ə�̒��� +* Main features:: ��ȋ@�\ +* Installation:: �C���X�g�[�� +* Invocation:: �v���Z�X�N�� +* %#notation :: %#�L�@ +* Completion:: �⊮���� +* Local dictionary:: ���[�J������ +* Commenting out:: �R�����g�A�E�g +* Cursor jump:: �J�[�\���W�����v +* Modifying/Deleting:: LaTeX�R�}���h�̕ύX/�폜 +* Filling:: ������ +* Includeonly:: ����� includeonly +* What column:: �J�����ʒu�K�C�h +* Intelligent newline:: ���܂������s +* Usepackage cheker:: ����usepackage +* Changing mode of YaTeX:: �쒹���샂�[�h�ύX +* Online help:: LaTeX�I�����C���w���v +* Inclusion hierarchy browser:: �t�@�C�������K�w�\���̕\�� +* Cooperation with other packages:: ���p�b�P�[�W�Ƃ̘A�g +* Customizations:: �J�X�^�}�C�Y +* Etc:: ���̑� +* Copying:: ��舵�� +* Concept Index:: ���� + + + + +File: yatexj, Node: Intro, Next: Terminology, Prev: Top, Up: Top + +�͂��߂� +******** + + �쒹�́AGNU Emacs �� LaTeX �p�̕������쐬���鎞�� pLaTeX �Ȃǂ̃^�C�v�Z�b +�g�R�}���h��A�v�������[�A�̋N���� Emacs �ҏW��ʒ�����s����悤�ɂ���� +���ɁA�g�����̍�����X�̕⊮�@�\�ɂ��\�[�X�e�L�X�g�̕ҏW���x�����܂��B�� +��� LaTeX �R�}���h�̃I�����C���w���v�ɂ��}�j���A���𒲂ׂ��Ԃ��y���� +�܂��B + + English manual *Note Top: (yatexe)Top. + + + +File: yatexj, Node: Terminology, Next: Main features, Prev: Intro, Up: Top + +�{�}�j���A���Q�Ə�̒��� +************************ + + �{�}�j���A���ł͈ȉ��̕\�L��p���܂��B + + * begin�^�R�}���h + + `\begin{�‹�} �` \end{�‹�}'�Ƃ����`����LaTeX�R�}���h���w���܂��B + begin�^�R�}���h��⊮���͂��邱�Ƃ�begin�^�⊮�ƌĂт܂��B + + * section�^�R�}���h + + `\section{�^�C�g��}'��`\mbox{���e}'�̂悤�Ɉ��������LaTeX�R�}���h�� + �w���܂��B + + * maketitle�^�R�}���h + + `\maketitle'��`\tableofcontents'�̂悤�Ɉ��������Ȃ�LaTeX�R�}���h�� + �w���܂��B + + * large�^�R�}���h + + `{\large ...}' �� `{\tt ...}' �̂悤�ȃt�H���g/�T�C�Y�w��q���w���܂��B + + * `[prefix]' + + �쒹�̋@�\���Ăяo�����߂̃v���t�B�N�X�L�[�B�f�t�H���g�ł�`C-c'�Ɋ��� + ���Ă��Ă���̂ŁA���ɕύX���Ă��Ȃ��ꍇ�{�}�j���A���� `[prefix]' + �Ƃ����\�L�́A`C-c' �Ɠǂ݊����Ă��������B + + + +File: yatexj, Node: Main features, Next: Installation, Prev: Terminology, Up: Top + +��ȋ@�\ +******** + + * �^�C�v�Z�b�^��v�������[�A�Ȃǂ̕ҏW��ʂ���̋N��(`C-c t') + * �J�[�\���ʒu�ɂ��Ȃ��Œ胊�W�����̕����^�C�v�Z�b�g + * \includeonly�̃����^�b�`�X�V + * �G���[�ӏ��ւ̎����W�����v(`C-c '') + * `\begin{}, \end{}, \section...' �Ȃǂ� LaTeX �R�}���h�̕⊮����(`C-c + b', `C-c s', `C-c l', `C-c m') + * ���ɓ��͂����e�L�X�g���‹���R�}���h�����̒��Ɏ�荞�ފ���⊮(`C-u' + +�ʏ�⊮�L�[) + * �Z�N�V������؂���͎��̕����\���A�E�g���C���\�� + * �Z�N�V�����R�}���h�̈ꊇ�V�t�g (*Note view-sectioning::) + * �⊮�����̊w�K + * LaTeX �̊‹���R�}���h�ɉ������K�C�h�t���������� + * �쒹�ɂȂ��K�C�h�t���������͊֐��̎�������(`yatexgen.el') + * LaTeX �R�}���h�̍폜/�ύX(`C-c k', `C-c c') + * �t�@�C���ԁA`\begin'<->`\end'�ԁA`\ref'<->`\label'�ԁA + `\cite'<->`\bibitem'�W�����v(`C-c g') + * �ꊇ�R�����g�A�E�g/�A���R�����g�A�E�g(`C-c >', `C-c <', `C-c ,', `C-c + .') + * �A�N�Z���g�L��/�����‹��p�R�}���h/�M���V�������̓��͎x��(`C-c a', + `;', `/') + * tabular/array�‹��̃J�����ʒu�K�C�h + * �W���I LaTeX �R�}���h�̃I�����C���w���v(`C-c ?', `C-c /') + * �h�L�������g�̃C���N���[�h�\���̎��o�I�\���ƃo�b�t�@�؂�ւ�(`C-c d') + * �⊮���͂����}�N���ɉ����ĕK�v�� \userpackage �����Ă������� + userpackage + * \label��ł‚��Ƃ͂����Y��悤! ref��cite�⊮���͂Ŏ����������܂� + + + +File: yatexj, Node: Installation, Next: Invocation, Prev: Main features, Up: Top + +�N���@ +****** + +�쒹�N���̂��߂̐ݒ� +==================== + + ~/.emacs�ɉ���2���ڂ������܂��B + + (setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) + (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) + +���ɖ쒹�� emacs-lisp �t�@�C���Q��u���f�B���N�g���� load-path �ɉ����܂��B +���Ƃ��΁A `~/src/emacs/yatex'�ɒu���̂ł���΁A + + (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) + +�ȂǂƂ��܂��B + + �ȏ�̐ݒ�ɂ��A�g���q�� .tex �ł���t�@�C����ҏW����Ǝ����I�ɖ쒹�� +���[�h����܂��B�쒹������ɋN���ł����Ƃ��̓��[�h���C���̕\�����u��ĂӁv +�ɕς��܂��B + + +�^�C�v�Z�b�^/�v�������[�A�‹��̐ݒ� +=================================== + + ���p����O���v���O�����Ɋւ���ȉ��̕ϐ����m�F���A�K�v�Ȃ琳�����l�ɕύX +���܂��B +`tex-command' + ... �N������^�C�v�Z�b�^�̃R�}���h�� +`dvi2-command' + ... �N������v�������[�A�̃R�}���h�� +`NTT-jTeX' + ... ���s+�C���f���g�ɂ���āA�^�C�v�Z�b�g��̎��Ԃ��󂢂Ă��� + ���̂�}������ꍇ��t�ɂ���(�Â�NTT-jTeX�Ō����Ɍ����)�B��̓I�ɂ́A + fill����Ƃ��Ɋe�s�̏I����%��t������悤�ɂȂ�B +`YaTeX-kanji-code' + ... �������쐬���鎞�̊����R�[�h +`dviprint-command-format' + ... �t�@�C���̈���Ɏg����R�}���h��̏��� +`makeindex-command' + ... makeindex�R�}���h + +������ύX����ꍇ�́A��͂�`~/.emacs'�ɂāA���Ƃ���(setq tex-command +"pdflatex") �̂悤�ɂ��Ă��������B�ǂ̂悤�Ȓl���Z�b�g����Ηǂ����ɂ‚��� +�́A*Note All customizable variables::���Q�Ƃ��Ă��������B + + + + +File: yatexj, Node: Invocation, Next: %#notation, Prev: Installation, Up: Top + +latex�R�}���h�N�� +***************** + +LaTeX�\�[�X�̕ҏW���A���̃L�[���͂ɂ��Aplatex �Ȃǂ̃^�C�v�Z�b�g�v���O�� +��(�Ȍ�^�C�v�Z�b�^�ƌĂ�)�A�v�������[�A�Ȃǂ̋N�����ł��܂��B + +`[prefix] t j' + ... �^�C�v�Z�b�^(platex)�N�� +`[prefix] t r' + ... �^�C�v�Z�b�^�N��(�̈�w��) +`[prefix] t e' + ... �^�C�v�Z�b�^�N��(�|�C���g�ʒu�̊‹��܂��͐������[�h�̂ݑ� + ��) +`[prefix] t k' + ... ���쒆�̃^�C�v�Z�b�^�̒�~ +`[prefix] t b' + ... jbibtex�N�� +`[prefix] t i' + ... makeindex�N�� +`[prefix] t d' + ... �^�C�v�Z�b�g������dvipdfmx�N�� +`[prefix] t p' + ... �v�������[�A�N�� +`[prefix] t l' + ... lpr(�v�����g�A�E�g�p)�R�}���h�N�� +`[prefix] t s' + ... xdvi -remote �ł̃T�[�` + +* Menu: + +* Calling typesetter:: �^�C�v�Z�b�^�N�� +* Calling previewer:: �v�������[�A�N�� +* Print out:: �v�����g�A�E�g�p�R�}���h�̋N�� + + + +File: yatexj, Node: Calling typesetter, Next: Calling previewer, Prev: Invocation, Up: Invocation + +�^�C�v�Z�b�^�N�� +================ + + �^�C�v�Z�b�^���N������ƁA�ҏW�E�B���h�E��2�‚ɕ�������A�Е��̃E�B���h +�E�Ƀ^�C�v�Z�b�g��ʂ��\������܂��B�o�͂���郁�b�Z�[�W�ƘA�����^�C�v�Z�b +�g�o�b�t�@�͎����I�ɃX�N���[�����܂��B�����A�r���ŃG���[���N�����Ď~�܂��� +���܂����ꍇ�ɂ̓^�C�v�Z�b�g�o�b�t�@�Ɉڂ�A(`C-x o') �^�C�v�Z�b�^�̏o���� +���� ? �v�����v�g�ɑ΂��āA`x' (�����̒��f)�Ȃǂ̎w���𑗂邱�Ƃ��ł��܂��B +�G���[���C������ꍇ�́A + +`[prefix] '' +`(prefix+�A�|�X�g���t�B)' + ... ���O�̃G���[�����s�փW�����v + +����͂��邱�Ƃɂ��A�^�C�v�Z�b�^���G���[�𔭐������s�Ɉڂ邱�Ƃ��ł��܂��B +�܂��A�^�C�v�Z�b�^�̏o�͂��� overfull hbox �Ȃǂ̃E�H�[�j���O�s�ɂ��Ή��� +�Ă��܂��̂ŁA���� `[prefix] '' ���������Ƃɂ��A��‘O�̃E�H�[�j���O���� +�s�ɃW�����v���Ă����܂��B + + �����A�C�ɂȂ�G���[�s���������ꍇ�́A�^�C�v�Z�b�g�o�b�t�@�ŁA�G���[�̕\ +������Ă���s�ɃJ�[�\�������킹�X�y�[�X�L�[�������� LaTeX �\�[�X�̑Ή��� +��s�ɃW�����v���܂��B + + +�̈�^�C�v�Z�b�g +---------------- + + �|�C���g�ƃ}�[�N�̊ԁA���邢�̓e�L�X�g���ɖ��ߍ��� `%#BEGIN' ��`%#END' +�̊Ԃ̗̈�(*Note %#notation::)������؂����ă^�C�v�Z�b�g���邱�Ƃ��ł��� +���B���̏ꍇ���C���t�@�C���̃v���A���u�����ꎞ�t�@�C���̃v���A���u���Ƃ��� +�g���܂��B���������ăv���A���u���ɂȂ��}�N����`���̈���ɂ���ƃG���[�� +�Ȃ�܂��B�̈�^�C�v�Z�b�g���g���ꍇ�A�K���}�N����`�̓v���A���u�� +(`\begin{document}'���O)�ɒu���悤�ɂ��ĉ������B�ꎞ�t�@�C���̓��C���t�@ +�C���̂���f�B���N�g����`texput.tex'�Ƃ������O�ŏo�͂����̂ŁA�㏑���ɂ� +���ӂ��Ă��������B + + +�‹��^�C�v�Z�b�g +---------------- + + `[prefix] te' �������ƁA�|�C���g�ʒu�̍ł������̊‹��A�܂��͐������[�h�� +�̏ꍇ�͂��̐������[�h�S�̂������I�ɗ̈�I������āA�̈�^�C�v�Z�b�g���Ă� +�o���܂��Btabular�‹��␔�����[�h�ŕ��G�Ȃ��̂�����Ă���ꍇ�͊m���߂��� +�����������m�F�ł���̂ŕ֗��ł��B����� `texput.tex' �ɊY�������������o�� +�܂��B�v�������[�A�� `texput.dvi' ���J�����܂܂ɂ��Ă����ΏC���Ɗm�F���f�� +���ł���ł��傤�B + + + +File: yatexj, Node: Calling previewer, Next: Print out, Prev: Calling typesetter, Up: Invocation + +�v�������[�A�N�� +================ + `[prefix] t p' �ɂ��v�������[�A�̋N�����ł��܂��B����ɁA�������Ȃ����A- +remote �@�\�‚���xdvi�𗘗p���Ă���ꍇ�� `[prefix] t s' ���������Ƃɂ�� +�J�[�\���ʒu�̕�������������Ă��̃y�[�W��\������悤�ɂ��łɋN������xdvi +�ɖ��߂𑗂�܂��B����ɂ��A���ݕҏW���̉ӏ��̃^�C�v�Z�b�g���ʂ𑦍��Ɍ� +�邱�Ƃ��ł��܂��B + + + + +File: yatexj, Node: Print out, Prev: Calling previewer, Up: Invocation + +�v�����g�A�E�g +============== + + `[prefix] t l'�������ăv�����g�A�E�g���w������ƁA�o�͊J�n/�I���y�[�W�� +�����Ă���̂ŁA���ꂼ��ɓ����܂��B������ȗ����������́A +universal-argument ���‚��A + + +`C-u [prefix] t l' + ... �y�[�W�m�F�ȗ�lpr�N�� + +�̂悤�ɋN�����Ă��������B + + + +File: yatexj, Node: %#notation, Next: Completion, Prev: Invocation, Up: Top + +%#�L�@ +****** + + �{������`%#'�ł͂��܂�L�[���[�h�𖄂ߍ��ނ��ƂŃ^�C�v�Z�b�^�N�����̐��� +�����邱�Ƃ��ł��܂��B + +* Menu: + +* Changing typesetter:: �^�C�v�Z�b�g�p�R�}���h�̕ύX +* Splitting input files:: ���̓t�@�C������ +* Fix region for typesetting:: �̈�̌Œ� +* lpr format:: �v�����g�A�E�g�R�}���h�p�t�H�[�}�b�g +* Controlling which command to invoke:: ���̑��̋N���R�}���h���� +* Editing %# notation:: %#�L�@�̕ҏW + + + +File: yatexj, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation + +�^�C�v�Z�b�g�p�R�}���h�ύX +========================== + + �N������R�}���h��ς��������͖{�����Ɏ��̂悤�ȍs�������܂��B + + + %#!jlatex-ntt + +NTT jTeX �ƁAASCII jTeX ���g�����������悤�ȏꍇ�ɕ֗��ł��傤�B + + + + +File: yatexj, Node: Splitting input files, Next: Fix region for typesetting, Prev: Changing typesetter, Up: %#notation + +���̓t�@�C������ +================ + +�܂��A�͖��ɕʃt�@�C���� .tex ���쐬���Ă���ꍇ�ŁA`main.tex'���� +`sub.tex' �� `\include'���Ă���悤�Ȏ��́A`sub.tex'�̔C�ӂ̈ʒu�Ɏ��̂悤 +�ȍs�𖄂ߍ��݂܂��B + + %#!platex main.tex + + +��̗�̂悤�ɃR�}���h�������łȂ��������������ꍇ�ɂ́A�S�Ă����̂܂� +shell �ɓn���̂Ŏ��̂悤�ɏ����΁Aghostview �Ȃǂ��v�������[�A�Ɏg�����ɕ� +���ł��B + + + %#!platex main && dvi2ps main.dvi > main + +�Ȃ��A���̍s�̍Ō�̒P��̃s���I�h�ȑO���u���C���t�@�C���v�̃x�[�X�l�[���� +����Ɖ��肵�܂�(���2�‚̏ꍇ�ǂ����`main')�B���̍s�ɋL�q�����A`%f'�̓� +�C���t�@�C�����ɁA `%r' �̓��C���t�@�C���̊g���q����菜���������ɒu������ +�܂��B�������A`%f,%r'�𗘗p�����ꍇ�A����^�C�v�Z�b�g���ɕK�����C���t�@�C +�����̓��͂𑣂���܂��B + + `[prefix] g' (*Note Cursor jump::�Q��) �ł̃t�@�C���ԃW�����v��L���ɋ@ +�\�����邽�߁A���̓t�@�C���������ɂ͎��̂��Ƃɒ��ӂ��ĉ������B + + 1. �T�u�f�B���N�g��������āA���̒��ɃT�u�t�@�C����u�����Ƃ͂ł��邪�T + �u�f�B���N�g���̃T�u�f�B���N�g���ɂ͒u���Ȃ��B + 2. ���C���t�@�C������T�u�f�B���N�g�����̃t�@�C���� include ���鎞�ɂ́A + ���΃p�X�w���p���āA`\include{chap1/sub}'�̂悤�ɋL�q�B + 3. ���C���t�@�C�������̃f�B���N�g���ɂ���ꍇ���A�T�u�t�@�C���ɂ� + %#!platex main.tex �̂悤�ɋL�q����(../main�ł͂Ȃ�)�B + + + + + +File: yatexj, Node: Fix region for typesetting, Next: lpr format, Prev: Splitting input files, Up: %#notation + +�̈�̌Œ� +========== + + `[prefix] tr' �̗̈�w��̃^�C�v�Z�b�g�ł́A�Ƃ��Ɏw��̂Ȃ�������A +`C-SPC'�Ń}�[�N�����ʒu�ƁA�|�C���g(�J�[�\���ʒu)�̊Ԃ�̈�Ƃ݂Ȃ��܂����A +�K�����܂����̈���^�C�v�Z�b�g�������ꍇ�́A���̗̈�� + + %#BEGIN + <�n�������̈�> + %#END + +�̂悤��`%#BEGIN'��`%#END'�ň͂݁A�J�[�\�����u`%#BEGIN'�ȍ~�v�ɒu���Ă��� +�����B���̎��̗̈挈��K�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B + + + 1. �J�[�\���ʒu���o�b�t�@�̐擪������`%#BEGIN'�Ƃ����L�[���[�h������� + �� + + 1. `%#BEGIN'���o�b�t�@�̖���������`%#END'�Ƃ����L�[���[�h�����‚��� + ���ꍇ�B + =>`%#BEGIN' ����A���� `%#END' �̂���ʒu�܂ŁB + 2. `%#END' �����‚���Ȃ������ꍇ�B=>�o�b�t�@�̍Ō���܂ŁB + + 2. �J�[�\���ʒu���o�b�t�@�̐擪������ `%#BEGIN' �Ƃ����L�[���[�h�� + ���‚���Ȃ������ꍇ�B + =>�}�[�N(`C-SPC'�ʒu)�ƃ|�C���g(�J�[�\���ʒu)�̊Ԃ̗̈�B + + tabular �‹������x�����s���낵�Ă���悤�ȏꍇ�́A`\begin'�̑O�̍s�� +`%#BEGIN' �Ə����A`\end' �̎��̍s�� `%#END' �Ə����Ă����ƊȒP�ɍ�\���ʂ� +�e�X�g���邱�Ƃ��ł��܂��B�܂��A���� .tex �t�@�C���̌㔼�� `%#BEGIN' ���� +���Ă����΁A�O���̕����͖����ł��܂��B����BEGIN��END �̏����Y��ɂ͏\���� +���Ӊ������B + + + + +File: yatexj, Node: lpr format, Next: Controlling which command to invoke, Prev: Fix region for typesetting, Up: %#notation + +lpr�t�H�[�}�b�g +=============== + + �܂��A�v�����g�A�E�g�p�R�}���h��̃t�H�[�}�b�g�ɂ‚��Đ������܂��B�R�}�� +�h��t�H�[�}�b�g�́A3�‚� Lisp �ϐ��ɂ���ĕ\������܂��B�f�t�H���g�� +dvi2ps �p�̃t�H�[�}�b�g���ɐ������܂��B + +`(1)dviprint-command-format' + `"dvi2ps %f %t %s | lpr"' + +`(2)dviprint-from-format' + `"-f %b"' + +`(3)dviprint-to-format' + `"-t %e"' + +���ۂɃv�����g�A�E�g���鎞�́A(1)���� %s ���t�@�C�����ɒu���������A%f �� +(2)�̓��e�A%t ��(3)�̓��e�ɒu���������܂��B���̍ۂ�(2)�̕����񒆂� %b �� +�u�o�͊J�n�y�[�W�v�A(3)�̕����񒆂� %e �́u�o�͏I���y�[�W�v�ɒu��������� +�܂��B�����A�y�[�W���w�肵�Ȃ����ɂ́A%f, %t �����Ƃ���������܂��B + + ���́Adviprint-command-format ��Վ��ɕς��������́ALaTeX �̃\�[�X�e�L�X +�g���̔C�ӂ̏ꏊ�ɁA + + %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 + +�̂悤�ɏ����ĉ������B�v�����g�A�E�g����y�[�W�͈͂����������������Ȃ��悤 +�ɂ��鎞�� + + %#LPR dvi2ps %s | lpr + +�ȂǂƂ���̂��֗���������܂���B + + + +File: yatexj, Node: Controlling which command to invoke, Next: Editing %# notation, Prev: lpr format, Up: %#notation + +���̑��̋N���R�}���h���� +======================== + +LaTeX �����Ɋ֘A����R�}���h�͈ȉ��� %# �L�@�Ŏw�肷�邱�Ƃ��ł��܂��B + + `%#BIBTEX' + + ... makeindex���s�Ȃ��R�}���h���C��([prefix] t b) + `%#MAKEINDEX' + + ... bibtex���s�Ȃ��R�}���h���C��([prefix] t i) + +�s���������̃L�[���[�h�Ŏn�܂�s��LaTeX�����̐擪�t�߂ɏ����Ă����΁A�� +��Ŏw�肵���R�}���h���N���ł��܂��B + + + +File: yatexj, Node: Editing %# notation, Prev: Controlling which command to invoke, Up: %#notation + +%#�L�@���̂̕ҏW +================ + +�ȏ�̂悤��`%#'�Ŏn�܂�e�퐧��L�@��ҏW���邽�߂ɂ� + +`[prefix] %' + ... `%#'�L�@�ҏW���j���[ + +�������܂��B + + !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR + +�Ƃ������j���[���o�ė���̂ŁA`%#!'�ɑ����R�}���h��ύX���������ɂ�`!'���A +`%#LPR'�� lpr �t�H�[�}�b�g��ς���������`l'���A���炩���ߐݒ肵�����W���� +�� `%#BEGIN' �` `%#END' �Ŋ��肽�����́A`b'�������܂��B`b'��I�񂾎��ɂ́A +����܂Ńo�b�t�@���ɒu����Ă���`%#BEGIN', `%#END' �������I�ɏ�������܂��B + + + +File: yatexj, Node: Completion, Next: Local dictionary, Prev: %#notation, Up: Top + +�⊮���� +******** + + LaTeX �ł̊‹����Ȃǂ́A�쒹�̕⊮�@�\�𗘗p���Ĕ\���I�ɓ��͂��邱�Ƃ��� +���܂��B + +* Menu: + +* begin�^�⊮:: +* section�^�⊮:: +* large�^�⊮:: +* maketitle�^�⊮:: +* Arbitrary completion:: �����⊮ +* end�⊮:: +* Accent mark completion:: �A�N�Z���g�L���⊮ +* Image completion:: �����L���C���[�W�⊮ +* Greek letter completion:: �M���V�������⊮ + + + +File: yatexj, Node: begin�^�⊮, Next: section�^�⊮, Prev: Completion, Up: Completion + +begin�^�⊮ +=========== + + `\begin{env}...\end{env}'�̗l�Ȍ`���̓��͂̕⊮��begin�^�⊮�ƌĂԂ��Ƃ� +���܂��Bbegin �^�⊮�́A + +`[prefix] b' + ... begin �^�⊮�J�n(�W���ł� `C-c b') + +�Ŏn�܂�܂��B�p�ɂɗp�����鎟�� LaTeX �‹��̕⊮�́A[prefix] `b' �ɑ��� +����1��������͂��邾���ŁA`\begin{xxx}...\end{xxx}'�����������܂��B + +`[prefix] b c' + ... `\begin{center}...\end{center}' +`[prefix] b d' + ... `\begin{document}...\end{document}' +`[prefix] b D' + ... `\begin{description}...\end{description}' +`[prefix] b e' + ... `\begin{enumerate}...\end{enumerate}' +`[prefix] b E' + ... `\begin{equation}...\end{equation}' +`[prefix] b i' + ... `\begin{itemize}...\end{itemize}' +`[prefix] b l' + ... `\begin{flushleft}...\end{flushleft}' +`[prefix] b m' + ... `\begin{minipage}...\end{minipage}' +`[prefix] b t' + ... `\begin{tabbing}...\end{tabbing}' +`[prefix] b T' + ... `\begin{tabular}...\end{tabular}' +`[prefix] b ^T' + ... `\begin{table}...\end{table}' +`[prefix] b p' + ... `\begin{picture}...\end{picture}' +`[prefix] b q' + ... `\begin{quote}...\end{quote}' +`[prefix] b Q' + ... `\begin{quotation}...\end{quotation}' +`[prefix] b r' + ... `\begin{flushright}...\end{flushright}' +`[prefix] b v' + ... `\begin{verbatim}...\end{verbatim}' +`[prefix] b V' + ... `\begin{verse}...\end{verse}' + + ��L�̂��̈ȊO�̊‹����� Emacs �̎��ƒC���N�������^���ȕ⊮�@�\��p���� +���͂��܂�(��L�̊‹������ȉ��̕⊮���͉”\)�B + +`[prefix] b SPC' + ... begin �^�⊮���� + +`[prefix] b SPC' �Ɠ��͂���ƁA�ʼn��s�̃~�j�o�b�t�@�� + + Begin environment(default document): + +�ƕ\������܂��B�����ŁA�������ꂸ�Ƀ��^�[���L�[�̂݉����ƁA���ʓ��ɏo�Ă� +��f�t�H���g�̊‹��������͂���܂����A�K���Ȋ‹�������͂���ƁA`\begin{�� +����} �c \end{�‹���}'���������ɑ}������܂��B�~�j�o�b�t�@�Ŋ‹�������͂� +��Ƃ��ɁA�‹����̓���������͂��u�X�y�[�X�v���������ƁA��v����‹������� +���e�[�u���ɑ��݂����ꍇ�A�������‹����ɕ⊮�����̂ŁA���͂̎�Ԃ��Ȃ��� +���B�����e�[�u���ɑ��݂��Ȃ��‹�������͂������̓��[�U��p�̃e�[�u���ɓo�^ +����A����ɂ��̃e�[�u���������I�ɁA���[�U����(�f�t�H���g�ł� +`~/.yatexrc')�ɕۑ����܂��B + +����ɁA����̊‹���⊮���͂������ɂ͂��̊‹��ŕK���p������G���g������ +���}�����܂�(��: `itemize'�‹��ɂ�����`\item'�Ȃ�)�B�}�����ꂽ�G���g�����s +�v�ȏꍇ�ɂ�undo�ɂ���ď������ĉ������B + + +���ɏ������e�L�X�g���‹��Ŋ��� +------------------------------ + + �Ƃ���ŁA�ŏ��ɏ����Ă��܂����u���b�N���ォ��Aitemize �‹��̒��ɕ‚��� +�߂����Ǝv�����Ƃ�����܂����A���̂悤�ȂƂ��́A���炩���ߕ‚����߂����i�� +���}�[�N���āAbegin �^�⊮�̊e�R�}���h�� `[prefix]' �̎��́w�������� 'b'�x +���w�啶���x�ɕς��ċN�����ĉ������B(�܂��́A`C-u' ���ɑł��Auniversal +argument ���‚��Ă��”\�ł�) + + �Ⴆ�΂���p���O���t�� description �‹��̒��ɓ��ꂽ���Ƃ��́A���̃p���O +���t���}�[�N���Ă���A + +`[prefix] B D' +`(�܂��� ESC 1 [prefix] b D)' +`(�܂��� C-u [prefix] b D �Ȃ�)' + +�ƃ^�C�v���Ă��������B����́A`[prefix] b SPC'�̕⊮���͂ɂ����Ă͂܂�A +`b' ��啶���ɕς��āA`[prefix] B SPC' �ƃ^�C�v����΁A���炩���߃}�[�N�� +�Ă��������W�������Abegin �� end �̊‹��Ŋ���܂��B + + + +File: yatexj, Node: section�^�⊮, Next: large�^�⊮, Prev: begin�^�⊮, Up: Completion + +section�^�⊮ +============= + + `\section{�ړI}' �̂悤�Ȍ`���̓��͂̕⊮�� section �^�⊮�ƌĂԂ��Ƃɂ� +�܂��Bsection �^�⊮�́A + +`[prefix] s' + ... section �^�⊮ + + +�Ŏ��s���܂��B`[prefix] s' ����͂���ƃ~�j�o�b�t�@�ɁA + + (C-v for view-section) \???{} (default documentclass): + +�Ƃ����v�����v�g�������̂ŁA������ `section' �̂悤�� LaTeX �R�}���h���� +���͂��܂��B�����ł����^�[���L�[�݂̂Ŋ��ʓ��̃f�t�H���g�l���I�������ق��A +`chapter'�Ȃǂ̂悤�ȕp�x�̍������̓��͂ɂ̓X�y�[�X�L�[�ɂ��⊮�@�\���L +���ł��B ���ɁA{}�̒��g�̓��͂𑣂��A + + \section{???}: + +�Ƃ����v�����v�g�������̂ŁA�Z�N�V�����̃^�C�g���Ȃǂ���͂��܂��B���Ƃ� +�΁A + + (C-v for view-section) \???{} (default documentclass): section + \section{???}: �ړI + +�̂悤�ɓ��͂����ꍇ�́A���͒��� + + \section{�ړI} + +���}������A + + (C-v for view-section) \???{} (default section): vspace* + \vspace*{???}: + +�̂悤��{}�̒��g���ȗ������Ƃ��́A + + \vspace*{} + +�������}������A���s�͂����J�[�\���͎����I�ɒ����ʂ̓����Ɉړ����܂��B + +* Menu: + +* 2�ˆȏ�̈������Ƃ� section�^�R�}���h:: +* Enclose section-type command:: ����⊮ +* Recursive completion:: �ċA�⊮ +* view-sectioning:: �Z�N�V������؂�̃A�E�g���C���\�� +* label-generation:: ���x���������� + + + +File: yatexj, Node: 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Next: Enclose section-type command, Prev: section�^�⊮, Up: section�^�⊮ + +2�ˆȏ�̈������Ƃ� section�^�R�}���h +------------------------------------- + + �Ƃ���ŁA`\addtolength{\topmargin}{8mm}' �Ȃǂ̂悤�ɁA�������ˆȏ�� +�� LaTeX �R�}���h������܂��B���̂悤�ȃR�}���h�̕⊮���͂ɂ́A section �^ +�⊮�Ăяo���Ɉ�����t���Ă��������B�Ⴆ�Ώ��`addtolength' �̗�ł���΁A +����2���w�肵�܂��B�‚܂�A + + C-u 2 [prefix] s (�܂��́AESC 2 [prefix] s) + +�� section �^�⊮���Ăяo������A + + (Ctrl-v for view-section) \???{} (default vspace*): addtolength + \addtolength{???}: \topmargin + Argument 2: 8mm + +�̂悤�ɓ��͂��Ă��������B�ŏ��� addtolength �̕����ƁA�������ł��� +\topmargin �̓��͓͂��R�X�y�[�X�ɂ��⊮���͂��”\�ł��B���[�U�����ɓo�^ +����� LaTeX �R�}���h�ɂ́A���̈����̐����w�K�����̂ŁA�ŏ��̕⊮�̎��� +���̐����w�肵�ċN�����Ă����΁A�Ȍ�̕⊮���ɂ́A�L�����ꂽ������������ +�����ė���悤�ɂȂ�܂��B���Ƃň����̌���ς��������́A�Ă� `C-u' ��p +���Ȑ����w�肵�������ƂŁA�����I�Ɏ������̈����̌��̕������X�V���܂��B + + + + +File: yatexj, Node: Enclose section-type command, Next: Recursive completion, Prev: 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Up: section�^�⊮ + +���ɏ������e�L�X�g������ +------------------------ + + �܂��A�N���R�}���h��`s'��啶���ɕς��ċN������ƁA���炩���ߏ��������� +�� section �^�R�}���h�̑������Ƃ��Ċ���܂��B + + + +File: yatexj, Node: Recursive completion, Next: view-sectioning, Prev: Enclose section-type command, Up: section�^�⊮ + +�ċA�⊮ +-------- + + ���x�Ȏg�����ɂȂ邩������܂��񂪁Asection�^�⊮�̈����̓��͎��ɂ���� +�⊮���͂𗘗p���邱�Ƃ��ł��܂�(section/large/maketitle�^�Ɍ���)�Bsection +�^�R�}���h�̈����ɍX�� LaTeX �R�}���h������ꍇ�ɂ̓~�j�o�b�t�@�Ŗ쒹�̕� +���L�[���ċA�I�ɓ��͂��邱�Ƃň����̓��͂������I�ɍs�Ȃ��܂��B + + + +File: yatexj, Node: view-sectioning, Next: label-generation, Prev: Recursive completion, Up: section�^�⊮ + +�Z�N�V������؂�̃A�E�g���C���\�� +---------------------------------- + + �ʏ��section�^�⊮�̎��Ƀ~�j�o�b�t�@��`C-v'�������ƌ��ݑ��݂���Z�N�V�� +����؂�R�}���h�S�Ă� `*Sectioning Lines*'�Ƃ����o�b�t�@�Ɉꗗ�\�����܂� +(�u<<--�v�̂‚��Ă���s�������Ƃ��߂��Z�N�V������؂�)�B���̎��~�j�o�b�t�@ +��`C-p', `C-n' ��������`part', `chapter', ..., `subparagraph' �̃R�}���h�� +�_���K�w�̍����ɂ��������ď㉺���܂��B�܂��A`C-v', `M-v' �������ƃZ�N�V�� +����؂�ꗗ�o�b�t�@���X�N���[�����A������`0'�``7'�������Ƃ��鍂���ȏ�̃Z +�N�V������؂肾����I��ŕ\�����܂�(���ۂɂ���Č���Ε�����܂�)�B + +`*Sectioning Lines*'�o�b�t�@�́A + +`M-x YaTeX-section-overview' + ... �Z�N�V������؂�ꗗ�o�b�t�@�𐶐� + +�ō쐬���邱�Ƃ��ł��܂��B���̃o�b�t�@��I�����C�ӂ̍s�ŃX�y�[�X�������ƁA +�Y������Z�N�V������؂�̂���{�����̏ꏊ�ɃW�����v���܂��B����ɁA���o�b +�t�@�� `u' �������ƁA�\�[�X�e�L�X�g�̑Ή�����Z�N�V�����R�}���h����K�w�� +����(��: subsection �� section �ɕς��)�A`d'�������ƈ�K�w������܂��B +`*Sectioning Lines*'�o�b�t�@�ɂ���Z�N�V������؂�̍s���}�[�N���Ă����� +`U'�������ƃ��W�������̂��̂ɑΉ�����\�[�X�e�L�X�g�̃Z�N�V�����R�}���h�� +�ׂĂ���K�w�オ��A`D'�������Ɖ�����܂��B�Z�N�V������؂�ꗗ�o�b�t�@�� +���p�ł���L�[�R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +`SPC' + ... �Ή�����\�[�X�s�փW�����v +`.' + ... �Ή�����\�[�X�s��\�� +`u' + ... �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w�グ�� +`d' + ... �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w������ +`U' + ... �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� +`D' + ... �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� +`0�`6' + ... ���x�� n �ȉ��̃Z�N�V�����R�}���h���B���ĕ\�� + + + + +File: yatexj, Node: label-generation, Prev: view-sectioning, Up: section�^�⊮ + +���x���������� +-------------- + + `\ref{}' �� `\cite{}' �}�N����section�^�⊮�œ��ꂽ�ꍇ�Q�Ɛ�ƂȂ蓾�� +���̂�S�ĒT���ă��j���[�ɂ��đI���ł��܂��B�Q�Ɛ�ɂ�`\label{}'���‚��Ă� +���K�v�͂���܂���B��������΁A���̃��x�����g���A�Ȃ���΂��̏�ŎQ�Ɛ�� +`\label{}'����点�Ă���܂��B���x�������l����̂͋�ɂɊ�������̂ł��B�S +�ẴJ�E���^�Ƀ��x�����‚���̂������ւ�ł��B�������x�����ɉ����‚��邩�A +���x�����‚��邩�‚��܂����A�ȂǂƂ������Ƃ͖Y��܂��傤! + + + +File: yatexj, Node: large�^�⊮, Next: maketitle�^�⊮, Prev: section�^�⊮, Up: Completion + +large�^�⊮ +=========== + + `{\large }' �̂悤�Ȍ`���̕⊮�� large �^�⊮�ƌĂԂ��Ƃɂ��܂��B + +`[prefix] l' + ... large �^�⊮�J�n + +��large�^�⊮�̊J�n�ł��B`[prefix] l' �������ƁA�~�j�o�b�t�@�� + + {\??? } (default large): + + +�ƕ\�������̂ŁA��L�̂��̂Ɠ����v�̂ŕ⊮���͂��ĉ������B�⊮���ɗp�� +����Ă���̂́A`footnotesize' �� `huge' �̂悤�ȕ����T�C�Y�w��q�ƁA`bf' +��`dg'�̂悤�ȃt�H���g�w��q�ł��B + + +���ɏ��������������� +-------------------- + + �܂��Abegin�^�⊮�̎��Ɠ��l�A��ɏ����Ă��܂�����A�̕��͂̕����̃T�C�Y +��ς������Ǝv����������܂����A���̂悤�Ȏ��́A�T�C�Y��傫����ς������� +���͈̔͂��}�[�N���Ă���A�Ăяo���L�[�� `[prefix] L' �ƁA�啶���� L �ɕ� +���ČĂяo���΁A���̃��W�����S�̂��A�u���[�X�ň͂܂�܂��B + + + +File: yatexj, Node: maketitle�^�⊮, Next: Arbitrary completion, Prev: large�^�⊮, Up: Completion + +maketitle�^�⊮ +=============== + + `\maketitle' �̌`���̕⊮�� maketitle �^�⊮�ƌĂԂ��Ƃɂ��܂��B + +`[prefix] m' + ... maketitle �^�⊮�J�n + +�ŁAmaketitle �^�⊮���J�n���܂��B�⊮�̗v�͍̂��܂ł̂��̂Ƃ܂����������� +���BLaTeX �p�̃R�}���h�����⊮���Ƃ��ėp�ӂ���Ă��܂��B + + + +File: yatexj, Node: Arbitrary completion, Next: end�⊮, Prev: maketitle�^�⊮, Up: Completion + +�����⊮ +======== + + ���āA���܂ŏq�ׂ��T�^�I�� LaTeX �R�}���h�`���̕⊮���͂�p�����ɁA���� +�͂��悤�Ƃ��Ă��� LaTeX �R�}���h�𕶏����̔C�ӂ̈ʒu�Ő����⊮���邱�Ƃ� +�ł��܂��BLaTeX �R�}���h(�擪��\�Ŏn�܂�)����͂��Ă���r���ŁA + +`[prefix] SPC' + ... �����⊮ + +����͂���΁A�S�Ă̕⊮���̒������v������̂��I�΂�J�[�\���ʒu�ɑ}�� +����܂��B + + + +File: yatexj, Node: end�⊮, Next: Accent mark completion, Prev: Arbitrary completion, Up: Completion + +end�⊮ +======= + + ���݊J�����܂܂̊‹����������I�Ɍ��o���A`\end{�‹���}'��}�����܂��B +begin �^�⊮��p����Ί‹��̕‚��Y��͂Ȃ��̂ł����A���ɂ͂‚��‚���� +`\begin{�‹���}' �����Ă��܂��A�߂����v�������邱�Ƃ�����܂��B���̂悤 +�Ȏ��ɂ͋C�ɂ��������ĕ��͂���͂��A������̂��� + +`[prefix] e' + ... end �⊮ + +�Ƃ��邱�ƂŁA���݊J���Ă���‹����� \end{} ������܂��B + + + +File: yatexj, Node: Accent mark completion, Next: Image completion, Prev: end�⊮, Up: Completion + +�A�N�Z���g�L���⊮ +================== + + �����̃A�N�Z���g�L��(`\`{o}'�Ȃ�)����͂��鎞�́A + +`[prefix] a' + ... �A�N�Z���g�L������ + +�������ƁA�~�j�o�b�t�@�� + + 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b + +�Ƃ������j���[���o�ė���̂ŁA�����A�܂��͑Ή�����L��/�p������͂��ĉ��� +���B����ƕҏW�o�b�t�@�ɁA + + \`{} + +�������A�J�[�\����{}���Ɉʒu����̂ŁA����Ɉꕶ�����͂��鎖�ŁA + + \`{o} + +����������A�J�[�\����{}�̊O�ɖ߂�܂��B + + + +File: yatexj, Node: Image completion, Next: Greek letter completion, Prev: Accent mark completion, Up: Completion + +�����L���C���[�W�⊮ +==================== + + ��ɐ������[�h�Ŏg�p�����A���⃰�Ȃǂ̋L�����[���I�ɕ\������L�[���� +�ŁALaTeX �R�}���h����͂ł��܂��B����͖쒹���g�́u�������[�h�v�ł̂ݓ��� +���܂��B�쒹�̓J�[�\����TeX�̐����‹��̒��ɂ��鎞��`;'��A`:'�ɓ���ȋ@�\ +���������܂��B + + ���āA�Ⴆ�΁A��(leftarrow)��ASCII���������ŕ\������ꍇ�A��ʓI�ɂ́u<-�v +�̂悤�ɂ��܂����A����𗘗p���āA�����L���C���[�W���̓��[�h��`\leftarrow' +����͂���ɂ́A`;'(�Z�~�R����)��ł��Ă���`<-'�Ɠ��͂��܂��B���l�ɁA���� +���-(long-leftarrow) ��ASCII���������ŕ\������ꍇ�u<--�v�Ƃ���̂ŁA +`\longleftarrow'����͂��邽�߂ɂ́A`;<--' �Ɠ��͂��܂��B���邢�͖�����L +����ASCII���������ŕ\�����鎞�́uoo�v�̂悤�ɂ��邱�Ƃ���A`\infty' ����� +���鎞�́A`;oo'�ƃL�[���͂��܂��B + + �����̑�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B + + INPUT ���͂���� LaTeX �R�}���h + ; < - `\leftarrow' + ; < - - `\longleftarrow' + ; < - - > `\longleftrightarrow' + ; o `\circ' + ; o o `\infty' + + + + ������̏ꍇ���A�C���[�W���͂��s���Ă���r���Ŗ]�݂̂��̂��o�b�t�@�ɕ\�� +���ꂽ�Ȃ�A�����ŃC���[�W���͂��~�߂Ď��̕ҏW����Ɉڂ��Ă��\���܂���B + + �����‹�����`;'���g����͂���ɂ�`;;'�̂悤�ɂ��܂��B�C���[�W���͂̓r�� +��TAB�������ƁA����܂œ��͂��������Ŏn�܂���̈ꗗ���\������܂��B������ +�ړI�� LaTeX �R�}���h�܂ŃJ�[�\�����ړ����ēxTAB���������Ƃł��� LaTeX �R +�}���h���o�b�t�@�ɑ}������܂��B + + �ǂ̃L�[���͂ɂǂ̋L�����Ή����Ă��邩�S�Ēm�肽�����́A`;'������������ +��TAB�������Ă��������B�ȉ��̗�́A`;<'�Ɖ��������TAB�����������̂ł��B + + KEY LaTeX sequence sign + < \leq �� + << \ll �s + <- \leftarrow �� + <= \Leftarrow <= + +������[���̓L�[]�A[�Ή����� LaTeX �R�}���h]�A[(�[��)�L���}��]�A�Ƃ������� +���j���[���o�ė���̂ŁA�悭�g�����̂��o���Ă����Ɨǂ��ł��傤�B���̂ɂ�� +�Ă�ASCII�����ŕ\�����邱�Ƃ�����Ȃ̂ŁA���܂�o���₷���L�[���тł͂Ȃ� +���̂�����ł��傤����A���̂悤�ȏꍇ�� \maketitle �^�⊮�œ��͂��邩�A�� +���ɏq�ׂ�Ή��\�̐ݒ���s���ĒP���ȃL�[���т̂��̂�ݒ肷��Ɨǂ��ł��傤�B + + ���̓L�[�� LaTeX �R�}���h�A�L���̑Ή��\���l�I�ɐݒ肵�����ꍇ�� +Emacs-Lisp �ϐ� `YaTeX-math-sign-alist-private' �ɒ�`���Ă��������B���̓� +�e�ƃf�t�H���g�̂��̂����킹�����̂��Ή��\�Ƃ��Ďg�p����܂�(private �̕� +���D�悳���)�B�Ȃ��A���̕ϐ��̍\���ɂ‚��Ă� `yatexmth.el' ���Q�Ƃ��Ă��� +�����B + + + +File: yatexj, Node: Greek letter completion, Prev: Image completion, Up: Completion + +�M���V�������⊮ +================ + + ������A�����‹�����`:'�������ƃM���V���������̓��[�h�ɓ���܂��B`:'�� +�����������`a'��������`\alpha'���A`g' �������� `\gamma'���A�ȂǃA���t�@�x�b +�g�ɑΉ������M���V���������}������܂��B������@��;�̐����L���⊮�Ƃ܂��� +�������ł��B�܂���`:'�̒����TAB�������Ăǂ̃A���t�@�x�b�g�ɂǂ̃M���V���� +�����Ή����Ă��邩���ׂĂ݂Ă��������B + + `;'��`:'�𐔎��‹����ʼn����Ă���ɂ�������炸�A�C���[�W�⊮�������Ȃ��� +���́A`C-u ;'�̂悤�� universal-argument ���‚��ăL�[���������Ƃɂ��A�� +���I�ɃC���[�W�⊮�ɓ��邱�Ƃ��ł��܂��B�܂��A���̎��ɂǂ̂悤�ȏ�ԂŐ��� +�‹�������Ɏ��s�����������A���������B + + + +File: yatexj, Node: Local dictionary, Next: Commenting out, Prev: Completion, Up: Top + +���[�J������ +************ + + �⊮���͗p�̌��͎O��ނ̎�������\������Ă��܂��B��‚�`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 + + `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard + +�Ƃ����v�����v�g�ɑ΂��A`u'�Ɠ�����Ɓu���[�U�����v���A`l'�Ɠ�����ƃ��[�J +���������X�V���A`n'�Ɠ�����Ǝ����t�@�C���͍X�V�������݂�Emacs �Z�b�V���� +�̂ݗL���ȒP��Ƃ��A`d'�Ɠ�����ƐV���ȒP����w�K�����Ɏ̂Ă邱�ƂɂȂ�� +���B + + �����A���[�J�������̋@�\�͂��炸�A�S�ă��[�U�����̍X�V�݂̂ł悢�ƌ����� +���ɂ�`~/.emacs'�ȂǂŁA + + (setq YaTeX-nervous nil) + +�Ƃ��ĉ������B + + + +File: yatexj, Node: Commenting out, Next: Cursor jump, Prev: Local dictionary, Up: Top + +�R�����g�A�E�g +************** + + + LaTeX�̕ҏW�ɂ͎��s���낪�‚����̂ł��B���镔�����ꊇ�ŃR�����g�A�E�g�� +����A�R�����g���O�����肵�������Ƃ�����܂��B + +`[prefix] >' + ... ���W������ % �ŃR�����g�A�E�g +`[prefix] <' + ... ���W������ % �̃R�����g���O�� + +�́A���炩���ߐݒ肵�����W�����ɑ΂��Ă̑���A + +`[prefix] .' + ... ���݂̃p���O���t���R�����g�A�E�g +`[prefix] ,' + ... ���݂̃p���O���t�̃R�����g���O�� + +�́A�J�[�\���̈ʒu����p���O���t�S�̂ɑ΂��Ă̑���ł��B�Ȃ��A�����ł��� +�u�p���O���t�v�� (`mark-paragraph') �֐��ɂ��}�[�N�����͈͂��w���܂� +(�W���ݒ��`ESC h'�Ƀo�C���h����Ă���)�B�Ȃ��A����`%'�ŃR�����g�A�E�g���� +�Ă���p���O���t�ɑ΂��ČJ��Ԃ��p���O���t�̃R�����g���g�p�����ꍇ�̓���� +�ۏ؂��܂���̂Ō䒍�ӂ��������B + + ���āA���͂ɑ΂��Ă����łȂ��A���ɂ�`\begin', `\end' ���̂ɑ΂��Ă��R�� +���g�A�E�g�̑�����������Ƃ�������܂��B���̂悤�ȂƂ��́A`\begin{}' ���� +���� `\end{}' �̍s�ɃJ�[�\�������킹�A + +`[prefix] >' + ... `\begin{}'�``\end{}' �S�ăR�����g�A�E�g +`[prefix] <' + ... `\begin{}'�``\end{}' �S�ăR�����g���O�� + +�Ƃ��邱�ƂŁA`\begin�`\end'�ň͂܂��‹��S�Ăɑ΂��ăR�����g���삵�A + +`[prefix] .' + ... `\begin{}' �� `\end{}' ���R�����g�A�E�g +`[prefix] ,' + ... `\begin{}' �� `\end{}' �̃R�����g���O�� + +�́A�Ή����� `\begin' �� `\end' 2�s�������A�R�����g����̑ΏۂƂ��܂��B�� +�W�������R�����g�A�E�g���悤�Ƃ��āA�}�[�N��ݒ肵���̂��ɃJ�[�\�����ړ��� +`[preifx] >' �������Ă��J�[�\���� `\begin{}' �̏�ɂ����`\begin{}'�` +`\end{}'���[�h�ŃR�����g�@�\�������Ă��܂��̂Œ��ӂ��ĉ������B + + + +File: yatexj, Node: Cursor jump, Next: Modifying/Deleting, Prev: Commenting out, Up: Top + +�J�[�\���W�����v +**************** + + +* Menu: + +* �Ή��I�u�W�F�N�g�ւ̃W�����v:: +* ���G�`���c�[���N��:: +* ���C���t�@�C���ւ̃W�����v:: +* �‹���P�ʂƂ����W�����v:: +* �Ō�̕⊮�ʒu�ւ̃W�����v:: + + + +File: yatexj, Node: �Ή��I�u�W�F�N�g�ւ̃W�����v, Next: ���G�`���c�[���N��, Prev: Cursor jump, Up: Cursor jump + +�Ή��I�u�W�F�N�g�ւ̃W�����v +============================ + + �������̂��낢��ȏꏊ�� + +`[prefix] g' + ... �Ή�����I�u�W�F�N�g�ɃW�����v + +���������Ƃɂ��A�J�[�\���ʒu��LaTeX�R�}���h�ɑΉ�����ꏊ�ɃW�����v���� +���B�Ή��֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B + + * `\begin{}' ���� `\end{}' + * `%#BEGIN' ���� `%#END' + * �摜�t�@�C���̎�荞�݃}�N�� �� �Ή�����viewer/���G�����c�[���N�� + * `\label{}' ���� `\ref{}' + * `\include(\input)' �� �Ή�����t�@�C�� + * `\bibitem{}' ���� `\cite{}' + + `\begin{}' �� `\end{}' �̍s��`[prefix] g'���������Ƃɂ��A�Ή����� +`end/begin'�̍s�ɃW�����v���܂��B�������Ή�������̂��Ȃ��ꍇ�̓G���[�� +�Ȃ�܂��B�܂�����́A�̈�Œ�̂��߂� `%#BEGIN' �� `%#END' �̃y�A�ɑ΂��� +�����l�ɓ��삵�܂��B�Ȃ��A`label/ref'��`cite/bibitem'�Ή�������̂��ʃt�@ +�C���ɂ��鎞�́A�W�����v��ƂȂ�t�@�C�����I�[�v������Ă��Ȃ���΂Ȃ�܂� +��B*Note %#notation::. ���C���� .tex �t�@�C���� `\include{chap1}' �Ȃǂ� +�J�[�\�������킹�A`[prefix] g' �������ƁA`chap1.tex' �ɃW�����v���܂��B + +�܂��A + +`[prefix] 4 g' + ... �ʃE�B���h�E�őΉ��I�u�W�F�N�g�ɃW�����v + +�������ƁA�Ή�����I�u�W�F�N�g�ւ̃W�����v��ʃE�B���h�E�ōs���܂��B�������A +���̋@�\�� `begin/end', `%#BEGIN/%#END' �Ԃ̃W�����v�ɑ΂��Ă�(�Ӗ����Ȃ� +�Ǝv����̂�)�@�\���Ȃ��̂Œ��ӂ��Ă��������B + + + +File: yatexj, Node: ���G�`���c�[���N��, Next: ���C���t�@�C���ւ̃W�����v, Prev: �Ή��I�u�W�F�N�g�ւ̃W�����v, Up: Cursor jump + +���G�`���c�[���N�� +================== + +��L�́u�摜�t�@�C���̎�荞�݃}�N���v�Ƃ́A�Ⴆ�� `\epsfile{file=foo}' �� +�悤�ȑ}�G��荞�݃R�}���h�̂��ƂŁA���̍s�ɃJ�[�\�������킹��`[prefix] g' +�������Ƃ��̉摜�t�@�C���̌��ƂȂ����t�@�C����Ή����邨�G�`���c�[�����N�� +���ăI�[�v�����܂��B�N������c�[���̔���͈ȉ��̂悤�ɂȂ���܂��B + + 1. �J�����g�s���ϐ� `YaTeX-processed-file-regexp-alist' �ɒ�`����Ă��� + ���K�\���̂����ꂩ�ƃ}�b�`������A�t�@�C�����ɑ������镔���� \\(\\)�� + �甲���o���Ċo���Ă���(���Ԗڂ�\\(\\)���͕ϐ��̊e���X�g�� cdr ���ɓ� + ��Ă���)�B�}�b�`���Ȃ���Ή������Ȃ��B + 2. �s���ɁA�ϐ� `YaTeX-file-processor-alist' �ɓo�^����Ă���R�}���h�� + �u%�R�}���h�v �̂悤�ɏ����Ă���΋����I�Ɂu�R�}���h �t�@�C����.�g�� + �q�v���N���B + 3. �Ȃ���΁A�ϐ� `YaTeX-file-processor-alist' �̊e���X�g��cdr���ɓ����� + ����g���q���u�t�@�C�����v�̌��ɑ������t�@�C�������݂��邩�������� + �āA���݂����ꍇcar���ɓ����Ă���R�}���h���N������B + 4. �ȏ�ǂꂩ�Ƀ}�b�`���Ȃ���΂�����߂�B + + +�ϐ� `YaTeX-file-processor-alist' �ƕϐ� `YaTeX-file-processor-alist' �̐� +����@�ɂ‚��Ă͂��ꂼ��̕ϐ��ɂ‚��� describe-variable ���Đ�����ǂ�� +�������B���܂��ݒ肷��ƁA�摜�t�@�C���ɂ����炸�A�C�ӂ̌`���̃t�@�C����C +�ӂ̃v���Z�b�T�ŏ�������R�}���h���ȒP�ɌĂяo�����Ƃ��ł��܂��B + + + +File: yatexj, Node: ���C���t�@�C���ւ̃W�����v, Next: �‹���P�ʂƂ����W�����v, Prev: ���G�`���c�[���N��, Up: Cursor jump + +���C���t�@�C���ւ̃W�����v +========================== + +`chap1.tex'�̂悤�ȃT�u�t�@�C���ŁA + +`[prefix] ^' + ... ���C���t�@�C���ɃW�����v +`[prefix] 4 ^' + ... �ʃE�B���h�E�Ń��C���t�@�C���ɃW�����v + +�������ƁA���C���t�@�C���̕ҏW�o�b�t�@�ɐؑւ��܂��B�����A���C���t�@�C���� +�I�[�v�����Ă��Ȃ��ꍇ�́A�J�����g�f�B���N�g������T���Ď����I�ɃI�[�v���� +�܂��B + + + +File: yatexj, Node: �‹���P�ʂƂ����W�����v, Next: �Ō�̕⊮�ʒu�ւ̃W�����v, Prev: ���C���t�@�C���ւ̃W�����v, Up: Cursor jump + +�‹���P�ʂƂ����W�����v +======================== + +����Ɍ��݂̊‹���P�ʂƂ��ċ@�\����R�}���h�Ɉȉ��̂��̂�����܂��B + +`M-C-a' + ... �‹��̐擪(`\begin')�փW�����v +`M-C-e' + ... �‹��̖���(`\end')�փW�����v +`M-C-@' + ... �‹��S�̂��}�[�N + +��L�̃R�}���h�͒ʏ��`[prefix]'�L�[�ł͂Ȃ�`META'�L�[���v���t�B�N�X�Ƃ��� +�@�\����̂ł����Ӊ������B + + + +File: yatexj, Node: �Ō�̕⊮�ʒu�ւ̃W�����v, Prev: �‹���P�ʂƂ����W�����v, Up: Cursor jump + +�Ō�̕⊮�ʒu�ւ̃W�����v +========================== + +�쒹�͕⊮���͂����ʒu����Ƀ��W�X�^ `3'�ɕۑ����Ă��܂��B���͓r���Ŕ@���� +��t�@�C���̔@���Ȃ�ʒu�ɍs�����Ƃ��Ă��A`C-x j 3'(`jump-to-register')�� +�g���Ē����ɍŌ�̕⊮���͈ʒu�ɖ߂邱�Ƃ��ł��܂��B + + + +File: yatexj, Node: Modifying/Deleting, Next: Filling, Prev: Cursor jump, Up: Top + +�ύX/�폜 +********* + + ���ɓ��͂���Ă��� LaTeX �R�}���h�̕ύX/�폜�̂��߂Ɉȉ��̋@�\���p�ӂ��� +�Ă��܂��B + +`[prefix] c' + ... �J�[�\���ʒu�� LaTeX �R�}���h�̕ύX +`[prefix] k' + ... �J�[�\���ʒu�� LaTeX �R�}���h�̍폜 + + +�����̃R�}���h�́A�R�}���h���N������ꏊ�ɂ���ē�������肷��̂Œ��ӂ� +�ĉ������B + +* Menu: + +* Changing LaTeX command:: LaTeX �R�}���h�̕ύX +* Killing LaTeX command:: LaTeX �R�}���h�̍폜 + + + +File: yatexj, Node: Changing LaTeX command, Next: Killing LaTeX command, Prev: Modifying/Deleting, Up: Modifying/Deleting + +LaTeX �R�}���h�̕ύX +==================== + +�ύX������ LaTeX �R�}���h�ɃJ�[�\�������킹�� `[prefix] c' �������Ƃ��̃R +�}���h��⊮���͂Ȃǂ�p���Ď�y�ɕς��邱�Ƃ��ł��܂��B`[prefix] c' �ŕ� +�X�ł���R�}���h�ɂ͈ȉ��̂��̂�����܂��B + + * `begin/end' �̊‹��� + * section�^�R�}���h�̃R�}���h�� + * section�^�R�}���h�̈��� + * section�^�R�}���h�̃I�v�V�����p�����[�^([]�ň͂܂ꂽ����) + * large�^�R�}���h + * (�C���[�W�⊮�œ��͉”\��)�������[�h��p��maketitle�^�R�}���h + + �ς�����section�^�R�}���h�̈���������� LaTeX �R�}���h���܂ޏꍇ�́A���� +�������͂ޒ����ʂ̏�� `[prefix] c' ���������ƂŒ��̃R�}���h��ύX�Ώ۔��� +���珜�O���邱�Ƃ��ł��܂��B + + + + +File: yatexj, Node: Killing LaTeX command, Prev: Changing LaTeX command, Up: Modifying/Deleting + +LaTeX �R�}���h�̍폜 +==================== + +`[prefix] k' �͋N������ʒu�ɂ�莟�̂悤�ȓ�����s���܂��B + + + �N���ʒu ���� + \begin, \end�̍s `\begin\end'�y�A�̍폜 + %#BEGIN, %#END �̍s %#BEGIN,%#END�y�A�̍폜 + section�^�R�}���h�̏�(��) section�^�R�}���h�̍폜 + �t�H���g�w�芇�ʂ̏� �t�H���g�w��̍폜 + ���ʂ̏� �΂��Ȃ����ʂ̍폜 + + +`\begin, \end' ����� `%#BEGIN, %#END' ���폜����ꍇ�A`\begin, \end' �� +`%#BEGIN, %#END' �̑��݂���s�͂܂邲�ƍ폜�����̂ŁA�����̈�s�� +`\begin' �Ȃǂ��ˆȏ�A�˂ď����Ȃ��悤�ɒ��ӂ��Ă��������B��L�̂��̂� +���ׂĖ{�����͂��u�e��v���폜����悤�ɓ����܂����Auniversal-argument +(`C-u') ��ł������`[prefix] k'���^�C�v����ƁA���ꂼ��́u�e��v�Ɋ܂܂� +��u���g�v����C�ɍ폜���܂��B�ȉ��̗���Q�l�ɂ��ĉ������B + + ���̃e�L�X�g: [prefix] k C-u [prefix] k + �{��\footnote{�r��}�ł��B �{���r���ł��B �{���ł��B + ��(�J�[�\���ʒu) + + + +File: yatexj, Node: Filling, Next: Includeonly, Prev: Modifying/Deleting, Up: Top + +������ +****** + + +item�̌����� +============ + + itemize �‹����ɂ���`\item'�̍���(����)�������s�ɓn��ꍇ�ɁA���ڂ̐擪 +���������������ꍇ�ɂ́A + + +`M-q' + ... ������ + +�ɂ���āA���� item �̃C���f���g�̐[���ɉ����� fill ����܂��B�Ȃ��A�Â� +NTT jTeX ���g�p���Ă���ꍇ�ɂ́ALisp �ϐ�`NTT-jTeX'��`t'�ɃZ�b�g���ĉ��� +���B + + ���̂Ƃ��A�ϐ�`YaTeX-item-regexp'�̒l(�W���ł� `"\\\\item"')�����ڎw��R +�}���h�̐��K�\���Ƃ��Č����Ɏg�p���܂��Bitemize �‹��ŁA�Ǝ��̃R�}���h��� +�`���č��ڂ�񋓂��Ă���ꍇ(�Ⴆ��`\underlineitem')�́A`~/.emacs' �Ŏ��� +�悤�Ɏw�肵�ĉ������B + + (setq YaTeX-item-regexp + "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") + + +���̕ϐ��̎w��̎d�����悭������Ȃ��ꍇ�́A�Ǝ��̍��ڗ񋓃R�}���h�̖��O�� +``"\item"'�Ŏn�܂���̂ɂ��ĉ�����(�Ⴆ��"\itembf"')�B + +�쒹�� `M-q' �ł� `\item' ���‹��ɉ����Ĉȉ��̂悤�Ɂu�n���O�C���f���g�v�� +�܂��B + + itemize, enumerate�‹�: + >\item[�ق��ق�] �p��ł́A���ɈӖ��̂Ȃ��P��� `foo' �ł���킵�� + > �����A����̓��{��łƂ�������P�ꂪ�u�ق��ق��v + > �ł��B + description�‹�: + > \item[�ւ�ւ�] �u�ق��ق��v���ł���߂��P��Ƃ��Ďg�������ɁA�� + > 2�̂ł���߂ȒP��Ƃ��āu�ւ�ւ�v���g���邱�Ƃ��� + > ���悤�ł��B + + +�p���O���t�̌����� +================== + + itemize�‹��ȊO�ł̃p���O���t�̌�����(fill)�́A��{�I�ɑ��̃��[�h�Ɠ��� +�悤�ɋ@�\���܂����Averbatim�‹���Atabular�‹��Ȃnj�����������ƔߎS�ȏ� +���ɂȂ�悤�Ȋ‹����ł͋@�\���܂���B�܂��A\verb �Ŋ����Ă�����̂͌����� +�s��������܂���(�ϐ� `YaTeX-verb-regexp' �Ő���) )�B����ɁA�ꎞ�I�ɃC�� +�f���g�̐[����ς��Ă���ӏ��ł́A���̃C���f���g�̐擪��`M-q'���������Ƃ� +��� fill-prefix �����������ύX���Ȃ��Č��������ł��܂��B + + + + +File: yatexj, Node: Includeonly, Next: What column, Prev: Filling, Up: Top + +�����includeonly +***************** + + �t�@�C���𕪊����ĕ��͂���͂��Ă��鎞�ɂ́A���C���t�@�C������ + + \includeonly{���ݕҏW���̃t�@�C����} + +�̂悤�ɏ����Ă������ƂŁA�^�C�v�Z�b�g�̎��Ԃ�ߖ�ł��܂����A������Ƒ��� +�t�@�C�����蒼�����������ɂ� + + \includeonly{������Ǝ蒼���������t�@�C����} + + +�Ə��������Ȃ���΂Ȃ炸��Ԃ�������܂��B�쒹�ł͌��ݕҏW���Ă���t�@�C�� +�������C���t�@�C����`\includeonly'�ɂȂ��ꍇ�ɂ͎����I�ɂ�������o���A���� +�w�����‚��܂��B + + A)dd R)eplace %)comment? + + +���ݕҏW���̃t�@�C���� `\includeonly' �̃��X�g�ɉ����������ɂ�`a' ���A���� +�ҏW���̃t�@�C�������� `\includeonly' �ɂ���������`r'���A`\includeonly' �� +�s���R�����g�A�E�g���Ė��������������ɂ́A`%'�����ꂼ�ꉟ���ĉ������B + + + +File: yatexj, Node: What column, Next: Intelligent newline, Prev: Includeonly, Up: Top + +�����͂ǂ�? +*********** + + ���ڐ��̑��� tabular �Ȃǂ��������񏑂��Ă���Ɖ��̕��̍s�ŁA���܏����� +���錅���ǂ��ɑΉ�����̂��킩��Ȃ��Ȃ��Ă��܂����Ƃ�����܂��B�Ⴆ�΁A�� +���̂悤�� tabular �ɂ����āA + + \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 \\ + ���g���m & 2 & \multicolumn{2}{c|}{�����Ȃ�} + &&&(???) + \\ \hline + \end{tabular} + + +(???)�̕������ǂ̍��ڂȂ̂������ɔ��f����͓̂���ł��傤�B����Ȏ��́A + +`[prefix] &' + ... ���݂̃J�����\�� + +�������ƃJ�[�\���ʒu�̃J�������ǂ̍��ڂɊY�����邩���~�j�o�b�t�@�ɕ\������ +���Btabular/array�‹��̑�1�s�ڂ����ږ��̕��тƂ݂Ȃ��đΉ�������̂�T���� +���B�������ږ��Ƃ��ĕʂ̂��̂�\�����ė~�����ꍇ�́A�s����`%'�ɂ��ă_�~�[ +�̍��ڕ��т�����Ă����Ɨǂ��ł��傤�B + + + +File: yatexj, Node: Intelligent newline, Next: Usepackage cheker, Prev: What column, Up: Top + +���܂������s +************ + + tabular[*], array, itemize, enumerate, tabbing �‹���begin�^�⊮�œ��͂� +�����A�܂��͊e�‹����� + +`ESC RET' + ... ���܂������s + + +�������ƁA���̊‹��ɉ������s�G���g�������̍s�ɑ}�����܂�(begin�^�⊮���Ɏ� +���}�����ꂽ�G���g�����s�v�ȏꍇ�� undo �ɂ���ď����ł��܂�)�B�Ⴆ�΁A +tabular�‹��ł́A���̊‹��̃J�������ɑΉ��������� `&' �ɉ����A�s���� +`\\' �����܂��B���̎�����ȑO�� `\hline' ������΂�����t�������܂��B�� +���Ƃ���ɉ����Ď������͂�����̂̑Ή��͈ȉ��̂悤�ɂȂ�܂��B + + * `tabular', `tabular*', `array' + + �J������-1 ������ `&' �� `\\'�B�K�v�ɉ����� `\hline' + + * `tabbing' + + ��s�ڂŒ�`���Ă��� `\=' �Ɠ������� `\>'�B + + * `itemize', `enumerate', `description', `list' + + `\item' �܂��� `item[]' + + tabular �‹��̗�̂悤�ɁA�{�@�\�͊e�‹��̈�s�ڂ̓��e���Q�l�ɂ��ē��삷 +��̂ŁA�Ȃ�ׂ���s�ڈȍ~�ŌĂяo���悤�ɂ��Ă��������B + + �����A���̑��̊‹��A�Ⴆ�� `foo'�A�ɑ΂���`���܂������s'�𓮍삳�������� +�́A`YaTeX-intelligent-newline-foo' �Ƃ������O�̊֐����`���܂��B��`���� +�֐��́A���݂̍s�ɉ��s��}����������̍s���̈ʒu�ŌĂ΂�܂��B�֐� +`YaTeX-indent-line' ���ĂԂƌ��݂̊‹��̃l�X�g�ɉ������[���ɃC���f���g���� +��̂ŁA������Ă�ł��牽����}������悤�ȃR�[�h�������Ƃ悢�ł��傤�B +`yatexenv.el'���̊֐� `YaTeX-intelligent-newline-itemize' �̒�`�Ȃǂ��Q�l +�ɂ��Ă��������B + + + + +File: yatexj, Node: Usepackage cheker, Next: Changing mode of YaTeX, Prev: Intelligent newline, Up: Top + +����usepackage +**************** + + begin�^�Asection�^�Amaketitle�^�A�����ꂩ��LaTeX2e�}�N����⊮���͂���ƁA +���̃}�N���̗��p�ɊO���p�b�P�[�W��K�v�Ƃ���ꍇ�A���̃p�b�P�[�W��{������ +`\usepackage{}' ���Ă��邩�ǂ����𒲍����A�������Ă��Ȃ���΃v���A���u���� +�Ή�����p�b�P�[�W�������ɂ��� `\usepackage' ����(�m�F���)�}�����܂��B + + ���������̋@�\���������߂ɂ́A�p�b�P�[�W���Ƃ��̒��Œ�`����Ă���}�N�� +�Q��alist�̌`���ŕϐ� `YaTeX-package-alist-private' �ɐݒ肵�Ă����K�v���� +��܂��B + + + +File: yatexj, Node: Changing mode of YaTeX, Next: Online help, Prev: Usepackage cheker, Up: Top + +�쒹�̓��샂�[�h�؂�ւ� +************************ + +`[prefix] w' + ... �쒹���샂�[�h�؂�ւ����j���[ + +�Ŗ쒹���g�̓�������肷��ȉ��̃��[�h��؂�ւ��܂��B + + * �C�����[�h + * �쒹�������[�h + +�C�����[�h�́A�J�����ʓ��͎��̏������R���g���[�����A�C�����[�hON�̎��͊J�� +���ʂ̓��͂͊J�����ʂ݂̂̓��͂ɂȂ�A�C�����[�hOFF�̎��͊J�����ʂ̓��͂� +���ŕ‚����ʂ܂œ��͂��܂��B�f�t�H���g(�N����)�̐ݒ��*OFF*�ł��B + + �쒹�������[�h�́A�ϐ� `YaTeX-auto-math-mode' �� `nil' �̎��̂ݗL���ŁA +���̂Ƃ�`;'��`:'����������(*Note Image completion::�Q��)�ɁA�ǂ̂悤�ȃC���[ +�W�⊮���@�\�����邩�A�ʏ�̃L�[�Ƃ��ċ@�\�����邩���蓮�Ő؂�ւ��܂��B�� +�����肪�x���}�V���ł�`YaTeX-auto-math-mode' `nil'�ɃZ�b�g���A�쒹�������[ +�h���蓮�Ő؂�ւ���Ɨǂ��ł��傤�B + + + + +File: yatexj, Node: Online help, Next: Inclusion hierarchy browser, Prev: Changing mode of YaTeX, Up: Top + +�I�����C���w���v +**************** + + �g�����Ƃ��� LaTeX �R�}���h�̗p�@���悭������Ȃ����́A�I�����C���w���v +���Ђ��܂��傤�B�w���v�Ɋւ���L�[�ɂ͈ȉ��̂��̂�����܂��B + +`[prefix] ?' + ... �I�����C���w���v +`[prefix] /' + ... �I�����C��apropos + + +�I�����C���w���v +================ + + �u�I�����C���w���v�v�́A��ʓI�� LaTeX �R�}���h(�f�t�H���g�ŃJ�[�\���ʒu +�̃R�}���h)�ɑ΂��������ׂ̃o�b�t�@�ɕ\�����܂��B���̎��Q�Ƃ����w���v +�p�t�@�C���ɂ́u�O���[�o���w���v�v�Ɓu�v���C�x�[�g�w���v�v�̓��ނ�����A +�O�҂� LaTeX �̕W���R�}���h�̎�Ȃ��̂̐������܂ރt�@�C���ŁA�ϐ� +`YaTeX-help-file'�̒l�Ŏw�肳��܂��B���̃t�@�C���͒ʏ�����̏ꏊ(�f�t�H�� +�g��`$EMACSEXECPATH')�ɒu����A�N�������̓��e���X�V�ł���悤�ɑS���ɏ��� +���݌����^������ׂ����̂ł��B��҂́A��W���������͌l�I�ȃ}�N����`�� +�ւ��������������Ă���t�@�C���ŁA�ϐ�`YaTeX-help-file-private'�̒l�Ŏw +�肳��܂��B������̓��[�U�̃z�[���f�B���N�g���̉��Ȃǂɒu����܂��B + + +�I�����C��apropos +================= + + �u�I�����C��apropos�v�� GNU Emacs �� apropos �Ɠ��l�A���[�U���w�肵���L�[ +���[�h��������Ɋ܂ލ��ڂ��ׂĂ�ׂ̃o�b�t�@�ɕ\�����܂��B + + �����A���ׂ悤�Ƃ���LaTeX�R�}���h�ɑ΂���������w���v�t�@�C�����Ɍ��‚� +��Ȃ������ꍇ�́A�������̓��͂����߂Ă���̂ŁA�”\�ł���ΎQ�l���Ȃǂ� +�ׂĂ��̃R�}���h�̐�������͂��Ă��������B�����A�Ȃɂ��W���I�ȃR�}���h�ɑ� +����������������Ȃ�΂��Ў��܂ł��̐����������艺�����B����̔z�z�Ɋ܂߂� +���Ǝv���܂��B + + + +File: yatexj, Node: Inclusion hierarchy browser, Next: Cooperation with other packages, Prev: Online help, Up: Top + +�C���N���[�h�\���u���E�U +************************ + +�����̃t�@�C���ɕ������Ă���h�L�������g�������Ă���ꍇ�A + +`[prefix] d' + ... �C���N���[�h�\���u���E�Y + +�������ƁA���̃h�L�������g�̐e�t�@�C���𕷂��ė��܂��B�����őS�Ẵt�@�C�� +�̐e�ƂȂ�t�@�C��(�f�t�H���g��������Ă���̂ő���RET�̂�)����͂���� +�C���N���[�h���Ă���S�Ẵt�@�C������͂��A�C���N���[�h�󋵂����o�I�ɕ\�� +���܂��B���̃o�b�t�@�ł͈ȉ��̃L�[���삪�L���ł��B + +`n' + ... ���̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� +`p' + ... ��̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� +`N' + ... �����C���N���[�h���x���̎��̃t�@�C���Ɉړ� +`P' + ... �����C���N���[�h���x���̑O�̃t�@�C���Ɉړ� +`j' + ... ���̍s�Ɉړ� +`k' + ... ��̍s�Ɉړ� +`u' + ... ���e�ɂ�����t�@�C���Ɉړ� +`.' + ... �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ɕ\�� +`SPC' + ... �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���A�b�v +`DEL, b' + ... �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���_�E�� +`<' + ... �ׂ̃o�b�t�@�̑Ή��t�@�C���̐擪��\�� +`>' + ... �ׂ̃o�b�t�@�̑Ή��t�@�C���̖�����\�� +`'' + ... (`<'��`>'�̌��)���̕\���ʒu�ɖ߂� +`RET, g' + ... �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ŃI�[�v�� +`mouse-2' + ... RET�Ɠ���(�E�B���h�E�g�p���̂�) +`o' + ... �ׂ̃E�B���h�E�Ɉړ� +`1' + ... ���̃E�B���h�E������ +`-' + ... �u���E�Y�E�B���h�E������������ +`+' + ... �u���E�Y�E�B���h�E��傫������ +`?' + ... �w���v�\�� +`q' + ... �\���O�̏�Ԃɖ߂� + + �������A�ׂ̃E�B���h�E�̃t�@�C���̓��e��\������@�\�Ɋւ��ẮA�Ή����� +�t�@�C�����N���[�Y���Ă��܂��Ƃ��܂������܂���̂ł����ӂ��������B + + + +File: yatexj, Node: Cooperation with other packages, Next: Customizations, Prev: Inclusion hierarchy browser, Up: Top + +���p�b�P�[�W�Ƃ̘A�g +******************** + + +gmhist +====== + + `gmhist.el'��`gmhist-mh.el' �����[�h���Ă���ꍇ�A�v�������[�R�}���h�̓� +��(`[prefix] tp]')�A����R�}���h�̓���(`[prefix] tl')�̎��ɓƗ������q�X�g +���𗘗p�ł��܂��B���ꂼ��̃v�����v�g�ŁA`M-p' �������ƒ��O�ɗ��p�����R�} +���h�����������Ԃ��Ăяo�����Ƃ��ł��܂��B + + +min-out +======= + + `min-out.el' (`outline-minor-mode') �Ɩ쒹��g�ݍ��킹�Ďg�����Ƃ������� +��”\�ł��B�ݒ�̕��@�Ɋւ��Ă�`yatexm-o.el'���������������B + + + +File: yatexj, Node: Customizations, Next: Etc, Prev: Cooperation with other packages, Up: Top + +�J�X�^�}�C�Y +************ + + �쒹�̓���𐧌䂷���X�̕ϐ���Ǝ��ɐݒ肷�邱�Ƃɂ��A�⊮���͂��N�� +����L�[�A�T�C����ς�����A�‹����̕⊮��������ɏ[�������邱�ƂȂǂ��� +���܂��B + +* Menu: + +* Lisp variables:: lisp �ϐ� +* Add-in functions:: �t���֐�(�A�h�C���֐�) + + + +File: yatexj, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations + +lisp �ϐ� +========= + + �Ⴆ�� prefix �L�[�� `C-c' �ȊO�̃L�[�ɂ������ꍇ�́A`YaTeX-prefix'�� +prefix �L�[�ɂ������V���{�����`���Ă��������B����ɁA�u`C-c �p��'�v�Ƃ� +���L�[�o�C���h�͓Ǝ��̊֐������蓖�ĂĂ���̂Ŏg�������Ȃ��B���̂悤�Ȏ��́A +`YaTeX-inhibit-prefix-letter' �� `t' �ɐݒ肷�邱�Ƃɂ��A`C-c �p���c'�� +�o�C���h���S�āA�Ή�����`C-c C-�p���c'�ɕς��܂�(�������Abegin�^ large�^ +�⊮�̑啶���N���ɂ�郊�W�����w��͉”\�Ȃ܂܂ł��B����������ɂ������ꍇ +��`t'�ł͂Ȃ� 1 �ɃZ�b�g���ĉ������B)�B + +* Menu: + +* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ +* Sample definitions:: �J�X�^�}�C�Y�ϐ��ݒ�� +* Hook variables:: hook�ϐ� +* Hook file:: hook�p�t�@�C�� + + + +File: yatexj, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables + +�J�X�^�}�C�Y�ϐ��ꗗ +-------------------- + + yatex-mode �ɂ����鎟�̕ϐ����J�X�^�}�C�Y�”\�ł��B`~/.emacs' �� `setq' +���Ă����΁A������̒�`���D�悳��܂��B���ʂ̒��̓f�t�H���g�l�ł��B���ۂ� +�ϐ��̒l��ύX����ꍇ�� `M-x describe-variable' �ŕϐ��̏ڍׂȐ������Q�� +���Ă��������B + + -- Variable: YaTeX-prefix + yatex-mode ���̃v���t�B�N�X�L�[ (`\C-c') + + -- Variable: YaTeX-inhibit-prefix-letter + prefix �L�[�̒���̃L�[�o�C���h�� `�p��' �̂��̂� `C-�p��' �ɕύX + (`nil') + + -- Variable: YaTeX-fill-prefix + �{�����������̍s���ɑ}������ړ������Ȃ킿 fill-prefix (`""(nil)') + + -- Variable: YaTeX-user-completion-table + �w�K����LaTeX�R�}���h�ۑ��t�@�C���� (`"~/.yatexrc"') + + -- Variable: YaTeX-kanji-code + �������쐬���鎞�̊����R�[�hnil=�����̃R�[�h�̂܂� 0=no-conversion + 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOS�ł�1)) + + -- Variable: tex-command + LaTeX�^�C�v�Z�b�^�R�}���h�� (`"platex"') + + + -- Variable: dvi2-command + �v�������[�A�R�}���h�� (`"xdvi -geo +0+0 -s 4"') + + -- Variable: dviprint-command-format + dvi�t�@�C���̈���Ɏg����R�}���h�� (`"dvi2ps %f %t %s | lpr"') + + -- Variable: dviprint-from-format + ���`%f'�ɑ�������J�n�y�[�W�w�菑���A`%b' ���J�n�y�[�W�ԍ��ɕς�� + (`"-f %b"') + + -- Variable: dviprint-to-format + `%t' �ɑ�������I���y�[�W�w�菑���A`%e'���I���y�[�W�ԍ��ɕς�� (`"-t + %e"') + + -- Variable: makeindex-command + makeindex�R�}���h (`"makeindex"' (MS-DOS�ł�`"makeind"')) + + -- Variable: YaTeX-dvipdf-command + dvi��PDF�ɕϊ�����R�}���h (`"dvipdfmx"') + + -- Variable: YaTeX-need-nonstop + `\nonstopmode{}'�������I�ɕt�����邩 (`nil') + + -- Variable: latex-warning-regexp + latex�R�}���h�̏o�͂���E�H�[�j���O�s�̐��K�\�� (`"line.* [0-9]*"') + + -- Variable: latex-error-regexp + �������G���[�s�̐��K�\�� (`"l\\.[1-9][0-9]*"') + + -- Variable: latex-dos-emergency-message + MS-DOS��œ��삷�� latex �R�}���h���A�G���[�ɂ���~����Ƃ��o�͂��� + ���b�Z�[�W (`"Emergency stop"') + + -- Variable: latex-message-kanji-code + �^�C�v�Z�b�^�̏o�͂��郁�b�Z�[�W�̊����R�[�h.�^�C�v�Z�b�g�o�b�t�@�̏o + �͂������鎞�́A�����ݒ肷�� (2, Nemacs�ł̂ݗL��) + + -- Variable: NTT-jTeX + �Â�NTT-jTeX�g�p���̂悤�ɃC���f���g�����s�̐擪�ƑO�̍s��(�^�C�v�Z�b + �g���)���Ԃ��󂢂Ă��܂��̂������ꍇ��`t'�ɂ���(`nil') + + -- Variable: YaTeX-item-regexp + item�̌������̎��ɗp����Aitem�̐��K�\�� (`"\\\\(sub\\)*item"') + + -- Variable: YaTeX-verb-regexp + verb�R�}���h�̐��K�\���B�擪��\\\\�͂‚��Ȃ� (`"verb\\*?\\|path"') + + -- Variable: YaTeX-nervous + ���[�J��������p���鎞 `t' (`t') + + -- Variable: YaTeX-sectioning-regexp + �Z�N�V������؂�ݒ�R�}���h�̐��K�\�� + (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') + + -- Variable: YaTeX-fill-inhibit-environments + fill ��}�~����‹����̃��X�g (`'("tabular" "tabular*" "array" + "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" + "verbatim" "verbatim*")') + + -- Variable: YaTeX-uncomment-once + �̈�uncomment�ōs���̕�����`%'��S�č폜���邩 (`nil') + + -- Variable: YaTeX-close-paren-always + �J�����ʂ̓��͂ŏ�ɕ‚����ʂ���͂��� (`t') + + -- Variable: YaTeX-auto-math-mode + �������[�h�̐؂�ւ��������I�ɍs�� (`t') + + -- Variable: YaTeX-math-key-list-private + �����C���[�W�⊮�ŗp���� (�v���t�B�N�X�L�[ . �Ή��⊮�e�[�u��) �� + alist (`nil')�B�⊮�e�[�u���̏������ɂ‚��Ă�`yatexmth.el'���Q�ƁB + + -- Variable: YaTeX-default-pop-window-height + 1��ʂ̎��Ƀ^�C�v�Z�b�g�o�b�t�@�����߂č쐬���鎞�̍����B���l�ōs���A + �����������Emacs�E�B���h�E�ɑ΂���S���� (10) + + -- Variable: YaTeX-help-file + ���p�w���v�t�@�C�� (`$doc-directory/../../site-lisp/YATEXHLP.jp') + + -- Variable: YaTeX-help-file-private + �l�p�w���v�t�@�C�� (`"~/YATEXHLP.jp"') + + -- Variable: YaTeX-no-begend-shortcut + `[prefix] b ??' �̃V���[�g�J�b�g���g�킸�A`[prefix] b' �����ŕ⊮���� + �ɓ��� (`nil') + + -- Variable: YaTeX-hilit-pattern-adjustment-private + ���K�\���Ƃ���Ƀ}�b�`������̘̂_���I�Ӗ����V���{���ł���킵������ + �̃��X�g�c�̃��X�g�Bhilit19 ��g�ݍ���ł��鎞�̂ݗL���B�ڂ����� + `(assq 'yatex-mode hilit-patterns-alist)' �������ʂƁA�ϐ� + `YaTeX-hilit-pattern-adjustment-default' �̒l(�Əꍇ�ɂ���Ă� + hilit19 �̃h�L�������g)���Q�Ƃ���B + + -- Variable: YaTeX-sectioning-level + LaTeX�̃Z�N�V�����P�ʐ錾�R�}���h�Ƃ��̘_���I������alist�B + + -- Variable: YaTeX-hierarchy-ignore-heading-regexp + Hierarchy �o�b�t�@�͒ʏ�t�@�C���w�b�_�Ƃ��āALaTeX�̃Z�N�V�����錾�R + �}���h�̈������������A���ꂪ�Ȃ���΃R�����g�s��T�����A���̍ۂɃw�b + �_�Ƃ��Ă͈Ӗ��������Ȃ��p�^�[�������̕ϐ��ɐݒ肷��B�f�t�H���g�ł� + RCS �w�b�_�ƃ��[�h�w��s(-*- xxx -*-)���ݒ肳��Ă���B + + -- Variable: YaTeX-skip-default-reader + Non-nil �ɐݒ肷���section�^�R�}���h�̈������͎��A�A�h�C���֐����Ȃ� + ��΃~�j�o�b�t�@�ł̓ǂݍ��݂������ɓ��͂����������� (`nil') + + -- Variable: YaTeX-create-file-prefix-g + `\include'�Ȃǂ� `prefix g'�������ɁA�W�����v�悪���݂��Ȃ��t�@�C���� + �����Ă��I�[�v������ (`nil') + + -- Variable: YaTeX-simple-messages + �e��⊮���̃��b�Z�[�W�o�͂��ȑf������ (`nil') + + -- Variable: YaTeX-hilit-sectioning-face + �F�t�����L���Ȏ��� `\part' �̐F (`'(yellow/dodgerblue + yellow/slateblue)')�B���X�g�̑��v�f�� `hilit-background-mode' �� + `'light' �̎��́A���v�f�� `'dark' �̎��� `\chapter' �̐F�ŁA�����F/ + �w�i�F �̂悤�Ɏw�肷��B + + -- Variable: YaTeX-hilit-sectioning-attenuation-rate + �F�t�����L���Ȏ��́A`\subparagraph' �̐F�� `\chapter' �̔Z�x�̉�%���� + �������̂ɂ��邩 (`'(15 40)') `YaTeX-hilit-sectioning-face' �̍��Q�ƁB + + -- Variable: YaTeX-use-AMS-LaTeX + AMS-LaTeX ���g�p����ꍇ�� `t' �ɐݒ肷�� (`nil') + + -- Variable: YaTeX-use-LaTeX2e + LaTeX2e ���g�p����ꍇ�� `t' �ɐݒ肷�� (`t') + + -- Variable: YaTeX-template-file + �V�K�t�@�C���쐬���Ɏ����}������t�@�C���� (`~/work/template.tex') + + -- Variable: YaTeX-search-file-from-top-directory + input����t�@�C����T���Ƃ��̊�f�B���N�g����main�t�@�C���̂���f�B + ���N�g���ɂ��邩 (`t') + -- Variable: YaTeX-use-font-lock + �\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� font-lock �𗘗p���邩�ǂ��� + (`(featurep 'font-lock)') + + -- Variable: YaTeX-use-hilit19 + �\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� hilit19 �𗘗p���邩�ǂ���(`(featurep + 'hilit19)') + + -- Variable: YaTeX-use-italic-bold + italic, bold�t�H���g��쒹���T�����ǂ��� (Emacs20�ȍ~�Ȃ�`t') + font-lock���p���̂ݗL���B(`(featurep 'hilit19)' + + -- Variable: YaTeX-singlecmd-suffix + �S�Ă�maketitle�^�R�}���h�̕⊮���͒���ɑ}�����镶����B`"{}"' �Ȃ� + �������߁B + + -- Variable: YaTeX-package-alist-private + LaTeX2e�̃p�b�P�[�W���Ƃ��̒��Ɋ܂܂��}�N���̃��X�g�B�K�؂ɐݒ肵�� + �����Ɩ{�����͎��Ƀ}�N����⊮���͂���Ƃ��̃}�N���ɕK�v�ȃp�b�P�[�W + �� usepackage ���邩�����I�Ɍ������Ă����B���Ă��Ȃ���� + \usepackage �������lj����邱�Ƃ��ł���B���X�g��'((�p�b�P�[�W��1 (�� + ���^�C�v �}�N���̃��X�g�c�c) (�⊮�^�C�v �}�N���̃��X�g�c�c)) (�p�b�P�[ + �W��2 (�⊮�^�C�v �}�N���̃��X�g�c�c) (�⊮�^�C�v �}�N���̃��X + �g�c�c))�c�c�c) �Ƃ����`���ɂ���B�⊮�^�C�v�� `env, section, + maketitle' �̂ǂꂩ�B��̗�͕ϐ� `YaTeX-package-alist-default' �̒l + �Q�ƁB + + -- Variable: YaTeX-tabular-indentation + tabular/array �‹��Ō��ݍs�̐擪�ʒu���\�̑�N�J�����̂Ƃ��͕W���C���f + ���g�ʒu���� N*YaTeX-tabular-indentation ���������C���f���g�ɂ���B + + -- Variable: YaTeX-noindent-env-regexp + �ʂ̊‹����ɂ����Ă� \begin{} ���s������n�܂�ׂ��‹����̐��K�\���B + verbatim�‹��Ȃǂ��w�肷��B + + -- Variable: YaTeX-ref-default-label-string + \ref{} �̃��x���⊮�Ń��x�����ݒ�̂��̂Ɏ����I�ɐ������郉�x�����̏� + ���Bstrftime(3)�֐��Ɏ������t�x�[�X�Ŏw�肷��B���p�ł��鏑���͈ȉ��� + �Ƃ���B%y -> �����, %b -> ���̉p��, %m -> ��(1�`12) %d -> ��, + %H -> ��, %M -> ��, %S -> �b, %qx -> �A���t�@�x�b�g��26�i�������� + yymmdd. %qX -> �A���t�@�x�b�g��26�i�������� HHMMSS. �f�t�H���g�� + "%H%M%S_%d%b%y" + + -- Variable: YaTeX-ref-generate-label-function + \ref{}�̃��x�������������̂Ƃ��Ɏg���֐��̃V���{���B�f�t�H���g�͕W�� + �� YaTeX::ref-generate-label �֐������蓖�ĂĂ���B������2�Ž��֐� + ���`���āA���̕ϐ��ɃZ�b�g����Ƃ��̊֐����Ă񂾌��ʂ��f�t�H���g�� + ���x�������Ƃ���B�ݒ��: + (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) + (defun my-yatex-generate-label (command value) + (and (string= command "caption") + (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) + (setq command (match-string 1))) + (let ((alist '(("chapter" . "chap") + ("section" . "sec") + ("subsection" . "subsec") + ("figure" . "fig") + ("table" . "tbl")))) + (if (setq command (cdr (assoc command alist))) + (concat command ":" value) + (YaTeX::ref-generate-label nil nil)))) + + + +File: yatexj, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables + +�J�X�^�}�C�Y�ϐ��ݒ�� +---------------------- + + ���Ƃ��΁Aprefix �L�[�Ƃ���`ESC'���g�p���A�V���ȕ⊮�����i�[����t�@�C +�����A`~/src/emacs/yatexrc' �ɂ��A�s���� prefix ���^�u������‚ɕς������� +���́A + + (setq YaTeX-prefix "\e" + YaTeX-user-completion-table "~/src/emacs/yatexrc" + YaTeX-fill-prefix " ") + +�� `~/.emacs' �ɉ����܂��B + + + +File: yatexj, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables + +hook�ϐ� +-------- + + �܂��Ahook �ϐ� `yatex-mode-hook', `yatex-mode-load-hook' ��p�ӂ��Ă��� +���B���ׂĂ� yatex-mode �̃o�b�t�@�ō�p�����������̂́A`yatex-mode-hook' +�ɋL�q���A`yatex.el' �����[�h���鎞������p�����������̂� +`yatex-mode-load-hook' �ɋL�q���܂��B�Ⴆ�΁A`outline-minor-mode' �𗘗p�� +��ꍇ�A���ꂼ��̃o�b�t�@�� `outline-minor-mode' ��L���ɂ������̂ŁA +`yatex-mode-hook' �����̂悤�ɐݒ肵�܂��B + + (setq yatex-mode-hook + '(lambda () (outline-minor-mode t))) + + +�t�ɁA�Ǝ��̃L�[��`���s���������Ȃǂ́A`yatex-mode-load-hook' �𗘗p���� +���B�Ⴆ�΁Abegin �^�⊮�ɂ����āA document ��Aenumerate �ȊO�̊‹����� +�V���[�g�J�b�g�L�[�œ��ꂽ���ȂǂƂ������́A���̂悤�ɂ��܂��B�ȉ��̗�́A +`[prefix] ba' �� `\begin{abstract}', `\end{abstract}' ��}�����܂��B + + (setq yatex-mode-load-hook + '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) + +�Ȃ��A�V���ȃL�[�̒�`�ɂ́A�֐� `YaTeX-define-key' +`YaTeX-define-begend-key'�𗘗p����悤�ɂ��Ă��������B + + + +File: yatexj, Node: Hook file, Prev: Hook variables, Up: Lisp variables + +hook�p�t�@�C�� +-------------- + + �ϐ� `yatex-mode-load-hook' �Œ�`������e���������́A`yatexhks.el'�Ƃ� +���t�@�C�������A���̒��ɖ쒹�֘A�̐ݒ���������ŁA�������̎��Ɏ����I�Ƀ��[ +�h���܂��B + + + + +File: yatexj, Node: Add-in functions, Prev: Lisp variables, Up: Customizations + +�t���֐�(�A�h�C���֐�) +====================== + + �e��⊮���ɁA�‹�����R�}���h���ɉ��������ߍׂ₩�ȕ⊮���͋@�\�������� +�邽�߂̊֐����쐬���邱�Ƃ��ł��܂��B���̊֐��̍쐬���@��A�g�ݍ��ݕ��@�� +�ւ��ẮA`yatexadd.doc' ���������������B + + + +File: yatexj, Node: Etc, Next: Copying, Prev: Customizations, Up: Top + +���̑� +****** + + �쒹�̕W���� LaTeX �R�}���h�̎����ɂ́A��҂��p�ɂɎg�����̂����o�^���� +�Ă��܂���B����́A�⊮���Ɏg���������Ȃ��R�}���h�����݂��āA�⊮������ +�R�}���h���o���܂ł̃X�g���[�N���𑝂₵�Ă��܂�����h�~���邽�߂ł��B�W�� +�����ɂȂ��R�}���h���A�ł��邾���⊮���͕����𗘗p���A���[�U�������[������ +�邱�ƂŁA���Ȃ��� LaTeX �X�^�C���ɂ������쒹�ւƈ���Ă������Ƃł��傤�B + + + +File: yatexj, Node: Copying, Next: Concept Index, Prev: Etc, Up: Top + +��舵�� +******** + + �{�v���O�����̓t���[�\�t�g�E�F�A�ł��B�{�v���O�������g�p���Đ����������� +�錋�ʂɑ΂��Ă���҂͐ӔC�𕉂�Ȃ����ƂƂ��܂��B�]�ړ��Ɋւ��Ă͐������� +���܂���B�펯�I�Ɉ����Ă��������B�܂��A�{�v���O�����Ɋ܂܂��R�[�h�𗘗p +���邱�ƁA�������邱�Ƃ����R�ɍs�Ȃ��č\���܂��񂪁A���p���邱�Ƃɂ��_�� +�����̕K�v��������ꍇ�A���͂����Ȃ�_����������܂���B��̓I�ɂ�GPL�ւ� +�T�C���͂��܂���̂ŁAGNU�Ɋ񑡂�����̂�����Ă���ꍇ���̍�i�����荞 +�񂾃R�[�h�𗬗p����Ƌ�J���邩������܂���B�����Ȃ�R�[�h���p�����ۂ��� +���񂪌_������͎��ނ��܂��B + + ���A��]�A�o�O�񍐁A���z���͊��}�������܂��B�A���� yuuji@yatex.org �� +��(2004�N1������)�B�p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�� +��v�ɐ���������Ă��������B�������@�ɂ‚��Ă͖{�p�b�P�[�W�� `docs/qanda' +�t�@�C���́u���̑��v�̏͂��䗗���������B + +�d�l�́A�\���Ȃ��m����(�C�������)�ύX����܂�:-p�B + + �L���Y�� + + + +File: yatexj, Node: Concept Index, Prev: Copying, Up: Top + +���� +**** + +* Menu: + +* :: Greek letter completion. 4. +* ;: Image completion. 4. +* ��[������]: Image completion. 4. +* ����[������]: Enclose section-type command. 4. +* ����[������]: large�^�⊮. 22. +* ����[�Ђ�����]: 2�ˆȏ�̈������Ƃ� section�^�R�}���h. 4. +* ����[�����ӂ�]: Accent mark completion. 4. +* ;���g[;������]: Image completion. 32. +* ��[�ނ��񂽂�]: Image completion. 4. +* ���[�₵�邵]: Image completion. 4. +* �u���b�N[�ӂ�‚�]: begin�^�⊮. 81. +* �q�X�g��[�Ђ��Ƃ�]: Cooperation with other packages. 8. +* ������[�������낦]: Filling. 4. +* �₿�傤[�₿�悤]: Intro. 4. +* �W�����v[������]: view-sectioning. 42. +* &����[&�ɂ䂤��悭]: Intelligent newline. 4. +* �ݒ��[���‚Ă��ꂢ]: Sample definitions. 4. +* �����⊮[�������ق���]: Arbitrary completion. 4. +* �‚����߂�[�Ƃ����߂�]: begin�^�⊮. 81. +* �ċA�⊮[�������ق���]: Recursive completion. 4. +* ���[�U����[�䂤��������]: begin�^�⊮. 71. +* �_���K�w[���肩������]: view-sectioning. 42. +* �����͂ǂ�?[�����͂Ƃ�?]: What column. 4. +* ���G�`���c�[���N��[���������‚��邫�Ƃ�]: ���G�`���c�[���N��. 4. +* �‹��̐擪��[���񂫂悤�̂���Ƃ���]: �‹���P�ʂƂ����W�����v. 7. +* �‹��̖�����[���񂫂悤�̂܂‚Ђ�]: �‹���P�ʂƂ����W�����v. 7. +* �‹����}�[�N[���񂫂悤���܂���]: �‹���P�ʂƂ����W�����v. 7. +* �J�X�^�}�C�Y[�������܂���]: Customizations. 4. +* �L�[�A�T�C��[������������]: Customizations. 4. +* �������[�h[��������������]: Image completion. 4. +* �C���X�g�[��[���񂷂Ƃ���]: Installation. 4. +* �^�C�v�Z�b�^[�����ӂ��‚�]: Invocation. 4. +* �v�������[�A[�ӂ�Ђ䂤��]: Invocation. 4. +* �A�E�g���C��[�����Ƃ炢��]: view-sectioning. 4. +* �����̌���ς���[�Ђ������̂�������������]: 2�ˆȏ�̈������Ƃ� section�^�R�}���h. 24. +* �A�N�Z���g�L���⊮[��������Ƃ������ق���]: Accent mark completion. 4. +* �J�X�^�}�C�Y�ϐ��ꗗ[�������܂����ւ񂷂��������]: All customizable variables. 4. +* �‹����̕⊮[���񂫂悤�߂��̂ق���]: begin�^�⊮. 4. +* �G���[�C��[���炠���䂤����]: Calling typesetter. 4. +* �^�C�v�Z�b�^�N��[�����ӂ��‚����Ƃ�]: Calling typesetter. 4. +* �^�C�v�Z�b�g�G���[[�����ӂ��‚Ƃ��炠]: Calling typesetter. 4. +* �‹����̕ύX[���񂫂悤�߂��̂ւ񂱂�]: Changing LaTeX command. 20. +* ���[�h�؂�ւ�[�����Ƃ��肩��]: Changing mode of YaTeX. 4. +* �^�C�v�Z�b�^�̎g������[�����ӂ��‚��̂‚����킯]: Changing typesetter. 12. +* �N������R�}���h��ς���[���Ƃ����邱�܂�Ƃ�������]: Changing typesetter. 7. +* �R�����g�A�E�g[���߂�Ƃ�����]: Commenting out. 4. +* ���̑��̃R�}���h����[���̂��̂��܂�Ƃ�������]: Controlling which command to invoke. 4. +* ���p�b�P�[�W�Ƃ̘A�g[���͂‚������Ƃ̂�񂯂�]: Cooperation with other packages. 4. +* �R�}���h�q�X�g��[���܂�ƂЂ��Ƃ�]: Cooperation with other packages. 8. +* �J�[�\���W�����v[�������邵����]: Cursor jump. 4. +* %#�L�@���̂̕ҏW[%#���ق��������̂ւ񂵂䂤]: Editing %# notation. 4. +* �p���O���t�̌�����[�͂炭��ӂ̂������낦]: Filling. 47. +* �̈挈��K��[��悤�������‚Ă�������]: Fix region for typesetting. 25. +* �����t�@�C���̕ҏW[�Ȃ����ӂ�����̂ւ񂵂䂤]: Fix region for typesetting. 34. +* �Œ�̈�̃^�C�v�Z�b�g[���Ă���悤�����̂����ӂ��‚�]: Fix region for typesetting. 4. +* �M���V�������⊮[���肵������ق���]: Greek letter completion. 4. +* �C���[�W�⊮[���߂����ق���]: Image completion. 4. +* �����L���C���[�W�⊮[�����������������߂����ق���]: Image completion. 4. +* ���̃t�@�C���̎蒼��[�ق��̂ӂ�����̂ĂȂ���]: Includeonly. 11. +* �C���N���[�h�\��[���񂭂邤�Ƃ�������]: Inclusion hierarchy browser. 4. +* ���܂������s[���܂����������悤]: Intelligent newline. 4. +* �v�����g�A�E�g[�ӂ��Ƃ�����]: Invocation. 4. +* �‹��̍폜[���񂫂悤�̂�������]: Killing LaTeX command. 6. +* ���x����������[��ւ邵�Ƃ���������]: label-generation. 4. +* �t�H���g�w��q[�ӂ���Ƃ��Ă���]: large�^�⊮. 18. +* �����T�C�Y�w��q[�������������Ă���]: large�^�⊮. 18. +* ���[�J������[�남���邵����]: Local dictionary. 4. +* �ύX/�폜[�ւ񂱂�/��������]: Modifying/Deleting. 4. +* �O���[�o���w���v[���남�͂�ւ��]: Online help. 16. +* �I�����C���w���v[����炢��ւ��]: Online help. 4. +* �L�[���[�h����[�����킠�Ƃ��񂳂�]: Online help. 4. +* �v���C�x�[�g�w���v[�ӂ炢�ւ��Ƃւ��]: Online help. 16. +* ���̓t�@�C������[�ɂ䂤��悭�ӂ�����ӂ񂩂�]: Splitting input files. 11. +* �Z�N�V������؂�ꗗ�o�b�t�@[��������񂭂��肢�����͂‚ӂ�]: view-sectioning. 18. +* �Z�N�V������؂�[��������񂭂���]: view-sectioning. 42. +* ���݂̃J�����\��[���񂳂��̂���ނЂ悤��]: What column. 23. +* apropos: Online help. 4. +* autoload: Installation. 4. +* auto-mode-alist: Installation. 4. +* %#BEGIN: Fix region for typesetting. 4. +* begin�^�⊮[begin�����ق���]: begin�^�⊮. 4. +* C-c: Invocation. 4. +* Demacs: Intro. 4. +* .emacs: Installation. 4. +* %#END: Fix region for typesetting. 4. +* end�⊮[end�ق���]: end�⊮. 4. +* ghostview: Splitting input files. 16. +* gmhist: Cooperation with other packages. 8. +* hook�ϐ�[hook�ւ񂷂�]: Hook variables. 4. +* �o�͏I���y�[�W[����‚�悭���䂤��悤�ւ���]: Print out. 9. +* includeonly: Includeonly. 4. +* Install: Installation. 4. +* item�Ȃǂ̌�����[item�ȂƂ̂������낦]: Filling. 8. +* �o�͊J�n�y�[�W[����‚�悭�������ւ���]: Print out. 9. +* jlatex: Invocation. 4. +* large�^�⊮[large�����ق���]: large�^�⊮. 4. +* LaTeX: Intro. 4. +* leftarrow: Image completion. 4. +* lpr format: lpr format. 4. +* lpr�t�H�[�}�b�g�̕ύX[lpr�ӂ����܂‚Ƃ̂ւ񂱂�]: Editing %# notation. 18. +* lpr�ӂ��[�܂���[lpr�ӂ����܂‚�]: lpr format. 4. +* lpr�t�H�[�}�b�g[lpr�ӂ����܂‚�]: lpr format. 4. +* maketitle�^�⊮[maketitle�����ق���]: maketitle�^�⊮. 4. +* M-C-@: �‹���P�ʂƂ����W�����v. 7. +* M-C-a: �‹���P�ʂƂ����W�����v. 7. +* M-C-e: �‹���P�ʂƂ����W�����v. 7. +* min-out: Cooperation with other packages. 17. +* M-q: Filling. 47. +* Mule: Intro. 4. +* �����includeonly[���‚Ă�includeonly]: Includeonly. 4. +* NTT-jTeX[���ʂĂ����Ă����������Â�]: Filling. 15. +* platex: Invocation. 4. +* prefix ,: Commenting out. 4. +* prefix .: Commenting out. 4. +* prefix <: Commenting out. 4. +* prefix >: Commenting out. 4. +* prefix /: Online help. 4. +* prefix ?: Online help. 4. +* prefix &: What column. 4. +* prefix a: Accent mark completion. 4. +* prefix b: begin�^�⊮. 4. +* prefix c: Modifying/Deleting. 4. +* prefix d: Inclusion hierarchy browser. 4. +* prefix e: end�⊮. 4. +* prefix g: Cursor jump. 4. +* prefix i: Filling. 8. +* prefix k: Modifying/Deleting. 4. +* prefix key: Invocation. 4. +* prefix l: large�^�⊮. 4. +* prefix m: maketitle�^�⊮. 4. +* prefix s: section�^�⊮. 4. +* prefix SPC: Arbitrary completion. 4. +* prefix w: Changing mode of YaTeX. 4. +* prefix�L�[�ύX[prefix�����ւ񂱂�]: Lisp variables. 4. +* �y�[�W�m�F�ȗ�lpr�N��[�ւ��������ɂ񂵂悤��₭lpr���Ƃ�]: Print out. 12. +* section�^�⊮[section�����ق���]: section�^�⊮. 4. +* ���G��tabular[�ӂ����‚�tabular]: What column. 4. +* ����usepackage[�����܂��]: Usepackage cheker. 4. +* YaTeX-help-file: Online help. 16. +* YaTeX-help-file-private: Online help. 16. +* YaTeX-item-regexp: Filling. 20. +* YaTeX-math-sign-alist-private: Image completion. 57. +* yatex-mode-hook: Hook variables. 4. +* yatex-mode-load-hook: Hook variables. 4. +* YaTeX-nervous: Local dictionary. 22. +* .yatexrc: Local dictionary. 4. + + + + +Tag table: +Node: Top257 +Node: Intro1311 +Node: Terminology1614 +Node: Main features2249 +Node: Installation3282 +Node: Invocation4500 +Node: Calling typesetter5319 +Node: Calling previewer6556 +Node: Print out6872 +Node: %#notation7138 +Node: Changing typesetter7566 +Node: Splitting input files7824 +Node: Fix region for typesetting8776 +Node: lpr format9677 +Node: Controlling which command to invoke10486 +Node: Editing %# notation10887 +Node: Completion11344 +Node: begin�^�⊮11817 +Node: section�^�⊮14401 +Node: 2�ˆȏ�̈������Ƃ� section�^�R�}���h15496 +Node: Enclose section-type command16314 +Node: Recursive completion16551 +Node: view-sectioning16857 +Node: label-generation18053 +Node: large�^�⊮18402 +Node: maketitle�^�⊮18982 +Node: Arbitrary completion19281 +Node: end�⊮19594 +Node: Accent mark completion19936 +Node: Image completion20361 +Node: Greek letter completion22178 +Node: Local dictionary22638 +Node: Commenting out23243 +Node: Cursor jump24402 +Node: �Ή��I�u�W�F�N�g�ւ̃W�����v24639 +Node: ���G�`���c�[���N��25627 +Node: ���C���t�@�C���ւ̃W�����v26547 +Node: �‹���P�ʂƂ����W�����v26883 +Node: �Ō�̕⊮�ʒu�ւ̃W�����v27240 +Node: Modifying/Deleting27477 +Node: Changing LaTeX command27883 +Node: Killing LaTeX command28434 +Node: Filling29305 +Node: Includeonly30634 +Node: What column31195 +Node: Intelligent newline31974 +Node: Usepackage cheker33007 +Node: Changing mode of YaTeX33433 +Node: Online help34009 +Node: Inclusion hierarchy browser34985 +Node: Cooperation with other packages36263 +Node: Customizations36718 +Node: Lisp variables37015 +Node: All customizable variables37622 +Node: Sample definitions44923 +Node: Hook variables45357 +Node: Hook file46251 +Node: Add-in functions46457 +Node: Etc46684 +Node: Copying46968 +Node: Concept Index47599 + +End tag table diff --git a/docs/yatexj.tex b/docs/yatexj.tex index 867b85f..f42fc07 100644 --- a/docs/yatexj.tex +++ b/docs/yatexj.tex @@ -1,2237 +1,2259 @@ -\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 -\input texinfo -@setfilename yatexj -@settitle Yet Another tex-mode for Emacs - -@iftex -@c @syncodeindex fn cp -@c ���‚��Y���̂ł����ɏ����Ƃ����B -@c C-l C-c n �Ńm�[�h���� -@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 May 27 18:24:30 2010 on firestorm -@syncodeindex vr cp -@end iftex - -@titlepage -@sp 10 -@center -@subtitle Yet Another tex-mode for emacs -@title �w�쒹�x -@subtitle // YaTeX // -@author @copyright{} 1991-2004 by HIROSE, Yuuji [yuuji@@yatex.org] -@end titlepage - -@node Top, Intro, (dir), (dir) -@comment node-name, next, previous, up - -@menu -* Intro:: �͂��߂� -* Terminology:: �}�j���A���Q�Ə�̒��� -* Main features:: ��ȋ@�\ -* Installation:: �C���X�g�[�� -* Invocation:: �v���Z�X�N�� -* %#notation :: %#�L�@ -* Completion:: �⊮���� -* Local dictionary:: ���[�J������ -* Commenting out:: �R�����g�A�E�g -* Cursor jump:: �J�[�\���W�����v -* Modifying/Deleting:: LaTeX�R�}���h�̕ύX/�폜 -* Filling:: ������ -* Includeonly:: ����� includeonly -* What column:: �J�����ʒu�K�C�h -* Intelligent newline:: ���܂������s -* Usepackage cheker:: ����usepackage -* Changing mode of YaTeX:: �쒹���샂�[�h�ύX -* Online help:: LaTeX�I�����C���w���v -* Inclusion hierarchy browser:: �t�@�C�������K�w�\���̕\�� -* Cooperation with other packages:: ���p�b�P�[�W�Ƃ̘A�g -* Customizations:: �J�X�^�}�C�Y -* Etc:: ���̑� -* Copying:: ��舵�� -* Concept Index:: ���� - -@end menu - -@node Intro, Terminology, Top, Top -@comment node-name, next, previous, up -@chapter �͂��߂� -@cindex Demacs -@cindex Mule -@cindex LaTeX -@cindex �₿�傤[�₿�悤] - - �쒹�́AGNU Emacs �� La@TeX{} �p�̕������쐬���鎞�� pLa@TeX{} �Ȃǂ� -�^�C�v�Z�b�g�R�}���h��A�v�������[�A�̋N���� Emacs �ҏW��ʒ����� -�s����悤�ɂ���Ƌ��ɁA�g�����̍�����X�̕⊮�@�\�ɂ��\�[�X�e�L -�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}. - -@node Terminology, Main features, Intro, Top -@comment node-name, next, previous, up -@chapter �{�}�j���A���Q�Ə�̒��� - - �{�}�j���A���ł͈ȉ��̕\�L��p���܂��B - -@itemize @bullet -@item -begin�^�R�}���h - -@code{\begin@{�‹�@} �` \end@{�‹�@}}�Ƃ����`����LaTeX�R�}���h���w���܂��B -begin�^�R�}���h��⊮���͂��邱�Ƃ�begin�^�⊮�ƌĂт܂��B - -@item -section�^�R�}���h - -@code{\section@{�^�C�g��@}}��@code{\mbox@{���e@}}�̂悤�� -���������LaTeX�R�}���h���w���܂��B - -@item -maketitle�^�R�}���h - -@code{\maketitle}��@code{\tableofcontents}�̂悤�Ɉ��������Ȃ�LaTeX�R�} -���h���w���܂��B - -@item -large�^�R�}���h - -@code{@{\large ...@}} �� @code{@{\tt ...@}} �̂悤�ȃt�H���g/�T�C�Y�w��q -���w���܂��B - -@item @kbd{[prefix]} - -�쒹�̋@�\���Ăяo�����߂̃v���t�B�N�X�L�[�B�f�t�H���g�ł�@kbd{C-c}�Ɋ��� -���Ă��Ă���̂ŁA���ɕύX���Ă��Ȃ��ꍇ�{�}�j���A���� @kbd{[prefix]} �� -�����\�L�́A@kbd{C-c} �Ɠǂ݊����Ă��������B -@end itemize - -@node Main features, Installation, Terminology, Top -@comment node-name, next, previous, up -@chapter ��ȋ@�\ - -@itemize @bullet -@item �^�C�v�Z�b�^��v�������[�A�Ȃǂ̕ҏW��ʂ���̋N��(@kbd{C-c t}) -@item �J�[�\���ʒu�ɂ��Ȃ��Œ胊�W�����̕����^�C�v�Z�b�g -@item \includeonly�̃����^�b�`�X�V -@item �G���[�ӏ��ւ̎����W�����v(@kbd{C-c '}) -@item @code{\begin@{@}, \end@{@}, \section...} �Ȃǂ� La@TeX{} -�R�}���h�̕⊮���� -(@kbd{C-c b}, @kbd{C-c s}, @kbd{C-c l}, @kbd{C-c m}) -@item ���ɓ��͂����e�L�X�g���‹���R�}���h�����̒��Ɏ�荞�ފ���⊮ -(@kbd{C-u} +�ʏ�⊮�L�[) -@item �Z�N�V������؂���͎��̕����\���A�E�g���C���\�� -@item �Z�N�V�����R�}���h�̈ꊇ�V�t�g (@ref{view-sectioning}) -@item �⊮�����̊w�K -@item La@TeX{} �̊‹���R�}���h�ɉ������K�C�h�t���������� -@item �쒹�ɂȂ��K�C�h�t���������͊֐��̎�������(@file{yatexgen.el}) -@item La@TeX{} �R�}���h�̍폜/�ύX(@kbd{C-c k}, @kbd{C-c c}) -@item �t�@�C���ԁA@code{\begin}<->@code{\end}�ԁA - @code{\ref}<->@code{\label}�ԁA - @code{\cite}<->@code{\bibitem}�W�����v(@kbd{C-c g}) -@item �ꊇ�R�����g�A�E�g/�A���R�����g�A�E�g - (@kbd{C-c >}, @kbd{C-c <}, @kbd{C-c ,}, @kbd{C-c .}) -@item �A�N�Z���g�L��/�����‹��p�R�}���h/�M���V�������̓��͎x�� - (@kbd{C-c a}, @kbd{;}, @kbd{/}) -@item tabular/array�‹��̃J�����ʒu�K�C�h -@item �W���I La@TeX{} �R�}���h�̃I�����C���w���v(@kbd{C-c ?}, @kbd{C-c /}) -@item �h�L�������g�̃C���N���[�h�\���̎��o�I�\���ƃo�b�t�@�؂�ւ� -(@kbd{C-c d}) -@item �⊮���͂����}�N���ɉ����ĕK�v�� \userpackage �����Ă������� -userpackage -@item \label��ł‚��Ƃ͂����Y��悤! ref��cite�⊮���͂Ŏ����������܂� -@end itemize - -@node Installation, Invocation, Main features, Top -@comment node-name, next, previous, up -@chapter �N���@ -@cindex Install -@cindex �C���X�g�[��[���񂷂Ƃ���] -@cindex .emacs -@cindex auto-mode-alist -@cindex autoload -@section �쒹�N���̂��߂̐ݒ� - - ~/.emacs�ɉ���2���ڂ������܂��B - -@lisp -(setq auto-mode-alist - (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) -(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) -@end lisp - -���ɖ쒹�� emacs-lisp �t�@�C���Q��u���f�B���N�g���� load-path �ɉ����܂��B -���Ƃ��΁A @file{~/src/emacs/yatex}�ɒu���̂ł���΁A - -@lisp -(setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) -@end lisp - -@noindent -�ȂǂƂ��܂��B - - �ȏ�̐ݒ�ɂ��A�g���q�� .tex �ł���t�@�C����ҏW����Ǝ����I�ɖ쒹�� -���[�h����܂��B�쒹������ɋN���ł����Ƃ��̓��[�h���C���̕\�����u��ĂӁv -�ɕς��܂��B - -@section �^�C�v�Z�b�^/�v�������[�A�‹��̐ݒ� - - ���p����O���v���O�����Ɋւ���ȉ��̕ϐ����m�F���A�K�v�Ȃ琳�����l�ɕύX -���܂��B -@table @code -@item tex-command - @dots{} �N������^�C�v�Z�b�^�̃R�}���h�� -@item dvi2-command - @dots{} �N������v�������[�A�̃R�}���h�� -@item NTT-jTeX - @dots{} ���s+�C���f���g�ɂ���āA�^�C�v�Z�b�g��̎��Ԃ��󂢂Ă��� - ���̂�}������ꍇ��t�ɂ���(�Â�NTT-jTeX�Ō����Ɍ����)�B��̓I�ɂ́A - fill����Ƃ��Ɋe�s�̏I����%��t������悤�ɂȂ�B -@item YaTeX-kanji-code - @dots{} �������쐬���鎞�̊����R�[�h -@item dviprint-command-format - @dots{} �t�@�C���̈���Ɏg����R�}���h��̏��� -@item makeindex-command - @dots{} makeindex�R�}���h -@end table - -������ύX����ꍇ�́A��͂�@file{~/.emacs}�ɂāA���Ƃ��� -@lisp -(setq tex-command "bigjlatex") -@end lisp -�̂悤�ɂ��Ă��������B�ǂ̂悤�Ȓl���Z�b�g����Ηǂ����ɂ‚��ẮA -@ref{All customizable variables}���Q�Ƃ��Ă��������B - - -@node Invocation, %#notation , Installation, Top -@comment node-name, next, previous, up -@chapter latex�R�}���h�N�� -@cindex prefix key -@cindex C-c -@cindex �^�C�v�Z�b�^[�����ӂ��‚�] -@cindex �v�������[�A[�ӂ�Ђ䂤��] -@cindex jlatex -@cindex platex -@cindex �v�����g�A�E�g[�ӂ��Ƃ�����] - -LaTeX�\�[�X�̕ҏW���A���̃L�[���͂ɂ��Aplatex �Ȃǂ̃^�C�v�Z�b�g�v���O�� -��(�Ȍ�^�C�v�Z�b�^�ƌĂ�)�A�v�������[�A�Ȃǂ̋N�����ł��܂��B - -@table @kbd -@item [prefix] t j - @dots{} �^�C�v�Z�b�^(platex)�N�� -@item [prefix] t r - @dots{} �^�C�v�Z�b�^�N��(�̈�w��) -@item [prefix] t e - @dots{} �^�C�v�Z�b�^�N�� - (�|�C���g�ʒu�̊‹��܂��͐������[�h�̂ݑΏ�) -@item [prefix] t k - @dots{} ���쒆�̃^�C�v�Z�b�^�̒�~ -@item [prefix] t b - @dots{} jbibtex�N�� -@item [prefix] t i - @dots{} makeindex�N�� -@item [prefix] t d - @dots{} �^�C�v�Z�b�^��dvipdfmx�N�� -@item [prefix] t p - @dots{} �v�������[�A�N�� -@item [prefix] t l - @dots{} lpr(�v�����g�A�E�g�p)�R�}���h�N�� -@item [prefix] t s - @dots{} xdvi -remote �ł̃T�[�` -@end table - -@menu -* Calling typesetter:: �^�C�v�Z�b�^�N�� -* Calling previewer:: �v�������[�A�N�� -* Print out:: �v�����g�A�E�g�p�R�}���h�̋N�� -@end menu - -@node Calling typesetter, Calling previewer, Invocation, Invocation -@comment node-name, next, previous, up -@section �^�C�v�Z�b�^�N�� -@cindex �^�C�v�Z�b�^�N��[�����ӂ��‚����Ƃ�] -@cindex �^�C�v�Z�b�g�G���[[�����ӂ��‚Ƃ��炠] -@cindex �G���[�C��[���炠���䂤����] - - �^�C�v�Z�b�^���N������ƁA�ҏW�E�B���h�E��2�‚ɕ�������A�Е��̃E�B���h -�E�Ƀ^�C�v�Z�b�g��ʂ��\������܂��B�o�͂���郁�b�Z�[�W�ƘA�����^�C�v�Z�b -�g�o�b�t�@�͎����I�ɃX�N���[�����܂��B�����A�r���ŃG���[���N�����Ď~�܂��� -���܂����ꍇ�ɂ̓^�C�v�Z�b�g�o�b�t�@�Ɉڂ�A(@kbd{C-x o}) �^�C�v�Z�b�^�̏o -���Ă��� ? �v�����v�g�ɑ΂��āA@kbd{x} (�����̒��f)�Ȃǂ̎w���𑗂邱�Ƃ� -�ł��܂��B�G���[���C������ꍇ�́A - -@table @kbd -@item [prefix] ' -@itemx (prefix+�A�|�X�g���t�B) - @dots{} ���O�̃G���[�����s�փW�����v -@end table - -����͂��邱�Ƃɂ��A�^�C�v�Z�b�^���G���[�𔭐������s�Ɉڂ邱�Ƃ��ł��܂��B -�܂��A�^�C�v�Z�b�^�̏o�͂��� overfull hbox �Ȃǂ̃E�H�[�j���O�s�ɂ��Ή��� -�Ă��܂��̂ŁA���� @kbd{[prefix] '} ���������Ƃɂ��A��‘O�̃E�H�[�j���O -�����s�ɃW�����v���Ă����܂��B - - �����A�C�ɂȂ�G���[�s���������ꍇ�́A�^�C�v�Z�b�g�o�b�t�@�ŁA�G -���[�̕\������Ă���s�ɃJ�[�\�������킹�X�y�[�X�L�[�������� La@TeX{} -�\�[�X�̑Ή�����s�ɃW�����v���܂��B - -@subsection �̈�^�C�v�Z�b�g - - �|�C���g�ƃ}�[�N�̊ԁA���邢�̓e�L�X�g���ɖ��ߍ��� @code{%#BEGIN} �� -@code{%#END}�̊Ԃ̗̈�(@ref{%#notation})������؂����ă^�C�v�Z�b�g���邱�Ƃ� -�ł��܂��B���̏ꍇ���C���t�@�C���̃v���A���u�����ꎞ�t�@�C���� -�v���A���u���Ƃ��Ďg���܂��B���������ăv���A���u���ɂȂ��}�N����`�� -�̈���ɂ���ƃG���[�ɂȂ�܂��B�̈�^�C�v�Z�b�g���g���ꍇ�A -�K���}�N����`�̓v���A���u��(@code{\begin{document}}���O)�ɒu���悤 -�ɂ��ĉ������B�ꎞ�t�@�C���̓��C���t�@�C���̂��� -�f�B���N�g����@file{texput.tex}�Ƃ������O�ŏo�͂����̂ŁA -�㏑���ɂ͒��ӂ��Ă��������B - -@subsection{�‹��^�C�v�Z�b�g} - - @kbd{[prefix] te} �������ƁA�|�C���g�ʒu�̍ł������̊‹��A�܂��͐������[ -�h���̏ꍇ�͂��̐������[�h�S�̂������I�ɗ̈�I������āA�̈�^�C�v�Z�b�g�� -�Ăяo���܂��Btabular�‹��␔�����[�h�ŕ��G�Ȃ��̂�����Ă���ꍇ�͊m���߂� -�������������m�F�ł���̂ŕ֗��ł��B����� @file{texput.tex} �ɊY�������� -�����o���܂��B�v�������[�A�� @file{texput.dvi} ���J�����܂܂ɂ��Ă����� -�C���Ɗm�F���f�����ł���ł��傤�B - -@node Calling previewer, Print out, Calling typesetter, Invocation -@comment node-name, next, previous, up -@section �v�������[�A�N�� - @kbd{[prefix] t p} �ɂ��v�������[�A�̋N�����ł��܂��B����ɁA�������� -�����A-remote �@�\�‚���xdvi�𗘗p���Ă���ꍇ�� @kbd{[prefix] t s} ������ -���Ƃɂ��J�[�\���ʒu�̕�������������Ă��̃y�[�W��\������悤�ɂ��łɋN -������xdvi�ɖ��߂𑗂�܂��B����ɂ��A���ݕҏW���̉ӏ��̃^�C�v�Z�b�g���� -�𑦍��Ɍ��邱�Ƃ��ł��܂��B - -@c �Ȃ��A-remote �@�\�t���� xdvi �� -@c @code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote} -@c �Ȃǂ�����肷�邱�Ƃ��ł��܂��B - -@node Print out, , Calling previewer, Invocation -@comment node-name, next, previous, up -@section �v�����g�A�E�g - - @kbd{[prefix] t l}�������ăv�����g�A�E�g���w������ƁA�o�͊J�n/�I���y�[ -�W�𕷂��Ă���̂ŁA���ꂼ��ɓ����܂��B������ȗ����������́A -universal-argument ���‚��A - -@cindex �o�͊J�n�y�[�W[����‚�悭�������ւ���] -@cindex �o�͏I���y�[�W[����‚�悭���䂤��悤�ւ���] - -@table @kbd -@item C-u [prefix] t l - @dots{} �y�[�W�m�F�ȗ�lpr�N�� -@end table -@cindex �y�[�W�m�F�ȗ�lpr�N��[�ւ��������ɂ񂵂悤��₭lpr���Ƃ�] - -@noindent -�̂悤�ɋN�����Ă��������B - -@node %#notation , Completion, Invocation, Top -@comment node-name, next, previous, up -@chapter %#�L�@ - - �{������@code{%#}�ł͂��܂�L�[���[�h�𖄂ߍ��ނ��ƂŃ^�C�v�Z�b�^�N���� -�̐�������邱�Ƃ��ł��܂��B - -@menu -* Changing typesetter:: �^�C�v�Z�b�g�p�R�}���h�̕ύX -* Splitting input files:: ���̓t�@�C������ -* Fix region for typesetting:: �̈�̌Œ� -* lpr format:: �v�����g�A�E�g�R�}���h�p�t�H�[�}�b�g -* Editing %# notation:: %#�L�@�̕ҏW -@end menu - -@node Changing typesetter, Splitting input files, %#notation , %#notation -@comment node-name, next, previous, up -@section �^�C�v�Z�b�g�p�R�}���h�ύX - - �N������R�}���h��ς��������͖{�����Ɏ��̂悤�ȍs�������܂��B - -@cindex �N������R�}���h��ς���[���Ƃ����邱�܂�Ƃ�������] - -@example - %#!jlatex-ntt -@end example - -NTT jTeX �ƁAASCII jTeX ���g�����������悤�ȏꍇ�ɕ֗��ł��傤�B - -@cindex �^�C�v�Z�b�^�̎g������[�����ӂ��‚��̂‚����킯] - -@node Splitting input files, Fix region for typesetting, Changing typesetter, %#notation -@comment node-name, next, previous, up -@section ���̓t�@�C������ - -�܂��A�͖��ɕʃt�@�C���� .tex ���쐬���Ă���ꍇ�ŁA@file{main.tex}���� -@file{sub.tex}�� @code{\include}���Ă���悤�Ȏ��́A@file{sub.tex}�̔C�ӂ� -�ʒu�Ɏ��̂悤�ȍs�𖄂ߍ��݂܂��B - -@example - %#!platex main.tex -@end example - -@cindex ���̓t�@�C������[�ɂ䂤��悭�ӂ�����ӂ񂩂�] - -��̗�̂悤�ɃR�}���h�������łȂ��������������ꍇ�ɂ́A�S�Ă����̂܂� -shell �ɓn���̂Ŏ��̂悤�ɏ����΁Aghostview �Ȃǂ��v�������[�A�Ɏg�����ɕ� -���ł��B - -@cindex ghostview - -@example - %#!platex main ; dvi2ps main.dvi > main -@end example - -�Ȃ��A���̍s�̍Ō�̒P��̃s���I�h�ȑO���u���C���t�@�C���v�̃x�[�X -�l�[���ł���Ɖ��肵�܂�(���2�‚̏ꍇ�ǂ����@file{main})�B -���̍s�ɋL�q�����A@code{%f}�̓��C���t�@�C�����ɁA -@code{%r} �̓��C���t�@�C���̊g���q����菜���������ɒu������܂��B -�������A@code{%f,%r}�𗘗p�����ꍇ�A����^�C�v�Z�b�g���ɕK�����C���t�@�C�� -���̓��͂𑣂���܂��B - - @kbd{[prefix] g} (@ref{Cursor jump}�Q��) �ł� -�t�@�C���ԃW�����v��L���ɋ@�\�����邽�߁A���̓t�@�C���������ɂ͎��̂��Ƃ� -���ӂ��ĉ������B - -@enumerate -@item -�T�u�f�B���N�g��������āA���̒��ɃT�u�t�@�C����u�����Ƃ͂ł��邪 -�T�u�f�B���N�g���̃T�u�f�B���N�g���ɂ͒u���Ȃ��B -@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 -@item -���C���t�@�C�������̃f�B���N�g���ɂ���ꍇ���A�T�u�t�@�C���ɂ� -%#!platex main.tex �̂悤�ɋL�q����(../main�ł͂Ȃ�)�B -@end enumerate - - - -@node Fix region for typesetting, lpr format, Splitting input files, %#notation -@comment node-name, next, previous, up -@section �̈�̌Œ� -@cindex �Œ�̈�̃^�C�v�Z�b�g[���Ă���悤�����̂����ӂ��‚�] -@cindex %#BEGIN -@cindex %#END - - @kbd{[prefix] tr} �̗̈�w��̃^�C�v�Z�b�g�ł́A�Ƃ��Ɏw��̂Ȃ�������A -@kbd{C-SPC}�Ń}�[�N�����ʒu�ƁA�|�C���g(�J�[�\���ʒu)�̊Ԃ�̈�Ƃ݂Ȃ��� -�����A�K�����܂����̈���^�C�v�Z�b�g�������ꍇ�́A���̗̈�� - -@example - %#BEGIN - <�n�������̈�> - %#END -@end example - -@noindent -�̂悤��@code{%#BEGIN}��@code{%#END}�ň͂݁A�J�[�\�����u@code{%#BEGIN}�ȍ~�v -�ɒu���Ă��������B���̎��̗̈挈��K�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B - - -@enumerate -@item -�J�[�\���ʒu���o�b�t�@�̐擪������@code{%#BEGIN}�Ƃ����L�[���[�h�� -����ꍇ - -@enumerate -@item -@code{%#BEGIN}���o�b�t�@�̖���������@code{%#END}�Ƃ����L�[���[�h�����‚��� -���ꍇ�B -@result{}@code{%#BEGIN} ����A���� @code{%#END} �̂���ʒu�܂ŁB -@item -@code{%#END} �����‚���Ȃ������ꍇ�B -@result{}�o�b�t�@�̍Ō���܂ŁB -@end enumerate -@cindex �̈挈��K��[��悤�������‚Ă�������] - -@item -�J�[�\���ʒu���o�b�t�@�̐擪������ @code{%#BEGIN} �Ƃ����L�[���[�h�� -���‚���Ȃ������ꍇ�B -@result{}�}�[�N(@kbd{C-SPC}�ʒu)�ƃ|�C���g(�J�[�\���ʒu)�̊Ԃ̗̈�B -@end enumerate - - tabular �‹������x�����s���낵�Ă���悤�ȏꍇ�́A@code{\begin}�̑O�̍s -�� @code{%#BEGIN} �Ə����A@code{\end} �̎��̍s�� @code{%#END} �Ə����Ă��� -�ƊȒP�ɍ�\���ʂ��e�X�g���邱�Ƃ��ł��܂��B�܂��A���� .tex �t�@�C���̌㔼 -�� @code{%#BEGIN} �������Ă����΁A�O���̕����͖����ł��܂��B����BEGIN��END -�̏����Y��ɂ͏\�������Ӊ������B -@cindex �����t�@�C���̕ҏW[�Ȃ����ӂ�����̂ւ񂵂䂤] - -@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 -@comment node-name, next, previous, up -@section lpr�t�H�[�}�b�g -@cindex lpr�ӂ��[�܂���[lpr�ӂ����܂‚�] -@cindex lpr�t�H�[�}�b�g[lpr�ӂ����܂‚�] -@cindex lpr format - - �܂��A�v�����g�A�E�g�p�R�}���h��̃t�H�[�}�b�g�ɂ‚��Đ������܂��B -�R�}���h��t�H�[�}�b�g�́A3�‚� Lisp �ϐ��ɂ���ĕ\������܂��B�f -�t�H���g�� dvi2ps �p�̃t�H�[�}�b�g���ɐ������܂��B - -@table @code -@item (1)dviprint-command-format -@code{"dvi2ps %f %t %s | lpr"} - -@item (2)dviprint-from-format -@code{"-f %b"} - -@item (3)dviprint-to-format -@code{"-t %e"} -@end table - -���ۂɃv�����g�A�E�g���鎞�́A(1)���� %s ���t�@�C�����ɒu���������A%f �� -(2)�̓��e�A%t ��(3)�̓��e�ɒu���������܂��B���̍ۂ�(2)�̕����񒆂� %b �� -�u�o�͊J�n�y�[�W�v�A(3)�̕����񒆂� %e �́u�o�͏I���y�[�W�v�ɒu��������� -�܂��B�����A�y�[�W���w�肵�Ȃ����ɂ́A%f, %t �����Ƃ���������܂��B - - ���́Adviprint-command-format ��Վ��ɕς��������́ALa@TeX{} �� -�\�[�X�e�L�X�g���̔C�ӂ̏ꏊ�ɁA - -@example - %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 -@end example - -@noindent -�̂悤�ɏ����ĉ������B�v�����g�A�E�g����y�[�W�͈͂����������������Ȃ��悤 -�ɂ��鎞�� - -@example - %#LPR dvi2ps %s | lpr -@end example - -@noindent -�ȂǂƂ���̂��֗���������܂���B - -@node Editing %# notation, , lpr format, %#notation -@comment node-name, next, previous, up -@section %#�L�@���̂̕ҏW -@cindex %#�L�@���̂̕ҏW[%#���ق��������̂ւ񂵂䂤] - -�ȏ�̂悤��@code{%#}�Ŏn�܂�e�퐧��L�@��ҏW���邽�߂ɂ� - -@table @kbd -@item [prefix] % - @dots{} @code{%#}@var{�L�@�ҏW���j���[} -@end table - -@noindent -�������܂��B - -@example - !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR -@end example - -@noindent -�Ƃ������j���[���o�ė���̂ŁA@code{%#!}�ɑ����R�}���h��ύX���������ɂ� -@kbd{!}���A@code{%#LPR}�� lpr �t�H�[�}�b�g��ς���������@kbd{l}���A���炩 -���ߐݒ肵�����W������ @code{%#BEGIN} �` @code{%#END} �Ŋ��肽�����́A -@kbd{b}�������܂��B@kbd{b}��I�񂾎��ɂ́A����܂Ńo�b�t�@���ɒu����Ă��� -@code{%#BEGIN}, @code{%#END} �������I�ɏ�������܂��B -@cindex lpr�t�H�[�}�b�g�̕ύX[lpr�ӂ����܂‚Ƃ̂ւ񂱂�] - -@node Completion, Local dictionary, %#notation , Top -@comment node-name, next, previous, up -@chapter �⊮���� - - La@TeX{} �ł̊‹����Ȃǂ́A�쒹�̕⊮�@�\�𗘗p���Ĕ\���I�ɓ��͂��邱�� -���ł��܂��B - -@menu -* begin�^�⊮:: -* section�^�⊮:: -* large�^�⊮:: -* maketitle�^�⊮:: -* Arbitrary completion:: �����⊮ -* end�⊮:: -* Accent mark completion:: �A�N�Z���g�L���⊮ -* Image completion:: �����L���C���[�W�⊮ -* Greek letter completion:: �M���V�������⊮ -@end menu - -@node begin�^�⊮, section�^�⊮, Completion, Completion -@comment node-name, next, previous, up -@section begin�^�⊮ -@cindex begin�^�⊮[begin�����ق���] -@cindex �‹����̕⊮[���񂫂悤�߂��̂ق���] -@cindex prefix b - - @code{\begin@{env@}...\end@{env@}}�̗l�Ȍ`���̓��͂̕⊮��begin�^�⊮�� -�ĂԂ��Ƃɂ��܂��Bbegin �^�⊮�́A - -@table @kbd -@item [prefix] b - @dots{} begin �^�⊮�J�n(�W���ł� @kbd{C-c b}) -@end table - -@noindent -�Ŏn�܂�܂��B�p�ɂɗp�����鎟�� La@TeX{} �‹��̕⊮�́A[prefix] @kbd{b} -�ɑ�������1��������͂��邾���ŁA@code{\begin@{xxx@}...\end@{xxx@}}������ -�����܂��B - -@table @kbd -@item [prefix] b c - @dots{} @code{\begin@{center@}...\end@{center@}} -@item [prefix] b d - @dots{} @code{\begin@{document@}...\end@{document@}} -@item [prefix] b D - @dots{} @code{\begin@{description@}...\end@{description@}} -@item [prefix] b e - @dots{} @code{\begin@{enumerate@}...\end@{enumerate@}} -@item [prefix] b E - @dots{} @code{\begin@{equation@}...\end@{equation@}} -@item [prefix] b i - @dots{} @code{\begin@{itemize@}...\end@{itemize@}} -@item [prefix] b l - @dots{} @code{\begin@{flushleft@}...\end@{flushleft@}} -@item [prefix] b m - @dots{} @code{\begin@{minipage@}...\end@{minipage@}} -@item [prefix] b t - @dots{} @code{\begin@{tabbing@}...\end@{tabbing@}} -@item [prefix] b T - @dots{} @code{\begin@{tabular@}...\end@{tabular@}} -@item [prefix] b ^T - @dots{} @code{\begin@{table@}...\end@{table@}} -@item [prefix] b p - @dots{} @code{\begin@{picture@}...\end@{picture@}} -@item [prefix] b q - @dots{} @code{\begin@{quote@}...\end@{quote@}} -@item [prefix] b Q - @dots{} @code{\begin@{quotation@}...\end@{quotation@}} -@item [prefix] b r - @dots{} @code{\begin@{flushright@}...\end@{flushright@}} -@item [prefix] b v - @dots{} @code{\begin@{verbatim@}...\end@{verbatim@}} -@item [prefix] b V - @dots{} @code{\begin@{verse@}...\end@{verse@}} -@end table - - ��L�̂��̈ȊO�̊‹����� Emacs �̎��ƒC���N�������^���ȕ⊮�@�\��p���� -���͂��܂�(��L�̊‹������ȉ��̕⊮���͉”\)�B - -@table @kbd -@item [prefix] b @key{SPC} - @dots{} begin �^�⊮���� -@end table - -@kbd{[prefix] b @key{SPC}} �Ɠ��͂���ƁA�ʼn��s�̃~�j�o�b�t�@�� - -@example - Begin environment(default document): -@end example - -@noindent -�ƕ\������܂��B�����ŁA�������ꂸ�Ƀ��^�[���L�[�̂݉����ƁA���ʓ��ɏo�Ă� -��f�t�H���g�̊‹��������͂���܂����A�K���Ȋ‹�������͂���ƁA -@code{\begin@{�‹���@} �c \end@{�‹���@}}���������ɑ}������܂��B�~�j�o�b -�t�@�Ŋ‹�������͂���Ƃ��ɁA�‹����̓���������͂��u�X�y�[�X�v���������ƁA -��v����‹����������e�[�u���ɑ��݂����ꍇ�A�������‹����ɕ⊮�����̂ŁA -���͂̎�Ԃ��Ȃ��܂��B�����e�[�u���ɑ��݂��Ȃ��‹�������͂������̓��[�U�� -�p�̃e�[�u���ɓo�^����A����ɂ��̃e�[�u���������I�ɁA���[�U����(�f�t�H�� -�g�ł� @file{~/.yatexrc})�ɕۑ����܂��B - -����ɁA����̊‹���⊮���͂������ɂ͂��̊‹��ŕK���p������G���g������ -���}�����܂�(��: @code{itemize}�‹��ɂ�����@code{\item}�Ȃ�)�B�}�����ꂽ�G -���g�����s�v�ȏꍇ�ɂ�undo�ɂ���ď������ĉ������B -@cindex ���[�U����[�䂤��������] - -@subsection ���ɏ������e�L�X�g���‹��Ŋ��� - - �Ƃ���ŁA�ŏ��ɏ����Ă��܂����u���b�N���ォ��Aitemize �‹��̒� -�ɕ‚����߂����Ǝv�����Ƃ�����܂����A���̂悤�ȂƂ��́A���炩���� -�‚����߂����i�����}�[�N���āAbegin �^�⊮�̊e�R�}���h�� @kbd{[prefix]} -�̎��́w�������� 'b'�x ���w�啶���x�ɕς��ċN�����ĉ������B(�܂��́A -@kbd{C-u} ���ɑł��Auniversal argument ���‚��Ă��”\�ł�) -@cindex �u���b�N[�ӂ�‚�] -@cindex �‚����߂�[�Ƃ����߂�] - - �Ⴆ�΂���p���O���t�� description �‹��̒��ɓ��ꂽ���Ƃ��́A -���̃p���O���t���}�[�N���Ă���A - -@table @kbd -@item [prefix] B D -@itemx (�܂��� ESC 1 [prefix] b D) -@itemx (�܂��� C-u [prefix] b D �Ȃ�) -@end table - -�ƃ^�C�v���Ă��������B����́A@kbd{[prefix] b SPC}�̕⊮���͂ɂ����Ă͂܂�A -@kbd{b} ��啶���ɕς��āA@kbd{[prefix] B SPC} �ƃ^�C�v����΁A���炩���� -�}�[�N���Ă��������W�������Abegin �� end �̊‹��Ŋ���܂��B - -@node section�^�⊮, large�^�⊮, begin�^�⊮, Completion -@comment node-name, next, previous, up -@section section�^�⊮ -@cindex section�^�⊮[section�����ق���] -@cindex prefix s - - @code{\section@{�ړI@}} �̂悤�Ȍ`���̓��͂̕⊮�� section �^�⊮�ƌĂԂ� -�Ƃɂ��܂��Bsection �^�⊮�́A - -@table @kbd -@item [prefix] s - @dots{} section �^�⊮ -@end table - -@noindent -�Ŏ��s���܂��B@kbd{[prefix] s} ����͂���ƃ~�j�o�b�t�@�ɁA - -@example - (C-v for view-section) \???@{@} (default documentclass): -@end example - -@noindent -�Ƃ����v�����v�g�������̂ŁA������ @samp{section} �̂悤�� La@TeX{} �R�} -���h������͂��܂��B�����ł����^�[���L�[�݂̂Ŋ��ʓ��̃f�t�H���g�l���I���� -���ق��A@samp{chapter}�Ȃǂ̂悤�ȕp�x�̍������̓��͂ɂ̓X�y�[�X�L�[�ɂ� -��⊮�@�\���L���ł��B ���ɁA@{@}�̒��g�̓��͂𑣂��A - -@example - \section@{???@}: -@end example - -@noindent -�Ƃ����v�����v�g�������̂ŁA�Z�N�V�����̃^�C�g���Ȃǂ���͂��܂��B -���Ƃ��΁A - -@example - (C-v for view-section) \???@{@} (default documentclass): section - \section@{???@}: �ړI -@end example - -@noindent -�̂悤�ɓ��͂����ꍇ�́A���͒��� - -@example - \section@{�ړI@} -@end example - -@noindent -���}������A - -@example - (C-v for view-section) \???@{@} (default section): vspace* - \vspace*@{???@}: -@end example - -@noindent -�̂悤��@{@}�̒��g���ȗ������Ƃ��́A - -@example - \vspace*@{@} -@end example - -@noindent -�������}������A���s�͂����J�[�\���͎����I�ɒ����ʂ̓����Ɉړ����܂��B - -@menu -* 2�ˆȏ�̈������Ƃ� section�^�R�}���h:: -* Enclose section-type command:: ����⊮ -* Recursive completion:: �ċA�⊮ -* view-sectioning:: �Z�N�V������؂�̃A�E�g���C���\�� -* label-generation:: ���x���������� -@end menu - -@node 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Enclose section-type command, section�^�⊮, section�^�⊮ -@comment node-name, next, previous, up -@subsection 2�ˆȏ�̈������Ƃ� section�^�R�}���h -@cindex ����[�Ђ�����] - - �Ƃ���Ł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 - -@example - C-u 2 [prefix] s (�܂��́AESC 2 [prefix] s) -@end example - -@noindent -�� section �^�⊮���Ăяo������A - -@example - (Ctrl-v for view-section) \???@{@} (default vspace*): addtolength - \addtolength@{???@}: \topmargin - Argument 2: 8mm -@end example - -@noindent -�̂悤�ɓ��͂��Ă��������B�ŏ��� addtolength �̕����ƁA�������ł��� -\topmargin �̓��͓͂��R�X�y�[�X�ɂ��⊮���͂��”\�ł��B���[�U�����ɓo�^ -����� La@TeX{} �R�}���h�ɂ́A���̈����̐����w�K�����̂ŁA�ŏ��̕⊮�̎� -�����̐����w�肵�ċN�����Ă����΁A�Ȍ�̕⊮���ɂ́A�L�����ꂽ���������� -�𕷂��ė���悤�ɂȂ�܂��B���Ƃň����̌���ς��������́A�Ă� @kbd{C-u} -��p���Ȑ����w�肵�������ƂŁA�����I�Ɏ������̈����̌��̕������X�V���� -���B -@cindex �����̌���ς���[�Ђ������̂�������������] - - -@node Enclose section-type command, Recursive completion, 2�ˆȏ�̈������Ƃ� section�^�R�}���h, section�^�⊮ -@subsection ���ɏ������e�L�X�g������ -@cindex ����[������] - - �܂��A�N���R�}���h��@kbd{s}��啶���ɕς��ċN������ƁA���炩���ߏ� -�������͂� section �^�R�}���h�̑������Ƃ��Ċ���܂��B - -@node Recursive completion, view-sectioning, Enclose section-type command, section�^�⊮ -@comment node-name, next, previous, up -@subsection �ċA�⊮ -@cindex �ċA�⊮[�������ق���] - - ���x�Ȏg�����ɂȂ邩������܂��񂪁Asection�^�⊮�̈����̓��͎��ɂ���� -�⊮���͂𗘗p���邱�Ƃ��ł��܂�(section/large/maketitle�^�Ɍ���)�Bsection -�^�R�}���h�̈����ɍX�� La@TeX{} �R�}���h������ꍇ�ɂ̓~�j�o�b�t�@�Ŗ쒹�� -�⊮�L�[���ċA�I�ɓ��͂��邱�Ƃň����̓��͂������I�ɍs�Ȃ��܂��B - -@node view-sectioning, label-generation, Recursive completion, section�^�⊮ -@comment node-name, next, previous, up -@subsection �Z�N�V������؂�̃A�E�g���C���\�� -@cindex �A�E�g���C��[�����Ƃ炢��] - - �ʏ��section�^�⊮�̎��Ƀ~�j�o�b�t�@��@kbd{C-v}�������ƌ��ݑ��݂���Z�N -�V������؂�R�}���h�S�Ă� @code{*Sectioning Lines*}�Ƃ����o�b�t�@�Ɉꗗ�\ -�����܂�(�u<<--�v�̂‚��Ă���s�������Ƃ��߂��Z�N�V������؂�)�B���̎��~�j -�o�b�t�@��@kbd{C-p}, @kbd{C-n} ��������@samp{part}, @samp{chapter}, ..., -@samp{subparagraph} �̃R�}���h���_���K�w�̍����ɂ��������ď㉺���܂��B�܂��A -@kbd{C-v}, @kbd{M-v} �������ƃZ�N�V������؂�ꗗ�o�b�t�@���X�N���[�����A -������@kbd{0}�`@kbd{7}�������Ƃ��鍂���ȏ�̃Z�N�V������؂肾����I��ŕ\ -�����܂�(���ۂɂ���Č���Ε�����܂�)�B - -@code{*Sectioning Lines*}�o�b�t�@�́A - -@table @kbd -@item M-x YaTeX-section-overview - @dots{} �Z�N�V������؂�ꗗ�o�b�t�@�𐶐� -@end table - -@cindex �Z�N�V������؂�ꗗ�o�b�t�@[��������񂭂��肢�����͂‚ӂ�] -�ō쐬���邱�Ƃ��ł��܂��B���̃o�b�t�@��I�����C�ӂ̍s�ŃX�y�[�X�������ƁA -�Y������Z�N�V������؂�̂���{�����̏ꏊ�ɃW�����v���܂��B����ɁA���o�b -�t�@�� @kbd{u} �������ƁA�\�[�X�e�L�X�g�̑Ή�����Z�N�V�����R�}���h����K -�w�オ��(��: subsection �� section �ɕς��)�A@kbd{d}�������ƈ�K�w������ -�܂��B@code{*Sectioning Lines*}�o�b�t�@�ɂ���Z�N�V������؂�̍s���}�[�N -���Ă�����@kbd{U}�������ƃ��W�������̂��̂ɑΉ�����\�[�X�e�L�X�g�̃Z�N�V�� -���R�}���h���ׂĂ���K�w�オ��A@kbd{D}�������Ɖ�����܂��B�Z�N�V������� -��ꗗ�o�b�t�@�ŗ��p�ł���L�[�R�}���h�ɂ͈ȉ��̂��̂�����܂��B - -@table @kbd -@item SPC - @dots{} �Ή�����\�[�X�s�փW�����v -@item . - @dots{} �Ή�����\�[�X�s��\�� -@item u - @dots{} �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w�グ�� -@item d - @dots{} �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w������ -@item U - @dots{} �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� -@item D - @dots{} �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� -@item 0�`6 - @dots{} ���x�� n �ȉ��̃Z�N�V�����R�}���h���B���ĕ\�� -@end table - -@cindex �_���K�w[���肩������] -@cindex �Z�N�V������؂�[��������񂭂���] -@cindex �W�����v[������] - -@node label-generation, , view-sectioning, section�^�⊮ -@comment node-name, next, previous, up -@subsection ���x���������� -@cindex ���x����������[��ւ邵�Ƃ���������] - - @code{\ref@{@}} �� @code{\cite{@@}} �}�N����section�^�⊮�œ��ꂽ�ꍇ -�Q�Ɛ�ƂȂ蓾����̂�S�ĒT���ă��j���[�ɂ��đI���ł��܂��B�Q�Ɛ�ɂ� -@code{\label@{@}}���‚��Ă����K�v�͂���܂���B��������΁A���̃��x���� -�g���A�Ȃ���΂��̏�ŎQ�Ɛ��@code{\label@{@}}����点�Ă���܂��B -���x�������l����̂͋�ɂɊ�������̂ł��B�S�ẴJ�E���^�Ƀ��x���� -�‚���̂������ւ�ł��B�������x�����ɉ����‚��邩�A���x�����‚��邩�‚��� -�����A�ȂǂƂ������Ƃ͖Y��܂��傤! - -@node large�^�⊮, maketitle�^�⊮, section�^�⊮, Completion -@comment node-name, next, previous, up -@section large�^�⊮ -@cindex large�^�⊮[large�����ق���] -@cindex prefix l - - @code{@{\large @}} �̂悤�Ȍ`���̕⊮�� large �^�⊮�ƌĂԂ��Ƃɂ��܂��B - -@table @kbd -@item [prefix] l - @dots{} large �^�⊮�J�n -@end table - -@noindent -��large�^�⊮�̊J�n�ł��B@kbd{[prefix] l} �������ƁA�~�j�o�b�t�@�� - -@example - @{\??? @} (default large): -@end example - -@noindent -�ƕ\�������̂ŁA��L�̂��̂Ɠ����v�̂ŕ⊮���͂��ĉ������B�⊮���ɗp�� -����Ă���̂́A@samp{footnotesize} �� @samp{huge} �̂悤�ȕ����T�C�Y�w�� -�q�ƁA@samp{bf}��@samp{dg}�̂悤�ȃt�H���g�w��q�ł��B -@cindex �����T�C�Y�w��q[�������������Ă���] -@cindex �t�H���g�w��q[�ӂ���Ƃ��Ă���] - -@subsection ���ɏ��������������� -@cindex ����[������] - - �܂��Abegin�^�⊮�̎��Ɠ��l�A��ɏ����Ă��܂�����A�̕��͂̕����̃T�C�Y -��ς������Ǝv����������܂����A���̂悤�Ȏ��́A�T�C�Y��傫����ς������� -���͈̔͂��}�[�N���Ă���A�Ăяo���L�[�� @kbd{[prefix] L} �ƁA�啶���� L -�ɕς��ČĂяo���΁A���̃��W�����S�̂��A�u���[�X�ň͂܂�܂��B - -@node maketitle�^�⊮, Arbitrary completion, large�^�⊮, Completion -@comment node-name, next, previous, up -@section maketitle�^�⊮ -@cindex maketitle�^�⊮[maketitle�����ق���] -@cindex prefix m - - @code{\maketitle} �̌`���̕⊮�� maketitle �^�⊮�ƌĂԂ��Ƃɂ��܂��B - -@table @kbd -@item [prefix] m - @dots{} maketitle �^�⊮�J�n -@end table - -@noindent -�ŁAmaketitle �^�⊮���J�n���܂��B�⊮�̗v�͍̂��܂ł̂��̂Ƃ܂����������� -���BLa@TeX{} �p�̃R�}���h�����⊮���Ƃ��ėp�ӂ���Ă��܂��B - -@node Arbitrary completion, end�⊮, maketitle�^�⊮, Completion -@comment node-name, next, previous, up -@section �����⊮ -@cindex �����⊮[�������ق���] -@cindex prefix SPC - - ���āA���܂ŏq�ׂ��T�^�I�� La@TeX{} �R�}���h�`���̕⊮���͂�p�����ɁA�� -���͂��悤�Ƃ��Ă��� La@TeX{} �R�}���h�𕶏����̔C�ӂ̈ʒu�Ő����⊮���邱 -�Ƃ��ł��܂��BLa@TeX{} �R�}���h(�擪��\�Ŏn�܂�)����͂��Ă���r���ŁA - -@table @kbd -@item [prefix] SPC - @dots{} �����⊮ -@end table - -@noindent -����͂���΁A�S�Ă̕⊮���̒������v������̂��I�΂�J�[�\���ʒu�ɑ}�� -����܂��B - -@node end�⊮, Accent mark completion, Arbitrary completion, Completion -@comment node-name, next, previous, up -@section end�⊮ -@cindex end�⊮[end�ق���] -@cindex prefix e - - ���݊J�����܂܂̊‹����������I�Ɍ��o���A@code{\end@{�‹���@}}��}������ -���Bbegin �^�⊮��p����Ί‹��̕‚��Y��͂Ȃ��̂ł����A���ɂ͂‚��‚���� -@code{\begin@{�‹���@}} �����Ă��܂��A�߂����v�������邱�Ƃ�����܂��B�� -�̂悤�Ȏ��ɂ͋C�ɂ��������ĕ��͂���͂��A������̂��� - -@table @kbd -@item [prefix] e - @dots{} end �⊮ -@end table - -@noindent -�Ƃ��邱�ƂŁA���݊J���Ă���‹����� \end@{@} ������܂��B - -@node Accent mark completion, Image completion, end�⊮, Completion -@comment node-name, next, previous, up -@section �A�N�Z���g�L���⊮ -@cindex �A�N�Z���g�L���⊮[��������Ƃ������ق���] -@cindex prefix a -@cindex ����[�����ӂ�] - - �����̃A�N�Z���g�L��(@code{\`@{o@}}�Ȃ�)����͂��鎞�́A - -@table @kbd -@item [prefix] a - @dots{} �A�N�Z���g�L������ -@end table - -@noindent -�������ƁA�~�j�o�b�t�@�� - -@example - 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b -@end example - -@noindent -�Ƃ������j���[���o�ė���̂ŁA�����A�܂��͑Ή�����L��/�p������� -���ĉ������B����ƕҏW�o�b�t�@�ɁA - -@example - \`@{@} -@end example - -@noindent -��������A�J�[�\����@{@}���Ɉʒu����̂ŁA����Ɉꕶ�����͂��鎖�ŁA - -@example - \`@{o@} -@end example - -@noindent -����������A�J�[�\����@{@}�̊O�ɖ߂�܂��B - -@node Image completion, Greek letter completion, Accent mark completion, Completion -@comment node-name, next, previous, up -@section �����L���C���[�W�⊮ -@cindex �����L���C���[�W�⊮[�����������������߂����ق���] -@cindex �C���[�W�⊮[���߂����ق���] -@cindex ; -@cindex �������[�h[��������������] -@cindex ���[�₵�邵] -@cindex ��[������] -@cindex leftarrow -@cindex ��[�ނ��񂽂�] - - ��ɐ������[�h�Ŏg�p�����A���⃰�Ȃǂ̋L�����[���I�ɕ\������L�[���� -�ŁALa@TeX{} �R�}���h����͂ł��܂��B����͖쒹���g�́u�������[�h�v�ł̂� -���삵�܂��B�쒹�̓J�[�\����@TeX{}�̐����‹��̒��ɂ��鎞��@kbd{;}��A -@kbd{:}�ɓ���ȋ@�\���������܂��B - - ���āA�Ⴆ�΁A��(leftarrow)��ASCII���������ŕ\������ꍇ�A��ʓI�ɂ́u<-�v -�̂悤�ɂ��܂����A����𗘗p���āA�����L���C���[�W���̓��[�h�� -@code{\leftarrow}����͂���ɂ́A@kbd{;}(�Z�~�R����)��ł��Ă���@kbd{<-}�� -���͂��܂��B���l�ɁA�������-(long-leftarrow) ��ASCII���������ŕ\������ -�ꍇ�u<--�v�Ƃ���̂ŁA@code{\longleftarrow}����͂��邽�߂ɂ́A@kbd{;<--} -�Ɠ��͂��܂��B���邢�͖�����L����ASCII���������ŕ\�����鎞�́uoo�v�̂悤 -�ɂ��邱�Ƃ���A@code{\infty} ����͂��鎞�́A@kbd{;oo}�ƃL�[���͂��܂��B - - �����̑�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B - -@example -INPUT ���͂���� La@TeX{} �R�}���h -; < - @code{\leftarrow} -; < - - @code{\longleftarrow} -; < - - > @code{\longleftrightarrow} -; o @code{\circ} -; o o @code{\infty} -@end example - - -@noindent - ������̏ꍇ���A�C���[�W���͂��s���Ă���r���Ŗ]�݂̂��̂��o�b�t�@ -�ɕ\�����ꂽ�Ȃ�A�����ŃC���[�W���͂��~�߂Ď��̕ҏW����Ɉڂ��Ă� -�\���܂���B - -@cindex ;���g[;������] - �����‹�����@samp{;}���g����͂���ɂ�@kbd{;;}�̂悤�ɂ��܂��B�C���[�W -���͂̓r����TAB�������ƁA����܂œ��͂��������Ŏn�܂���̈ꗗ���\������� -���B�����ŖړI�� La@TeX{} �R�}���h�܂ŃJ�[�\�����ړ����ēxTAB���������Ƃ� -���� La@TeX{} �R�}���h���o�b�t�@�ɑ}������܂��B - - �ǂ̃L�[���͂ɂǂ̋L�����Ή����Ă��邩�S�Ēm�肽�����́A@kbd{;}�������� -�����TAB�������Ă��������B�ȉ��̗�́A@kbd{;<}�Ɖ��������TAB������������ -�ł��B - -@example -KEY LaTeX sequence sign -< \leq �� -<< \ll �s -<- \leftarrow �� -<= \Leftarrow <= -@end example - -������[���̓L�[]�A[�Ή����� La@TeX{} �R�}���h]�A[(�[��)�L���}��]�A�� -�������Ń��j���[���o�ė���̂ŁA�悭�g�����̂��o���Ă����Ɨǂ��ł��� -���B���̂ɂ���Ă�ASCII�����ŕ\�����邱�Ƃ�����Ȃ̂ŁA���܂�o�� -�₷���L�[���тł͂Ȃ����̂�����ł��傤����A���̂悤�ȏꍇ�� -\maketitle �^�⊮�œ��͂��邩�A�ȉ��ɏq�ׂ�Ή��\�̐ݒ���s���ĒP -���ȃL�[���т̂��̂�ݒ肷��Ɨǂ��ł��傤�B - - ���̓L�[�� La@TeX{} �R�}���h�A�L���̑Ή��\���l�I�ɐݒ肵�����ꍇ�� -Emacs-Lisp �ϐ� @code{YaTeX-math-sign-alist-private} �ɒ�`���Ă��������B -���̓��e�ƃf�t�H���g�̂��̂����킹�����̂��Ή��\�Ƃ��Ďg�p����܂�(private -�̕����D�悳���)�B�Ȃ��A���̕ϐ��̍\���ɂ‚��Ă� @file{yatexmth.el} ���Q -�Ƃ��Ă��������B -@cindex YaTeX-math-sign-alist-private - -@node Greek letter completion, , Image completion, Completion -@comment node-name, next, previous, up -@section �M���V�������⊮ -@cindex �M���V�������⊮[���肵������ق���] -@cindex : - - ������A�����‹�����@kbd{:}�������ƃM���V���������̓��[�h�ɓ���܂��B -@kbd{:}�������������@kbd{a}��������@code{\alpha}���A@kbd{g} �������� -@code{\gamma}���A�ȂǃA���t�@�x�b�g�ɑΉ������M���V���������}������܂��B -������@��;�̐����L���⊮�Ƃ܂����������ł��B�܂���@kbd{:}�̒���� -TAB�������Ăǂ̃A���t�@�x�b�g�ɂǂ̃M���V���������Ή����Ă��邩���ׂĂ݂� -���������B - - @kbd{;}��@kbd{:}�𐔎��‹����ʼn����Ă���ɂ�������炸�A�C���[�W�⊮���� -���Ȃ��ꍇ�́A@kbd{C-u ;}�̂悤�� universal-argument ���‚��ăL�[�������� -�Ƃɂ��A�����I�ɃC���[�W�⊮�ɓ��邱�Ƃ��ł��܂��B�܂��A���̎��ɂǂ̂悤 -�ȏ�ԂŐ����‹�������Ɏ��s�����������A���������B - -@node Local dictionary, Commenting out, Completion, Top -@comment node-name, next, previous, up -@chapter ���[�J������ -@cindex ���[�J������[�남���邵����] -@cindex .yatexrc - - �⊮���͗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)serDic L)ocalDic N)one D)iscard -@end example - -@noindent -�Ƃ����v�����v�g�ɑ΂��A@kbd{u}�Ɠ�����Ɓu���[�U�����v���A@kbd{l}�Ɠ����� -�ƃ��[�J���������X�V���A@kbd{n}�Ɠ�����Ǝ����t�@�C���͍X�V�������݂�Emacs -�Z�b�V�����̂ݗL���ȒP��Ƃ��A@kbd{d}�Ɠ�����ƐV���ȒP����w�K�����Ɏ̂� -�邱�ƂɂȂ�܂��B - - �����A���[�J�������̋@�\�͂��炸�A�S�ă��[�U�����̍X�V�݂̂ł悢�ƌ����� -���ɂ�@file{~/.emacs}�ȂǂŁA -@cindex YaTeX-nervous - -@lisp - (setq YaTeX-nervous nil) -@end lisp - -@noindent -�Ƃ��ĉ������B - -@node Commenting out, Cursor jump, Local dictionary, Top -@comment node-name, next, previous, up -@chapter �R�����g�A�E�g -@cindex �R�����g�A�E�g[���߂�Ƃ�����] -@cindex prefix < -@cindex prefix > -@cindex prefix . -@cindex prefix , - - - La@TeX{}�̕ҏW�ɂ͎��s���낪�‚����̂ł��B���镔�����ꊇ�ŃR�����g�A�E�g -������A�R�����g���O�����肵�������Ƃ�����܂��B - -@table @kbd -@item [prefix] > - @dots{} ���W������ % �ŃR�����g�A�E�g -@item [prefix] < - @dots{} ���W������ % �̃R�����g���O�� -@end table - -@noindent -�́A���炩���ߐݒ肵�����W�����ɑ΂��Ă̑���A - -@table @kbd -@item [prefix] . - @dots{} ���݂̃p���O���t���R�����g�A�E�g -@item [prefix] , - @dots{} ���݂̃p���O���t�̃R�����g���O�� -@end table - -@noindent -�́A�J�[�\���̈ʒu����p���O���t�S�̂ɑ΂��Ă̑���ł��B�Ȃ��A�����ł��� -�u�p���O���t�v�� (@code{mark-paragraph}) �֐��ɂ��}�[�N�����͈͂��w�� -�܂�(�W���ݒ��@kbd{ESC h}�Ƀo�C���h����Ă���)�B�Ȃ��A����@code{%}�ŃR�� -���g�A�E�g����Ă���p���O���t�ɑ΂��ČJ��Ԃ��p���O���t�̃R�����g���g�p�� -���ꍇ�̓���͕ۏ؂��܂���̂Ō䒍�ӂ��������B - - ���āA���͂ɑ΂��Ă����łȂ��A���ɂ�@code{\begin}, @code{\end} ���̂ɑ� -���Ă��R�����g�A�E�g�̑�����������Ƃ�������܂��B���̂悤�ȂƂ��́A -@code{\begin@{@}} ���邢�� @code{\end@{@}} �̍s�ɃJ�[�\�������킹�A - -@table @kbd -@item [prefix] > - @dots{} @code{\begin@{@}}�`@code{\end@{@}} �S�ăR�����g�A�E�g -@item [prefix] < - @dots{} @code{\begin@{@}}�`@code{\end@{@}} �S�ăR�����g���O�� -@end table - -@noindent -�Ƃ��邱�ƂŁA@code{\begin�`\end}�ň͂܂��‹��S�Ăɑ΂��ăR�����g���삵�A - -@table @kbd -@item [prefix] . - @dots{} @code{\begin@{@}} �� @code{\end@{@}} ���R�����g�A�E�g -@item [prefix] , - @dots{} @code{\begin@{@}} �� @code{\end@{@}} �̃R�����g���O�� -@end table - -�́A�Ή����� @code{\begin} �� @code{\end} 2�s�������A�R�����g����̑Ώۂ� -���܂��B���W�������R�����g�A�E�g���悤�Ƃ��āA�}�[�N��ݒ肵���̂��ɃJ�[�\ -�����ړ���@kbd{[preifx] >} �������Ă��J�[�\���� @code{\begin@{@}} �̏�ɂ� -���@code{\begin@{@}}�`@code{\end@{@}}���[�h�ŃR�����g�@�\�������Ă��܂��� -�Œ��ӂ��ĉ������B - -@node Cursor jump, Modifying/Deleting, Commenting out, Top -@comment node-name, next, previous, up -@chapter �J�[�\���W�����v -@cindex �J�[�\���W�����v[�������邵����] -@cindex prefix g - - -@menu -* �Ή��I�u�W�F�N�g�ւ̃W�����v:: -* ���G�`���c�[���N��:: -* ���C���t�@�C���ւ̃W�����v:: -* �‹���P�ʂƂ����W�����v:: -* �Ō�̕⊮�ʒu�ւ̃W�����v:: -@end menu - -@node �Ή��I�u�W�F�N�g�ւ̃W�����v, ���G�`���c�[���N��, Cursor jump, Cursor jump -@comment node-name, next, previous, up -@section �Ή��I�u�W�F�N�g�ւ̃W�����v - - �������̂��낢��ȏꏊ�� - -@table @kbd -@item [prefix] g - @dots{} �Ή�����I�u�W�F�N�g�ɃW�����v -@end table - -@noindent -���������Ƃɂ��A�J�[�\���ʒu��La@TeX{}�R�}���h�ɑΉ�����ꏊ�ɃW�����v -���܂��B�Ή��֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B - -@itemize @bullet -@item @code{\begin@{@}} ���� @code{\end@{@}} -@item @code{%#BEGIN} ���� @code{%#END} -@item �摜�t�@�C���̎�荞�݃}�N�� �� �Ή�����viewer/���G�����c�[���N�� -@item @code{\label@{@}} ���� @code{\ref@{@}} -@item @code{\include(\input)} �� �Ή�����t�@�C�� -@item @code{\bibitem@{@}} ���� @code{\cite@{@}} -@end itemize - - @code{\begin@{@}} �� @code{\end@{@}} �̍s��@kbd{[prefix] g}���������Ƃ� -���A�Ή�����@code{end/begin}�̍s�ɃW�����v���܂��B�������Ή�������̂� -�Ȃ��ꍇ�̓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 -@kbd{[prefix] g} �������ƁA@file{chap1.tex} �ɃW�����v���܂��B - -�܂��A - -@table @kbd -@item [prefix] 4 g - @dots{} �ʃE�B���h�E�őΉ��I�u�W�F�N�g�ɃW�����v -@end table - -@noindent -�������ƁA�Ή�����I�u�W�F�N�g�ւ̃W�����v��ʃE�B���h�E�ōs���܂��B�������A -���̋@�\�� @code{begin/end}, @code{%#BEGIN/%#END} �Ԃ̃W�����v�ɑ΂��Ă� -(�Ӗ����Ȃ��Ǝv����̂�)�@�\���Ȃ��̂Œ��ӂ��Ă��������B - -@node ���G�`���c�[���N��, ���C���t�@�C���ւ̃W�����v, �Ή��I�u�W�F�N�g�ւ̃W�����v, Cursor jump -@comment node-name, next, previous, up -@section ���G�`���c�[���N�� -@cindex ���G�`���c�[���N��[���������‚��邫�Ƃ�] - -��L�́u�摜�t�@�C���̎�荞�݃}�N���v�Ƃ́A�Ⴆ�� -@code{\epsfile@{file=foo@}} �̂悤�ȑ}�G��荞�݃R�}���h�̂��ƂŁA���̍s�� -�J�[�\�������킹��@kbd{[prefix] g}�������Ƃ��̉摜�t�@�C���̌��ƂȂ����t�@ -�C����Ή����邨�G�`���c�[�����N�����ăI�[�v�����܂��B�N������c�[���̔��� -�͈ȉ��̂悤�ɂȂ���܂��B - -@enumerate -@item -�J�����g�s���ϐ� @code{YaTeX-processed-file-regexp-alist} �ɒ�`�� -��Ă��鐳�K�\���̂����ꂩ�ƃ}�b�`������A�t�@�C�����ɑ������镔���� -\\(\\)���甲���o���Ċo���Ă���(���Ԗڂ�\\(\\)���͕ϐ��̊e���X�g�� cdr ���� -����Ă���)�B�}�b�`���Ȃ���Ή������Ȃ��B -@item -�s���ɁA�ϐ� @code{YaTeX-file-processor-alist} �ɓo�^����Ă���R�}���h�� -�u%�R�}���h�v �̂悤�ɏ����Ă���΋����I�Ɂu�R�}���h �t�@�C����.�g���q�v�� -�N���B -@item -�Ȃ���΁A�ϐ� @code{YaTeX-file-processor-alist} �̊e���X�g��cdr���ɓ����� -����g���q���u�t�@�C�����v�̌��ɑ������t�@�C�������݂��邩�������ׂāA�� -�݂����ꍇcar���ɓ����Ă���R�}���h���N������B -@item -�ȏ�ǂꂩ�Ƀ}�b�`���Ȃ���΂�����߂�B -@end enumerate - - -�ϐ� @code{YaTeX-file-processor-alist} �ƕϐ� -@code{YaTeX-file-processor-alist} �̐ݒ���@�ɂ‚��Ă͂��ꂼ��̕ϐ��ɂ‚� -�� describe-variable ���Đ�����ǂ�ʼn������B���܂��ݒ肷��ƁA�摜�t�@�C -���ɂ����炸�A�C�ӂ̌`���̃t�@�C����C�ӂ̃v���Z�b�T�ŏ�������R�}���h���� -�P�ɌĂяo�����Ƃ��ł��܂��B - -@node ���C���t�@�C���ւ̃W�����v, �‹���P�ʂƂ����W�����v, ���G�`���c�[���N��, Cursor jump -@comment node-name, next, previous, up -@section ���C���t�@�C���ւ̃W�����v - -@file{chap1.tex}�̂悤�ȃT�u�t�@�C���ŁA - -@table @kbd -@item [prefix] ^ - @dots{} ���C���t�@�C���ɃW�����v -@item [prefix] 4 ^ - @dots{} �ʃE�B���h�E�Ń��C���t�@�C���ɃW�����v -@end table - -@noindent -�������ƁA���C���t�@�C���̕ҏW�o�b�t�@�ɐؑւ��܂��B�����A���C���t�@�C���� -�I�[�v�����Ă��Ȃ��ꍇ�́A�J�����g�f�B���N�g������T���Ď����I�ɃI�[�v���� -�܂��B - -@node �‹���P�ʂƂ����W�����v, �Ō�̕⊮�ʒu�ւ̃W�����v, ���C���t�@�C���ւ̃W�����v, Cursor jump -@comment node-name, next, previous, up -@section �‹���P�ʂƂ����W�����v - -����Ɍ��݂̊‹���P�ʂƂ��ċ@�\����R�}���h�Ɉȉ��̂��̂�����܂��B - -@cindex �‹��̐擪��[���񂫂悤�̂���Ƃ���] -@cindex �‹��̖�����[���񂫂悤�̂܂‚Ђ�] -@cindex �‹����}�[�N[���񂫂悤���܂���] -@cindex M-C-a -@cindex M-C-e -@cindex M-C-@@ -@table @kbd -@item M-C-a - @dots{} �‹��̐擪(@code{\begin})�փW�����v -@item M-C-e - @dots{} �‹��̖���(@code{\end})�փW�����v -@item M-C-@@ - @dots{} �‹��S�̂��}�[�N -@end table - -��L�̃R�}���h�͒ʏ��@kbd{[prefix]}�L�[�ł͂Ȃ�@kbd{META}�L�[���v���t�B�N -�X�Ƃ��ċ@�\����̂ł����Ӊ������B - -@node �Ō�̕⊮�ʒu�ւ̃W�����v, , �‹���P�ʂƂ����W�����v, Cursor jump -@comment node-name, next, previous, up -@section �Ō�̕⊮�ʒu�ւ̃W�����v - -�쒹�͕⊮���͂����ʒu����Ƀ��W�X�^ @code{3}�ɕۑ����Ă��܂��B -���͓r���Ŕ@���Ȃ�t�@�C���̔@���Ȃ�ʒu�ɍs�����Ƃ��Ă��A -@kbd{C-x j 3}(@code{jump-to-register})���g���Ē����ɍŌ�̕⊮���͈ʒu�ɖ� -�邱�Ƃ��ł��܂��B - -@node Modifying/Deleting, Filling, Cursor jump, Top -@comment node-name, next, previous, up -@chapter �ύX/�폜 -@cindex �ύX/�폜[�ւ񂱂�/��������] -@cindex prefix c -@cindex prefix k - - ���ɓ��͂���Ă��� La@TeX{} �R�}���h�̕ύX/�폜�̂��߂Ɉȉ��̋@�\���p�� -����Ă��܂��B - -@table @kbd -@item [prefix] c - @dots{} �J�[�\���ʒu�� La@TeX{} �R�}���h�̕ύX -@item [prefix] k - @dots{} �J�[�\���ʒu�� La@TeX{} �R�}���h�̍폜 -@end table - -@noindent -�����̃R�}���h�́A�R�}���h���N������ꏊ�ɂ���ē�������肷��̂Œ��ӂ� -�ĉ������B - -@menu -* Changing LaTeX command:: La@TeX{} �R�}���h�̕ύX -* Killing LaTeX command:: La@TeX{} �R�}���h�̍폜 -@end menu - -@node Changing LaTeX command, Killing LaTeX command, Modifying/Deleting, Modifying/Deleting -@comment node-name, next, previous, up -@section La@TeX{} �R�}���h�̕ύX - -�ύX������ La@TeX{} �R�}���h�ɃJ�[�\�������킹�� @kbd{[prefix] c} -�������Ƃ��̃R�}���h��⊮���͂Ȃǂ�p���Ď�y�ɕς��邱�Ƃ��ł��܂��B -@kbd{[prefix] c} �ŕύX�ł���R�}���h�ɂ͈ȉ��̂��̂�����܂��B - -@itemize -@item @code{begin/end} �̊‹��� -@item section�^�R�}���h�̃R�}���h�� -@item section�^�R�}���h�̈��� -@item section�^�R�}���h�̃I�v�V�����p�����[�^([]�ň͂܂ꂽ����) -@item large�^�R�}���h -@item (�C���[�W�⊮�œ��͉”\��)�������[�h��p��maketitle�^�R�}���h -@end itemize - - �ς�����section�^�R�}���h�̈���������� La@TeX{} �R�}���h���܂ޏꍇ�́A -���̈������͂ޒ����ʂ̏�� @kbd{[prefix] c} ���������ƂŒ��̃R�}���h��ύX -�Ώ۔��肩�珜�O���邱�Ƃ��ł��܂��B - -@cindex �‹����̕ύX[���񂫂悤�߂��̂ւ񂱂�] - -@node Killing LaTeX command, , Changing LaTeX command, Modifying/Deleting -@comment node-name, next, previous, up -@section La@TeX{} �R�}���h�̍폜 - -@kbd{[prefix] k} �͋N������ʒu�ɂ�� -���̂悤�ȓ�����s���܂��B -@cindex �‹��̍폜[���񂫂悤�̂�������] - - -@example -�N���ʒu ���� -\begin, \end�̍s @code{\begin\end}�y�A�̍폜 -%#BEGIN, %#END �̍s %#BEGIN,%#END�y�A�̍폜 -section�^�R�}���h�̏�(��) section�^�R�}���h�̍폜 -�t�H���g�w�芇�ʂ̏� �t�H���g�w��̍폜 -���ʂ̏� �΂��Ȃ����ʂ̍폜 -@end example - -@noindent -@code{\begin, \end} ����� @code{%#BEGIN, %#END} ���폜����ꍇ�A -@code{\begin, \end} �� @code{%#BEGIN, %#END} �̑��݂���s�� -�܂邲�ƍ폜�����̂ŁA�����̈�s�� @code{\begin} �Ȃǂ��ˆȏ�A�˂� -�����Ȃ��悤�ɒ��ӂ��Ă��������B -��L�̂��̂͂��ׂĖ{�����͂��u�e��v���폜����悤�ɓ����܂����A -universal-argument (@kbd{C-u}) ��ł������@kbd{[prefix] k}���^�C�v����ƁA -���ꂼ��́u�e��v�Ɋ܂܂��u���g�v����C�ɍ폜���܂��B�ȉ��̗���Q�l�ɂ� -�ĉ������B - -@example - ���̃e�L�X�g: [prefix] k C-u [prefix] k - �{��\footnote@{�r��@}�ł��B �{���r���ł��B �{���ł��B - ��(�J�[�\���ʒu) -@end example - -@node Filling, Includeonly, Modifying/Deleting, Top -@comment node-name, next, previous, up -@chapter ������ -@cindex ������[�������낦] - -@section item�̌����� -@cindex item�Ȃǂ̌�����[item�ȂƂ̂������낦] -@cindex prefix i - - itemize �‹����ɂ���@code{\item}�̍���(����)�������s�ɓn��ꍇ�ɁA�� -�ڂ̐擪���������������ꍇ�ɂ́A - -@c @table @kbd -@c @item [prefix] i -@c @dots{} item�̌����� -@c @end table - -@table @kbd -@item M-q - @dots{} ������ -@end table - -@cindex NTT-jTeX[���ʂĂ����Ă����������Â�] -@noindent -�ɂ���āA���� item �̃C���f���g�̐[���ɉ����� fill ����܂��B�Ȃ��A�Â� -NTT jTeX ���g�p���Ă���ꍇ�ɂ́ALisp �ϐ�@code{NTT-jTeX}��@code{t}�ɃZ�b -�g���ĉ������B - -@cindex YaTeX-item-regexp - ���̂Ƃ��A�ϐ�@code{YaTeX-item-regexp}�̒l(�W���ł� @code{"\\\\item"})�� -���ڎw��R�}���h�̐��K�\���Ƃ��Č����Ɏg�p���܂��Bitemize �‹��ŁA�Ǝ��̃R -�}���h���`���č��ڂ�񋓂��Ă���ꍇ(�Ⴆ��@code{\underlineitem})�́A -@file{~/.emacs} �Ŏ��̂悤�Ɏw�肵�ĉ������B - -@lisp - (setq YaTeX-item-regexp - "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") -@end lisp - -@noindent -���̕ϐ��̎w��̎d�����悭������Ȃ��ꍇ�́A�Ǝ��̍��ڗ񋓃R�}���h�̖��O�� -@code{@code{"\item"}�Ŏn�܂���̂ɂ��ĉ�����(�Ⴆ��"\itembf"})�B - -�쒹�� @kbd{M-q} �ł� @code{\item} ���‹��ɉ����Ĉȉ��̂悤�Ɂu�n���O�C�� -�f���g�v���܂��B - -@example -itemize, enumerate�‹�: - >\item[�ق��ق�] �p��ł́A���ɈӖ��̂Ȃ��P��� `foo' �ł���킵�� - > �����A����̓��{��łƂ�������P�ꂪ�u�ق��ق��v - > �ł��B -description�‹�: - > \item[�ւ�ւ�] �u�ق��ق��v���ł���߂��P��Ƃ��Ďg�������ɁA�� - > 2�̂ł���߂ȒP��Ƃ��āu�ւ�ւ�v���g���邱�Ƃ��� - > ���悤�ł��B -@end example - -@section �p���O���t�̌����� -@cindex �p���O���t�̌�����[�͂炭��ӂ̂������낦] -@cindex M-q - - itemize�‹��ȊO�ł̃p���O���t�̌�����(fill)�́A��{�I�ɑ��̃��[�h�Ɠ��� -�悤�ɋ@�\���܂����Averbatim�‹���Atabular�‹��Ȃnj�����������ƔߎS�ȏ� -���ɂȂ�悤�Ȋ‹����ł͋@�\���܂���B�܂��A\verb �Ŋ����Ă�����̂͌����� -�s��������܂���(�ϐ� @code{YaTeX-verb-regexp} �Ő���) )�B����ɁA�ꎞ�I�� -�C���f���g�̐[����ς��Ă���ӏ��ł́A���̃C���f���g�̐擪��@kbd{M-q}���� -�����Ƃɂ�� fill-prefix �����������ύX���Ȃ��Č��������ł��܂��B - - -@node Includeonly, What column, Filling, Top -@comment node-name, next, previous, up -@chapter �����includeonly -@cindex �����includeonly[���‚Ă�includeonly] -@cindex includeonly - - �t�@�C���𕪊����ĕ��͂���͂��Ă��鎞�ɂ́A���C���t�@�C������ - -@example - \includeonly@{���ݕҏW���̃t�@�C����@} -@end example - -@noindent -�̂悤�ɏ����Ă������ƂŁA�^�C�v�Z�b�g�̎��Ԃ�ߖ�ł��܂����A������Ƒ��� -�t�@�C�����蒼�����������ɂ� -@cindex ���̃t�@�C���̎蒼��[�ق��̂ӂ�����̂ĂȂ���] - -@example - \includeonly@{������Ǝ蒼���������t�@�C����@} -@end example - -@noindent -�Ə��������Ȃ���΂Ȃ炸��Ԃ�������܂��B�쒹�ł͌��ݕҏW���Ă���t�@�C�� -�������C���t�@�C����@code{\includeonly}�ɂȂ��ꍇ�ɂ͎����I�ɂ�������o���A -���̎w�����‚��܂��B - -@example - A)dd R)eplace %)comment? -@end example - -@noindent -���ݕҏW���̃t�@�C���� @code{\includeonly} �̃��X�g�ɉ����������ɂ�@kbd{a} -���A���ݕҏW���̃t�@�C�������� @code{\includeonly} �ɂ���������@kbd{r}���A -@code{\includeonly} �̍s���R�����g�A�E�g���Ė��������������ɂ́A@kbd{%}�� -���ꂼ�ꉟ���ĉ������B - -@node What column, Intelligent newline, Includeonly, Top -@comment node-name, next, previous, up -@chapter �����͂ǂ�? -@cindex �����͂ǂ�?[�����͂Ƃ�?] -@cindex prefix & -@cindex ���G��tabular[�ӂ����‚�tabular] - - ���ڐ��̑��� tabular �Ȃǂ��������񏑂��Ă���Ɖ��̕��̍s�ŁA���܏����� -���錅���ǂ��ɑΉ�����̂��킩��Ȃ��Ȃ��Ă��܂����Ƃ�����܂��B�Ⴆ�΁A�� -���̂悤�� tabular �ɂ����āA - -@example - \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 \\ - ���g���m & 2 & \multicolumn@{2@}@{c|@}@{�����Ȃ�@} - &&&(???) - \\ \hline - \end@{tabular@} -@end example - -@noindent -(???)�̕������ǂ̍��ڂȂ̂������ɔ��f����͓̂���ł��傤�B����Ȏ��́A - -@table @kbd -@item [prefix] & - @dots{} ���݂̃J�����\�� -@end table -@cindex ���݂̃J�����\��[���񂳂��̂���ނЂ悤��] - -�������ƃJ�[�\���ʒu�̃J�������ǂ̍��ڂɊY�����邩���~�j�o�b�t�@�ɕ\������ -���Btabular/array�‹��̑�1�s�ڂ����ږ��̕��тƂ݂Ȃ��đΉ�������̂�T���� -���B�������ږ��Ƃ��ĕʂ̂��̂�\�����ė~�����ꍇ�́A�s����@code{%}�ɂ��ă_ -�~�[�̍��ڕ��т�����Ă����Ɨǂ��ł��傤�B - -@node Intelligent newline, Usepackage cheker, What column, Top -@comment node-name, next, previous, up -@chapter ���܂������s -@cindex ���܂������s[���܂����������悤] -@cindex &����[&�ɂ䂤��悭] - - tabular[*], array, itemize, enumerate, tabbing �‹���begin�^�⊮�œ��͂� -�����A�܂��͊e�‹����� - -@table @kbd -@item ESC RET - @dots{} ���܂������s -@end table - -@noindent -�������ƁA���̊‹��ɉ������s�G���g�������̍s�ɑ}�����܂�(begin�^�⊮���Ɏ� -���}�����ꂽ�G���g�����s�v�ȏꍇ�� undo �ɂ���ď����ł��܂�)�B�Ⴆ�΁A -tabular�‹��ł́A���̊‹��̃J�������ɑΉ��������� @code{&} �ɉ����A�s�� -�� @code{\\} �����܂��B���̎�����ȑO�� @code{\hline} ������΂�����t�� -�����܂��B�‹��Ƃ���ɉ����Ď������͂�����̂̑Ή��͈ȉ��̂悤�ɂȂ�܂��B - -@itemize -@item @code{tabular}, @code{tabular*}, @code{array} - - �J������-1 ������ @code{&} �� @code{\\}�B�K�v�ɉ����� @code{\hline} - -@item @code{tabbing} - - ��s�ڂŒ�`���Ă��� @code{\=} �Ɠ������� @code{\>}�B - -@item @code{itemize}, @code{enumerate}, @code{description}, @code{list} - - @code{\item} �܂��� @code{item[]} -@end itemize - - tabular �‹��̗�̂悤�ɁA�{�@�\�͊e�‹��̈�s�ڂ̓��e���Q�l�ɂ��ē��삷 -��̂ŁA�Ȃ�ׂ���s�ڈȍ~�ŌĂяo���悤�ɂ��Ă��������B - - �����A���̑��̊‹��A�Ⴆ�� @code{foo}�A�ɑ΂���@code{���܂������s}�𓮍� -�����������́A@code{YaTeX-intelligent-newline-foo} �Ƃ������O�̊֐����` -���܂��B��`�����֐��́A���݂̍s�ɉ��s��}����������̍s���̈ʒu�ŌĂ΂�� -���B�֐� @code{YaTeX-indent-line} ���ĂԂƌ��݂̊‹��̃l�X�g�ɉ������[���� -�C���f���g�����̂ŁA������Ă�ł��牽����}������悤�ȃR�[�h�������Ƃ� -���ł��傤�B@file{yatexenv.el}���̊֐� -@code{YaTeX-intelligent-newline-itemize} �̒�`�Ȃǂ��Q�l�ɂ��Ă��������B - - -@node Usepackage cheker, Changing mode of YaTeX, Intelligent newline, Top -@comment node-name, next, previous, up -@chapter ����usepackage -@cindex ����usepackage[�����܂��] - - begin�^�Asection�^�Amaketitle�^�A�����ꂩ��LaTeX2e�}�N����⊮���͂���ƁA -���̃}�N���̗��p�ɊO���p�b�P�[�W��K�v�Ƃ���ꍇ�A���̃p�b�P�[�W�� -�{������ @code{\usepackage@{@}} ���Ă��邩�ǂ����𒲍����A�������Ă��Ȃ���� -�v���A���u���ɑΉ�����p�b�P�[�W�������ɂ��� @code{\usepackage} ���� -(�m�F���)�}�����܂��B - - ���������̋@�\���������߂ɂ́A�p�b�P�[�W���Ƃ��̒��Œ�`����Ă���}�N�� -�Q��alist�̌`���ŕϐ� @code{YaTeX-package-alist-private} �ɐݒ肵�Ă����K -�v������܂��B - -@node Changing mode of YaTeX, Online help, Usepackage cheker, Top -@comment node-name, next, previous, up -@chapter �쒹�̓��샂�[�h�؂�ւ� -@cindex ���[�h�؂�ւ�[�����Ƃ��肩��] -@cindex prefix w - -@table @kbd -@item [prefix] w - @dots{} �쒹���샂�[�h�؂�ւ����j���[ -@end table - -@noindent -�Ŗ쒹���g�̓�������肷��ȉ��̃��[�h��؂�ւ��܂��B - -@itemize @bullet -@item �C�����[�h -@item �쒹�������[�h -@end itemize - -�C�����[�h�́A�J�����ʓ��͎��̏������R���g���[�����A�C�����[�hON�̎��͊J�� -���ʂ̓��͂͊J�����ʂ݂̂̓��͂ɂȂ�A�C�����[�hOFF�̎��͊J�����ʂ̓��͂� -���ŕ‚����ʂ܂œ��͂��܂��B�f�t�H���g(�N����)�̐ݒ��@emph{OFF}�ł��B - - �쒹�������[�h�́A�ϐ� @code{YaTeX-auto-math-mode} �� @code{nil} �̎��� -�ݗL���ŁA���̂Ƃ�@kbd{;}��@kbd{:}����������(@ref{Image completion}�Q��)�ɁA -�ǂ̂悤�ȃC���[�W�⊮���@�\�����邩�A�ʏ�̃L�[�Ƃ��ċ@�\�����邩���蓮�� -�؂�ւ��܂��B�������肪�x���}�V���ł�@code{YaTeX-auto-math-mode} -@code{nil}�ɃZ�b�g���A�쒹�������[�h���蓮�Ő؂�ւ���Ɨǂ��ł��傤�B - - -@node Online help, Inclusion hierarchy browser, Changing mode of YaTeX, Top -@comment node-name, next, previous, up -@chapter �I�����C���w���v -@cindex �I�����C���w���v[����炢��ւ��] -@cindex apropos -@cindex �L�[���[�h����[�����킠�Ƃ��񂳂�] -@cindex prefix ? -@cindex prefix / - - �g�����Ƃ��� La@TeX{} �R�}���h�̗p�@���悭������Ȃ����́A�I�����C���w�� -�v���Ђ��܂��傤�B�w���v�Ɋւ���L�[�ɂ͈ȉ��̂��̂�����܂��B - -@table @kbd -@item [prefix] ? - @dots{} �I�����C���w���v -@item [prefix] / - @dots{} �I�����C��apropos -@end table - -@section �I�����C���w���v -@cindex �O���[�o���w���v[���남�͂�ւ��] -@cindex �v���C�x�[�g�w���v[�ӂ炢�ւ��Ƃւ��] -@cindex YaTeX-help-file -@cindex YaTeX-help-file-private - - �u�I�����C���w���v�v�́A��ʓI�� La@TeX{} �R�}���h(�f�t�H���g�ŃJ�[�\�� -�ʒu�̃R�}���h)�ɑ΂��������ׂ̃o�b�t�@�ɕ\�����܂��B���̎��Q�Ƃ����w -���v�p�t�@�C���ɂ́u�O���[�o���w���v�v�Ɓu�v���C�x�[�g�w���v�v�̓��ނ��� -��A�O�҂� La@TeX{} �̕W���R�}���h�̎�Ȃ��̂̐������܂ރt�@�C���ŁA�ϐ� -@code{YaTeX-help-file}�̒l�Ŏw�肳��܂��B���̃t�@�C���͒ʏ�����̏ꏊ(�f -�t�H���g��@code{$EMACSEXECPATH})�ɒu����A�N�������̓��e���X�V�ł���悤�� -�S���ɏ������݌����^������ׂ����̂ł��B��҂́A��W���������͌l�I�ȃ} -�N����`�Ɋւ��������������Ă���t�@�C���ŁA�ϐ� -@code{YaTeX-help-file-private}�̒l�Ŏw�肳��܂��B������̓��[�U�̃z�[���f�B -���N�g���̉��Ȃǂɒu����܂��B - -@section �I�����C��apropos - - �u�I�����C��apropos�v�� GNU Emacs �� apropos �Ɠ��l�A���[�U���w�肵���L�[ -���[�h��������Ɋ܂ލ��ڂ��ׂĂ�ׂ̃o�b�t�@�ɕ\�����܂��B - - �����A���ׂ悤�Ƃ���La@TeX{}�R�}���h�ɑ΂���������w���v�t�@�C�����Ɍ��� -����Ȃ������ꍇ�́A�������̓��͂����߂Ă���̂ŁA�”\�ł���ΎQ�l���Ȃǂ� -���ׂĂ��̃R�}���h�̐�������͂��Ă��������B�����A�Ȃɂ��W���I�ȃR�}���h�� -�΂���������������Ȃ�΂��Ў��܂ł��̐����������艺�����B����̔z�z�Ɋ܂� -�����Ǝv���܂��B - -@node Inclusion hierarchy browser, Cooperation with other packages, Online help, Top -@comment node-name, next, previous, up -@chapter �C���N���[�h�\���u���E�U -@cindex �C���N���[�h�\��[���񂭂邤�Ƃ�������] -@cindex prefix d - -�����̃t�@�C���ɕ������Ă���h�L�������g�������Ă���ꍇ�A - -@table @kbd -@item [prefix] d - @dots{} �C���N���[�h�\���u���E�Y -@end table - -@noindent -�������ƁA���̃h�L�������g�̐e�t�@�C���𕷂��ė��܂��B�����őS�Ẵt�@�C�� -�̐e�ƂȂ�t�@�C��(�f�t�H���g��������Ă���̂ő���RET�̂�)����͂���� -�C���N���[�h���Ă���S�Ẵt�@�C������͂��A�C���N���[�h�󋵂����o�I�ɕ\�� -���܂��B���̃o�b�t�@�ł͈ȉ��̃L�[���삪�L���ł��B - -@table @kbd -@item n - @dots{} ���̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� -@item p - @dots{} ��̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� -@item N - @dots{} �����C���N���[�h���x���̎��̃t�@�C���Ɉړ� -@item P - @dots{} �����C���N���[�h���x���̑O�̃t�@�C���Ɉړ� -@item j - @dots{} ���̍s�Ɉړ� -@item k - @dots{} ��̍s�Ɉړ� -@item u - @dots{} ���e�ɂ�����t�@�C���Ɉړ� -@item . - @dots{} �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ɕ\�� -@item SPC - @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���A�b�v -@item DEL, b - @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���_�E�� -@item < - @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C���̐擪��\�� -@item > - @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C���̖�����\�� -@item ' - @dots{} (@kbd{<}��@kbd{>}�̌��)���̕\���ʒu�ɖ߂� -@item RET, g - @dots{} �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ŃI�[�v�� -@item mouse-2 - @dots{} RET�Ɠ���(�E�B���h�E�g�p���̂�) -@item o - @dots{} �ׂ̃E�B���h�E�Ɉړ� -@item 1 - @dots{} ���̃E�B���h�E������ -@item - - @dots{} �u���E�Y�E�B���h�E������������ -@item + - @dots{} �u���E�Y�E�B���h�E��傫������ -@item ? - @dots{} �w���v�\�� -@item q - @dots{} �\���O�̏�Ԃɖ߂� -@end table - - �������A�ׂ̃E�B���h�E�̃t�@�C���̓��e��\������@�\�Ɋւ��ẮA�Ή����� -�t�@�C�����N���[�Y���Ă��܂��Ƃ��܂������܂���̂ł����ӂ��������B - -@node Cooperation with other packages, Customizations, Inclusion hierarchy browser, Top -@comment node-name, next, previous, up -@chapter ���p�b�P�[�W�Ƃ̘A�g -@cindex ���p�b�P�[�W�Ƃ̘A�g[���͂‚������Ƃ̂�񂯂�] - -@section gmhist -@cindex gmhist -@cindex �R�}���h�q�X�g��[���܂�ƂЂ��Ƃ�] -@cindex �q�X�g��[�Ђ��Ƃ�] - - @file{gmhist.el}��@file{gmhist-mh.el} �����[�h���Ă���ꍇ�A�v�������[�R -�}���h�̓���(@kbd{[prefix] tp]})�A����R�}���h�̓���(@kbd{[prefix] tl})�� -���ɓƗ������q�X�g���𗘗p�ł��܂��B���ꂼ��̃v�����v�g�ŁA@kbd{M-p} ���� -���ƒ��O�ɗ��p�����R�}���h�����������Ԃ��Ăяo�����Ƃ��ł��܂��B - -@section min-out -@cindex min-out - - @file{min-out.el} (@code{outline-minor-mode}) �Ɩ쒹��g�ݍ��킹�Ďg���� -�Ƃ��������”\�ł��B�ݒ�̕��@�Ɋւ��Ă�@file{yatexm-o.el}���������������B - -@node Customizations, Etc, Cooperation with other packages, Top -@comment node-name, next, previous, up -@chapter �J�X�^�}�C�Y -@cindex �J�X�^�}�C�Y[�������܂���] -@cindex �L�[�A�T�C��[������������] - - �쒹�̓���𐧌䂷���X�̕ϐ���Ǝ��ɐݒ肷�邱�Ƃɂ��A�⊮�� -�͂��N������L�[�A�T�C����ς�����A�‹����̕⊮��������ɏ[���� -���邱�ƂȂǂ��ł��܂��B - -@menu -* Lisp variables:: lisp �ϐ� -* Add-in functions:: �t���֐�(�A�h�C���֐�) -@end menu - -@node Lisp variables, Add-in functions, Customizations, Customizations -@comment node-name, next, previous, up -@section lisp �ϐ� -@cindex prefix�L�[�ύX[prefix�����ւ񂱂�] - - �Ⴆ�� prefix �L�[�� @kbd{C-c} �ȊO�̃L�[�ɂ������ꍇ�́A -@code{YaTeX-prefix}�� prefix �L�[�ɂ������V���{�����`���Ă��������B���� -�ɁA�u@kbd{C-c �p��}�v�Ƃ����L�[�o�C���h�͓Ǝ��̊֐������蓖�ĂĂ���̂Ŏg -�������Ȃ��B���̂悤�Ȏ��́A@code{YaTeX-inhibit-prefix-letter} �� @code{t} -�ɐݒ肷�邱�Ƃɂ��A@kbd{C-c �p���c}�̃o�C���h���S�āA�Ή�����@kbd{C-c -C-�p���c}�ɕς��܂�(�������Abegin�^ large�^�⊮�̑啶���N���ɂ�郊�W�� -���w��͉”\�Ȃ܂܂ł��B����������ɂ������ꍇ��@code{t}�ł͂Ȃ� 1 �ɃZ�b -�g���ĉ������B)�B - -@menu -* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ -* Sample definitions:: �J�X�^�}�C�Y�ϐ��ݒ�� -* Hook variables:: hook�ϐ� -* Hook file:: hook�p�t�@�C�� -@end menu - -@node All customizable variables, Sample definitions, Lisp variables, Lisp variables -@comment node-name, next, previous, up -@subsection �J�X�^�}�C�Y�ϐ��ꗗ -@cindex �J�X�^�}�C�Y�ϐ��ꗗ[�������܂����ւ񂷂��������] - - yatex-mode �ɂ����鎟�̕ϐ����J�X�^�}�C�Y�”\�ł��B@file{~/.emacs} �� -@code{setq} ���Ă����΁A������̒�`���D�悳��܂��B���ʂ̒��̓f�t�H���g�l -�ł��B���ۂɕϐ��̒l��ύX����ꍇ�� @kbd{M-x describe-variable} �� -�ϐ��̏ڍׂȐ������Q�Ƃ��Ă��������B - -@defvar YaTeX-prefix -yatex-mode ���̃v���t�B�N�X�L�[ (@kbd{\C-c}) -@end defvar - -@defvar YaTeX-inhibit-prefix-letter -prefix �L�[�̒���̃L�[�o�C���h�� @kbd{�p��} �̂��̂� @kbd{C-�p��} �ɕύX -(@code{nil}) -@end defvar - -@defvar YaTeX-fill-prefix -�{�����������̍s���ɑ}������ړ������Ȃ킿 fill-prefix (@code{""(nil)}) -@end defvar - -@defvar YaTeX-user-completion-table -�w�K����La@TeX{}�R�}���h�ۑ��t�@�C���� (@code{"~/.yatexrc"}) -@end defvar - -@defvar YaTeX-kanji-code -�������쐬���鎞�̊����R�[�h -nil=�����̃R�[�h�̂܂� 0=no-conversion 1=Shift JIS, -2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOS�ł�1)) -@end defvar - -@defvar tex-command +\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 +\input texinfo +@setfilename yatexj +@settitle Yet Another tex-mode for Emacs +@direntry +* YaTeX: (yatexj). Yet Another tex-mode for Emacs (Japanese). +@end direntry + +@iftex +@c @syncodeindex fn cp +@c ���‚��Y���̂ł����ɏ����Ƃ����B +@c C-l C-c n �Ńm�[�h���� +@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 Fri May 11 15:40:21 2012 on firestorm +@syncodeindex vr cp +@end iftex + +@titlepage +@sp 10 +@center +@subtitle Yet Another tex-mode for emacs +@title �w�쒹�x +@subtitle // YaTeX // +@author @copyright{} 1991-2012 by HIROSE, Yuuji [yuuji@@yatex.org] +@end titlepage + +@node Top, Intro, (dir), (dir) +@comment node-name, next, previous, up + +@menu +* Intro:: �͂��߂� +* Terminology:: �}�j���A���Q�Ə�̒��� +* Main features:: ��ȋ@�\ +* Installation:: �C���X�g�[�� +* Invocation:: �v���Z�X�N�� +* %#notation :: %#�L�@ +* Completion:: �⊮���� +* Local dictionary:: ���[�J������ +* Commenting out:: �R�����g�A�E�g +* Cursor jump:: �J�[�\���W�����v +* Modifying/Deleting:: LaTeX�R�}���h�̕ύX/�폜 +* Filling:: ������ +* Includeonly:: ����� includeonly +* What column:: �J�����ʒu�K�C�h +* Intelligent newline:: ���܂������s +* Usepackage cheker:: ����usepackage +* Changing mode of YaTeX:: �쒹���샂�[�h�ύX +* Online help:: LaTeX�I�����C���w���v +* Inclusion hierarchy browser:: �t�@�C�������K�w�\���̕\�� +* Cooperation with other packages:: ���p�b�P�[�W�Ƃ̘A�g +* Customizations:: �J�X�^�}�C�Y +* Etc:: ���̑� +* Copying:: ��舵�� +* Concept Index:: ���� + +@end menu + +@node Intro, Terminology, Top, Top +@comment node-name, next, previous, up +@chapter �͂��߂� +@cindex Demacs +@cindex Mule +@cindex LaTeX +@cindex �₿�傤[�₿�悤] + + �쒹�́AGNU Emacs �� La@TeX{} �p�̕������쐬���鎞�� pLa@TeX{} �Ȃǂ� +�^�C�v�Z�b�g�R�}���h��A�v�������[�A�̋N���� Emacs �ҏW��ʒ����� +�s����悤�ɂ���Ƌ��ɁA�g�����̍�����X�̕⊮�@�\�ɂ��\�[�X�e�L +�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}. + +@node Terminology, Main features, Intro, Top +@comment node-name, next, previous, up +@chapter �{�}�j���A���Q�Ə�̒��� + + �{�}�j���A���ł͈ȉ��̕\�L��p���܂��B + +@itemize @bullet +@item +begin�^�R�}���h + +@code{\begin@{�‹�@} �` \end@{�‹�@}}�Ƃ����`����LaTeX�R�}���h���w���܂��B +begin�^�R�}���h��⊮���͂��邱�Ƃ�begin�^�⊮�ƌĂт܂��B + +@item +section�^�R�}���h + +@code{\section@{�^�C�g��@}}��@code{\mbox@{���e@}}�̂悤�� +���������LaTeX�R�}���h���w���܂��B + +@item +maketitle�^�R�}���h + +@code{\maketitle}��@code{\tableofcontents}�̂悤�Ɉ��������Ȃ�LaTeX�R�} +���h���w���܂��B + +@item +large�^�R�}���h + +@code{@{\large ...@}} �� @code{@{\tt ...@}} �̂悤�ȃt�H���g/�T�C�Y�w��q +���w���܂��B + +@item @kbd{[prefix]} + +�쒹�̋@�\���Ăяo�����߂̃v���t�B�N�X�L�[�B�f�t�H���g�ł�@kbd{C-c}�Ɋ��� +���Ă��Ă���̂ŁA���ɕύX���Ă��Ȃ��ꍇ�{�}�j���A���� @kbd{[prefix]} �� +�����\�L�́A@kbd{C-c} �Ɠǂ݊����Ă��������B +@end itemize + +@node Main features, Installation, Terminology, Top +@comment node-name, next, previous, up +@chapter ��ȋ@�\ + +@itemize @bullet +@item �^�C�v�Z�b�^��v�������[�A�Ȃǂ̕ҏW��ʂ���̋N��(@kbd{C-c t}) +@item �J�[�\���ʒu�ɂ��Ȃ��Œ胊�W�����̕����^�C�v�Z�b�g +@item \includeonly�̃����^�b�`�X�V +@item �G���[�ӏ��ւ̎����W�����v(@kbd{C-c '}) +@item @code{\begin@{@}, \end@{@}, \section...} �Ȃǂ� La@TeX{} +�R�}���h�̕⊮���� +(@kbd{C-c b}, @kbd{C-c s}, @kbd{C-c l}, @kbd{C-c m}) +@item ���ɓ��͂����e�L�X�g���‹���R�}���h�����̒��Ɏ�荞�ފ���⊮ +(@kbd{C-u} +�ʏ�⊮�L�[) +@item �Z�N�V������؂���͎��̕����\���A�E�g���C���\�� +@item �Z�N�V�����R�}���h�̈ꊇ�V�t�g (@ref{view-sectioning}) +@item �⊮�����̊w�K +@item La@TeX{} �̊‹���R�}���h�ɉ������K�C�h�t���������� +@item �쒹�ɂȂ��K�C�h�t���������͊֐��̎�������(@file{yatexgen.el}) +@item La@TeX{} �R�}���h�̍폜/�ύX(@kbd{C-c k}, @kbd{C-c c}) +@item �t�@�C���ԁA@code{\begin}<->@code{\end}�ԁA + @code{\ref}<->@code{\label}�ԁA + @code{\cite}<->@code{\bibitem}�W�����v(@kbd{C-c g}) +@item �ꊇ�R�����g�A�E�g/�A���R�����g�A�E�g + (@kbd{C-c >}, @kbd{C-c <}, @kbd{C-c ,}, @kbd{C-c .}) +@item �A�N�Z���g�L��/�����‹��p�R�}���h/�M���V�������̓��͎x�� + (@kbd{C-c a}, @kbd{;}, @kbd{/}) +@item tabular/array�‹��̃J�����ʒu�K�C�h +@item �W���I La@TeX{} �R�}���h�̃I�����C���w���v(@kbd{C-c ?}, @kbd{C-c /}) +@item �h�L�������g�̃C���N���[�h�\���̎��o�I�\���ƃo�b�t�@�؂�ւ� +(@kbd{C-c d}) +@item �⊮���͂����}�N���ɉ����ĕK�v�� \userpackage �����Ă������� +userpackage +@item \label��ł‚��Ƃ͂����Y��悤! ref��cite�⊮���͂Ŏ����������܂� +@end itemize + +@node Installation, Invocation, Main features, Top +@comment node-name, next, previous, up +@chapter �N���@ +@cindex Install +@cindex �C���X�g�[��[���񂷂Ƃ���] +@cindex .emacs +@cindex auto-mode-alist +@cindex autoload +@section �쒹�N���̂��߂̐ݒ� + + ~/.emacs�ɉ���2���ڂ������܂��B + +@lisp +(setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) +(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) +@end lisp + +���ɖ쒹�� emacs-lisp �t�@�C���Q��u���f�B���N�g���� load-path �ɉ����܂��B +���Ƃ��΁A @file{~/src/emacs/yatex}�ɒu���̂ł���΁A + +@lisp +(setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) +@end lisp + +@noindent +�ȂǂƂ��܂��B + + �ȏ�̐ݒ�ɂ��A�g���q�� .tex �ł���t�@�C����ҏW����Ǝ����I�ɖ쒹�� +���[�h����܂��B�쒹������ɋN���ł����Ƃ��̓��[�h���C���̕\�����u��ĂӁv +�ɕς��܂��B + +@section �^�C�v�Z�b�^/�v�������[�A�‹��̐ݒ� + + ���p����O���v���O�����Ɋւ���ȉ��̕ϐ����m�F���A�K�v�Ȃ琳�����l�ɕύX +���܂��B +@table @code +@item tex-command + @dots{} �N������^�C�v�Z�b�^�̃R�}���h�� +@item dvi2-command + @dots{} �N������v�������[�A�̃R�}���h�� +@item NTT-jTeX + @dots{} ���s+�C���f���g�ɂ���āA�^�C�v�Z�b�g��̎��Ԃ��󂢂Ă��� + ���̂�}������ꍇ��t�ɂ���(�Â�NTT-jTeX�Ō����Ɍ����)�B��̓I�ɂ́A + fill����Ƃ��Ɋe�s�̏I����%��t������悤�ɂȂ�B +@item YaTeX-kanji-code + @dots{} �������쐬���鎞�̊����R�[�h +@item dviprint-command-format + @dots{} �t�@�C���̈���Ɏg����R�}���h��̏��� +@item makeindex-command + @dots{} makeindex�R�}���h +@end table + +������ύX����ꍇ�́A��͂�@file{~/.emacs}�ɂāA���Ƃ��� +@lisp +(setq tex-command "pdflatex") +@end lisp +�̂悤�ɂ��Ă��������B�ǂ̂悤�Ȓl���Z�b�g����Ηǂ����ɂ‚��ẮA +@ref{All customizable variables}���Q�Ƃ��Ă��������B + + +@node Invocation, %#notation , Installation, Top +@comment node-name, next, previous, up +@chapter latex�R�}���h�N�� +@cindex prefix key +@cindex C-c +@cindex �^�C�v�Z�b�^[�����ӂ��‚�] +@cindex �v�������[�A[�ӂ�Ђ䂤��] +@cindex jlatex +@cindex platex +@cindex �v�����g�A�E�g[�ӂ��Ƃ�����] + +LaTeX�\�[�X�̕ҏW���A���̃L�[���͂ɂ��Aplatex �Ȃǂ̃^�C�v�Z�b�g�v���O�� +��(�Ȍ�^�C�v�Z�b�^�ƌĂ�)�A�v�������[�A�Ȃǂ̋N�����ł��܂��B + +@table @kbd +@item [prefix] t j + @dots{} �^�C�v�Z�b�^(platex)�N�� +@item [prefix] t r + @dots{} �^�C�v�Z�b�^�N��(�̈�w��) +@item [prefix] t e + @dots{} �^�C�v�Z�b�^�N�� + (�|�C���g�ʒu�̊‹��܂��͐������[�h�̂ݑΏ�) +@item [prefix] t k + @dots{} ���쒆�̃^�C�v�Z�b�^�̒�~ +@item [prefix] t b + @dots{} jbibtex�N�� +@item [prefix] t i + @dots{} makeindex�N�� +@item [prefix] t d + @dots{} �^�C�v�Z�b�g������dvipdfmx�N�� +@item [prefix] t p + @dots{} �v�������[�A�N�� +@item [prefix] t l + @dots{} lpr(�v�����g�A�E�g�p)�R�}���h�N�� +@item [prefix] t s + @dots{} xdvi -remote �ł̃T�[�` +@end table + +@menu +* Calling typesetter:: �^�C�v�Z�b�^�N�� +* Calling previewer:: �v�������[�A�N�� +* Print out:: �v�����g�A�E�g�p�R�}���h�̋N�� +@end menu + +@node Calling typesetter, Calling previewer, Invocation, Invocation +@comment node-name, next, previous, up +@section �^�C�v�Z�b�^�N�� +@cindex �^�C�v�Z�b�^�N��[�����ӂ��‚����Ƃ�] +@cindex �^�C�v�Z�b�g�G���[[�����ӂ��‚Ƃ��炠] +@cindex �G���[�C��[���炠���䂤����] + + �^�C�v�Z�b�^���N������ƁA�ҏW�E�B���h�E��2�‚ɕ�������A�Е��̃E�B���h +�E�Ƀ^�C�v�Z�b�g��ʂ��\������܂��B�o�͂���郁�b�Z�[�W�ƘA�����^�C�v�Z�b +�g�o�b�t�@�͎����I�ɃX�N���[�����܂��B�����A�r���ŃG���[���N�����Ď~�܂��� +���܂����ꍇ�ɂ̓^�C�v�Z�b�g�o�b�t�@�Ɉڂ�A(@kbd{C-x o}) �^�C�v�Z�b�^�̏o +���Ă��� ? �v�����v�g�ɑ΂��āA@kbd{x} (�����̒��f)�Ȃǂ̎w���𑗂邱�Ƃ� +�ł��܂��B�G���[���C������ꍇ�́A + +@table @kbd +@item [prefix] ' +@itemx (prefix+�A�|�X�g���t�B) + @dots{} ���O�̃G���[�����s�փW�����v +@end table + +����͂��邱�Ƃɂ��A�^�C�v�Z�b�^���G���[�𔭐������s�Ɉڂ邱�Ƃ��ł��܂��B +�܂��A�^�C�v�Z�b�^�̏o�͂��� overfull hbox �Ȃǂ̃E�H�[�j���O�s�ɂ��Ή��� +�Ă��܂��̂ŁA���� @kbd{[prefix] '} ���������Ƃɂ��A��‘O�̃E�H�[�j���O +�����s�ɃW�����v���Ă����܂��B + + �����A�C�ɂȂ�G���[�s���������ꍇ�́A�^�C�v�Z�b�g�o�b�t�@�ŁA�G +���[�̕\������Ă���s�ɃJ�[�\�������킹�X�y�[�X�L�[�������� La@TeX{} +�\�[�X�̑Ή�����s�ɃW�����v���܂��B + +@subsection �̈�^�C�v�Z�b�g + + �|�C���g�ƃ}�[�N�̊ԁA���邢�̓e�L�X�g���ɖ��ߍ��� @code{%#BEGIN} �� +@code{%#END}�̊Ԃ̗̈�(@ref{%#notation})������؂����ă^�C�v�Z�b�g���邱�Ƃ� +�ł��܂��B���̏ꍇ���C���t�@�C���̃v���A���u�����ꎞ�t�@�C���� +�v���A���u���Ƃ��Ďg���܂��B���������ăv���A���u���ɂȂ��}�N����`�� +�̈���ɂ���ƃG���[�ɂȂ�܂��B�̈�^�C�v�Z�b�g���g���ꍇ�A +�K���}�N����`�̓v���A���u��(@code{\begin@{document@}}���O)�ɒu���悤 +�ɂ��ĉ������B�ꎞ�t�@�C���̓��C���t�@�C���̂��� +�f�B���N�g����@file{texput.tex}�Ƃ������O�ŏo�͂����̂ŁA +�㏑���ɂ͒��ӂ��Ă��������B + +@subsection �‹��^�C�v�Z�b�g + + @kbd{[prefix] te} �������ƁA�|�C���g�ʒu�̍ł������̊‹��A�܂��͐������[ +�h���̏ꍇ�͂��̐������[�h�S�̂������I�ɗ̈�I������āA�̈�^�C�v�Z�b�g�� +�Ăяo���܂��Btabular�‹��␔�����[�h�ŕ��G�Ȃ��̂�����Ă���ꍇ�͊m���߂� +�������������m�F�ł���̂ŕ֗��ł��B����� @file{texput.tex} �ɊY�������� +�����o���܂��B�v�������[�A�� @file{texput.dvi} ���J�����܂܂ɂ��Ă����� +�C���Ɗm�F���f�����ł���ł��傤�B + +@node Calling previewer, Print out, Calling typesetter, Invocation +@comment node-name, next, previous, up +@section �v�������[�A�N�� + @kbd{[prefix] t p} �ɂ��v�������[�A�̋N�����ł��܂��B����ɁA�������� +�����A-remote �@�\�‚���xdvi�𗘗p���Ă���ꍇ�� @kbd{[prefix] t s} ������ +���Ƃɂ��J�[�\���ʒu�̕�������������Ă��̃y�[�W��\������悤�ɂ��łɋN +������xdvi�ɖ��߂𑗂�܂��B����ɂ��A���ݕҏW���̉ӏ��̃^�C�v�Z�b�g���� +�𑦍��Ɍ��邱�Ƃ��ł��܂��B + +@c �Ȃ��A-remote �@�\�t���� xdvi �� +@c @code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote} +@c �Ȃǂ�����肷�邱�Ƃ��ł��܂��B + +@node Print out, , Calling previewer, Invocation +@comment node-name, next, previous, up +@section �v�����g�A�E�g + + @kbd{[prefix] t l}�������ăv�����g�A�E�g���w������ƁA�o�͊J�n/�I���y�[ +�W�𕷂��Ă���̂ŁA���ꂼ��ɓ����܂��B������ȗ����������́A +universal-argument ���‚��A + +@cindex �o�͊J�n�y�[�W[����‚�悭�������ւ���] +@cindex �o�͏I���y�[�W[����‚�悭���䂤��悤�ւ���] + +@table @kbd +@item C-u [prefix] t l + @dots{} �y�[�W�m�F�ȗ�lpr�N�� +@end table +@cindex �y�[�W�m�F�ȗ�lpr�N��[�ւ��������ɂ񂵂悤��₭lpr���Ƃ�] + +@noindent +�̂悤�ɋN�����Ă��������B + +@node %#notation , Completion, Invocation, Top +@comment node-name, next, previous, up +@chapter %#�L�@ + + �{������@code{%#}�ł͂��܂�L�[���[�h�𖄂ߍ��ނ��ƂŃ^�C�v�Z�b�^�N���� +�̐�������邱�Ƃ��ł��܂��B + +@menu +* Changing typesetter:: �^�C�v�Z�b�g�p�R�}���h�̕ύX +* Splitting input files:: ���̓t�@�C������ +* Fix region for typesetting:: �̈�̌Œ� +* lpr format:: �v�����g�A�E�g�R�}���h�p�t�H�[�}�b�g +* Controlling which command to invoke:: ���̑��̋N���R�}���h���� +* Editing %# notation:: %#�L�@�̕ҏW +@end menu + +@node Changing typesetter, Splitting input files, %#notation , %#notation +@comment node-name, next, previous, up +@section �^�C�v�Z�b�g�p�R�}���h�ύX + + �N������R�}���h��ς��������͖{�����Ɏ��̂悤�ȍs�������܂��B + +@cindex �N������R�}���h��ς���[���Ƃ����邱�܂�Ƃ�������] + +@example + %#!jlatex-ntt +@end example + +NTT jTeX �ƁAASCII jTeX ���g�����������悤�ȏꍇ�ɕ֗��ł��傤�B + +@cindex �^�C�v�Z�b�^�̎g������[�����ӂ��‚��̂‚����킯] + +@node Splitting input files, Fix region for typesetting, Changing typesetter, %#notation +@comment node-name, next, previous, up +@section ���̓t�@�C������ + +�܂��A�͖��ɕʃt�@�C���� .tex ���쐬���Ă���ꍇ�ŁA@file{main.tex}���� +@file{sub.tex} �� @code{\include}���Ă���悤�Ȏ��́A@file{sub.tex}�̔C�ӂ� +�ʒu�Ɏ��̂悤�ȍs�𖄂ߍ��݂܂��B + +@example + %#!platex main.tex +@end example + +@cindex ���̓t�@�C������[�ɂ䂤��悭�ӂ�����ӂ񂩂�] + +��̗�̂悤�ɃR�}���h�������łȂ��������������ꍇ�ɂ́A�S�Ă����̂܂� +shell �ɓn���̂Ŏ��̂悤�ɏ����΁Aghostview �Ȃǂ��v�������[�A�Ɏg�����ɕ� +���ł��B + +@cindex ghostview + +@example + %#!platex main && dvi2ps main.dvi > main +@end example + +�Ȃ��A���̍s�̍Ō�̒P��̃s���I�h�ȑO���u���C���t�@�C���v�̃x�[�X +�l�[���ł���Ɖ��肵�܂�(���2�‚̏ꍇ�ǂ����@file{main})�B +���̍s�ɋL�q�����A@code{%f}�̓��C���t�@�C�����ɁA +@code{%r} �̓��C���t�@�C���̊g���q����菜���������ɒu������܂��B +�������A@code{%f,%r}�𗘗p�����ꍇ�A����^�C�v�Z�b�g���ɕK�����C���t�@�C�� +���̓��͂𑣂���܂��B + + @kbd{[prefix] g} (@ref{Cursor jump}�Q��) �ł� +�t�@�C���ԃW�����v��L���ɋ@�\�����邽�߁A���̓t�@�C���������ɂ͎��̂��Ƃ� +���ӂ��ĉ������B + +@enumerate +@item +�T�u�f�B���N�g��������āA���̒��ɃT�u�t�@�C����u�����Ƃ͂ł��邪 +�T�u�f�B���N�g���̃T�u�f�B���N�g���ɂ͒u���Ȃ��B +@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 +@item +���C���t�@�C�������̃f�B���N�g���ɂ���ꍇ���A�T�u�t�@�C���ɂ� +%#!platex main.tex �̂悤�ɋL�q����(../main�ł͂Ȃ�)�B +@end enumerate + + + +@node Fix region for typesetting, lpr format, Splitting input files, %#notation +@comment node-name, next, previous, up +@section �̈�̌Œ� +@cindex �Œ�̈�̃^�C�v�Z�b�g[���Ă���悤�����̂����ӂ��‚�] +@cindex %#BEGIN +@cindex %#END + + @kbd{[prefix] tr} �̗̈�w��̃^�C�v�Z�b�g�ł́A�Ƃ��Ɏw��̂Ȃ�������A +@kbd{C-SPC}�Ń}�[�N�����ʒu�ƁA�|�C���g(�J�[�\���ʒu)�̊Ԃ�̈�Ƃ݂Ȃ��� +�����A�K�����܂����̈���^�C�v�Z�b�g�������ꍇ�́A���̗̈�� + +@example + %#BEGIN + <�n�������̈�> + %#END +@end example + +@noindent +�̂悤��@code{%#BEGIN}��@code{%#END}�ň͂݁A�J�[�\�����u@code{%#BEGIN}�ȍ~�v +�ɒu���Ă��������B���̎��̗̈挈��K�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B + + +@enumerate +@item +�J�[�\���ʒu���o�b�t�@�̐擪������@code{%#BEGIN}�Ƃ����L�[���[�h�� +����ꍇ + +@enumerate +@item +@code{%#BEGIN}���o�b�t�@�̖���������@code{%#END}�Ƃ����L�[���[�h�����‚��� +���ꍇ�B +@result{}@code{%#BEGIN} ����A���� @code{%#END} �̂���ʒu�܂ŁB +@item +@code{%#END} �����‚���Ȃ������ꍇ�B +@result{}�o�b�t�@�̍Ō���܂ŁB +@end enumerate +@cindex �̈挈��K��[��悤�������‚Ă�������] + +@item +�J�[�\���ʒu���o�b�t�@�̐擪������ @code{%#BEGIN} �Ƃ����L�[���[�h�� +���‚���Ȃ������ꍇ�B +@result{}�}�[�N(@kbd{C-SPC}�ʒu)�ƃ|�C���g(�J�[�\���ʒu)�̊Ԃ̗̈�B +@end enumerate + + tabular �‹������x�����s���낵�Ă���悤�ȏꍇ�́A@code{\begin}�̑O�̍s +�� @code{%#BEGIN} �Ə����A@code{\end} �̎��̍s�� @code{%#END} �Ə����Ă��� +�ƊȒP�ɍ�\���ʂ��e�X�g���邱�Ƃ��ł��܂��B�܂��A���� .tex �t�@�C���̌㔼 +�� @code{%#BEGIN} �������Ă����΁A�O���̕����͖����ł��܂��B����BEGIN��END +�̏����Y��ɂ͏\�������Ӊ������B +@cindex �����t�@�C���̕ҏW[�Ȃ����ӂ�����̂ւ񂵂䂤] + +@c @node Require, lpr format, Fix region for typesetting, %#notation +@comment node-name, next, previous, up + +@node lpr format, Controlling which command to invoke, Fix region for typesetting, %#notation +@comment node-name, next, previous, up +@section lpr�t�H�[�}�b�g +@cindex lpr�ӂ��[�܂���[lpr�ӂ����܂‚�] +@cindex lpr�t�H�[�}�b�g[lpr�ӂ����܂‚�] +@cindex lpr format + + �܂��A�v�����g�A�E�g�p�R�}���h��̃t�H�[�}�b�g�ɂ‚��Đ������܂��B +�R�}���h��t�H�[�}�b�g�́A3�‚� Lisp �ϐ��ɂ���ĕ\������܂��B�f +�t�H���g�� dvi2ps �p�̃t�H�[�}�b�g���ɐ������܂��B + +@table @code +@item (1)dviprint-command-format +@code{"dvi2ps %f %t %s | lpr"} + +@item (2)dviprint-from-format +@code{"-f %b"} + +@item (3)dviprint-to-format +@code{"-t %e"} +@end table + +���ۂɃv�����g�A�E�g���鎞�́A(1)���� %s ���t�@�C�����ɒu���������A%f �� +(2)�̓��e�A%t ��(3)�̓��e�ɒu���������܂��B���̍ۂ�(2)�̕����񒆂� %b �� +�u�o�͊J�n�y�[�W�v�A(3)�̕����񒆂� %e �́u�o�͏I���y�[�W�v�ɒu��������� +�܂��B�����A�y�[�W���w�肵�Ȃ����ɂ́A%f, %t �����Ƃ���������܂��B + + ���́Adviprint-command-format ��Վ��ɕς��������́ALa@TeX{} �� +�\�[�X�e�L�X�g���̔C�ӂ̏ꏊ�ɁA + +@example + %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 +@end example + +@noindent +�̂悤�ɏ����ĉ������B�v�����g�A�E�g����y�[�W�͈͂����������������Ȃ��悤 +�ɂ��鎞�� + +@example + %#LPR dvi2ps %s | lpr +@end example + +@noindent +�ȂǂƂ���̂��֗���������܂���B + +@node Controlling which command to invoke, Editing %# notation, lpr format, %#notation +@comment node-name, next, previous, up +@section ���̑��̋N���R�}���h���� +@cindex ���̑��̃R�}���h����[���̂��̂��܂�Ƃ�������] + +La@TeX{} �����Ɋ֘A����R�}���h�͈ȉ��� %# �L�@�Ŏw�肷�邱�Ƃ��ł��܂��B + +@table @code + @item %#BIBTEX + @dots{} makeindex���s�Ȃ��R�}���h���C��([prefix] t b) + @item %#MAKEINDEX + @dots{} bibtex���s�Ȃ��R�}���h���C��([prefix] t i) +@end table + +�s���������̃L�[���[�h�Ŏn�܂�s��La@TeX{}�����̐擪�t�߂ɏ����Ă����΁A +����Ŏw�肵���R�}���h���N���ł��܂��B + +@node Editing %# notation, , Controlling which command to invoke, %#notation +@comment node-name, next, previous, up +@section %#�L�@���̂̕ҏW +@cindex %#�L�@���̂̕ҏW[%#���ق��������̂ւ񂵂䂤] + +�ȏ�̂悤��@code{%#}�Ŏn�܂�e�퐧��L�@��ҏW���邽�߂ɂ� + +@table @kbd +@item [prefix] % + @dots{} @code{%#}@var{�L�@�ҏW���j���[} +@end table + +@noindent +�������܂��B + +@example + !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR +@end example + +@noindent +�Ƃ������j���[���o�ė���̂ŁA@code{%#!}�ɑ����R�}���h��ύX���������ɂ� +@kbd{!}���A@code{%#LPR}�� lpr �t�H�[�}�b�g��ς���������@kbd{l}���A���炩 +���ߐݒ肵�����W������ @code{%#BEGIN} �` @code{%#END} �Ŋ��肽�����́A +@kbd{b}�������܂��B@kbd{b}��I�񂾎��ɂ́A����܂Ńo�b�t�@���ɒu����Ă��� +@code{%#BEGIN}, @code{%#END} �������I�ɏ�������܂��B +@cindex lpr�t�H�[�}�b�g�̕ύX[lpr�ӂ����܂‚Ƃ̂ւ񂱂�] + +@node Completion, Local dictionary, %#notation , Top +@comment node-name, next, previous, up +@chapter �⊮���� + + La@TeX{} �ł̊‹����Ȃǂ́A�쒹�̕⊮�@�\�𗘗p���Ĕ\���I�ɓ��͂��邱�� +���ł��܂��B + +@menu +* begin�^�⊮:: +* section�^�⊮:: +* large�^�⊮:: +* maketitle�^�⊮:: +* Arbitrary completion:: �����⊮ +* end�⊮:: +* Accent mark completion:: �A�N�Z���g�L���⊮ +* Image completion:: �����L���C���[�W�⊮ +* Greek letter completion:: �M���V�������⊮ +@end menu + +@node begin�^�⊮, section�^�⊮, Completion, Completion +@comment node-name, next, previous, up +@section begin�^�⊮ +@cindex begin�^�⊮[begin�����ق���] +@cindex �‹����̕⊮[���񂫂悤�߂��̂ق���] +@cindex prefix b + + @code{\begin@{env@}...\end@{env@}}�̗l�Ȍ`���̓��͂̕⊮��begin�^�⊮�� +�ĂԂ��Ƃɂ��܂��Bbegin �^�⊮�́A + +@table @kbd +@item [prefix] b + @dots{} begin �^�⊮�J�n(�W���ł� @kbd{C-c b}) +@end table + +@noindent +�Ŏn�܂�܂��B�p�ɂɗp�����鎟�� La@TeX{} �‹��̕⊮�́A[prefix] @kbd{b} +�ɑ�������1��������͂��邾���ŁA@code{\begin@{xxx@}...\end@{xxx@}}������ +�����܂��B + +@table @kbd +@item [prefix] b c + @dots{} @code{\begin@{center@}...\end@{center@}} +@item [prefix] b d + @dots{} @code{\begin@{document@}...\end@{document@}} +@item [prefix] b D + @dots{} @code{\begin@{description@}...\end@{description@}} +@item [prefix] b e + @dots{} @code{\begin@{enumerate@}...\end@{enumerate@}} +@item [prefix] b E + @dots{} @code{\begin@{equation@}...\end@{equation@}} +@item [prefix] b i + @dots{} @code{\begin@{itemize@}...\end@{itemize@}} +@item [prefix] b l + @dots{} @code{\begin@{flushleft@}...\end@{flushleft@}} +@item [prefix] b m + @dots{} @code{\begin@{minipage@}...\end@{minipage@}} +@item [prefix] b t + @dots{} @code{\begin@{tabbing@}...\end@{tabbing@}} +@item [prefix] b T + @dots{} @code{\begin@{tabular@}...\end@{tabular@}} +@item [prefix] b ^T + @dots{} @code{\begin@{table@}...\end@{table@}} +@item [prefix] b p + @dots{} @code{\begin@{picture@}...\end@{picture@}} +@item [prefix] b q + @dots{} @code{\begin@{quote@}...\end@{quote@}} +@item [prefix] b Q + @dots{} @code{\begin@{quotation@}...\end@{quotation@}} +@item [prefix] b r + @dots{} @code{\begin@{flushright@}...\end@{flushright@}} +@item [prefix] b v + @dots{} @code{\begin@{verbatim@}...\end@{verbatim@}} +@item [prefix] b V + @dots{} @code{\begin@{verse@}...\end@{verse@}} +@end table + + ��L�̂��̈ȊO�̊‹����� Emacs �̎��ƒC���N�������^���ȕ⊮�@�\��p���� +���͂��܂�(��L�̊‹������ȉ��̕⊮���͉”\)�B + +@table @kbd +@item [prefix] b @key{SPC} + @dots{} begin �^�⊮���� +@end table + +@kbd{[prefix] b @key{SPC}} �Ɠ��͂���ƁA�ʼn��s�̃~�j�o�b�t�@�� + +@example + Begin environment(default document): +@end example + +@noindent +�ƕ\������܂��B�����ŁA�������ꂸ�Ƀ��^�[���L�[�̂݉����ƁA���ʓ��ɏo�Ă� +��f�t�H���g�̊‹��������͂���܂����A�K���Ȋ‹�������͂���ƁA +@code{\begin@{�‹���@} �c \end@{�‹���@}}���������ɑ}������܂��B�~�j�o�b +�t�@�Ŋ‹�������͂���Ƃ��ɁA�‹����̓���������͂��u�X�y�[�X�v���������ƁA +��v����‹����������e�[�u���ɑ��݂����ꍇ�A�������‹����ɕ⊮�����̂ŁA +���͂̎�Ԃ��Ȃ��܂��B�����e�[�u���ɑ��݂��Ȃ��‹�������͂������̓��[�U�� +�p�̃e�[�u���ɓo�^����A����ɂ��̃e�[�u���������I�ɁA���[�U����(�f�t�H�� +�g�ł� @file{~/.yatexrc})�ɕۑ����܂��B + +����ɁA����̊‹���⊮���͂������ɂ͂��̊‹��ŕK���p������G���g������ +���}�����܂�(��: @code{itemize}�‹��ɂ�����@code{\item}�Ȃ�)�B�}�����ꂽ�G +���g�����s�v�ȏꍇ�ɂ�undo�ɂ���ď������ĉ������B +@cindex ���[�U����[�䂤��������] + +@subsection ���ɏ������e�L�X�g���‹��Ŋ��� + + �Ƃ���ŁA�ŏ��ɏ����Ă��܂����u���b�N���ォ��Aitemize �‹��̒� +�ɕ‚����߂����Ǝv�����Ƃ�����܂����A���̂悤�ȂƂ��́A���炩���� +�‚����߂����i�����}�[�N���āAbegin �^�⊮�̊e�R�}���h�� @kbd{[prefix]} +�̎��́w�������� 'b'�x ���w�啶���x�ɕς��ċN�����ĉ������B(�܂��́A +@kbd{C-u} ���ɑł��Auniversal argument ���‚��Ă��”\�ł�) +@cindex �u���b�N[�ӂ�‚�] +@cindex �‚����߂�[�Ƃ����߂�] + + �Ⴆ�΂���p���O���t�� description �‹��̒��ɓ��ꂽ���Ƃ��́A +���̃p���O���t���}�[�N���Ă���A + +@table @kbd +@item [prefix] B D +@itemx (�܂��� ESC 1 [prefix] b D) +@itemx (�܂��� C-u [prefix] b D �Ȃ�) +@end table + +�ƃ^�C�v���Ă��������B����́A@kbd{[prefix] b SPC}�̕⊮���͂ɂ����Ă͂܂�A +@kbd{b} ��啶���ɕς��āA@kbd{[prefix] B SPC} �ƃ^�C�v����΁A���炩���� +�}�[�N���Ă��������W�������Abegin �� end �̊‹��Ŋ���܂��B + +@node section�^�⊮, large�^�⊮, begin�^�⊮, Completion +@comment node-name, next, previous, up +@section section�^�⊮ +@cindex section�^�⊮[section�����ق���] +@cindex prefix s + + @code{\section@{�ړI@}} �̂悤�Ȍ`���̓��͂̕⊮�� section �^�⊮�ƌĂԂ� +�Ƃɂ��܂��Bsection �^�⊮�́A + +@table @kbd +@item [prefix] s + @dots{} section �^�⊮ +@end table + + +�Ŏ��s���܂��B@kbd{[prefix] s} ����͂���ƃ~�j�o�b�t�@�ɁA + +@example + (C-v for view-section) \???@{@} (default documentclass): +@end example + +@noindent +�Ƃ����v�����v�g�������̂ŁA������ @samp{section} �̂悤�� La@TeX{} �R�} +���h������͂��܂��B�����ł����^�[���L�[�݂̂Ŋ��ʓ��̃f�t�H���g�l���I���� +���ق��A@samp{chapter}�Ȃǂ̂悤�ȕp�x�̍������̓��͂ɂ̓X�y�[�X�L�[�ɂ� +��⊮�@�\���L���ł��B ���ɁA@{@}�̒��g�̓��͂𑣂��A + +@example + \section@{???@}: +@end example + +@noindent +�Ƃ����v�����v�g�������̂ŁA�Z�N�V�����̃^�C�g���Ȃǂ���͂��܂��B +���Ƃ��΁A + +@example + (C-v for view-section) \???@{@} (default documentclass): section + \section@{???@}: �ړI +@end example + +@noindent +�̂悤�ɓ��͂����ꍇ�́A���͒��� + +@example + \section@{�ړI@} +@end example + +@noindent +���}������A + +@example + (C-v for view-section) \???@{@} (default section): vspace* + \vspace*@{???@}: +@end example + +@noindent +�̂悤��@{@}�̒��g���ȗ������Ƃ��́A + +@example + \vspace*@{@} +@end example + +@noindent +�������}������A���s�͂����J�[�\���͎����I�ɒ����ʂ̓����Ɉړ����܂��B + +@menu +* 2�ˆȏ�̈������Ƃ� section�^�R�}���h:: +* Enclose section-type command:: ����⊮ +* Recursive completion:: �ċA�⊮ +* view-sectioning:: �Z�N�V������؂�̃A�E�g���C���\�� +* label-generation:: ���x���������� +@end menu + +@node 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Enclose section-type command, section�^�⊮, section�^�⊮ +@comment node-name, next, previous, up +@subsection 2�ˆȏ�̈������Ƃ� section�^�R�}���h +@cindex ����[�Ђ�����] + + �Ƃ���Ł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 + +@example + C-u 2 [prefix] s (�܂��́AESC 2 [prefix] s) +@end example + +@noindent +�� section �^�⊮���Ăяo������A + +@example + (Ctrl-v for view-section) \???@{@} (default vspace*): addtolength + \addtolength@{???@}: \topmargin + Argument 2: 8mm +@end example + +@noindent +�̂悤�ɓ��͂��Ă��������B�ŏ��� addtolength �̕����ƁA�������ł��� +\topmargin �̓��͓͂��R�X�y�[�X�ɂ��⊮���͂��”\�ł��B���[�U�����ɓo�^ +����� La@TeX{} �R�}���h�ɂ́A���̈����̐����w�K�����̂ŁA�ŏ��̕⊮�̎� +�����̐����w�肵�ċN�����Ă����΁A�Ȍ�̕⊮���ɂ́A�L�����ꂽ���������� +�𕷂��ė���悤�ɂȂ�܂��B���Ƃň����̌���ς��������́A�Ă� @kbd{C-u} +��p���Ȑ����w�肵�������ƂŁA�����I�Ɏ������̈����̌��̕������X�V���� +���B +@cindex �����̌���ς���[�Ђ������̂�������������] + + +@node Enclose section-type command, Recursive completion, 2�ˆȏ�̈������Ƃ� section�^�R�}���h, section�^�⊮ +@subsection ���ɏ������e�L�X�g������ +@cindex ����[������] + + �܂��A�N���R�}���h��@kbd{s}��啶���ɕς��ċN������ƁA���炩���ߏ� +�������͂� section �^�R�}���h�̑������Ƃ��Ċ���܂��B + +@node Recursive completion, view-sectioning, Enclose section-type command, section�^�⊮ +@comment node-name, next, previous, up +@subsection �ċA�⊮ +@cindex �ċA�⊮[�������ق���] + + ���x�Ȏg�����ɂȂ邩������܂��񂪁Asection�^�⊮�̈����̓��͎��ɂ���� +�⊮���͂𗘗p���邱�Ƃ��ł��܂�(section/large/maketitle�^�Ɍ���)�Bsection +�^�R�}���h�̈����ɍX�� La@TeX{} �R�}���h������ꍇ�ɂ̓~�j�o�b�t�@�Ŗ쒹�� +�⊮�L�[���ċA�I�ɓ��͂��邱�Ƃň����̓��͂������I�ɍs�Ȃ��܂��B + +@node view-sectioning, label-generation, Recursive completion, section�^�⊮ +@comment node-name, next, previous, up +@subsection �Z�N�V������؂�̃A�E�g���C���\�� +@cindex �A�E�g���C��[�����Ƃ炢��] + + �ʏ��section�^�⊮�̎��Ƀ~�j�o�b�t�@��@kbd{C-v}�������ƌ��ݑ��݂���Z�N +�V������؂�R�}���h�S�Ă� @code{*Sectioning Lines*}�Ƃ����o�b�t�@�Ɉꗗ�\ +�����܂�(�u<<--�v�̂‚��Ă���s�������Ƃ��߂��Z�N�V������؂�)�B���̎��~�j +�o�b�t�@��@kbd{C-p}, @kbd{C-n} ��������@samp{part}, @samp{chapter}, ..., +@samp{subparagraph} �̃R�}���h���_���K�w�̍����ɂ��������ď㉺���܂��B�܂��A +@kbd{C-v}, @kbd{M-v} �������ƃZ�N�V������؂�ꗗ�o�b�t�@���X�N���[�����A +������@kbd{0}�`@kbd{7}�������Ƃ��鍂���ȏ�̃Z�N�V������؂肾����I��ŕ\ +�����܂�(���ۂɂ���Č���Ε�����܂�)�B + +@code{*Sectioning Lines*}�o�b�t�@�́A + +@table @kbd +@item M-x YaTeX-section-overview + @dots{} �Z�N�V������؂�ꗗ�o�b�t�@�𐶐� +@end table + +@cindex �Z�N�V������؂�ꗗ�o�b�t�@[��������񂭂��肢�����͂‚ӂ�] +�ō쐬���邱�Ƃ��ł��܂��B���̃o�b�t�@��I�����C�ӂ̍s�ŃX�y�[�X�������ƁA +�Y������Z�N�V������؂�̂���{�����̏ꏊ�ɃW�����v���܂��B����ɁA���o�b +�t�@�� @kbd{u} �������ƁA�\�[�X�e�L�X�g�̑Ή�����Z�N�V�����R�}���h����K +�w�オ��(��: subsection �� section �ɕς��)�A@kbd{d}�������ƈ�K�w������ +�܂��B@code{*Sectioning Lines*}�o�b�t�@�ɂ���Z�N�V������؂�̍s���}�[�N +���Ă�����@kbd{U}�������ƃ��W�������̂��̂ɑΉ�����\�[�X�e�L�X�g�̃Z�N�V�� +���R�}���h���ׂĂ���K�w�オ��A@kbd{D}�������Ɖ�����܂��B�Z�N�V������� +��ꗗ�o�b�t�@�ŗ��p�ł���L�[�R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +@table @kbd +@item SPC + @dots{} �Ή�����\�[�X�s�փW�����v +@item . + @dots{} �Ή�����\�[�X�s��\�� +@item u + @dots{} �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w�グ�� +@item d + @dots{} �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w������ +@item U + @dots{} �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� +@item D + @dots{} �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� +@item 0�`6 + @dots{} ���x�� n �ȉ��̃Z�N�V�����R�}���h���B���ĕ\�� +@end table + +@cindex �_���K�w[���肩������] +@cindex �Z�N�V������؂�[��������񂭂���] +@cindex �W�����v[������] + +@node label-generation, , view-sectioning, section�^�⊮ +@comment node-name, next, previous, up +@subsection ���x���������� +@cindex ���x����������[��ւ邵�Ƃ���������] + + @code{\ref@{@}} �� @code{\cite@{@}} �}�N����section�^�⊮�œ��ꂽ�ꍇ +�Q�Ɛ�ƂȂ蓾����̂�S�ĒT���ă��j���[�ɂ��đI���ł��܂��B�Q�Ɛ�ɂ� +@code{\label@{@}}���‚��Ă����K�v�͂���܂���B��������΁A���̃��x���� +�g���A�Ȃ���΂��̏�ŎQ�Ɛ��@code{\label@{@}}����点�Ă���܂��B +���x�������l����̂͋�ɂɊ�������̂ł��B�S�ẴJ�E���^�Ƀ��x���� +�‚���̂������ւ�ł��B�������x�����ɉ����‚��邩�A���x�����‚��邩�‚��� +�����A�ȂǂƂ������Ƃ͖Y��܂��傤! + +@node large�^�⊮, maketitle�^�⊮, section�^�⊮, Completion +@comment node-name, next, previous, up +@section large�^�⊮ +@cindex large�^�⊮[large�����ق���] +@cindex prefix l + + @code{@{\large @}} �̂悤�Ȍ`���̕⊮�� large �^�⊮�ƌĂԂ��Ƃɂ��܂��B + +@table @kbd +@item [prefix] l + @dots{} large �^�⊮�J�n +@end table + +@noindent +��large�^�⊮�̊J�n�ł��B@kbd{[prefix] l} �������ƁA�~�j�o�b�t�@�� + +@example + @{\??? @} (default large): +@end example + + +�ƕ\�������̂ŁA��L�̂��̂Ɠ����v�̂ŕ⊮���͂��ĉ������B�⊮���ɗp�� +����Ă���̂́A@samp{footnotesize} �� @samp{huge} �̂悤�ȕ����T�C�Y�w�� +�q�ƁA@samp{bf}��@samp{dg}�̂悤�ȃt�H���g�w��q�ł��B +@cindex �����T�C�Y�w��q[�������������Ă���] +@cindex �t�H���g�w��q[�ӂ���Ƃ��Ă���] + +@subsection ���ɏ��������������� +@cindex ����[������] + + �܂��Abegin�^�⊮�̎��Ɠ��l�A��ɏ����Ă��܂�����A�̕��͂̕����̃T�C�Y +��ς������Ǝv����������܂����A���̂悤�Ȏ��́A�T�C�Y��傫����ς������� +���͈̔͂��}�[�N���Ă���A�Ăяo���L�[�� @kbd{[prefix] L} �ƁA�啶���� L +�ɕς��ČĂяo���΁A���̃��W�����S�̂��A�u���[�X�ň͂܂�܂��B + +@node maketitle�^�⊮, Arbitrary completion, large�^�⊮, Completion +@comment node-name, next, previous, up +@section maketitle�^�⊮ +@cindex maketitle�^�⊮[maketitle�����ق���] +@cindex prefix m + + @code{\maketitle} �̌`���̕⊮�� maketitle �^�⊮�ƌĂԂ��Ƃɂ��܂��B + +@table @kbd +@item [prefix] m + @dots{} maketitle �^�⊮�J�n +@end table + +@noindent +�ŁAmaketitle �^�⊮���J�n���܂��B�⊮�̗v�͍̂��܂ł̂��̂Ƃ܂����������� +���BLa@TeX{} �p�̃R�}���h�����⊮���Ƃ��ėp�ӂ���Ă��܂��B + +@node Arbitrary completion, end�⊮, maketitle�^�⊮, Completion +@comment node-name, next, previous, up +@section �����⊮ +@cindex �����⊮[�������ق���] +@cindex prefix SPC + + ���āA���܂ŏq�ׂ��T�^�I�� La@TeX{} �R�}���h�`���̕⊮���͂�p�����ɁA�� +���͂��悤�Ƃ��Ă��� La@TeX{} �R�}���h�𕶏����̔C�ӂ̈ʒu�Ő����⊮���邱 +�Ƃ��ł��܂��BLa@TeX{} �R�}���h(�擪��\�Ŏn�܂�)����͂��Ă���r���ŁA + +@table @kbd +@item [prefix] SPC + @dots{} �����⊮ +@end table + +@noindent +����͂���΁A�S�Ă̕⊮���̒������v������̂��I�΂�J�[�\���ʒu�ɑ}�� +����܂��B + +@node end�⊮, Accent mark completion, Arbitrary completion, Completion +@comment node-name, next, previous, up +@section end�⊮ +@cindex end�⊮[end�ق���] +@cindex prefix e + + ���݊J�����܂܂̊‹����������I�Ɍ��o���A@code{\end@{�‹���@}}��}������ +���Bbegin �^�⊮��p����Ί‹��̕‚��Y��͂Ȃ��̂ł����A���ɂ͂‚��‚���� +@code{\begin@{�‹���@}} �����Ă��܂��A�߂����v�������邱�Ƃ�����܂��B�� +�̂悤�Ȏ��ɂ͋C�ɂ��������ĕ��͂���͂��A������̂��� + +@table @kbd +@item [prefix] e + @dots{} end �⊮ +@end table + +@noindent +�Ƃ��邱�ƂŁA���݊J���Ă���‹����� \end@{@} ������܂��B + +@node Accent mark completion, Image completion, end�⊮, Completion +@comment node-name, next, previous, up +@section �A�N�Z���g�L���⊮ +@cindex �A�N�Z���g�L���⊮[��������Ƃ������ق���] +@cindex prefix a +@cindex ����[�����ӂ�] + + �����̃A�N�Z���g�L��(@code{\`@{o@}}�Ȃ�)����͂��鎞�́A + +@table @kbd +@item [prefix] a + @dots{} �A�N�Z���g�L������ +@end table + +@noindent +�������ƁA�~�j�o�b�t�@�� + +@example + 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b +@end example + +@noindent +�Ƃ������j���[���o�ė���̂ŁA�����A�܂��͑Ή�����L��/�p������� +���ĉ������B����ƕҏW�o�b�t�@�ɁA + +@example + \`@{@} +@end example + +@noindent +�������A�J�[�\����@{@}���Ɉʒu����̂ŁA����Ɉꕶ�����͂��鎖�ŁA + +@example + \`@{o@} +@end example + +@noindent +����������A�J�[�\����@{@}�̊O�ɖ߂�܂��B + +@node Image completion, Greek letter completion, Accent mark completion, Completion +@comment node-name, next, previous, up +@section �����L���C���[�W�⊮ +@cindex �����L���C���[�W�⊮[�����������������߂����ق���] +@cindex �C���[�W�⊮[���߂����ق���] +@cindex ; +@cindex �������[�h[��������������] +@cindex ���[�₵�邵] +@cindex ��[������] +@cindex leftarrow +@cindex ��[�ނ��񂽂�] + + ��ɐ������[�h�Ŏg�p�����A���⃰�Ȃǂ̋L�����[���I�ɕ\������L�[���� +�ŁALa@TeX{} �R�}���h����͂ł��܂��B����͖쒹���g�́u�������[�h�v�ł̂� +���삵�܂��B�쒹�̓J�[�\����@TeX{}�̐����‹��̒��ɂ��鎞��@kbd{;}��A +@kbd{:}�ɓ���ȋ@�\���������܂��B + + ���āA�Ⴆ�΁A��(leftarrow)��ASCII���������ŕ\������ꍇ�A��ʓI�ɂ́u<-�v +�̂悤�ɂ��܂����A����𗘗p���āA�����L���C���[�W���̓��[�h�� +@code{\leftarrow}����͂���ɂ́A@kbd{;}(�Z�~�R����)��ł��Ă���@kbd{<-}�� +���͂��܂��B���l�ɁA�������-(long-leftarrow) ��ASCII���������ŕ\������ +�ꍇ�u<--�v�Ƃ���̂ŁA@code{\longleftarrow}����͂��邽�߂ɂ́A@kbd{;<--} +�Ɠ��͂��܂��B���邢�͖�����L����ASCII���������ŕ\�����鎞�́uoo�v�̂悤 +�ɂ��邱�Ƃ���A@code{\infty} ����͂��鎞�́A@kbd{;oo}�ƃL�[���͂��܂��B + + �����̑�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B + +@example +INPUT ���͂���� La@TeX{} �R�}���h +; < - @code{\leftarrow} +; < - - @code{\longleftarrow} +; < - - > @code{\longleftrightarrow} +; o @code{\circ} +; o o @code{\infty} +@end example + + + + ������̏ꍇ���A�C���[�W���͂��s���Ă���r���Ŗ]�݂̂��̂��o�b�t�@ +�ɕ\�����ꂽ�Ȃ�A�����ŃC���[�W���͂��~�߂Ď��̕ҏW����Ɉڂ��Ă� +�\���܂���B + +@cindex ;���g[;������] + �����‹�����@samp{;}���g����͂���ɂ�@kbd{;;}�̂悤�ɂ��܂��B�C���[�W +���͂̓r����TAB�������ƁA����܂œ��͂��������Ŏn�܂���̈ꗗ���\������� +���B�����ŖړI�� La@TeX{} �R�}���h�܂ŃJ�[�\�����ړ����ēxTAB���������Ƃ� +���� La@TeX{} �R�}���h���o�b�t�@�ɑ}������܂��B + + �ǂ̃L�[���͂ɂǂ̋L�����Ή����Ă��邩�S�Ēm�肽�����́A@kbd{;}�������� +�����TAB�������Ă��������B�ȉ��̗�́A@kbd{;<}�Ɖ��������TAB������������ +�ł��B + +@example +KEY LaTeX sequence sign +< \leq �� +<< \ll �s +<- \leftarrow �� +<= \Leftarrow <= +@end example + +������[���̓L�[]�A[�Ή����� La@TeX{} �R�}���h]�A[(�[��)�L���}��]�A�� +�������Ń��j���[���o�ė���̂ŁA�悭�g�����̂��o���Ă����Ɨǂ��ł��� +���B���̂ɂ���Ă�ASCII�����ŕ\�����邱�Ƃ�����Ȃ̂ŁA���܂�o�� +�₷���L�[���тł͂Ȃ����̂�����ł��傤����A���̂悤�ȏꍇ�� +\maketitle �^�⊮�œ��͂��邩�A�ȉ��ɏq�ׂ�Ή��\�̐ݒ���s���ĒP +���ȃL�[���т̂��̂�ݒ肷��Ɨǂ��ł��傤�B + + ���̓L�[�� La@TeX{} �R�}���h�A�L���̑Ή��\���l�I�ɐݒ肵�����ꍇ�� +Emacs-Lisp �ϐ� @code{YaTeX-math-sign-alist-private} �ɒ�`���Ă��������B +���̓��e�ƃf�t�H���g�̂��̂����킹�����̂��Ή��\�Ƃ��Ďg�p����܂�(private +�̕����D�悳���)�B�Ȃ��A���̕ϐ��̍\���ɂ‚��Ă� @file{yatexmth.el} ���Q +�Ƃ��Ă��������B +@cindex YaTeX-math-sign-alist-private + +@node Greek letter completion, , Image completion, Completion +@comment node-name, next, previous, up +@section �M���V�������⊮ +@cindex �M���V�������⊮[���肵������ق���] +@cindex : + + ������A�����‹�����@kbd{:}�������ƃM���V���������̓��[�h�ɓ���܂��B +@kbd{:}�������������@kbd{a}��������@code{\alpha}���A@kbd{g} �������� +@code{\gamma}���A�ȂǃA���t�@�x�b�g�ɑΉ������M���V���������}������܂��B +������@��;�̐����L���⊮�Ƃ܂����������ł��B�܂���@kbd{:}�̒���� +TAB�������Ăǂ̃A���t�@�x�b�g�ɂǂ̃M���V���������Ή����Ă��邩���ׂĂ݂� +���������B + + @kbd{;}��@kbd{:}�𐔎��‹����ʼn����Ă���ɂ�������炸�A�C���[�W�⊮���� +���Ȃ��ꍇ�́A@kbd{C-u ;}�̂悤�� universal-argument ���‚��ăL�[�������� +�Ƃɂ��A�����I�ɃC���[�W�⊮�ɓ��邱�Ƃ��ł��܂��B�܂��A���̎��ɂǂ̂悤 +�ȏ�ԂŐ����‹�������Ɏ��s�����������A���������B + +@node Local dictionary, Commenting out, Completion, Top +@comment node-name, next, previous, up +@chapter ���[�J������ +@cindex ���[�J������[�남���邵����] +@cindex .yatexrc + + �⊮���͗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)serDic L)ocalDic N)one D)iscard +@end example + +@noindent +�Ƃ����v�����v�g�ɑ΂��A@kbd{u}�Ɠ�����Ɓu���[�U�����v���A@kbd{l}�Ɠ����� +�ƃ��[�J���������X�V���A@kbd{n}�Ɠ�����Ǝ����t�@�C���͍X�V�������݂�Emacs +�Z�b�V�����̂ݗL���ȒP��Ƃ��A@kbd{d}�Ɠ�����ƐV���ȒP����w�K�����Ɏ̂� +�邱�ƂɂȂ�܂��B + + �����A���[�J�������̋@�\�͂��炸�A�S�ă��[�U�����̍X�V�݂̂ł悢�ƌ����� +���ɂ�@file{~/.emacs}�ȂǂŁA +@cindex YaTeX-nervous + +@lisp + (setq YaTeX-nervous nil) +@end lisp + +@noindent +�Ƃ��ĉ������B + +@node Commenting out, Cursor jump, Local dictionary, Top +@comment node-name, next, previous, up +@chapter �R�����g�A�E�g +@cindex �R�����g�A�E�g[���߂�Ƃ�����] +@cindex prefix < +@cindex prefix > +@cindex prefix . +@cindex prefix , + + + La@TeX{}�̕ҏW�ɂ͎��s���낪�‚����̂ł��B���镔�����ꊇ�ŃR�����g�A�E�g +������A�R�����g���O�����肵�������Ƃ�����܂��B + +@table @kbd +@item [prefix] > + @dots{} ���W������ % �ŃR�����g�A�E�g +@item [prefix] < + @dots{} ���W������ % �̃R�����g���O�� +@end table + +@noindent +�́A���炩���ߐݒ肵�����W�����ɑ΂��Ă̑���A + +@table @kbd +@item [prefix] . + @dots{} ���݂̃p���O���t���R�����g�A�E�g +@item [prefix] , + @dots{} ���݂̃p���O���t�̃R�����g���O�� +@end table + +@noindent +�́A�J�[�\���̈ʒu����p���O���t�S�̂ɑ΂��Ă̑���ł��B�Ȃ��A�����ł��� +�u�p���O���t�v�� (@code{mark-paragraph}) �֐��ɂ��}�[�N�����͈͂��w�� +�܂�(�W���ݒ��@kbd{ESC h}�Ƀo�C���h����Ă���)�B�Ȃ��A����@code{%}�ŃR�� +���g�A�E�g����Ă���p���O���t�ɑ΂��ČJ��Ԃ��p���O���t�̃R�����g���g�p�� +���ꍇ�̓���͕ۏ؂��܂���̂Ō䒍�ӂ��������B + + ���āA���͂ɑ΂��Ă����łȂ��A���ɂ�@code{\begin}, @code{\end} ���̂ɑ� +���Ă��R�����g�A�E�g�̑�����������Ƃ�������܂��B���̂悤�ȂƂ��́A +@code{\begin@{@}} ���邢�� @code{\end@{@}} �̍s�ɃJ�[�\�������킹�A + +@table @kbd +@item [prefix] > + @dots{} @code{\begin@{@}}�`@code{\end@{@}} �S�ăR�����g�A�E�g +@item [prefix] < + @dots{} @code{\begin@{@}}�`@code{\end@{@}} �S�ăR�����g���O�� +@end table + +@noindent +�Ƃ��邱�ƂŁA@code{\begin�`\end}�ň͂܂��‹��S�Ăɑ΂��ăR�����g���삵�A + +@table @kbd +@item [prefix] . + @dots{} @code{\begin@{@}} �� @code{\end@{@}} ���R�����g�A�E�g +@item [prefix] , + @dots{} @code{\begin@{@}} �� @code{\end@{@}} �̃R�����g���O�� +@end table + +�́A�Ή����� @code{\begin} �� @code{\end} 2�s�������A�R�����g����̑Ώۂ� +���܂��B���W�������R�����g�A�E�g���悤�Ƃ��āA�}�[�N��ݒ肵���̂��ɃJ�[�\ +�����ړ���@kbd{[preifx] >} �������Ă��J�[�\���� @code{\begin@{@}} �̏�ɂ� +���@code{\begin@{@}}�`@code{\end@{@}}���[�h�ŃR�����g�@�\�������Ă��܂��� +�Œ��ӂ��ĉ������B + +@node Cursor jump, Modifying/Deleting, Commenting out, Top +@comment node-name, next, previous, up +@chapter �J�[�\���W�����v +@cindex �J�[�\���W�����v[�������邵����] +@cindex prefix g + + +@menu +* �Ή��I�u�W�F�N�g�ւ̃W�����v:: +* ���G�`���c�[���N��:: +* ���C���t�@�C���ւ̃W�����v:: +* �‹���P�ʂƂ����W�����v:: +* �Ō�̕⊮�ʒu�ւ̃W�����v:: +@end menu + +@node �Ή��I�u�W�F�N�g�ւ̃W�����v, ���G�`���c�[���N��, Cursor jump, Cursor jump +@comment node-name, next, previous, up +@section �Ή��I�u�W�F�N�g�ւ̃W�����v + + �������̂��낢��ȏꏊ�� + +@table @kbd +@item [prefix] g + @dots{} �Ή�����I�u�W�F�N�g�ɃW�����v +@end table + +@noindent +���������Ƃɂ��A�J�[�\���ʒu��La@TeX{}�R�}���h�ɑΉ�����ꏊ�ɃW�����v +���܂��B�Ή��֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +@itemize @bullet +@item @code{\begin@{@}} ���� @code{\end@{@}} +@item @code{%#BEGIN} ���� @code{%#END} +@item �摜�t�@�C���̎�荞�݃}�N�� �� �Ή�����viewer/���G�����c�[���N�� +@item @code{\label@{@}} ���� @code{\ref@{@}} +@item @code{\include(\input)} �� �Ή�����t�@�C�� +@item @code{\bibitem@{@}} ���� @code{\cite@{@}} +@end itemize + + @code{\begin@{@}} �� @code{\end@{@}} �̍s��@kbd{[prefix] g}���������Ƃ� +���A�Ή�����@code{end/begin}�̍s�ɃW�����v���܂��B�������Ή�������̂� +�Ȃ��ꍇ�̓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 +@kbd{[prefix] g} �������ƁA@file{chap1.tex} �ɃW�����v���܂��B + +�܂��A + +@table @kbd +@item [prefix] 4 g + @dots{} �ʃE�B���h�E�őΉ��I�u�W�F�N�g�ɃW�����v +@end table + +@noindent +�������ƁA�Ή�����I�u�W�F�N�g�ւ̃W�����v��ʃE�B���h�E�ōs���܂��B�������A +���̋@�\�� @code{begin/end}, @code{%#BEGIN/%#END} �Ԃ̃W�����v�ɑ΂��Ă� +(�Ӗ����Ȃ��Ǝv����̂�)�@�\���Ȃ��̂Œ��ӂ��Ă��������B + +@node ���G�`���c�[���N��, ���C���t�@�C���ւ̃W�����v, �Ή��I�u�W�F�N�g�ւ̃W�����v, Cursor jump +@comment node-name, next, previous, up +@section ���G�`���c�[���N�� +@cindex ���G�`���c�[���N��[���������‚��邫�Ƃ�] + +��L�́u�摜�t�@�C���̎�荞�݃}�N���v�Ƃ́A�Ⴆ�� +@code{\epsfile@{file=foo@}} �̂悤�ȑ}�G��荞�݃R�}���h�̂��ƂŁA���̍s�� +�J�[�\�������킹��@kbd{[prefix] g}�������Ƃ��̉摜�t�@�C���̌��ƂȂ����t�@ +�C����Ή����邨�G�`���c�[�����N�����ăI�[�v�����܂��B�N������c�[���̔��� +�͈ȉ��̂悤�ɂȂ���܂��B + +@enumerate +@item +�J�����g�s���ϐ� @code{YaTeX-processed-file-regexp-alist} �ɒ�`�� +��Ă��鐳�K�\���̂����ꂩ�ƃ}�b�`������A�t�@�C�����ɑ������镔���� +\\(\\)���甲���o���Ċo���Ă���(���Ԗڂ�\\(\\)���͕ϐ��̊e���X�g�� cdr ���� +����Ă���)�B�}�b�`���Ȃ���Ή������Ȃ��B +@item +�s���ɁA�ϐ� @code{YaTeX-file-processor-alist} �ɓo�^����Ă���R�}���h�� +�u%�R�}���h�v �̂悤�ɏ����Ă���΋����I�Ɂu�R�}���h �t�@�C����.�g���q�v�� +�N���B +@item +�Ȃ���΁A�ϐ� @code{YaTeX-file-processor-alist} �̊e���X�g��cdr���ɓ����� +����g���q���u�t�@�C�����v�̌��ɑ������t�@�C�������݂��邩�������ׂāA�� +�݂����ꍇcar���ɓ����Ă���R�}���h���N������B +@item +�ȏ�ǂꂩ�Ƀ}�b�`���Ȃ���΂�����߂�B +@end enumerate + + +�ϐ� @code{YaTeX-file-processor-alist} �ƕϐ� +@code{YaTeX-file-processor-alist} �̐ݒ���@�ɂ‚��Ă͂��ꂼ��̕ϐ��ɂ‚� +�� describe-variable ���Đ�����ǂ�ʼn������B���܂��ݒ肷��ƁA�摜�t�@�C +���ɂ����炸�A�C�ӂ̌`���̃t�@�C����C�ӂ̃v���Z�b�T�ŏ�������R�}���h���� +�P�ɌĂяo�����Ƃ��ł��܂��B + +@node ���C���t�@�C���ւ̃W�����v, �‹���P�ʂƂ����W�����v, ���G�`���c�[���N��, Cursor jump +@comment node-name, next, previous, up +@section ���C���t�@�C���ւ̃W�����v + +@file{chap1.tex}�̂悤�ȃT�u�t�@�C���ŁA + +@table @kbd +@item [prefix] ^ + @dots{} ���C���t�@�C���ɃW�����v +@item [prefix] 4 ^ + @dots{} �ʃE�B���h�E�Ń��C���t�@�C���ɃW�����v +@end table + +@noindent +�������ƁA���C���t�@�C���̕ҏW�o�b�t�@�ɐؑւ��܂��B�����A���C���t�@�C���� +�I�[�v�����Ă��Ȃ��ꍇ�́A�J�����g�f�B���N�g������T���Ď����I�ɃI�[�v���� +�܂��B + +@node �‹���P�ʂƂ����W�����v, �Ō�̕⊮�ʒu�ւ̃W�����v, ���C���t�@�C���ւ̃W�����v, Cursor jump +@comment node-name, next, previous, up +@section �‹���P�ʂƂ����W�����v + +����Ɍ��݂̊‹���P�ʂƂ��ċ@�\����R�}���h�Ɉȉ��̂��̂�����܂��B + +@cindex �‹��̐擪��[���񂫂悤�̂���Ƃ���] +@cindex �‹��̖�����[���񂫂悤�̂܂‚Ђ�] +@cindex �‹����}�[�N[���񂫂悤���܂���] +@cindex M-C-a +@cindex M-C-e +@cindex M-C-@@ +@table @kbd +@item M-C-a + @dots{} �‹��̐擪(@code{\begin})�փW�����v +@item M-C-e + @dots{} �‹��̖���(@code{\end})�փW�����v +@item M-C-@@ + @dots{} �‹��S�̂��}�[�N +@end table + +��L�̃R�}���h�͒ʏ��@kbd{[prefix]}�L�[�ł͂Ȃ�@kbd{META}�L�[���v���t�B�N +�X�Ƃ��ċ@�\����̂ł����Ӊ������B + +@node �Ō�̕⊮�ʒu�ւ̃W�����v, , �‹���P�ʂƂ����W�����v, Cursor jump +@comment node-name, next, previous, up +@section �Ō�̕⊮�ʒu�ւ̃W�����v + +�쒹�͕⊮���͂����ʒu����Ƀ��W�X�^ @code{3}�ɕۑ����Ă��܂��B +���͓r���Ŕ@���Ȃ�t�@�C���̔@���Ȃ�ʒu�ɍs�����Ƃ��Ă��A +@kbd{C-x j 3}(@code{jump-to-register})���g���Ē����ɍŌ�̕⊮���͈ʒu�ɖ� +�邱�Ƃ��ł��܂��B + +@node Modifying/Deleting, Filling, Cursor jump, Top +@comment node-name, next, previous, up +@chapter �ύX/�폜 +@cindex �ύX/�폜[�ւ񂱂�/��������] +@cindex prefix c +@cindex prefix k + + ���ɓ��͂���Ă��� La@TeX{} �R�}���h�̕ύX/�폜�̂��߂Ɉȉ��̋@�\���p�� +����Ă��܂��B + +@table @kbd +@item [prefix] c + @dots{} �J�[�\���ʒu�� La@TeX{} �R�}���h�̕ύX +@item [prefix] k + @dots{} �J�[�\���ʒu�� La@TeX{} �R�}���h�̍폜 +@end table + + +�����̃R�}���h�́A�R�}���h���N������ꏊ�ɂ���ē�������肷��̂Œ��ӂ� +�ĉ������B + +@menu +* Changing LaTeX command:: La@TeX{} �R�}���h�̕ύX +* Killing LaTeX command:: La@TeX{} �R�}���h�̍폜 +@end menu + +@node Changing LaTeX command, Killing LaTeX command, Modifying/Deleting, Modifying/Deleting +@comment node-name, next, previous, up +@section La@TeX{} �R�}���h�̕ύX + +�ύX������ La@TeX{} �R�}���h�ɃJ�[�\�������킹�� @kbd{[prefix] c} +�������Ƃ��̃R�}���h��⊮���͂Ȃǂ�p���Ď�y�ɕς��邱�Ƃ��ł��܂��B +@kbd{[prefix] c} �ŕύX�ł���R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +@itemize +@item @code{begin/end} �̊‹��� +@item section�^�R�}���h�̃R�}���h�� +@item section�^�R�}���h�̈��� +@item section�^�R�}���h�̃I�v�V�����p�����[�^([]�ň͂܂ꂽ����) +@item large�^�R�}���h +@item (�C���[�W�⊮�œ��͉”\��)�������[�h��p��maketitle�^�R�}���h +@end itemize + + �ς�����section�^�R�}���h�̈���������� La@TeX{} �R�}���h���܂ޏꍇ�́A +���̈������͂ޒ����ʂ̏�� @kbd{[prefix] c} ���������ƂŒ��̃R�}���h��ύX +�Ώ۔��肩�珜�O���邱�Ƃ��ł��܂��B + +@cindex �‹����̕ύX[���񂫂悤�߂��̂ւ񂱂�] + +@node Killing LaTeX command, , Changing LaTeX command, Modifying/Deleting +@comment node-name, next, previous, up +@section La@TeX{} �R�}���h�̍폜 + +@kbd{[prefix] k} �͋N������ʒu�ɂ�� +���̂悤�ȓ�����s���܂��B +@cindex �‹��̍폜[���񂫂悤�̂�������] + + +@example +�N���ʒu ���� +\begin, \end�̍s @code{\begin\end}�y�A�̍폜 +%#BEGIN, %#END �̍s %#BEGIN,%#END�y�A�̍폜 +section�^�R�}���h�̏�(��) section�^�R�}���h�̍폜 +�t�H���g�w�芇�ʂ̏� �t�H���g�w��̍폜 +���ʂ̏� �΂��Ȃ����ʂ̍폜 +@end example + + +@code{\begin, \end} ����� @code{%#BEGIN, %#END} ���폜����ꍇ�A +@code{\begin, \end} �� @code{%#BEGIN, %#END} �̑��݂���s�� +�܂邲�ƍ폜�����̂ŁA�����̈�s�� @code{\begin} �Ȃǂ��ˆȏ�A�˂� +�����Ȃ��悤�ɒ��ӂ��Ă��������B +��L�̂��̂͂��ׂĖ{�����͂��u�e��v���폜����悤�ɓ����܂����A +universal-argument (@kbd{C-u}) ��ł������@kbd{[prefix] k}���^�C�v����ƁA +���ꂼ��́u�e��v�Ɋ܂܂��u���g�v����C�ɍ폜���܂��B�ȉ��̗���Q�l�ɂ� +�ĉ������B + +@example + ���̃e�L�X�g: [prefix] k C-u [prefix] k + �{��\footnote@{�r��@}�ł��B �{���r���ł��B �{���ł��B + ��(�J�[�\���ʒu) +@end example + +@node Filling, Includeonly, Modifying/Deleting, Top +@comment node-name, next, previous, up +@chapter ������ +@cindex ������[�������낦] + +@section item�̌����� +@cindex item�Ȃǂ̌�����[item�ȂƂ̂������낦] +@cindex prefix i + + itemize �‹����ɂ���@code{\item}�̍���(����)�������s�ɓn��ꍇ�ɁA�� +�ڂ̐擪���������������ꍇ�ɂ́A + +@c @table @kbd +@c @item [prefix] i +@c @dots{} item�̌����� +@c @end table + +@table @kbd +@item M-q + @dots{} ������ +@end table +@cindex NTT-jTeX[���ʂĂ����Ă����������Â�] + +@noindent +�ɂ���āA���� item �̃C���f���g�̐[���ɉ����� fill ����܂��B�Ȃ��A�Â� +NTT jTeX ���g�p���Ă���ꍇ�ɂ́ALisp �ϐ�@code{NTT-jTeX}��@code{t}�ɃZ�b +�g���ĉ������B + +@cindex YaTeX-item-regexp + ���̂Ƃ��A�ϐ�@code{YaTeX-item-regexp}�̒l(�W���ł� @code{"\\\\item"})�� +���ڎw��R�}���h�̐��K�\���Ƃ��Č����Ɏg�p���܂��Bitemize �‹��ŁA�Ǝ��̃R +�}���h���`���č��ڂ�񋓂��Ă���ꍇ(�Ⴆ��@code{\underlineitem})�́A +@file{~/.emacs} �Ŏ��̂悤�Ɏw�肵�ĉ������B + +@lisp + (setq YaTeX-item-regexp + "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") +@end lisp + + +���̕ϐ��̎w��̎d�����悭������Ȃ��ꍇ�́A�Ǝ��̍��ڗ񋓃R�}���h�̖��O�� +@code{@code{"\item"}�Ŏn�܂���̂ɂ��ĉ�����(�Ⴆ��"\itembf"})�B + +�쒹�� @kbd{M-q} �ł� @code{\item} ���‹��ɉ����Ĉȉ��̂悤�Ɂu�n���O�C�� +�f���g�v���܂��B + +@example +itemize, enumerate�‹�: + >\item[�ق��ق�] �p��ł́A���ɈӖ��̂Ȃ��P��� `foo' �ł���킵�� + > �����A����̓��{��łƂ�������P�ꂪ�u�ق��ق��v + > �ł��B +description�‹�: + > \item[�ւ�ւ�] �u�ق��ق��v���ł���߂��P��Ƃ��Ďg�������ɁA�� + > 2�̂ł���߂ȒP��Ƃ��āu�ւ�ւ�v���g���邱�Ƃ��� + > ���悤�ł��B +@end example + +@section �p���O���t�̌����� +@cindex �p���O���t�̌�����[�͂炭��ӂ̂������낦] +@cindex M-q + + itemize�‹��ȊO�ł̃p���O���t�̌�����(fill)�́A��{�I�ɑ��̃��[�h�Ɠ��� +�悤�ɋ@�\���܂����Averbatim�‹���Atabular�‹��Ȃnj�����������ƔߎS�ȏ� +���ɂȂ�悤�Ȋ‹����ł͋@�\���܂���B�܂��A\verb �Ŋ����Ă�����̂͌����� +�s��������܂���(�ϐ� @code{YaTeX-verb-regexp} �Ő���) )�B����ɁA�ꎞ�I�� +�C���f���g�̐[����ς��Ă���ӏ��ł́A���̃C���f���g�̐擪��@kbd{M-q}���� +�����Ƃɂ�� fill-prefix �����������ύX���Ȃ��Č��������ł��܂��B + + +@node Includeonly, What column, Filling, Top +@comment node-name, next, previous, up +@chapter �����includeonly +@cindex �����includeonly[���‚Ă�includeonly] +@cindex includeonly + + �t�@�C���𕪊����ĕ��͂���͂��Ă��鎞�ɂ́A���C���t�@�C������ + +@example + \includeonly@{���ݕҏW���̃t�@�C����@} +@end example + +@noindent +�̂悤�ɏ����Ă������ƂŁA�^�C�v�Z�b�g�̎��Ԃ�ߖ�ł��܂����A������Ƒ��� +�t�@�C�����蒼�����������ɂ� +@cindex ���̃t�@�C���̎蒼��[�ق��̂ӂ�����̂ĂȂ���] + +@example + \includeonly@{������Ǝ蒼���������t�@�C����@} +@end example + + +�Ə��������Ȃ���΂Ȃ炸��Ԃ�������܂��B�쒹�ł͌��ݕҏW���Ă���t�@�C�� +�������C���t�@�C����@code{\includeonly}�ɂȂ��ꍇ�ɂ͎����I�ɂ�������o���A +���̎w�����‚��܂��B + +@example + A)dd R)eplace %)comment? +@end example + + +���ݕҏW���̃t�@�C���� @code{\includeonly} �̃��X�g�ɉ����������ɂ�@kbd{a} +���A���ݕҏW���̃t�@�C�������� @code{\includeonly} �ɂ���������@kbd{r}���A +@code{\includeonly} �̍s���R�����g�A�E�g���Ė��������������ɂ́A@kbd{%}�� +���ꂼ�ꉟ���ĉ������B + +@node What column, Intelligent newline, Includeonly, Top +@comment node-name, next, previous, up +@chapter �����͂ǂ�? +@cindex �����͂ǂ�?[�����͂Ƃ�?] +@cindex prefix & +@cindex ���G��tabular[�ӂ����‚�tabular] + + ���ڐ��̑��� tabular �Ȃǂ��������񏑂��Ă���Ɖ��̕��̍s�ŁA���܏����� +���錅���ǂ��ɑΉ�����̂��킩��Ȃ��Ȃ��Ă��܂����Ƃ�����܂��B�Ⴆ�΁A�� +���̂悤�� tabular �ɂ����āA + +@example + \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 \\ + ���g���m & 2 & \multicolumn@{2@}@{c|@}@{�����Ȃ�@} + &&&(???) + \\ \hline + \end@{tabular@} +@end example + + +(???)�̕������ǂ̍��ڂȂ̂������ɔ��f����͓̂���ł��傤�B����Ȏ��́A + +@table @kbd +@item [prefix] & + @dots{} ���݂̃J�����\�� +@end table +@cindex ���݂̃J�����\��[���񂳂��̂���ނЂ悤��] + +@noindent +�������ƃJ�[�\���ʒu�̃J�������ǂ̍��ڂɊY�����邩���~�j�o�b�t�@�ɕ\������ +���Btabular/array�‹��̑�1�s�ڂ����ږ��̕��тƂ݂Ȃ��đΉ�������̂�T���� +���B�������ږ��Ƃ��ĕʂ̂��̂�\�����ė~�����ꍇ�́A�s����@code{%}�ɂ��ă_ +�~�[�̍��ڕ��т�����Ă����Ɨǂ��ł��傤�B + +@node Intelligent newline, Usepackage cheker, What column, Top +@comment node-name, next, previous, up +@chapter ���܂������s +@cindex ���܂������s[���܂����������悤] +@cindex &����[&�ɂ䂤��悭] + + tabular[*], array, itemize, enumerate, tabbing �‹���begin�^�⊮�œ��͂� +�����A�܂��͊e�‹����� + +@table @kbd +@item ESC RET + @dots{} ���܂������s +@end table + + +�������ƁA���̊‹��ɉ������s�G���g�������̍s�ɑ}�����܂�(begin�^�⊮���Ɏ� +���}�����ꂽ�G���g�����s�v�ȏꍇ�� undo �ɂ���ď����ł��܂�)�B�Ⴆ�΁A +tabular�‹��ł́A���̊‹��̃J�������ɑΉ��������� @code{&} �ɉ����A�s�� +�� @code{\\} �����܂��B���̎�����ȑO�� @code{\hline} ������΂�����t�� +�����܂��B�‹��Ƃ���ɉ����Ď������͂�����̂̑Ή��͈ȉ��̂悤�ɂȂ�܂��B + +@itemize +@item @code{tabular}, @code{tabular*}, @code{array} + + �J������-1 ������ @code{&} �� @code{\\}�B�K�v�ɉ����� @code{\hline} + +@item @code{tabbing} + + ��s�ڂŒ�`���Ă��� @code{\=} �Ɠ������� @code{\>}�B + +@item @code{itemize}, @code{enumerate}, @code{description}, @code{list} + + @code{\item} �܂��� @code{item[]} +@end itemize + + tabular �‹��̗�̂悤�ɁA�{�@�\�͊e�‹��̈�s�ڂ̓��e���Q�l�ɂ��ē��삷 +��̂ŁA�Ȃ�ׂ���s�ڈȍ~�ŌĂяo���悤�ɂ��Ă��������B + + �����A���̑��̊‹��A�Ⴆ�� @code{foo}�A�ɑ΂���@code{���܂������s}�𓮍� +�����������́A@code{YaTeX-intelligent-newline-foo} �Ƃ������O�̊֐����` +���܂��B��`�����֐��́A���݂̍s�ɉ��s��}����������̍s���̈ʒu�ŌĂ΂�� +���B�֐� @code{YaTeX-indent-line} ���ĂԂƌ��݂̊‹��̃l�X�g�ɉ������[���� +�C���f���g�����̂ŁA������Ă�ł��牽����}������悤�ȃR�[�h�������Ƃ� +���ł��傤�B@file{yatexenv.el}���̊֐� +@code{YaTeX-intelligent-newline-itemize} �̒�`�Ȃǂ��Q�l�ɂ��Ă��������B + + +@node Usepackage cheker, Changing mode of YaTeX, Intelligent newline, Top +@comment node-name, next, previous, up +@chapter ����usepackage +@cindex ����usepackage[�����܂��] + + begin�^�Asection�^�Amaketitle�^�A�����ꂩ��LaTeX2e�}�N����⊮���͂���ƁA +���̃}�N���̗��p�ɊO���p�b�P�[�W��K�v�Ƃ���ꍇ�A���̃p�b�P�[�W�� +�{������ @code{\usepackage@{@}} ���Ă��邩�ǂ����𒲍����A�������Ă��Ȃ���� +�v���A���u���ɑΉ�����p�b�P�[�W�������ɂ��� @code{\usepackage} ���� +(�m�F���)�}�����܂��B + + ���������̋@�\���������߂ɂ́A�p�b�P�[�W���Ƃ��̒��Œ�`����Ă���}�N�� +�Q��alist�̌`���ŕϐ� @code{YaTeX-package-alist-private} �ɐݒ肵�Ă����K +�v������܂��B + +@node Changing mode of YaTeX, Online help, Usepackage cheker, Top +@comment node-name, next, previous, up +@chapter �쒹�̓��샂�[�h�؂�ւ� +@cindex ���[�h�؂�ւ�[�����Ƃ��肩��] +@cindex prefix w + +@table @kbd +@item [prefix] w + @dots{} �쒹���샂�[�h�؂�ւ����j���[ +@end table + +@noindent +�Ŗ쒹���g�̓�������肷��ȉ��̃��[�h��؂�ւ��܂��B + +@itemize @bullet +@item �C�����[�h +@item �쒹�������[�h +@end itemize + +�C�����[�h�́A�J�����ʓ��͎��̏������R���g���[�����A�C�����[�hON�̎��͊J�� +���ʂ̓��͂͊J�����ʂ݂̂̓��͂ɂȂ�A�C�����[�hOFF�̎��͊J�����ʂ̓��͂� +���ŕ‚����ʂ܂œ��͂��܂��B�f�t�H���g(�N����)�̐ݒ��@emph{OFF}�ł��B + + �쒹�������[�h�́A�ϐ� @code{YaTeX-auto-math-mode} �� @code{nil} �̎��� +�ݗL���ŁA���̂Ƃ�@kbd{;}��@kbd{:}����������(@ref{Image completion}�Q��)�ɁA +�ǂ̂悤�ȃC���[�W�⊮���@�\�����邩�A�ʏ�̃L�[�Ƃ��ċ@�\�����邩���蓮�� +�؂�ւ��܂��B�������肪�x���}�V���ł�@code{YaTeX-auto-math-mode} +@code{nil}�ɃZ�b�g���A�쒹�������[�h���蓮�Ő؂�ւ���Ɨǂ��ł��傤�B + + +@node Online help, Inclusion hierarchy browser, Changing mode of YaTeX, Top +@comment node-name, next, previous, up +@chapter �I�����C���w���v +@cindex �I�����C���w���v[����炢��ւ��] +@cindex apropos +@cindex �L�[���[�h����[�����킠�Ƃ��񂳂�] +@cindex prefix ? +@cindex prefix / + + �g�����Ƃ��� La@TeX{} �R�}���h�̗p�@���悭������Ȃ����́A�I�����C���w�� +�v���Ђ��܂��傤�B�w���v�Ɋւ���L�[�ɂ͈ȉ��̂��̂�����܂��B + +@table @kbd +@item [prefix] ? + @dots{} �I�����C���w���v +@item [prefix] / + @dots{} �I�����C��apropos +@end table + +@section �I�����C���w���v +@cindex �O���[�o���w���v[���남�͂�ւ��] +@cindex �v���C�x�[�g�w���v[�ӂ炢�ւ��Ƃւ��] +@cindex YaTeX-help-file +@cindex YaTeX-help-file-private + + �u�I�����C���w���v�v�́A��ʓI�� La@TeX{} �R�}���h(�f�t�H���g�ŃJ�[�\�� +�ʒu�̃R�}���h)�ɑ΂��������ׂ̃o�b�t�@�ɕ\�����܂��B���̎��Q�Ƃ����w +���v�p�t�@�C���ɂ́u�O���[�o���w���v�v�Ɓu�v���C�x�[�g�w���v�v�̓��ނ��� +��A�O�҂� La@TeX{} �̕W���R�}���h�̎�Ȃ��̂̐������܂ރt�@�C���ŁA�ϐ� +@code{YaTeX-help-file}�̒l�Ŏw�肳��܂��B���̃t�@�C���͒ʏ�����̏ꏊ(�f +�t�H���g��@code{$EMACSEXECPATH})�ɒu����A�N�������̓��e���X�V�ł���悤�� +�S���ɏ������݌����^������ׂ����̂ł��B��҂́A��W���������͌l�I�ȃ} +�N����`�Ɋւ��������������Ă���t�@�C���ŁA�ϐ� +@code{YaTeX-help-file-private}�̒l�Ŏw�肳��܂��B������̓��[�U�̃z�[���f�B +���N�g���̉��Ȃǂɒu����܂��B + +@section �I�����C��apropos + + �u�I�����C��apropos�v�� GNU Emacs �� apropos �Ɠ��l�A���[�U���w�肵���L�[ +���[�h��������Ɋ܂ލ��ڂ��ׂĂ�ׂ̃o�b�t�@�ɕ\�����܂��B + + �����A���ׂ悤�Ƃ���La@TeX{}�R�}���h�ɑ΂���������w���v�t�@�C�����Ɍ��� +����Ȃ������ꍇ�́A�������̓��͂����߂Ă���̂ŁA�”\�ł���ΎQ�l���Ȃǂ� +���ׂĂ��̃R�}���h�̐�������͂��Ă��������B�����A�Ȃɂ��W���I�ȃR�}���h�� +�΂���������������Ȃ�΂��Ў��܂ł��̐����������艺�����B����̔z�z�Ɋ܂� +�����Ǝv���܂��B + +@node Inclusion hierarchy browser, Cooperation with other packages, Online help, Top +@comment node-name, next, previous, up +@chapter �C���N���[�h�\���u���E�U +@cindex �C���N���[�h�\��[���񂭂邤�Ƃ�������] +@cindex prefix d + +�����̃t�@�C���ɕ������Ă���h�L�������g�������Ă���ꍇ�A + +@table @kbd +@item [prefix] d + @dots{} �C���N���[�h�\���u���E�Y +@end table + +@noindent +�������ƁA���̃h�L�������g�̐e�t�@�C���𕷂��ė��܂��B�����őS�Ẵt�@�C�� +�̐e�ƂȂ�t�@�C��(�f�t�H���g��������Ă���̂ő���RET�̂�)����͂���� +�C���N���[�h���Ă���S�Ẵt�@�C������͂��A�C���N���[�h�󋵂����o�I�ɕ\�� +���܂��B���̃o�b�t�@�ł͈ȉ��̃L�[���삪�L���ł��B + +@table @kbd +@item n + @dots{} ���̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� +@item p + @dots{} ��̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� +@item N + @dots{} �����C���N���[�h���x���̎��̃t�@�C���Ɉړ� +@item P + @dots{} �����C���N���[�h���x���̑O�̃t�@�C���Ɉړ� +@item j + @dots{} ���̍s�Ɉړ� +@item k + @dots{} ��̍s�Ɉړ� +@item u + @dots{} ���e�ɂ�����t�@�C���Ɉړ� +@item . + @dots{} �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ɕ\�� +@item SPC + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���A�b�v +@item DEL, b + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���_�E�� +@item < + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C���̐擪��\�� +@item > + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C���̖�����\�� +@item ' + @dots{} (@kbd{<}��@kbd{>}�̌��)���̕\���ʒu�ɖ߂� +@item RET, g + @dots{} �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ŃI�[�v�� +@item mouse-2 + @dots{} RET�Ɠ���(�E�B���h�E�g�p���̂�) +@item o + @dots{} �ׂ̃E�B���h�E�Ɉړ� +@item 1 + @dots{} ���̃E�B���h�E������ +@item - + @dots{} �u���E�Y�E�B���h�E������������ +@item + + @dots{} �u���E�Y�E�B���h�E��傫������ +@item ? + @dots{} �w���v�\�� +@item q + @dots{} �\���O�̏�Ԃɖ߂� +@end table + + �������A�ׂ̃E�B���h�E�̃t�@�C���̓��e��\������@�\�Ɋւ��ẮA�Ή����� +�t�@�C�����N���[�Y���Ă��܂��Ƃ��܂������܂���̂ł����ӂ��������B + +@node Cooperation with other packages, Customizations, Inclusion hierarchy browser, Top +@comment node-name, next, previous, up +@chapter ���p�b�P�[�W�Ƃ̘A�g +@cindex ���p�b�P�[�W�Ƃ̘A�g[���͂‚������Ƃ̂�񂯂�] + +@section gmhist +@cindex gmhist +@cindex �R�}���h�q�X�g��[���܂�ƂЂ��Ƃ�] +@cindex �q�X�g��[�Ђ��Ƃ�] + + @file{gmhist.el}��@file{gmhist-mh.el} �����[�h���Ă���ꍇ�A�v�������[�R +�}���h�̓���(@kbd{[prefix] tp]})�A����R�}���h�̓���(@kbd{[prefix] tl})�� +���ɓƗ������q�X�g���𗘗p�ł��܂��B���ꂼ��̃v�����v�g�ŁA@kbd{M-p} ���� +���ƒ��O�ɗ��p�����R�}���h�����������Ԃ��Ăяo�����Ƃ��ł��܂��B + +@section min-out +@cindex min-out + + @file{min-out.el} (@code{outline-minor-mode}) �Ɩ쒹��g�ݍ��킹�Ďg���� +�Ƃ��������”\�ł��B�ݒ�̕��@�Ɋւ��Ă�@file{yatexm-o.el}���������������B + +@node Customizations, Etc, Cooperation with other packages, Top +@comment node-name, next, previous, up +@chapter �J�X�^�}�C�Y +@cindex �J�X�^�}�C�Y[�������܂���] +@cindex �L�[�A�T�C��[������������] + + �쒹�̓���𐧌䂷���X�̕ϐ���Ǝ��ɐݒ肷�邱�Ƃɂ��A�⊮�� +�͂��N������L�[�A�T�C����ς�����A�‹����̕⊮��������ɏ[���� +���邱�ƂȂǂ��ł��܂��B + +@menu +* Lisp variables:: lisp �ϐ� +* Add-in functions:: �t���֐�(�A�h�C���֐�) +@end menu + +@node Lisp variables, Add-in functions, Customizations, Customizations +@comment node-name, next, previous, up +@section lisp �ϐ� +@cindex prefix�L�[�ύX[prefix�����ւ񂱂�] + + �Ⴆ�� prefix �L�[�� @kbd{C-c} �ȊO�̃L�[�ɂ������ꍇ�́A +@code{YaTeX-prefix}�� prefix �L�[�ɂ������V���{�����`���Ă��������B���� +�ɁA�u@kbd{C-c �p��}�v�Ƃ����L�[�o�C���h�͓Ǝ��̊֐������蓖�ĂĂ���̂Ŏg +�������Ȃ��B���̂悤�Ȏ��́A@code{YaTeX-inhibit-prefix-letter} �� @code{t} +�ɐݒ肷�邱�Ƃɂ��A@kbd{C-c �p���c}�̃o�C���h���S�āA�Ή�����@kbd{C-c +C-�p���c}�ɕς��܂�(�������Abegin�^ large�^�⊮�̑啶���N���ɂ�郊�W�� +���w��͉”\�Ȃ܂܂ł��B����������ɂ������ꍇ��@code{t}�ł͂Ȃ� 1 �ɃZ�b +�g���ĉ������B)�B + +@menu +* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ +* Sample definitions:: �J�X�^�}�C�Y�ϐ��ݒ�� +* Hook variables:: hook�ϐ� +* Hook file:: hook�p�t�@�C�� +@end menu + +@node All customizable variables, Sample definitions, Lisp variables, Lisp variables +@comment node-name, next, previous, up +@subsection �J�X�^�}�C�Y�ϐ��ꗗ +@cindex �J�X�^�}�C�Y�ϐ��ꗗ[�������܂����ւ񂷂��������] + + yatex-mode �ɂ����鎟�̕ϐ����J�X�^�}�C�Y�”\�ł��B@file{~/.emacs} �� +@code{setq} ���Ă����΁A������̒�`���D�悳��܂��B���ʂ̒��̓f�t�H���g�l +�ł��B���ۂɕϐ��̒l��ύX����ꍇ�� @kbd{M-x describe-variable} �� +�ϐ��̏ڍׂȐ������Q�Ƃ��Ă��������B + +@defvar YaTeX-prefix +yatex-mode ���̃v���t�B�N�X�L�[ (@kbd{\C-c}) +@end defvar + +@defvar YaTeX-inhibit-prefix-letter +prefix �L�[�̒���̃L�[�o�C���h�� @kbd{�p��} �̂��̂� @kbd{C-�p��} �ɕύX +(@code{nil}) +@end defvar + +@defvar YaTeX-fill-prefix +�{�����������̍s���ɑ}������ړ������Ȃ킿 fill-prefix (@code{""(nil)}) +@end defvar + +@defvar YaTeX-user-completion-table +�w�K����La@TeX{}�R�}���h�ۑ��t�@�C���� (@code{"~/.yatexrc"}) +@end defvar + +@defvar YaTeX-kanji-code +�������쐬���鎞�̊����R�[�h +nil=�����̃R�[�h�̂܂� 0=no-conversion 1=Shift JIS, +2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOS�ł�1)) +@end defvar + +@defvar tex-command La@TeX{}�^�C�v�Z�b�^�R�}���h�� (@code{"platex"}) -@end defvar - -@defvar dvi2-command -�v�������[�A�R�}���h�� (@code{"xdvi -geo +0+0 -s 4"}) -@end defvar - -@defvar dviprint-command-format -dvi�t�@�C���̈���Ɏg����R�}���h�� (@code{"dvi2ps %f %t %s | lpr"}) -@end defvar - -@defvar dviprint-from-format -���@code{%f}�ɑ�������J�n�y�[�W�w�菑���A@code{%b} ���J�n�y�[�W�ԍ��ɕ� -��� (@code{"-f %b"}) -@end defvar - -@defvar dviprint-to-format -@code{%t} �ɑ�������I���y�[�W�w�菑���A@code{%e}���I���y�[�W�ԍ��ɕς�� -(@code{"-t %e"}) -@end defvar - -@defvar makeindex-command -makeindex�R�}���h (@code{"makeindex"} (MS-DOS�ł�@code{"makeind"})) -@end defvar - -@defvar YaTeX-dvipdf-command -dvi��PDF�ɕϊ�����R�}���h (@code{"dvipdfmx"}) -@end defvar - -@defvar YaTeX-need-nonstop -@code{\nonstopmode@{@}}�������I�ɕt�����邩 (@code{nil}) -@end defvar - -@defvar latex-warning-regexp -latex�R�}���h�̏o�͂���E�H�[�j���O�s�̐��K�\�� (@code{"line.* [0-9]*"}) -@end defvar - -@defvar latex-error-regexp -�������G���[�s�̐��K�\�� (@code{"l\\.[1-9][0-9]*"}) -@end defvar - -@defvar latex-dos-emergency-message -MS-DOS��œ��삷�� latex �R�}���h���A�G���[�ɂ���~����Ƃ��o�͂��郁�b -�Z�[�W (@code{"Emergency stop"}) -@end defvar - -@defvar latex-message-kanji-code -�^�C�v�Z�b�^�̏o�͂��郁�b�Z�[�W�̊����R�[�h.�^�C�v�Z�b�g�o�b�t�@ -�̏o�͂������鎞�́A�����ݒ肷�� (2, Nemacs�ł̂ݗL��) -@end defvar - -@defvar NTT-jTeX -�Â�NTT-j@TeX{}�g�p���̂悤�ɃC���f���g�����s�̐擪�ƑO�̍s�� -(�^�C�v�Z�b�g���)���Ԃ��󂢂Ă��܂��̂������ꍇ��@code{t}�ɂ��� -(@code{nil}) -@end defvar - -@defvar YaTeX-item-regexp -item�̌������̎��ɗp����Aitem�̐��K�\�� (@code{"\\\\(sub\\)*item"}) -@end defvar - -@defvar YaTeX-verb-regexp -verb�R�}���h�̐��K�\���B�擪��\\\\�͂‚��Ȃ� (@code{"verb\\*?\\|path"}) -@end defvar - -@defvar YaTeX-nervous -���[�J��������p���鎞 @code{t} (@code{t}) -@end defvar - -@defvar YaTeX-sectioning-regexp -�Z�N�V������؂�ݒ�R�}���h�̐��K�\�� -(@code{"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"}) -@end defvar - -@defvar YaTeX-fill-inhibit-environments -fill ��}�~����‹����̃��X�g -(@code{'("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" "verbatim" "verbatim*")}) -@end defvar - -@defvar YaTeX-uncomment-once -�̈�uncomment�ōs���̕�����@code{%}��S�č폜���邩 (@code{nil}) -@end defvar - -@defvar YaTeX-close-paren-always -�J�����ʂ̓��͂ŏ�ɕ‚����ʂ���͂��� (@code{t}) -@end defvar - -@defvar YaTeX-auto-math-mode -�������[�h�̐؂�ւ��������I�ɍs�� (@code{t}) -@end defvar - -@defvar YaTeX-math-key-list-private -�����C���[�W�⊮�ŗp���� (�v���t�B�N�X�L�[ . �Ή��⊮�e�[�u��) �� -alist (@code{nil})�B�⊮�e�[�u���̏������ɂ‚��Ă�@file{yatexmth.el}���Q�ƁB -@end defvar - -@defvar YaTeX-default-pop-window-height -1��ʂ̎��Ƀ^�C�v�Z�b�g�o�b�t�@�����߂č쐬���鎞�̍����B���l�ōs���A���� -�������Emacs�E�B���h�E�ɑ΂���S���� (10) -@end defvar - -@defvar YaTeX-help-file -���p�w���v�t�@�C�� (@file{$doc-directory/../../site-lisp/YATEXHLP.jp}) -@end defvar - -@defvar YaTeX-help-file-private -�l�p�w���v�t�@�C�� (@file{"~/YATEXHLP.jp"}) -@end defvar - -@defvar YaTeX-no-begend-shortcut -@kbd{[prefix] b ??} �̃V���[�g�J�b�g���g�킸�A@kbd{[prefix] b} �����ŕ⊮ -���͂ɓ��� (@code{nil}) -@end defvar - -@defvar YaTeX-hilit-pattern-adjustment-private -���K�\���Ƃ���Ƀ}�b�`������̘̂_���I�Ӗ����V���{���ł���킵�����̂� -���X�g�c�̃��X�g�Bhilit19 ��g�ݍ���ł��鎞�̂ݗL���B -�ڂ����� @code{(assq 'yatex-mode hilit-patterns-alist)} -�������ʂƁA�ϐ� @code{YaTeX-hilit-pattern-adjustment-default} �̒l(�Əꍇ -�ɂ���Ă� hilit19 �̃h�L�������g)���Q�Ƃ���B -@end defvar - -@defvar YaTeX-sectioning-level -LaTeX�̃Z�N�V�����P�ʐ錾�R�}���h�Ƃ��̘_���I������alist�B -@end defvar - -@defvar YaTeX-hierarchy-ignore-heading-regexp -Hierarchy �o�b�t�@�͒ʏ�t�@�C���w�b�_�Ƃ��āALaTeX�̃Z�N�V�����錾�R�}�� -�h�̈������������A���ꂪ�Ȃ���΃R�����g�s��T�����A���̍ۂɃw�b�_�Ƃ��Ă� -�Ӗ��������Ȃ��p�^�[�������̕ϐ��ɐݒ肷��B�f�t�H���g�ł� RCS �w�b�_�ƃ��[ -�h�w��s(-*- xxx -*-)���ݒ肳��Ă���B -@end defvar - -@defvar YaTeX-skip-default-reader -Non-nil �ɐݒ肷���section�^�R�}���h�̈������͎��A�A�h�C���֐����Ȃ���� -�~�j�o�b�t�@�ł̓ǂݍ��݂������ɓ��͂����������� (@code{nil}) -@end defvar - -@defvar YaTeX-create-file-prefix-g -@code{\include}�Ȃǂ� @kbd{prefix g}�������ɁA�W�����v�悪���݂��Ȃ��t�@�C -���ł����Ă��I�[�v������ (@code{nil}) -@end defvar - -@defvar YaTeX-simple-messages -�e��⊮���̃��b�Z�[�W�o�͂��ȑf������ (@code{nil}) -@end defvar - -@defvar YaTeX-hilit-sectioning-face -�F�t�����L���Ȏ��� @code{\part} �̐F -(@code{'(yellow/dodgerblue yellow/slateblue)})�B -���X�g�̑��v�f�� @code{hilit-background-mode} �� @code{'light} �̎��́A -���v�f�� @code{'dark} �̎��� @code{\chapter} �̐F�ŁA�����F/�w�i�F �̂� -���Ɏw�肷��B -@end defvar - -@defvar YaTeX-hilit-sectioning-attenuation-rate -�F�t�����L���Ȏ��́A@code{\subparagraph} �̐F�� @code{\chapter} �̔Z�x�̉� -%�����������̂ɂ��邩 (@code{'(15 40)}) @code{YaTeX-hilit-sectioning-face} -�̍��Q�ƁB -@end defvar - -@defvar YaTeX-use-AMS-LaTeX -AMS-LaTeX ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{nil}) -@end defvar - -@defvar YaTeX-use-LaTeX2e -LaTeX2e ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{t}) -@end defvar - -@defvar YaTeX-template-file -�V�K�t�@�C���쐬���Ɏ����}������t�@�C���� (@code{~/work/template.tex}) -@end defvar - -@defvar YaTeX-search-file-from-top-directory -input����t�@�C����T���Ƃ��̊�f�B���N�g����main�t�@�C���̂���f�B���N�g -���ɂ��邩 (@code{t}) -@end defvar -@defvar YaTeX-use-font-lock -�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� font-lock �𗘗p���邩�ǂ��� -(@code{(featurep 'font-lock)}) -@end defvar - -@defvar YaTeX-use-hilit19 -�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� hilit19 �𗘗p���邩�ǂ��� -(@code{(featurep 'hilit19)}) -@end defvar - -@defvar YaTeX-use-italic-bold -italic, bold�t�H���g��쒹���T�����ǂ��� (Emacs20�ȍ~�Ȃ�@code{t}) -font-lock���p���̂ݗL���B -(@code{(featurep 'hilit19)} -@end defvar - -@defvar YaTeX-singlecmd-suffix -�S�Ă�maketitle�^�R�}���h�̕⊮���͒���ɑ}�����镶����B -@code{"{}"} �Ȃǂ������߁B -@end defvar - -@defvar YaTeX-package-alist-private -LaTeX2e�̃p�b�P�[�W���Ƃ��̒��Ɋ܂܂��}�N���̃��X�g�B -�K�؂ɐݒ肵�Ă����Ɩ{�����͎��Ƀ}�N����⊮���͂���� -���̃}�N���ɕK�v�ȃp�b�P�[�W�� usepackage ���邩�����I�Ɍ������Ă����B -���Ă��Ȃ���� \usepackage �������lj����邱�Ƃ��ł���B -���X�g�� -@lisp - '((�p�b�P�[�W��1 - (�⊮�^�C�v �}�N���̃��X�g�c�c) - (�⊮�^�C�v �}�N���̃��X�g�c�c)) - (�p�b�P�[�W��2 - (�⊮�^�C�v �}�N���̃��X�g�c�c) - (�⊮�^�C�v �}�N���̃��X�g�c�c))�c�c�c) -@end lisp -�Ƃ����`���ɂ���B�⊮�^�C�v�� @code{env, section, maketitle} �̂ǂꂩ�B -��̗�͕ϐ� @code{YaTeX-package-alist-default} -�̒l�Q�ƁB -@end defvar - -@defvar YaTeX-tabular-indentation -tabular/array �‹��Ō��ݍs�̐擪�ʒu���\�̑�N�J�����̂Ƃ��� -�W���C���f���g�ʒu���� N*YaTeX-tabular-indentation �������� -�C���f���g�ɂ���B -@end defvar - -@defvar YaTeX-noindent-env-regexp -�ʂ̊‹����ɂ����Ă� \begin{} ���s������n�܂�ׂ��‹����̐��K�\���B -verbatim�‹��Ȃǂ��w�肷��B -@end defvar - -@defvar YaTeX-ref-default-label-string -\ref{} �̃��x���⊮�Ń��x�����ݒ�̂��̂Ɏ����I�ɐ������� -���x�����̏����Bstrftime(3)�֐��Ɏ������t�x�[�X�Ŏw�肷��B -���p�ł��鏑���͈ȉ��̂Ƃ���B -%y -> �����, %b -> ���̉p��, %m -> ��(1�`12) -%d -> ��, %H -> ��, %M -> ��, %S -> �b, -%qx -> �A���t�@�x�b�g��26�i�������� yymmdd. -%qX -> �A���t�@�x�b�g��26�i�������� HHMMSS. -�f�t�H���g�� "%H%M%S_%d%b%y" -@end defvar - -@defvar YaTeX-ref-generate-label-function -\ref{}�̃��x�������������̂Ƃ��Ɏg���֐��̃V���{���B -�f�t�H���g�͕W���� YaTeX::ref-generate-label �֐������蓖�ĂĂ���B -������2�Ž��֐����`���āA���̕ϐ��ɃZ�b�g����Ƃ��̊֐����Ă� -���ʂ��f�t�H���g�̃��x�������Ƃ���B�ݒ��: -@lisp - (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) - (defun my-yatex-generate-label (command value) - (and (string= command "caption") - (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) - (setq command (match-string 1))) - (let ((alist '(("chapter" . "chap") - ("section" . "sec") - ("subsection" . "subsec") - ("figure" . "fig") - ("table" . "tbl")))) - (if (setq command (cdr (assoc command alist))) - (concat command ":" value) - (YaTeX::ref-generate-label nil nil)))) -@end lisp -@end defvar - -@node Sample definitions, Hook variables, All customizable variables, Lisp variables -@comment node-name, next, previous, up -@subsection �J�X�^�}�C�Y�ϐ��ݒ�� -@cindex �ݒ��[���‚Ă��ꂢ] - - ���Ƃ��΁Aprefix �L�[�Ƃ���@kbd{ESC}���g�p���A�V���ȕ⊮�����i�[����t�@ -�C�����A@file{~/src/emacs/yatexrc} �ɂ��A�s���� prefix ���^�u������‚ɕ� -�������Ƃ��́A - -@lisp - (setq YaTeX-prefix "\e" - YaTeX-user-completion-table "~/src/emacs/yatexrc" - YaTeX-fill-prefix " ") -@end lisp - -@noindent -�� @file{~/.emacs} �ɉ����܂��B - -@node Hook variables, Hook file, Sample definitions, Lisp variables -@comment node-name, next, previous, up -@subsection hook�ϐ� -@cindex hook�ϐ�[hook�ւ񂷂�] -@cindex yatex-mode-hook -@cindex yatex-mode-load-hook - - �܂��Ahook �ϐ� @code{yatex-mode-hook}, @code{yatex-mode-load-hook} ��p -�ӂ��Ă��܂��B���ׂĂ� yatex-mode �̃o�b�t�@�ō�p�����������̂́A -@code{yatex-mode-hook} �ɋL�q���A@file{yatex.el} �����[�h���鎞������p�� -���������̂�@code{yatex-mode-load-hook} �ɋL�q���܂��B�Ⴆ�΁A -@code{outline-minor-mode} �𗘗p����ꍇ�A���ꂼ��̃o�b�t�@�� -@code{outline-minor-mode} ��L���ɂ������̂ŁA@code{yatex-mode-hook} ���� -�̂悤�ɐݒ肵�܂��B - -@lisp - (setq yatex-mode-hook - '(lambda () (outline-minor-mode t))) -@end lisp - -@noindent -�t�ɁA�Ǝ��̃L�[��`���s���������Ȃǂ́A@code{yatex-mode-load-hook} �𗘗p -���܂��B�Ⴆ�΁Abegin �^�⊮�ɂ����āA document ��Aenumerate �ȊO�̊‹��� -���V���[�g�J�b�g�L�[�œ��ꂽ���ȂǂƂ������́A���̂悤�ɂ��܂��B�ȉ��̗�́A -@kbd{[prefix] ba} �� @code{\begin@{abstract@}}, @code{\end@{abstract@}} �� -�}�����܂��B - -@lisp - (setq yatex-mode-load-hook - '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) -@end lisp - -�Ȃ��A�V���ȃL�[�̒�`�ɂ́A�֐� @code{YaTeX-define-key} -@code{YaTeX-define-begend-key}�𗘗p����悤�ɂ��Ă��������B - -@node Hook file, , Hook variables, Lisp variables -@comment node-name, next, previous, up -@subsection hook�p�t�@�C�� - - �ϐ� @code{yatex-mode-load-hook} �Œ�`������e���������́A -@file{yatexhks.el}�Ƃ����t�@�C�������A���̒��ɖ쒹�֘A�̐ݒ���������ŁA -�������̎��Ɏ����I�Ƀ��[�h���܂��B - - -@node Add-in functions, , Lisp variables, Customizations -@comment node-name, next, previous, up -@section �t���֐�(�A�h�C���֐�) - - �e��⊮���ɁA�‹�����R�}���h���ɉ��������ߍׂ₩�ȕ⊮���͋@�\�������� -�邽�߂̊֐����쐬���邱�Ƃ��ł��܂��B���̊֐��̍쐬���@��A�g�ݍ��ݕ��@�� -�ւ��ẮA@code{yatexadd.doc} ���������������B - -@node Etc, Copying, Customizations, Top -@comment node-name, next, previous, up -@chapter ���̑� - - �쒹�̕W���� La@TeX{} �R�}���h�̎����ɂ́A��҂��p�ɂɎg�����̂����o�^�� -��Ă��܂���B����́A�⊮���Ɏg���������Ȃ��R�}���h�����݂��āA�⊮���� -���R�}���h���o���܂ł̃X�g���[�N���𑝂₵�Ă��܂�����h�~���邽�߂ł��B�W -�������ɂȂ��R�}���h���A�ł��邾���⊮���͕����𗘗p���A���[�U�������[���� -���邱�ƂŁA���Ȃ��� La@TeX{} �X�^�C���ɂ������쒹�ւƈ���Ă������Ƃł��� -���B - -@node Copying, Concept Index, Etc, Top -@comment node-name, next, previous, up -@chapter ��舵�� - - �{�v���O�����̓t���[�\�t�g�E�F�A�ł��B�{�v���O�������g�p���Đ����������� -�錋�ʂɑ΂��Ă���҂͐ӔC�𕉂�Ȃ����ƂƂ��܂��B�]�ړ��Ɋւ��Ă͐������� -���܂���B�펯�I�Ɉ����Ă��������B�܂��A�{�v���O�����Ɋ܂܂��R�[�h�𗘗p -���邱�ƁA�������邱�Ƃ����R�ɍs�Ȃ��č\���܂��񂪁A���p���邱�Ƃɂ��_�� -�����̕K�v��������ꍇ�A���͂����Ȃ�_����������܂���B��̓I�ɂ�GPL�ւ� -�T�C���͂��܂���̂ŁAGNU�Ɋ񑡂�����̂�����Ă���ꍇ���̍�i�����荞 -�񂾃R�[�h�𗬗p����Ƌ�J���邩������܂���B�����Ȃ�R�[�h���p�����ۂ��� -���񂪌_������͎��ނ��܂��B - - ���A��]�A�o�O�񍐁A���z���͊��}�������܂��B -�A���� yuuji@@yatex.org �܂�(2004�N1������)�B -�p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�̉�v�� -����������Ă��������B�������@�ɂ‚��Ă͖{�p�b�P�[�W�� @file{docs/qanda} -�t�@�C���́u���̑��v�̏͂��䗗���������B - -�d�l�́A�\���Ȃ��m����(�C�������)�ύX����܂�:-p�B - -@flushright -�L���Y�� -@end flushright - -@node Concept Index, , Copying, Top -@comment node-name, next, previous, up -@unnumbered ���� -@printindex cp - -@c �J�X�^�}�C�Y�ϐ������������ƕ�������ꍇ�ɂ̓R�����g�A�E�g���O��!!! -@c @node Variable Index -@c @comment node-name, next, previous, up -@c @unnumbered �J�X�^�}�C�Y�ϐ����� -@c @printindex vr - -@contents - -@bye - -@c Local Variables: -@c fill-column: 74 -@c fill-prefix: nil -@c buffer-file-coding-system: sjis-dos -@c End: - -Tag table: - -End tag table +@end defvar + +@defvar dvi2-command +�v�������[�A�R�}���h�� (@code{"xdvi -geo +0+0 -s 4"}) +@end defvar + +@defvar dviprint-command-format +dvi�t�@�C���̈���Ɏg����R�}���h�� (@code{"dvi2ps %f %t %s | lpr"}) +@end defvar + +@defvar dviprint-from-format +���@code{%f}�ɑ�������J�n�y�[�W�w�菑���A@code{%b} ���J�n�y�[�W�ԍ��ɕ� +��� (@code{"-f %b"}) +@end defvar + +@defvar dviprint-to-format +@code{%t} �ɑ�������I���y�[�W�w�菑���A@code{%e}���I���y�[�W�ԍ��ɕς�� +(@code{"-t %e"}) +@end defvar + +@defvar makeindex-command +makeindex�R�}���h (@code{"makeindex"} (MS-DOS�ł�@code{"makeind"})) +@end defvar + +@defvar YaTeX-dvipdf-command +dvi��PDF�ɕϊ�����R�}���h (@code{"dvipdfmx"}) +@end defvar + +@defvar YaTeX-need-nonstop +@code{\nonstopmode@{@}}�������I�ɕt�����邩 (@code{nil}) +@end defvar + +@defvar latex-warning-regexp +latex�R�}���h�̏o�͂���E�H�[�j���O�s�̐��K�\�� (@code{"line.* [0-9]*"}) +@end defvar + +@defvar latex-error-regexp +�������G���[�s�̐��K�\�� (@code{"l\\.[1-9][0-9]*"}) +@end defvar + +@defvar latex-dos-emergency-message +MS-DOS��œ��삷�� latex �R�}���h���A�G���[�ɂ���~����Ƃ��o�͂��郁�b +�Z�[�W (@code{"Emergency stop"}) +@end defvar + +@defvar latex-message-kanji-code +�^�C�v�Z�b�^�̏o�͂��郁�b�Z�[�W�̊����R�[�h.�^�C�v�Z�b�g�o�b�t�@ +�̏o�͂������鎞�́A�����ݒ肷�� (2, Nemacs�ł̂ݗL��) +@end defvar + +@defvar NTT-jTeX +�Â�NTT-j@TeX{}�g�p���̂悤�ɃC���f���g�����s�̐擪�ƑO�̍s�� +(�^�C�v�Z�b�g���)���Ԃ��󂢂Ă��܂��̂������ꍇ��@code{t}�ɂ��� +(@code{nil}) +@end defvar + +@defvar YaTeX-item-regexp +item�̌������̎��ɗp����Aitem�̐��K�\�� (@code{"\\\\(sub\\)*item"}) +@end defvar + +@defvar YaTeX-verb-regexp +verb�R�}���h�̐��K�\���B�擪��\\\\�͂‚��Ȃ� (@code{"verb\\*?\\|path"}) +@end defvar + +@defvar YaTeX-nervous +���[�J��������p���鎞 @code{t} (@code{t}) +@end defvar + +@defvar YaTeX-sectioning-regexp +�Z�N�V������؂�ݒ�R�}���h�̐��K�\�� +(@code{"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"}) +@end defvar + +@defvar YaTeX-fill-inhibit-environments +fill ��}�~����‹����̃��X�g +(@code{'("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" "verbatim" "verbatim*")}) +@end defvar + +@defvar YaTeX-uncomment-once +�̈�uncomment�ōs���̕�����@code{%}��S�č폜���邩 (@code{nil}) +@end defvar + +@defvar YaTeX-close-paren-always +�J�����ʂ̓��͂ŏ�ɕ‚����ʂ���͂��� (@code{t}) +@end defvar + +@defvar YaTeX-auto-math-mode +�������[�h�̐؂�ւ��������I�ɍs�� (@code{t}) +@end defvar + +@defvar YaTeX-math-key-list-private +�����C���[�W�⊮�ŗp���� (�v���t�B�N�X�L�[ . �Ή��⊮�e�[�u��) �� +alist (@code{nil})�B�⊮�e�[�u���̏������ɂ‚��Ă�@file{yatexmth.el}���Q�ƁB +@end defvar + +@defvar YaTeX-default-pop-window-height +1��ʂ̎��Ƀ^�C�v�Z�b�g�o�b�t�@�����߂č쐬���鎞�̍����B���l�ōs���A���� +�������Emacs�E�B���h�E�ɑ΂���S���� (10) +@end defvar + +@defvar YaTeX-help-file +���p�w���v�t�@�C�� (@file{$doc-directory/../../site-lisp/YATEXHLP.jp}) +@end defvar + +@defvar YaTeX-help-file-private +�l�p�w���v�t�@�C�� (@file{"~/YATEXHLP.jp"}) +@end defvar + +@defvar YaTeX-no-begend-shortcut +@kbd{[prefix] b ??} �̃V���[�g�J�b�g���g�킸�A@kbd{[prefix] b} �����ŕ⊮ +���͂ɓ��� (@code{nil}) +@end defvar + +@defvar YaTeX-hilit-pattern-adjustment-private +���K�\���Ƃ���Ƀ}�b�`������̘̂_���I�Ӗ����V���{���ł���킵�����̂� +���X�g�c�̃��X�g�Bhilit19 ��g�ݍ���ł��鎞�̂ݗL���B +�ڂ����� @code{(assq 'yatex-mode hilit-patterns-alist)} +�������ʂƁA�ϐ� @code{YaTeX-hilit-pattern-adjustment-default} �̒l(�Əꍇ +�ɂ���Ă� hilit19 �̃h�L�������g)���Q�Ƃ���B +@end defvar + +@defvar YaTeX-sectioning-level +LaTeX�̃Z�N�V�����P�ʐ錾�R�}���h�Ƃ��̘_���I������alist�B +@end defvar + +@defvar YaTeX-hierarchy-ignore-heading-regexp +Hierarchy �o�b�t�@�͒ʏ�t�@�C���w�b�_�Ƃ��āALaTeX�̃Z�N�V�����錾�R�}�� +�h�̈������������A���ꂪ�Ȃ���΃R�����g�s��T�����A���̍ۂɃw�b�_�Ƃ��Ă� +�Ӗ��������Ȃ��p�^�[�������̕ϐ��ɐݒ肷��B�f�t�H���g�ł� RCS �w�b�_�ƃ��[ +�h�w��s(-*- xxx -*-)���ݒ肳��Ă���B +@end defvar + +@defvar YaTeX-skip-default-reader +Non-nil �ɐݒ肷���section�^�R�}���h�̈������͎��A�A�h�C���֐����Ȃ���� +�~�j�o�b�t�@�ł̓ǂݍ��݂������ɓ��͂����������� (@code{nil}) +@end defvar + +@defvar YaTeX-create-file-prefix-g +@code{\include}�Ȃǂ� @kbd{prefix g}�������ɁA�W�����v�悪���݂��Ȃ��t�@�C +���ł����Ă��I�[�v������ (@code{nil}) +@end defvar + +@defvar YaTeX-simple-messages +�e��⊮���̃��b�Z�[�W�o�͂��ȑf������ (@code{nil}) +@end defvar + +@defvar YaTeX-hilit-sectioning-face +�F�t�����L���Ȏ��� @code{\part} �̐F +(@code{'(yellow/dodgerblue yellow/slateblue)})�B +���X�g�̑��v�f�� @code{hilit-background-mode} �� @code{'light} �̎��́A +���v�f�� @code{'dark} �̎��� @code{\chapter} �̐F�ŁA�����F/�w�i�F �̂� +���Ɏw�肷��B +@end defvar + +@defvar YaTeX-hilit-sectioning-attenuation-rate +�F�t�����L���Ȏ��́A@code{\subparagraph} �̐F�� @code{\chapter} �̔Z�x�̉� +%�����������̂ɂ��邩 (@code{'(15 40)}) @code{YaTeX-hilit-sectioning-face} +�̍��Q�ƁB +@end defvar + +@defvar YaTeX-use-AMS-LaTeX +AMS-LaTeX ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{nil}) +@end defvar + +@defvar YaTeX-use-LaTeX2e +LaTeX2e ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{t}) +@end defvar + +@defvar YaTeX-template-file +�V�K�t�@�C���쐬���Ɏ����}������t�@�C���� (@code{~/work/template.tex}) +@end defvar + +@defvar YaTeX-search-file-from-top-directory +input����t�@�C����T���Ƃ��̊�f�B���N�g����main�t�@�C���̂���f�B���N�g +���ɂ��邩 (@code{t}) +@end defvar +@defvar YaTeX-use-font-lock +�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� font-lock �𗘗p���邩�ǂ��� +(@code{(featurep 'font-lock)}) +@end defvar + +@defvar YaTeX-use-hilit19 +�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� hilit19 �𗘗p���邩�ǂ��� +(@code{(featurep 'hilit19)}) +@end defvar + +@defvar YaTeX-use-italic-bold +italic, bold�t�H���g��쒹���T�����ǂ��� (Emacs20�ȍ~�Ȃ�@code{t}) +font-lock���p���̂ݗL���B +(@code{(featurep 'hilit19)} +@end defvar + +@defvar YaTeX-singlecmd-suffix +�S�Ă�maketitle�^�R�}���h�̕⊮���͒���ɑ}�����镶����B +@code{"@{@}"} �Ȃǂ������߁B +@end defvar + +@defvar YaTeX-package-alist-private +LaTeX2e�̃p�b�P�[�W���Ƃ��̒��Ɋ܂܂��}�N���̃��X�g�B +�K�؂ɐݒ肵�Ă����Ɩ{�����͎��Ƀ}�N����⊮���͂���� +���̃}�N���ɕK�v�ȃp�b�P�[�W�� usepackage ���邩�����I�Ɍ������Ă����B +���Ă��Ȃ���� \usepackage �������lj����邱�Ƃ��ł���B +���X�g�� +@lisp + '((�p�b�P�[�W��1 + (�⊮�^�C�v �}�N���̃��X�g�c�c) + (�⊮�^�C�v �}�N���̃��X�g�c�c)) + (�p�b�P�[�W��2 + (�⊮�^�C�v �}�N���̃��X�g�c�c) + (�⊮�^�C�v �}�N���̃��X�g�c�c))�c�c�c) +@end lisp +�Ƃ����`���ɂ���B�⊮�^�C�v�� @code{env, section, maketitle} �̂ǂꂩ�B +��̗�͕ϐ� @code{YaTeX-package-alist-default} +�̒l�Q�ƁB +@end defvar + +@defvar YaTeX-tabular-indentation +tabular/array �‹��Ō��ݍs�̐擪�ʒu���\�̑�N�J�����̂Ƃ��� +�W���C���f���g�ʒu���� N*YaTeX-tabular-indentation �������� +�C���f���g�ɂ���B +@end defvar + +@defvar YaTeX-noindent-env-regexp +�ʂ̊‹����ɂ����Ă� \begin@{@} ���s������n�܂�ׂ��‹����̐��K�\���B +verbatim�‹��Ȃǂ��w�肷��B +@end defvar + +@defvar YaTeX-ref-default-label-string +\ref@{@} �̃��x���⊮�Ń��x�����ݒ�̂��̂Ɏ����I�ɐ������� +���x�����̏����Bstrftime(3)�֐��Ɏ������t�x�[�X�Ŏw�肷��B +���p�ł��鏑���͈ȉ��̂Ƃ���B +%y -> �����, %b -> ���̉p��, %m -> ��(1�`12) +%d -> ��, %H -> ��, %M -> ��, %S -> �b, +%qx -> �A���t�@�x�b�g��26�i�������� yymmdd. +%qX -> �A���t�@�x�b�g��26�i�������� HHMMSS. +�f�t�H���g�� "%H%M%S_%d%b%y" +@end defvar + +@defvar YaTeX-ref-generate-label-function +\ref@{@}�̃��x�������������̂Ƃ��Ɏg���֐��̃V���{���B +�f�t�H���g�͕W���� YaTeX::ref-generate-label �֐������蓖�ĂĂ���B +������2�Ž��֐����`���āA���̕ϐ��ɃZ�b�g����Ƃ��̊֐����Ă� +���ʂ��f�t�H���g�̃��x�������Ƃ���B�ݒ��: +@lisp + (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) + (defun my-yatex-generate-label (command value) + (and (string= command "caption") + (re-search-backward "\\\\begin@{\\(figure\\|table\\)@}" nil t) + (setq command (match-string 1))) + (let ((alist '(("chapter" . "chap") + ("section" . "sec") + ("subsection" . "subsec") + ("figure" . "fig") + ("table" . "tbl")))) + (if (setq command (cdr (assoc command alist))) + (concat command ":" value) + (YaTeX::ref-generate-label nil nil)))) +@end lisp +@end defvar + +@node Sample definitions, Hook variables, All customizable variables, Lisp variables +@comment node-name, next, previous, up +@subsection �J�X�^�}�C�Y�ϐ��ݒ�� +@cindex �ݒ��[���‚Ă��ꂢ] + + ���Ƃ��΁Aprefix �L�[�Ƃ���@kbd{ESC}���g�p���A�V���ȕ⊮�����i�[����t�@ +�C�����A@file{~/src/emacs/yatexrc} �ɂ��A�s���� prefix ���^�u������‚ɕ� +�������Ƃ��́A + +@lisp + (setq YaTeX-prefix "\e" + YaTeX-user-completion-table "~/src/emacs/yatexrc" + YaTeX-fill-prefix " ") +@end lisp + +@noindent +�� @file{~/.emacs} �ɉ����܂��B + +@node Hook variables, Hook file, Sample definitions, Lisp variables +@comment node-name, next, previous, up +@subsection hook�ϐ� +@cindex hook�ϐ�[hook�ւ񂷂�] +@cindex yatex-mode-hook +@cindex yatex-mode-load-hook + + �܂��Ahook �ϐ� @code{yatex-mode-hook}, @code{yatex-mode-load-hook} ��p +�ӂ��Ă��܂��B���ׂĂ� yatex-mode �̃o�b�t�@�ō�p�����������̂́A +@code{yatex-mode-hook} �ɋL�q���A@file{yatex.el} �����[�h���鎞������p�� +���������̂�@code{yatex-mode-load-hook} �ɋL�q���܂��B�Ⴆ�΁A +@code{outline-minor-mode} �𗘗p����ꍇ�A���ꂼ��̃o�b�t�@�� +@code{outline-minor-mode} ��L���ɂ������̂ŁA@code{yatex-mode-hook} ���� +�̂悤�ɐݒ肵�܂��B + +@lisp + (setq yatex-mode-hook + '(lambda () (outline-minor-mode t))) +@end lisp + + +�t�ɁA�Ǝ��̃L�[��`���s���������Ȃǂ́A@code{yatex-mode-load-hook} �𗘗p +���܂��B�Ⴆ�΁Abegin �^�⊮�ɂ����āA document ��Aenumerate �ȊO�̊‹��� +���V���[�g�J�b�g�L�[�œ��ꂽ���ȂǂƂ������́A���̂悤�ɂ��܂��B�ȉ��̗�́A +@kbd{[prefix] ba} �� @code{\begin@{abstract@}}, @code{\end@{abstract@}} �� +�}�����܂��B + +@lisp + (setq yatex-mode-load-hook + '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) +@end lisp + +�Ȃ��A�V���ȃL�[�̒�`�ɂ́A�֐� @code{YaTeX-define-key} +@code{YaTeX-define-begend-key}�𗘗p����悤�ɂ��Ă��������B + +@node Hook file, , Hook variables, Lisp variables +@comment node-name, next, previous, up +@subsection hook�p�t�@�C�� + + �ϐ� @code{yatex-mode-load-hook} �Œ�`������e���������́A +@file{yatexhks.el}�Ƃ����t�@�C�������A���̒��ɖ쒹�֘A�̐ݒ���������ŁA +�������̎��Ɏ����I�Ƀ��[�h���܂��B + + +@node Add-in functions, , Lisp variables, Customizations +@comment node-name, next, previous, up +@section �t���֐�(�A�h�C���֐�) + + �e��⊮���ɁA�‹�����R�}���h���ɉ��������ߍׂ₩�ȕ⊮���͋@�\�������� +�邽�߂̊֐����쐬���邱�Ƃ��ł��܂��B���̊֐��̍쐬���@��A�g�ݍ��ݕ��@�� +�ւ��ẮA@code{yatexadd.doc} ���������������B + +@node Etc, Copying, Customizations, Top +@comment node-name, next, previous, up +@chapter ���̑� + + �쒹�̕W���� La@TeX{} �R�}���h�̎����ɂ́A��҂��p�ɂɎg�����̂����o�^�� +��Ă��܂���B����́A�⊮���Ɏg���������Ȃ��R�}���h�����݂��āA�⊮���� +���R�}���h���o���܂ł̃X�g���[�N���𑝂₵�Ă��܂�����h�~���邽�߂ł��B�W +�������ɂȂ��R�}���h���A�ł��邾���⊮���͕����𗘗p���A���[�U�������[���� +���邱�ƂŁA���Ȃ��� La@TeX{} �X�^�C���ɂ������쒹�ւƈ���Ă������Ƃł��� +���B + +@node Copying, Concept Index, Etc, Top +@comment node-name, next, previous, up +@chapter ��舵�� + + �{�v���O�����̓t���[�\�t�g�E�F�A�ł��B�{�v���O�������g�p���Đ����������� +�錋�ʂɑ΂��Ă���҂͐ӔC�𕉂�Ȃ����ƂƂ��܂��B�]�ړ��Ɋւ��Ă͐������� +���܂���B�펯�I�Ɉ����Ă��������B�܂��A�{�v���O�����Ɋ܂܂��R�[�h�𗘗p +���邱�ƁA�������邱�Ƃ����R�ɍs�Ȃ��č\���܂��񂪁A���p���邱�Ƃɂ��_�� +�����̕K�v��������ꍇ�A���͂����Ȃ�_����������܂���B��̓I�ɂ�GPL�ւ� +�T�C���͂��܂���̂ŁAGNU�Ɋ񑡂�����̂�����Ă���ꍇ���̍�i�����荞 +�񂾃R�[�h�𗬗p����Ƌ�J���邩������܂���B�����Ȃ�R�[�h���p�����ۂ��� +���񂪌_������͎��ނ��܂��B + + ���A��]�A�o�O�񍐁A���z���͊��}�������܂��B +�A���� yuuji@@yatex.org �܂�(2004�N1������)�B +�p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�̉�v�� +����������Ă��������B�������@�ɂ‚��Ă͖{�p�b�P�[�W�� @file{docs/qanda} +�t�@�C���́u���̑��v�̏͂��䗗���������B + +�d�l�́A�\���Ȃ��m����(�C�������)�ύX����܂�:-p�B + +@flushright +�L���Y�� +@end flushright + +@node Concept Index, , Copying, Top +@comment node-name, next, previous, up +@unnumbered ���� +@printindex cp + +@c �J�X�^�}�C�Y�ϐ������������ƕ�������ꍇ�ɂ̓R�����g�A�E�g���O��!!! +@c @node Variable Index +@c @comment node-name, next, previous, up +@c @unnumbered �J�X�^�}�C�Y�ϐ����� +@c @printindex vr + +@contents + +@bye + +@c Local Variables: +@c fill-column: 74 +@c fill-prefix: nil +@c buffer-file-coding-system: sjis +@c End: + +Tag table: + +End tag table diff --git a/makefile b/makefile index 05e8962..8d04cae 100644 --- a/makefile +++ b/makefile @@ -49,7 +49,7 @@ # make clean to delete all producted files # make ci to check in all # make co to check out all -MVER = 1.75 +MVER = 1.76 LISP = ${LISP18} ${LISP19} YAHTML = yahtml.el COMMON = yatexlib.el yatexprc.el diff --git a/manifest b/manifest index eb3fabd..c6e19ec 100644 --- a/manifest +++ b/manifest @@ -19,6 +19,7 @@ help/YATEXHLP.jp �I�����C���w���v�f�[�^ help/YATEXHLP.eng LaTeX on-line help text install �C���X�g�[���K�C�h +newpage.rb yahtml�p�V�K�y�[�W�����⏕�X�N���v�g readme.meadow.j Meadow �p�C���X�g�[���K�C�h yahtml.el �쒹�� html ���[�h yatex.el �쒹�E�� Emacs-Lisp �t�@�C�� diff --git a/yahtml.el b/yahtml.el index 7d918b8..151ba30 100644 --- a/yahtml.el +++ b/yahtml.el @@ -1,9 +1,9 @@ ;;; -*- Emacs-Lisp -*- ;;; (c) 1994-2012 by HIROSE Yuuji [yuuji(@)yatex.org] -;;; Last modified Thu Jan 12 11:40:53 2012 on firestorm +;;; Last modified Thu May 10 11:06:39 2012 on firestorm ;;; $Id$ -(defconst yahtml-revision-number "1.75" +(defconst yahtml-revision-number "1.76" "Revision number of running yahtml.el") ;;;[Installation] @@ -1401,8 +1401,8 @@ (defun yahtml:ol () "Add-in function for

    " (setq yahtml-last-single-cmd "li") - (let ((start (read-string "start=")) - (type (completing-read + (let ((start (YaTeX-read-string-or-skip "start=")) + (type (YaTeX-completing-read-or-skip "type=" '(("1") ("a") ("A") ("i") ("I")) nil t))) (concat (yahtml-make-optional-argument "start" start) @@ -1428,12 +1428,12 @@ (let ((size "") name type value checked (maxlength "") (l yahtml-prefer-upcase-attributes)) (setq name (read-string "name: ") - type (completing-read "type (default=text): " + type (YaTeX-completing-read-or-skip "type (default=text): " yahtml-input-types nil t) - value (read-string "value: ")) + value (YaTeX-read-string-or-skip "value: ")) (if (string-match "text\\|password\\|^$" type) - (setq size (read-string "size: ") - maxlength (read-string "maxlength: "))) + (setq size (YaTeX-read-string-or-skip "size: ") + maxlength (YaTeX-read-string-or-skip "maxlength: "))) (concat (if l "NAME" "name") "=\"" name "\"" (yahtml-make-optional-argument "type" type) diff --git a/yatex.el b/yatex.el index 0d0fe82..1bce789 100644 --- a/yatex.el +++ b/yatex.el @@ -1,15 +1,15 @@ ;;; -*- Emacs-Lisp -*- ;;; Yet Another tex-mode for emacs - //�쒹// -;;; yatex.el rev. 1.75 +;;; yatex.el rev. 1.76 ;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Thu Jan 12 11:40:38 2012 on firestorm +;;; Last modified Sat May 12 14:53:03 2012 on firestorm ;;; $Id$ ;;; The latest version of this software is always available at; ;;; http://www.yatex.org/ (require 'comment) (require 'yatexlib) -(defconst YaTeX-revision-number "1.75" +(defconst YaTeX-revision-number "1.76" "Revision number of running yatex.el") ;---------- Local variables ---------- @@ -321,7 +321,8 @@ ("verbatim") ("itemize") ("enumerate") ("description") ("list") ("tabular") ("tabular*") ("table") ("tabbing") ("titlepage") ("sloppypar") ("picture") ("displaymath") - ("eqnarray") ("figure") ("equation") ("abstract") ("array") + ("eqnarray") ("eqnarray*") ("figure") ("equation") ("equation*") + ("abstract") ("array") ("thebibliography") ("theindex") ("flushleft") ("flushright") ("minipage") ("supertabular") @@ -711,7 +712,7 @@ (defvar YaTeX-struct-end (concat YaTeX-ec "end{%1}") "Keyword format of end-environment.") -(defvar YaTeX-struct-name-regexp "[^}]+" +(defvar YaTeX-struct-name-regexp "[^}]*" "Environment name regexp.") (defvar YaTeX-TeX-token-regexp (cond (YaTeX-japan "[A-Za-z*��-��-�]+") @@ -829,9 +830,9 @@ (insert "\n") (or exchange (exchange-point-and-mark))) (goto-char beg2) - (if (intern-soft (concat "YaTeX-intelligent-newline-" env)) + (YaTeX-intelligent-newline nil) + (if (fboundp (intern-soft (concat "YaTeX-intelligent-newline-" env))) (progn - (YaTeX-intelligent-newline nil) (message (cond (YaTeX-japan "%s �Ŏ��̍s�̓��͂ɐi�݂܂��B") @@ -950,17 +951,17 @@ (function (lambda (n) (while (<= j n) - (insert - (concat ;to allow nil return value - "{" - (setq title - (cond - (addin-args (funcall arg-reader j)) - (YaTeX-skip-default-reader "") - (t - (read-string - (format "Argument %d of %s: " j section))))) - "}")) + (unwind-protect + (setq title + (cond + (addin-args (funcall arg-reader j)) + (YaTeX-skip-default-reader "") + (t + (read-string + (format "Argument %d of %s: " j section))))) + (insert + (concat ;to allow nil return value + "{" title "}"))) (setq j (1+ j)))))) );;let (setq YaTeX-section-name section) @@ -972,10 +973,12 @@ (insert "}") (set-marker e (point)) (goto-char beg) - (insert YaTeX-ec YaTeX-section-name - (YaTeX-addin YaTeX-section-name)) - (if (> numarg 1) (funcall mkarg-func (1- numarg))) - (insert "{") + (unwind-protect + (progn + (insert YaTeX-ec YaTeX-section-name + (YaTeX-addin YaTeX-section-name)) + (if (> numarg 1) (funcall mkarg-func (1- numarg)))) + (insert "{")) (if arp (funcall ar2 (point) e)) (goto-char e) (set-marker e nil)) @@ -1615,10 +1618,10 @@ ((= c ?j) (YaTeX-typeset-buffer)) ((= c ?r) (YaTeX-typeset-region)) ((= c ?e) (YaTeX-typeset-environment)) - ((= c ?b) (YaTeX-call-command-on-file - bibtex-command "*YaTeX-bibtex*" YaTeX-parent-file)) - ((= c ?i) (YaTeX-call-command-on-file - makeindex-command "*YaTeX-makeindex*" YaTeX-parent-file)) + ((= c ?b) (YaTeX-call-builtin-on-file + "BIBTEX" bibtex-command arg)) + ((= c ?i) (YaTeX-call-builtin-on-file + "MAKEINDEX" makeindex-command arg)) ((= c ?k) (YaTeX-kill-typeset-process YaTeX-typeset-process)) ((= c ?p) (call-interactively 'YaTeX-preview)) ((= c ?q) (YaTeX-system "lpq" "*Printer queue*")) @@ -1637,26 +1640,18 @@ "Operate %# notation." ;;Do not use interactive"r" for the functions which require no mark (interactive) - (message "!)Edit-%%#! B)EGIN-END-region L)Edit-%%#LPR") + (message "!)Edit-%%#! B)EGIN-END-region P)review L)Edit-%%#LPR make(I)ndex B)ibtex") (let ((c (or char (read-char))) (string "") key (b (make-marker)) (e (make-marker))) (save-excursion (cond - ((or (= c ?!) (= c ?l)) ;Edit `%#!' - (goto-char (point-min)) - (setq key (cond ((= c ?!) "%#!") - ((= c ?l) "%#LPR"))) - (if (re-search-forward key nil t) - (progn - (setq string (YaTeX-buffer-substring - (point) (point-end-of-line))) - (delete-region (point) (progn (end-of-line) (point)))) - (open-line 1) - (delete-region (point) (progn (beginning-of-line)(point)));for 19 :-< - (insert key)) - (unwind-protect - (setq string (read-string (concat key ": ") string)) - (insert string))) + ((rindex "!plib" c) ;Edit %#xxx + (setq key (cdr (assq c '((?! . "!") + (?p . "PREVIEW") + (?l . "LPR") + (?i . "MAKEINDEX") + (?b . "BIBTEX"))))) + (YaTeX-getset-builtin key t)) ((= c ?b) ;%#BEGIN %#END region (or end (setq beg (min (point) (mark)) end (max (point) (mark)))) @@ -1895,7 +1890,8 @@ '(("\\\\epsfile\\(\\[[^]]+\\]\\)?{[^},]*file=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2) ("\\\\epsfig{[^},]*fi\\(le\\|gure\\)=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2) ("\\\\postscriptbox{[^}]*}{[^}]*}{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 1) - ("\\\\\\(epsfbox\\|includegraphics\\|epsfig\\)\\*?{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 2) ;\epsfbox{hoge.ps} or \includegraphics{hoge.eps} + ("\\\\\\(epsfbox\\|epsfig\\)\\*?{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 2) ;\epsfbox{hoge.ps} + ("\\\\includegraphics\\*?\\(.*\\]\\|\\s \\)?{\\(.*\\)\\(\\.ai\\|\\.pdf\\|\\.svg\\|\\.png\\|\\.jpe?g\\|\\.e?ps\\)}" 2) ;\includegraphics[options...]{hoge.eps} ("\\\\\\(psbox\\)\\(\\[[^]]+\\]\\)?{\\(\\([^,} ]*/\\)?[^} ]+\\)\\(\\.e?ps\\)}" 3) ;\psbox[options...]{hoge.eps} (97/1/11) ("\\\\input{\\([^} ]+\\)\\(\\.tps\\)}" 1) ;tgif2tex (1998/9/16) ) @@ -1904,11 +1900,16 @@ (defvar YaTeX-file-processor-alist nil "*Alist of files' processor vs. its extension; See also the documentation of YaTeX-processed-file-regexp-alist.") - + (defvar YaTeX-file-processor-alist-default '(("tgif" . ".obj") - ("ghostview" . ".ps") - ("ghostview" . ".eps") + ("gimp" . ".xcf") ("gimp" . ".xcf.gz") ("gimp" . ".xcf.bz2") + ("inkscape" . ".svg") ("inkscape" . ".svgz") ("inkscape" . ".ai") + ("soffice" . ".odg") + ("gimp" . ".jpeg") ("gimp" . ".jpg") ("gimp" . ".png") + ("evince" . ".ps") + ("evince" . ".eps") + ("soffice" . ".pdf") (t . ".tex") (t . ".sty") (t . "")) @@ -2008,6 +2009,11 @@ (looking-at ec+command)) (goto-char (match-beginning 0)) (throw 'found t)) + ;;If inside of parentheses, try to escape. + (while (condition-case err + (progn (up-list -1) t) + (error nil))) + (while (equal (preceding-char) ?\]) (backward-list)) ;;(2) search command directly (skip-chars-forward "^{}[]") (and (YaTeX-re-search-active-backward diff --git a/yatex.new b/yatex.new index 938908f..5e15ebb 100644 --- a/yatex.new +++ b/yatex.new @@ -1,6 +1,18 @@ What's new in YaTeX/yahtml �쒹/yahtml - �e�o�[�W�����̕ύX�_�ɂ‚��� +1.76 === yatex === + �^�C�v�Z�b�g�Ń��x������`���������玩���I��rerun����B + ����rerun�������� YaTeX-typeset-auto-rerun �� nil �ɁB + %#BIBTEX �Ŏn�܂�s�ɋN�����ׂ� bibtex �R�}���h���L�q�”\�B + %#MAKEINDEX �Ŏn�܂�s�ɋN�����ׂ� makeindex �R�}���h���L�q�”\�B + [prefix] t % �� %#BIBTEX�A%#MAKEINDEX �s���X�V�”\�ɁB + [prefix] t d �� platex+dvipdfmx �����j���[�ɒlj��B + \includegraphics��PNG/JPG/GIF/BMP�w�莞�Abb= ��������������(c)�B + �����p�‹��̂��C�����s�����V�B + === yahtml === +
      , �̑������͂� C-j �ŃX�L�b�v�”\�ɁB + 1.75 === yatex === [prefix] t e �Ń|�C���g�ʒu���܂ފ‹��������‹����^�C�v�Z�b�g�B M-C-SPC �Ŋ‹������łȂ������‹����}�[�N����B diff --git a/yatex19.el b/yatex19.el index 193c703..eb04e04 100644 --- a/yatex19.el +++ b/yatex19.el @@ -1,7 +1,7 @@ ;;; -*- Emacs-Lisp -*- ;;; YaTeX facilities for Emacs 19 or later -;;; (c)1994-2009 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Sep 28 10:45:30 2009 on firestorm +;;; (c)1994-2012 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Sun Jan 29 23:00:52 2012 on firestorm ;;; $Id$ ;(require 'yatex) @@ -39,6 +39,7 @@ 'YaTeX-mode-menu-map-process (nreverse '((buffer "LaTeX" . (lambda () (interactive) (YaTeX-typeset-menu nil ?j))) + (pdf "LaTeX+PDF" . (lambda () (interactive) (YaTeX-typeset-menu nil ?d))) (kill "Kill LaTeX" . (lambda () (interactive) (YaTeX-typeset-menu nil ?k))) (bibtex "BibTeX" . (lambda () (interactive) (YaTeX-typeset-menu nil ?b))) (mindex "makeindex" . (lambda () (interactive) (YaTeX-typeset-menu nil ?i))) diff --git a/yatexadd.el b/yatexadd.el index 2a4b57b..a9c2dfb 100644 --- a/yatexadd.el +++ b/yatexadd.el @@ -1,8 +1,8 @@ ;;; -*- Emacs-Lisp -*- ;;; YaTeX add-in functions. -;;; yatexadd.el rev.19 -;;; (c)1991-2011 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Mar 7 12:12:11 2011 on firestorm +;;; yatexadd.el rev.20 +;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Fri Mar 9 21:19:09 2012 on firestorm ;;; $Id$ ;;; @@ -99,12 +99,33 @@ (let ((pos (YaTeX:read-oneof oneof))) (if (string= pos "") "" (concat "[" pos "]")))) +;;; +;; Functions for figure environemnt +;;; +(defvar YaTeX:figure-caption-first nil + "Non-nil indicates put caption before figure.") +(defun YaTeX:figure (&optional type firstp) + "YaTeX add-in function for figure(*) environment." + (setq YaTeX-section-name + (if YaTeX:figure-caption-first "caption" "includegraphics") + YaTeX-env-name "center") + (YaTeX:read-position "htbp")) + + +(fset 'YaTeX:figure* 'YaTeX:figure) + +;;; +;; Functions for table environemnt +;;; +(defvar YaTeX:table-caption-first t + "*Non-nil indicates put caption before tabular.") (defun YaTeX:table () "YaTeX add-in function for table environment." (cond ((eq major-mode 'yatex-mode) - (setq YaTeX-env-name "tabular" - YaTeX-section-name "caption") + (setq YaTeX-section-name + (if YaTeX:table-caption-first "caption" "label") + YaTeX-env-name "tabular") (YaTeX:read-position "htbp")) ((eq major-mode 'texinfo-mode) (concat " " @@ -112,10 +133,7 @@ "Highlights with: " '(("@samp")("@kbd")("@code")("@asis")("@file")("@var")) nil nil "@"))))) - -(fset 'YaTeX:figure 'YaTeX:table) -(fset 'YaTeX:figure* 'YaTeX:table) - +(fset 'YaTeX:table* 'YaTeX:table) (defun YaTeX:description () "Truly poor service:-)" @@ -127,7 +145,10 @@ (setq YaTeX-single-command "item") "") -(fset 'YaTeX:enumerate 'YaTeX:itemize) +(defun YaTeX:enumerate () + (setq YaTeX-single-command "item" + YaTeX-section-name "label") + "") (defun YaTeX:picture () "Ask the size of coordinates of picture environment." @@ -585,6 +606,7 @@ (setq cc (current-column)) (if (= (char-after (point)) ?\\) (forward-char 1)) (cond + ;; In each codition, 'inspoint and 'boundary should be set ((looking-at YaTeX-sectioning-regexp) (setq command (YaTeX-match-string 0)) (skip-chars-forward "^{") @@ -659,14 +681,19 @@ ;;(setq boundary (concat YaTeX-ec-regexp "\\(\\\\\\|end{" env "}\\)")) (setq boundary (save-excursion - (if (YaTeX-re-search-active-forward - (concat - YaTeX-ec-regexp "\\(" - (if exp1 "" "\\\\\\|") - "end{" env "}\\)") - r-escape nil 1) - (match-beginning 0) - (1- (point)))) + (or (catch 'bndry + (while (YaTeX-re-search-active-forward + (concat + YaTeX-ec-regexp "\\(" + (if exp1 "" "\\\\\\|") + "\\(end{" env "\\)}\\)") + r-escape nil 1) + (setq foundpoint (match-beginning 0)) + (if (or (match-beginning 2) ;end of outer math-env + (equal env (YaTeX-inner-environment t))) + ;; YaTeX-inner-environment destroys match-data + (throw 'bndry foundpoint)))) + (1- (point)))) inspoint boundary)) ((looking-at "footnote\\s *{") (setq command "footnote") @@ -697,6 +724,7 @@ (match-beginning 0) (1- (point)))))) (t )) + ;;cond by kind of labeling ends here. (if (save-excursion (skip-chars-forward " \t") (looking-at "%")) (forward-line 1)) (cond @@ -733,6 +761,7 @@ (if mathp nil (insert "\n") (YaTeX-reindent cc)) + (put 'YaTeX::ref-getset-label 'foundpoint (point)) (insert (format "\\label{%s}" newlabel)) newlabel))))) @@ -883,8 +912,6 @@ e0 (match-end 1))) (funcall output (format "--subequation--%s" label) e0))) ((string-match mathenvs cmd) ;;if matches mathematical env - ;(skip-chars-forward "} \t\n") - ;(forward-line 1) ;2004/1/25 (skip-chars-forward "}") (setq x (point) envname (substring @@ -901,15 +928,15 @@ (while (YaTeX-re-search-active-forward (concat "\\\\end{\\(" (regexp-quote envname) "\\)";;(1) - (if YaTeX-use-AMS-LaTeX - "\\|\\\\\\(notag\\)") ;;2 + "\\|\\\\\\(notag\\)" ;;2 (if (string-match YaTeX::ref-mathenv-exp1-regexp cmd) - "" "\\|\\\\\\\\$") + "" "\\|\\(\\\\\\\\\\)$") ;;3 ) percent nil t) (let*((quit (match-beginning 1)) (notag (match-beginning 2)) + (newln (match-beginning 3)) (label ".......................") l2 (e (point)) (m0 (match-beginning 0)) (ln (YaTeX-string-width label))) @@ -917,7 +944,12 @@ (notag (YaTeX-re-search-active-forward "\\\\\\\\" percent nil 1) - (setq x (point))) + (setq x (point))) ;use x as \label search bound + ((and newln ; `\\' found + (not (equal (YaTeX-inner-environment) + envname))) + (YaTeX-end-of-environment) + (goto-char (match-end 0))) (t (if (YaTeX-re-search-active-backward YaTeX::ref-labeling-regexp @@ -1180,7 +1212,7 @@ 'exit-recursive-edit '(keymap) t))) (sleep-for 2) (recursive-edit)) - ((= ch ?y) (throw 'query t)) + ((memq ch '(?y ?\ )) (throw 'query t)) ((= ch ?!) (throw 'query (setq continue t))) ((= ch ??) (describe-function @@ -1192,7 +1224,7 @@ (sit-for 0) (select-window sw)) ((= ch ?n) (throw 'query nil))))))) - (replace-match new)) + (replace-match new t)) (and ov (delete-overlay ov))))) (setq bufs (cdr bufs))))))) @@ -1207,17 +1239,11 @@ (format "New %s name: " (or labname "label")) (cons dlab 1)))) (if (string< "" label) - (let ((refstr (format "\\%s{%s}" (or refname "ref") label)) - (key (key-description (where-is-internal 'yank nil t))) - (msg - (if YaTeX-japan - "��kill-ring�ɓ���܂����Byank(%s)�Ŏ��o���܂��B" - " is stored into kill-ring. Paste it by yank(%s)."))) - (kill-new refstr) + (let ((refstr (format "\\%s{%s}" (or refname "ref") label))) + (YaTeX-push-to-kill-ring refstr) (and chmode (not (equal old label)) - (YaTeX::label-rename-refs old label)) - (message (concat "`%s'" msg) refstr key))) + (YaTeX::label-rename-refs old label)))) label)))) @@ -1234,6 +1260,12 @@ (function (lambda () (YaTeX-quick-in-environment-p "figure"))))) +(defun YaTeX::eqref (argp) + (YaTeX::ref + argp nil nil + (function + (lambda () + (YaTeX-in-math-mode-p))))) (defun YaTeX::cite-collect-bibs-external (bibptn &rest files) "Collect bibentry from FILES(variable length argument) ; @@ -1392,8 +1424,6 @@ "Add-in function to insert argument of \\bibitem." (YaTeX::label argp "label" "cite")) -;;; for AMS-LaTeX -(and YaTeX-use-AMS-LaTeX (fset 'YaTeX::eqref 'YaTeX::ref)) ;;; for Harvard citation style (fset 'YaTeX::citeasnoun 'YaTeX::cite) (fset 'YaTeX::possessivecite 'YaTeX::cite) @@ -1750,7 +1780,26 @@ 'YaTeX:documentclasses-private 'YaTeX:documentclasses-local))) (if (string= "" sname) (setq sname YaTeX-default-documentclass)) - (setq YaTeX-default-documentclass sname))))) + (setq YaTeX-section-name "title" + YaTeX-default-documentclass sname))))) + +(defun YaTeX::title (&optional argp) + (prog1 (read-string "Document Title: ") + (setq YaTeX-section-name "author" + YaTeX-single-command "maketitle"))) + +(defun YaTeX::author (&optional argp) + (prog1 (read-string "Document Author: ") + (setq YaTeX-section-name "date" + YaTeX-single-command "maketitle"))) + +(defun YaTeX:document () + (setq YaTeX-section-name + (if (string-match "book\\|bk" YaTeX-default-documentclass) + "chapter" + "section")) + "") + (defvar YaTeX:latex2e-named-color-alist '(("GreenYellow") ("Yellow") ("Goldenrod") ("Dandelion") ("Apricot") @@ -1854,11 +1903,11 @@ (defun YaTeX:includegraphics () "Add-in for \\includegraphics's option" (let (width height (scale "") angle str) - (setq width (read-string "Width: ") - height (read-string "Height: ")) - (or (string< width "") (string< "" height) - (setq scale (read-string "Scale: "))) - (setq angle (read-string "Angle(0-359): ")) + (setq width (YaTeX-read-string-or-skip "Width: ") + height (YaTeX-read-string-or-skip "Height: ")) + (or (string< "" width) (string< "" height) + (setq scale (YaTeX-read-string-or-skip "Scale: "))) + (setq angle (YaTeX-read-string-or-skip "Angle(0-359): ")) (setq str (mapconcat 'concat @@ -1874,7 +1923,46 @@ (defun YaTeX::includegraphics (argp) "Add-in for \\includegraphics" - (YaTeX::include argp "Image File: ")) + (let ((imgfile (YaTeX::include argp "Image File: ")) + (case-fold-search t) info bb noupdate needclose c) + (and (string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\)$" imgfile) + (file-exists-p imgfile) + (or (fboundp 'yahtml-get-image-info) + (progn + (load "yahtml" t) (featurep 'yahtml))) ;(require 'yahtml nil t) + (setq info (yahtml-get-image-info imgfile)) + (car info) ;if has width value + (car (cdr info)) ;if has height value + (setq bb (format "bb=%d %d %d %d" 0 0 (car info) (car (cdr info)))) + (save-excursion + (cond + ((and (save-excursion + (YaTeX-re-search-active-backward + "\\\\\\(includegraphics\\)\\|\\(bb=[-+ \t0-9]+\\)" + YaTeX-comment-prefix nil t)) + (match-beginning 2) + (not (setq noupdate (equal (YaTeX-match-string 2) bb))) + (y-or-n-p (format "Update `bb=' line to `%s'?: " bb))) + (message "") + (replace-match bb)) + (noupdate nil) + ((and (match-beginning 1) + (prog2 + (message "Insert `%s'? Y)es N)o C)yes+`clip': " bb) + (memq (setq c (read-char)) '(?y ?Y ?\ ?c ?C)) + (message ""))) + (goto-char (match-end 0)) + (message "") + (if (looking-at "\\[") (forward-char 1) + (insert-before-markers "[") + (setq needclose t)) + (insert-before-markers bb) + (if (memq c '(?c ?C)) (insert-before-markers ",clip")) + (if needclose (insert-before-markers "]") + (or (looking-at "\\]") (insert-before-markers ",")))) + (t (YaTeX-push-to-kill-ring bb))))) + (setq YaTeX-section-name "caption") + imgfile)) (defun YaTeX::verbfile (argp) "Add-in for \\verbfile" diff --git a/yatexenv.el b/yatexenv.el index a71c401..8481f30 100644 --- a/yatexenv.el +++ b/yatexenv.el @@ -1,8 +1,8 @@ ;;; -*- Emacs-Lisp -*- ;;; YaTeX environment-specific functions. ;;; yatexenv.el -;;; (c) 1994-2006 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Sat Jun 24 08:14:11 2006 on firestorm +;;; (c) 1994-2012 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Sun Feb 12 11:15:33 2012 on firestorm ;;; $Id$ ;;; @@ -134,12 +134,10 @@ ((eq type 'alignat) (max 1 - (1- - (* 2 - (string-to-int - (buffer-substring - (point) - (progn (up-list -1) (forward-list 1) (1- (point))))))))) + (* 2 (string-to-int + (buffer-substring + (point) + (progn (up-list -1) (forward-list 1) (1- (point)))))))) (t (YaTeX-tabular-parse-format-count-cols (point) eoform)))) (list cols (1+ eoform))))) @@ -174,25 +172,29 @@ (fset 'YaTeX-intelligent-newline-array 'YaTeX-intelligent-newline-tabular) (fset 'YaTeX-intelligent-newline-supertabular 'YaTeX-intelligent-newline-tabular) -(defun YaTeX-intelligent-newline-alignat () - (YaTeX-intelligent-newline-tabular 'alignat)) -(fset 'YaTeX-intelligent-newline-alignat* 'YaTeX-intelligent-newline-alignat) - (defun YaTeX-intelligent-newline-align () "Intelligent newline function for align. Count the number of & in the first align line and insert that many &s." - (let*((p (point)) (cols 0)) + (let*((p (point)) (amps 0)) + (if (string-match "alignat" env) + (setq amps (1- (car (YaTeX-tabular-parse-format 'alignat)))) + (save-excursion + (YaTeX-beginning-of-environment) + (catch 'done + (while (YaTeX-re-search-active-forward + "\\(&\\)\\|\\(\\\\\\\\\\)" YaTeX-comment-prefix p t) + (if (match-beginning 1) (setq amps (1+ amps)) (throw 'done t)))))) (save-excursion - (YaTeX-beginning-of-environment) - (catch 'done - (while (YaTeX-re-search-active-forward - "\\(&\\)\\|\\(\\\\\\\\\\)" YaTeX-comment-prefix p t) - (if (match-beginning 1) (setq cols (1+ cols)) (throw 'done t))))) + (forward-line -1) + (skip-chars-forward " \t") + (or (prog1 (looking-at "\\\\begin{") (end-of-line)) + (save-excursion + (skip-chars-backward " \t") + (and (= (preceding-char) ?\\) (= (char-after (- (point) 2)) ?\\))) + (insert "\\\\"))) (save-excursion - (if (= cols 0) - (insert "&") - (while (>= (setq cols (1- cols)) 0) - (insert "& ")))) + (while (>= (setq amps (1- amps)) 0) + (insert "& "))) (YaTeX-indent-line))) (mapcar @@ -201,7 +203,7 @@ (symbol-name s))) 'YaTeX-intelligent-newline-align)) '(align* flalign flalign* matrix pmatrix bmatrix Bmatrix vmatrix Vmatrix - cases)) + cases eqnarray eqnarray* alignat alignat*)) ;;; ;; Functions for tabbing environment @@ -227,8 +229,7 @@ (setq tabcount (1- tabcount)))) (forward-char 2)) (insert "\\= \\\\") - (forward-char -5))) -) + (forward-char -5)))) ;;; ;; Functions for itemize/enumerate/list environments @@ -237,23 +238,39 @@ (defun YaTeX-intelligent-newline-itemize () "Insert '\\item '." (insert "\\item ") - (YaTeX-indent-line) -) + (YaTeX-indent-line)) + (fset 'YaTeX-intelligent-newline-enumerate 'YaTeX-intelligent-newline-itemize) (fset 'YaTeX-intelligent-newline-list 'YaTeX-intelligent-newline-itemize) (defun YaTeX-intelligent-newline-description () (insert "\\item[] ") (forward-char -2) - (YaTeX-indent-line) -) + (YaTeX-indent-line)) (defun YaTeX-intelligent-newline-thebibliography () "Insert '\\bibitem '." (YaTeX-indent-line) (YaTeX-make-section nil nil nil "bibitem") - (YaTeX-indent-line) -) + (YaTeX-indent-line)) + +;;; +;; For document environment +;;; +(defun YaTeX-intelligent-newline-document () + "New paragraph by null line or `\\par'." + (if (< (count-lines + (or (get 'YaTeX-inner-environment 'point) + (max 1 (- (point) 17))) ;"\begin{document}\n" == 17 + (point)) + 2) + nil + (if (save-excursion (re-search-backward "\\\\par\\>" nil t)) + (progn + (YaTeX-indent-line) + (insert "\\par"))) + (newline)) + (YaTeX-indent-line)) ;;; ;; Intelligent newline diff --git a/yatexlib.el b/yatexlib.el index 65cfd8f..49dc657 100644 --- a/yatexlib.el +++ b/yatexlib.el @@ -2,7 +2,7 @@ ;;; YaTeX and yahtml common libraries, general functions and definitions ;;; yatexlib.el ;;; (c)1994-2012 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Jan 9 20:20:09 2012 on firestorm +;;; Last modified Wed Feb 29 09:49:30 2012 on firestorm ;;; $Id$ ;; General variables @@ -464,6 +464,7 @@ ;;;###autoload (defun rindex (string char) + "Return the last position of STRING where character CHAR found." (let ((pos (1- (length string)))(index -1)) (catch 'rindex (while (>= pos 0) @@ -751,6 +752,19 @@ (read-with-history-in hsym prompt init)) (t (read-string prompt init)))) +(defvar YaTeX-skip-next-reader-char ?\C-j) +(defun YaTeX-read-string-or-skip (&rest args) + "Read string, or skip if last input char is \C-j." + (if (equal last-input-char YaTeX-skip-next-reader-char) + "" + (apply 'read-string args))) + +(defun YaTeX-completing-read-or-skip (&rest args) + "Do completing-read, or skip if last input char is \C-j." + (if (equal last-input-char YaTeX-skip-next-reader-char) + "" + (apply 'completing-read args))) + ;;;###autoload (fset 'YaTeX-rassoc (if (and nil (fboundp 'rassoc) (subrp (symbol-function 'rassoc))) @@ -1084,16 +1098,18 @@ (get-file-buffer pf) (switch-to-buffer (get-file-buffer pf))))) -(defun YaTeX-get-builtin (key) +(defun YaTeX-getset-builtin (key &optional value) "Read source built-in command of %# usage." (catch 'builtin - (let ((bl (delq nil (list (current-buffer) + (let*((bl (delq nil (list (current-buffer) (and YaTeX-parent-file (get-file-buffer YaTeX-parent-file))))) - (leader (or (cdr-safe (assq major-mode - '((yatex-mode . "%#") - (yahtml-mode . "\\|\n"))))) + (leader (or (car tuple) "")) + (closer (or (cdr tuple) "")) + (prompt (format "Built-in for %s: " key))) (save-excursion (while bl (set-buffer (car bl)) @@ -1103,17 +1119,35 @@ (concat "^" (regexp-quote (concat leader key))) nil t) (not (eolp))) (throw 'builtin - (YaTeX-buffer-substring - (progn - (skip-chars-forward " \t" (point-end-of-line)) - (point)) - (if (string< "" comment-end) - (progn - (search-forward - comment-end (point-end-of-line) t) - (match-beginning 0)) - (point-end-of-line)))))) - (setq bl (cdr bl))))))) + (let (b e w) + (skip-chars-forward " \t" (point-end-of-line)) + (setq b (point) + e (if (re-search-forward closer nil t) + (match-beginning 0) + (point-end-of-line)) + w (YaTeX-buffer-substring b e)) + (if (null value) + w + (delete-region b e) + (goto-char b) + (if (symbolp value) + (setq value (read-string prompt w))) + (insert value) + value))))) + (setq bl (cdr bl))) + ; not found + (if (null value) + nil ;not set mode, return simply nil + (if (symbolp value) + (setq value (read-string prompt))) + (save-excursion + (goto-char (point-min)) + (insert leader key " " value "\n") + value)))))) ;on set mode, return set value + +(defun YaTeX-get-builtin (key) + "Read source built-in command of %# usage." + (YaTeX-getset-builtin key)) ;;;VER2 (defun YaTeX-insert-struc (what env) @@ -1489,6 +1523,26 @@ (throw 'found (car alist))) (setq alist (cdr alist)))))) +(defun YaTeX-push-to-kill-ring (string) + "Push STRING to kill-ring, then show guidance message." + (and (stringp string) (string< "" string) + (let ((key (key-description (where-is-internal 'yank nil t))) + (msg + (if YaTeX-japan + " ��kill-ring�ɓ���܂����B����yank(%s)�œ\�t�ł��܂�" + " is stored into kill-ring. Paste it by yank(%s)."))) + (kill-new string) + (message (concat "`%s'" msg) string key)))) + +(defun YaTeX-elapsed-time (before after) + "Get elapsed time from BEFORE and AFTER, which are given from currente-time." + (if (fboundp 'float) ;Then, current-time function should be. + (let ((mil (float 1000000))) ;To protect parse error before 19 + (+ (* (- (nth 0 after) (nth 0 before)) 65536) + (- (nth 1 after) (nth 1 before)) + (- (/ (nth 2 after) mil) + (/ (nth 2 before) mil)))))) + ;;; ;; Functions for the Installation time ;;; @@ -1514,7 +1568,15 @@ (lambda (arg) (find-file arg) (texinfo-format-buffer) - (basic-save-buffer))) + (cond + ((fboundp 'set-buffer-file-coding-system) + (set-buffer-file-coding-system 'sjis-dos)) + ((fboundp 'set-file-coding-system) + (set-file-coding-system '*sjis*dos)) + ((boundp 'NEMACS) + (set (make-local-variable 'kanji-fileio-code) 1))) + (let ((coding-system-for-write buffer-file-coding-system)) + (basic-save-buffer)))) command-line-args-left) (kill-emacs)))) diff --git a/yatexmth.el b/yatexmth.el index 4a341ba..cb6c196 100644 --- a/yatexmth.el +++ b/yatexmth.el @@ -2,7 +2,7 @@ ;;; YaTeX math-mode-specific functions. ;;; yatexmth.el ;;; (c)1993-2012 by HIROSE Yuuji [yuuji@yatex.org] -;;; Last modified Mon Jan 9 20:14:02 2012 on firestorm +;;; Last modified Tue Jan 24 08:58:56 2012 on firestorm ;;; $Id$ ;;; [Customization guide] @@ -315,6 +315,13 @@ ("D" "diamondsuit" "/\\\n\\/") ("H" "heartsuit" "<^^>\n \\/") ("S" "spadesuit" " /\\\n<++>\n /\\") + ("mi" "mathit" "\\mathit{}") + ("mr" "mathrm" "\\mathrm{}") + ("mb" "mathbf" "\\mathbf{}") + ("mt" "mathtt" "\\mathtt{}") + ("ms" "mathsf" "\\mathsf{}") + ("mc" "mathcal" "\\mathcal{}") + ("mn" "mathnormal" "\\mathnormal{}") ) "Default LaTeX-math-command alist.") diff --git a/yatexprc.el b/yatexprc.el index 9df5aa1..99081d5 100644 --- a/yatexprc.el +++ b/yatexprc.el @@ -2,7 +2,7 @@ ;;; YaTeX process handler. ;;; yatexprc.el ;;; (c)1993-2012 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Jan 9 20:20:24 2012 on firestorm +;;; Last modified Fri Feb 17 22:35:38 2012 on firestorm ;;; $Id$ ;(require 'yatex) @@ -55,6 +55,9 @@ (modify-syntax-entry ?\[ "w" YaTeX-typeset-buffer-syntax) (modify-syntax-entry ?\] "w" YaTeX-typeset-buffer-syntax)) +(defvar YaTeX-typeset-marker nil) +(defvar YaTeX-typeset-consumption nil) +(make-variable-buffer-local 'YaTeX-typeset-consumption) (defun YaTeX-typeset (command buffer &optional prcname modename ppcmd) "Execute jlatex (or other) to LaTeX typeset." (interactive) @@ -92,11 +95,23 @@ YaTeX-shell-command-option command)) (get-buffer buffer)) (set-process-sentinel YaTeX-typeset-process 'YaTeX-typeset-sentinel) + (put 'YaTeX-typeset-process 'thiscmd command) + (put 'YaTeX-typeset-process 'name prcname) + (if (fboundp 'current-time) + (setq YaTeX-typeset-consumption + (cons (cons 'time (current-time)) + (delq 'time YaTeX-typeset-consumption)))) (let ((ppprop (get 'YaTeX-typeset-process 'ppcmd))) (setq ppprop (delq (assq YaTeX-typeset-process ppprop) ppprop)) (if ppcmd (setq ppprop (cons (cons YaTeX-typeset-process ppcmd) ppprop))) - (put 'YaTeX-typeset-process 'ppcmd ppprop)))) + (put 'YaTeX-typeset-process 'ppcmd ppprop)) + (if (and (boundp 'bibcmd) bibcmd) + (let ((bcprop (get 'YaTeX-typeset-process 'bibcmd))) + (setq bcprop (cons + (cons YaTeX-typeset-process bibcmd) + (delq (assq YaTeX-typeset-process bcprop) bcprop))) + (put 'YaTeX-typeset-process 'bibcmd bcprop))))) (message (format "Calling `%s'..." command)) (setq YaTeX-current-TeX-buffer (buffer-name)) (use-local-map map) ;map may be localized @@ -114,6 +129,10 @@ YaTeX-latex-message-code outcode)) ((boundp 'NEMACS) (set-kanji-process-code YaTeX-latex-message-code)))) + (set-marker (or YaTeX-typeset-marker + (setq YaTeX-typeset-marker (make-marker))) + (point)) + (insert (format "Call `%s'\n" command)) (if YaTeX-dos (message "Done.") (insert " ") (set-marker (process-mark YaTeX-typeset-process) (1- (point)))) @@ -133,6 +152,15 @@ (switch-to-buffer cb) (YaTeX-remove-nonstopmode)))) +(defvar YaTeX-typeset-auto-rerun t + "*Non-nil automatically reruns typesetter when cross-refs update found. +This is a toy mechanism. DO NOT RELY ON THIS MECHANISM. +You SHOULD check the integrity of cross-references with your eyes!! +Supplying an integer to this variable inhibit compulsory call of bibtex, +thus, it call bibtex only if warning messages about citation are seen.") +(defvar YaTeX-typeset-rerun-msg "Rerun to get cross-references right.") +(defvar YaTeX-typeset-citation-msg + "Warning: Citation \`") (defun YaTeX-typeset-sentinel (proc mes) (cond ((null (buffer-name (process-buffer proc))) ;; buffer killed @@ -140,7 +168,17 @@ ((memq (process-status proc) '(signal exit)) (let* ((obuf (current-buffer)) (pbuf (process-buffer proc)) (pwin (get-buffer-window pbuf)) - (owin (selected-window)) win) + (owin (selected-window)) win + tobecalled shortname + (thiscmd (get 'YaTeX-typeset-process 'thiscmd)) + (ppprop (get 'YaTeX-typeset-process 'ppcmd)) + (ppcmd (cdr (assq proc ppprop))) + (bcprop (get 'YaTeX-typeset-process 'bibcmd)) + (bibcmd (cdr (assq proc bcprop)))) + (put 'YaTeX-typeset-process 'ppcmd ;erase ppcmd + (delq (assq proc ppprop) ppprop)) + (put 'YaTeX-typeset-process 'bibcmd ;erase bibcmd + (delq (assq proc bcprop) bcprop)) ;; save-excursion isn't the right thing if ;; process-buffer is current-buffer (unwind-protect @@ -154,36 +192,102 @@ (if pwin (recenter -3)) (insert ?\n mode-name " " mes) (forward-char -1) - (insert " at " (substring (current-time-string) 0 -5) "\n") + (insert + (format " at %s%s\n" + (substring (current-time-string) 0 -5) + (if (and (fboundp 'current-time) (fboundp 'float) + (assq 'time YaTeX-typeset-consumption)) + (format + " (%.2f secs)" + (YaTeX-elapsed-time + (cdr (assq 'time YaTeX-typeset-consumption)) + (current-time)))))) (setq mode-line-process (concat ": " (symbol-name (process-status proc)))) - (message mode-name " %s." + (message "%s %s" mode-name (if (eq (process-status proc) 'exit) "done" "ceased")) ;; If buffer and mode line shows that the process ;; is dead, we can delete it now. Otherwise it ;; will stay around until M-x list-processes. (delete-process proc) - ;; If ppcmd is active, call it. - (let* ((ppprop (get 'YaTeX-typeset-process 'ppcmd)) - (ppcmd (cdr (assq proc ppprop)))) - (put 'YaTeX-typeset-process 'ppcmd ;erase ppcmd - (delq (assq proc ppprop) ppprop)) + (if (cond + ((or (not YaTeX-typeset-auto-rerun) + (string-match "latexmk" thiscmd)) + nil) + ((and bibcmd ;Call bibtex if bibcmd defined && + (or ; (1st call || warning found) + (and (not (numberp YaTeX-typeset-auto-rerun)) + ; cancel call at 1st, if value is a number. + (not (string-match "bibtex" mode-name))) + (re-search-backward + YaTeX-typeset-citation-msg + YaTeX-typeset-marker t)) + (save-excursion ; && using .bbl files. + (search-backward + ".bbl" YaTeX-typeset-marker t))) + ;; Always call bibtex after the first typesetting, + ;; because bibtex doesn't warn disappeared \cite. + ;; (Suggested by ryseto. 2012) + ;; It is more efficient to call bibtex directly than + ;; to call it after deep inspection on the balance + ;; of \cite vs. \bib*'s referring all *.aux files. + (insert "\n" YaTeX-typeset-rerun-msg "\n") + (setq tobecalled bibcmd shortname "+bibtex")) + ((or + (save-excursion + (search-backward + YaTeX-typeset-rerun-msg YaTeX-typeset-marker t)) + (save-excursion + (re-search-backward + "natbib.*Rerun to get citations correct" + YaTeX-typeset-marker t))) + (if bibcmd + (put 'YaTeX-typeset-process 'bibcmd + (cons (cons (get-buffer-process pbuf) bibcmd) + bcprop))) + (setq tobecalled thiscmd shortname "+typeset")) + (t + nil)) ;no need to call any process + (progn + (insert + (format + "===!!! %s !!!===\n" + (message "Rerun `%s' to get cross-references right" + tobecalled))) + (if (equal tobecalled thiscmd) + (set-marker YaTeX-typeset-marker (point))) + (set-process-sentinel + (start-process + (setq mode-name (concat mode-name shortname)) + pbuf + shell-file-name YaTeX-shell-command-option tobecalled) + 'YaTeX-typeset-sentinel) + (if ppcmd + (put 'YaTeX-typeset-process 'ppcmd + (cons (cons (get-buffer-process pbuf) ppcmd) + ppprop))) + (if thiscmd + (put 'YaTeX-typeset-process 'thiscmd thiscmd))) + ;; If ppcmd is active, call it. (cond ((and ppcmd (string-match "finish" mes)) (insert (format "=======> Success! Calling %s\n" ppcmd)) (setq mode-name ; set process name - (substring ppcmd 0 (string-match " " ppcmd))) - ; to reach here, 'start-process exists on this emacsen + (concat + mode-name "+" + (substring ppcmd 0 (string-match " " ppcmd)))) + ; to reach here, 'start-process exists on this emacsen (set-process-sentinel (start-process mode-name pbuf ; Use this buffer twice. shell-file-name YaTeX-shell-command-option ppcmd) - 'YaTeX-typeset-sentinel)))) - + 'YaTeX-typeset-sentinel)) + (t ;pull back original mode-name + (setq mode-name "typeset")))) (forward-char 1)) (setq YaTeX-typeset-process nil) ;; Force mode line redisplay soon @@ -304,13 +408,17 @@ (YaTeX-save-buffers) (let*((me (substring (buffer-name) 0 (rindex (buffer-name) ?.))) (mydir (file-name-directory (buffer-file-name))) - (cmd (YaTeX-get-latex-command t)) pparg ppcmd + (cmd (YaTeX-get-latex-command t)) pparg ppcmd bibcmd (cb (current-buffer))) + (setq pparg (substring cmd 0 (string-match "[;&]" cmd)) ;rm multistmt + pparg (substring pparg (rindex pparg ? )) ;get last arg + pparg (substring pparg 0 (rindex pparg ?.)) ;rm ext + bibcmd (or (YaTeX-get-builtin "BIBTEX") bibtex-command)) + (or (string-match "\\s " bibcmd) ;if bibcmd has no spaces, + (setq bibcmd (concat bibcmd pparg))) ;append argument(== %#!) (and pp (stringp pp) - (setq pparg (substring cmd 0 (string-match "[;&]" cmd)) ;rm multistmt - pparg (substring pparg (rindex pparg ? )) ;get last arg - ppcmd (concat pp (substring pparg 0 (rindex pparg ?.)))));rm ext + (setq ppcmd (concat pp pparg))) (if (YaTeX-main-file-p) nil (save-excursion (YaTeX-visit-main t) ;search into main buffer @@ -377,13 +485,34 @@ 'YaTeX-call-command-history) buffer))) -(defun YaTeX-bibtex-buffer (cmd) - "Pass the bibliography data of editing file to bibtex." - (interactive) +(defvar YaTeX-call-builtin-on-file) +(make-variable-buffer-local 'YaTeX-call-builtin-on-file) +(defun YaTeX-call-builtin-on-file (builtin-type &optional default update) + "Call command on file specified by BUILTIN-TYPE." (YaTeX-save-buffers) - (let ((main (or YaTeX-parent-file - (progn (YaTeX-visit-main t) buffer-file-name)))) - (YaTeX-call-command-on-file cmd "*YaTeX-bibtex*" main))) + (let*((main (or YaTeX-parent-file + (save-excursion (YaTeX-visit-main t) buffer-file-name))) + (mainroot (file-name-nondirectory (substring main 0 (rindex main ?.)))) + (alist YaTeX-call-builtin-on-file) + (b-in (or (YaTeX-get-builtin builtin-type) + (cdr (assoc builtin-type alist)))) + (command b-in)) + (if (or update (null b-in)) + (progn + (setq command (read-string-with-history + (format "%s command: " builtin-type) + (or b-in + (format "%s %s" default mainroot)) + 'YaTeX-call-command-history)) + (if (or update (null b-in)) + (if (y-or-n-p "Use this command line in the future? ") + (YaTeX-getset-builtin builtin-type command) ;keep in a file + (setq YaTeX-call-builtin-on-file ;keep in memory + (cons (cons builtin-type command) + (delete (assoc builtin-type alist) alist))))))) + (YaTeX-typeset + command + (format " *YaTeX-%s*" (downcase builtin-type))))) (defun YaTeX-kill-typeset-process (proc) "Kill process PROC after sending signal to PROC. @@ -566,20 +695,24 @@ -1))))) (defun YaTeX-prev-error () - "Visit previous typeset error. + "Visit position of previous typeset error or warning. To avoid making confliction of line numbers by editing, jump to error or warning lines in reverse order." (interactive) - (let ((cur-buf (buffer-name)) (cur-win (selected-window)) - b0 errorp error-line typeset-win error-buffer error-win) + (let ((cur-buf (save-excursion (YaTeX-visit-main t) (buffer-name))) + (cur-win (selected-window)) + b0 bound errorp error-line typeset-win error-buffer error-win) (if (null (get-buffer YaTeX-typeset-buffer)) (error "There is no typesetting buffer.")) (YaTeX-showup-buffer YaTeX-typeset-buffer nil t) + (if (and (markerp YaTeX-typeset-marker) + (eq (marker-buffer YaTeX-typeset-marker) (current-buffer))) + (setq bound YaTeX-typeset-marker)) (setq typeset-win (selected-window)) (if (re-search-backward (concat "\\(" latex-error-regexp "\\)\\|\\(" latex-warning-regexp "\\)") - nil t) + bound t) (setq errorp (match-beginning 1)) (select-window cur-win) (error "No more errors on %s" cur-buf))