# HG changeset patch # User yuuji # Date 1254056654 0 # Node ID 680d92784c1a78676b55dc26470a22dd50bb5290 # Parent d84447b92ecaa6e1853a1eec88f593655df24f71 Initial revision diff -r d84447b92eca -r 680d92784c1a ChangeLog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ChangeLog Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,242 @@ +Fri Sep 13 19:29:59 1996 HIROSE Yuuji + + * yahtml.el (yahtml-collect-labels): + Suppress auto-highlighting. + +Fri Jun 28 22:22:08 1996 HIROSE Yuuji + + * yahtml.el (yahtml-insert-begend): + Always make newlines between and . + (yahtml-intelligent-newline): + Get current inner tag after moving point to eol. + +Tue May 7 03:25:19 1996 HIROSE Yuuji + + * yahtml.el (((func (if yahtml-prefer-upcases 'upcase 'downcase)))): + Append yahtml-env-table to yahtml-typeface-table so that + [prefix] l works also to envinronment tag as inline + completion. + +Wed Jan 3 23:13:39 1996 HIROSE Yuuji + + * yahtml.el (yahtml-intelligent-newline): added + +Tue Dec 19 00:17:16 1995 HIROSE Yuuji + + * yatexmth.el: Support AMS-LaTeX in YaTeX-in-math-mode-p. + +Tue Nov 28 20:22:12 1995 HIROSE Yuuji + + * yatex19.el (YaTeX-hilit-sectioning-attenuation-rate): added + +Thu Jun 29 22:30:53 1995 HIROSE Yuuji + + * yatex.el (YaTeX-fill-item): + Do not combine item and its description which is separated by + null line. + +Mon Apr 24 22:34:54 1995 HIROSE Yuuji + + * yatex.el (YaTeX-closable-p): + Do not close parens any time when YaTeX-close-paren-always is + set to 'never. + +Tue Jan 31 00:50:21 1995 HIROSE Yuuji + + * yatexhie.el (YaTeX-hierarchy-lastpos): Added. + + * yatex.el (YaTeX-on-section-command-p): + Error trapping for unbalanced braces. + +Mon Jan 30 03:49:31 1995 HIROSE Yuuji + + * yatex19.el + Add YaTeX-19-region-section-type and YaTeX-19-region-comment + for more correct hilightening. Define hilit-patterns-alist by + yatex itself and abolish YaTeX-hilit-pattern-adjustment-default. + +Fri Jan 27 00:58:10 1995 HIROSE Yuuji + + * yatex.el (YaTeX-indent-line): Revised for itemize/equation. + +Wed Jan 25 22:10:21 1995 HIROSE Yuuji + + * yatex19.el: + YaTeX-goto-corresponding-*-other-frame and + YaTeX-visit-main-other-frame added. + + * yatex.el (YaTeX-get-item-info): + Decide search-bound by calling (YaTeX-inner-environment t) so + that nested itemizing environment can be indented correctly. + +Tue Jan 24 02:34:45 1995 HIROSE Yuuji + + * yatexenv.el (YaTeX-enclose-equation): Added. + + * yatex.el (YaTeX-indent-line): + When indenting \begin, indent also \end line. + (YaTeX-beginning-of-environment): + Fixed for the nested environment. + (YaTeX-insert-begin-end): + Enclosing function supported. + +Mon Jan 16 01:05:00 1995 HIROSE Yuuji + + * yatex.el (yatex-mode): + Set indent-line-function to YaTeX-indent-line. + +Mon Jan 9 22:38:25 1995 HIROSE Yuuji + + * yatexhie.el: Document hierarchy browser added. + +Mon Dec 19 02:03:33 1994 HIROSE Yuuji + + * yatex.el (YaTeX-indent-line): Support indentation in arrays. + + * yatex19.el (YaTeX-19-collect-macro): Fix \item regexp for + hilightening. + +Mon Dec 12 03:49:51 1994 HIROSE Yuuji + + * yatexlib.el: Make interface functions both for gmhist and + Emacs-19 minibuffer history. + * yatex.el: Revise reading commands using history feature above. + +Sat Dec 10 05:57:26 1994 HIROSE Yuuji + + * yatex.el: >Fix [prefix] i. + >[prefix] k kills only {} (or with font designator) if + the previous command belongs to \maketitle-types. + >In menu for new word entry, selecting N)one register + a new word into memory which go within the current + Emacs session. New menu item D)iscard throws away + the new word. + >When kill typesetter that stops with the `? ' prompt, + stop it by sending string "x" in order to keep .aux + file sane. + >On Emacs19, after asking parent file at typesetting, + parent file became the current buffer; fixed. + >Inter-file jumping([prefix] g) now go accross frame. + >When [prefix] g on \include{child} and child.tex has + no information of parent file, recognize previous + file as its parent. + >Allow full-path-ed entry in \include{} for [prefix] g. + >When jumping to error location, dired occasionally + wakes up; fixed. + +--- Ancient logs starts here --- + +;--------------------------------- History --------------------------------- +; Rev. | Date | Contents +;------+----------+--------------------------------------------------------- +; 1.00 | 91/ 6/13 | Initial version. +; | | Auto compilation & preview. +; | | \section{}-type and \begin{}\end{}-type completion. +; 1.01 | 91/ 6/14 | Add {\large ..} type completion (prefix+l). +; 1.10 | 6/21 | Add learning feature of completion. +; 1.11 | 6/27 | Simplify function begin-document etc. using lambda. +; 1.12 | 7/ 6 | Modify YaTeX-make-section, show section-name. +; 1.13 | 12/ 4 | Delete blank lines in make begin/end environment. +; 1.20 | 12/ 5 | Save learned completions into user file. +; 1.21 | 12/ 6 | Add \maketitle type completion (prefix+m). +; 1.22 | 12/30 | Port yatex.el to DOS(Demacs). +; 1.23 | 92/ 1/ 8 | Enable latex and preview command on DOS. +; 1.24 | 1/ 9 | Add YaTeX-save-table to kill-emacs-hook automatically. +; 1.25 | 1/16 | YaTeX-do-completion (prefix+SPC) and argument +; | | acceptable YaTeX-make-section work. Put region into +; | | \begin...\end by calling YaTeX-make-begin-end with ARG. +; | | append-kill-emacs-hook was revised to append-to-hook. +; 1.26 | 1/18 | Region mode is added to {\large }. Default fontsize. +; 1.27 | 1/21 | Default name on completing-read. +; 1.28 | 7/ 2 | Add \nonstopmode{} automatically on DOS. +; | 7/20 | %#! usage to specify latex command and its arguments. +; | | Change default fill-prefix from TAB to null string. +; 1.29 | 7/21 | Add YaTeX-end-environment. +; 1.30 | 9/26 | Support project 30 lines(other than 25 lines). +; 1.31 | 10/28 | Variable argument for previewer from %#! usage. +; 1.32 | 11/16 | YaTeX-goto-corresponding-environment. +; | | Comment out region/paragraph added. +; 1.33 | 11/29 | Variable default value, on DOS and other OS. +; | | Make dvi2-command buffer local. Change the behavior of +; | | comment out region/paragraph on the \begin{} or \end{} +; | | line. Make YaTeX-end-environment faster. Add YaTeX- +; | | define-key, YaTeX-define-begend-(region-)key. +; 1.34 | 12/26 | YaTeX-goto-corresponding-* automatically choose its move. +; | | YaTeX-prev-error supports separate typesetting. +; 1.35 | 93/ 1/25 | YaTeX-kill-environment erases pair of begin/end. +; | | YaTeX-change-environment change the environment name. +; | | Auto indent at YaTeX-make-begin-end. +; 1.36 | 1/27 | YaTeX-typeset-region typesets the region from %#BEGIN to +; | | %#END, or simple region between point and mark. +; 1.37 | 2/12 | YaTeX-kill-environment turns YaTeX-kill-some-pairs and +; | | now it can kill %#BEGIN and %#END pairs. +; | | Now YaTeX-goto-corresponding-environment detects nested +; | | environment. Put `"\ by `"' in verbatim. Auto save +; | | buffers with query. Add current file to includeonly list +; | | automatically. Support YaTeX-fill-item, YaTeX-make- +; | | accent, YaTeX-visit-main-other-window. +; | | [prefix] tl for lpr. Revise YaTeX-view-error. +; 1.38 | 2/20 | Fix for byte-compilation. Do not ask from/to page if +; | | no %f/%t was given. Support temporary dictionary if +; | | YaTeX-nervous is t. Remember the number of section-type +; | | command's argument add learning feature to it. +; | | Abolish append-to-hook, override kill-emacs instead. +; 1.39 | 2/25 | Send string to halted latex command in typeset-buffer. +; |(birthday)| Add YaTeX-bibtex-buffer and YaTeX-kill-typeset-process. +; | | Now you can edit with seeing typeset buffer scrolling. +; 1.40 | 3/ 2 | Support sources in sub directories. Give "texput" at +; | | preview prompt after typeset-region. yatexprc.el +; 1.41 | 3/ 9 | Automatic generation of add-in function. +; | | Typesetting buffer now accepts string correctly. +; | | Addin function for maketitle-type completion. +; 1.42 | 5/ 3 | Fill-paragraph and (un)comment-paragraph work fine. +; | | Fix kill range of YaTeX-kill-some-pairs. Ignore begin/ +; | | end in verb or verbatim. Indent rigidly initial space +; | | between begin/end pairs. Add yatex-mode-load-hook. +; | | Go to corresponding \label or \ref. +; 1.43 | 5/31 | Indentation of environments. Add yatexmth, math-mode, +; | | modify-mode. Complete label in \ref by menu. Optimize +; | | window selection in yatexprc. +; 1.44 | 10/25 | Fasten the invocation of typesetter. Optimize window +; | | use. Change mode-line format properly. Turn on math- +; | | mode automatically at completion of LaTeX math-mode. +; 1.45 | 94/ 1/27 | Show message at comment-region on begin/end mode. +; | | Greek letters completion in yatexmth. Add the function +; | | YaTeX-mark-environment and YaTeX-%-menu. Erase cursor +; | | at the execution of dviout(DOS). Enable recursive +; | | completion at section-type completion. +; 1.46 | 94/ 4/23 | Region-based section-type complete. Kill section-type +; | | command and parentheses by [prefix] k. Error jump +; | | now jumps proper position. Fix the bug of recursive +; | | section-type completion. +; 1.47 | 94/ 4/25 | Fix bugs in YaTeX-quick-in-environment-p and YaTeX- +; | | get-latex-command. +; 1.48 | 94/ 5/ 5 | Auto-indent at begin-type completion works fine. +; | | With gmhist, independent history list is available +; | | at the prompt of Preview/Lpr/Call-command. Fix the +; | | bug on \ref-completion. YaTeX-help is now available. +; 1.49 | 94/ 5/16 | Make variables for temporary dictionary buffer-local. +; | | Change the default value of YaTeX-nervous to t. +; | | Create a temporary dictionary file when `T' is selected +; | | at the dictionary selection menu. +; 1.50 | 94/ 7/ 8 | Change the YaTeX-math-mode's prefix from `,' to `;'. +; | | Add YaTeX-apropos, YaTeX-what-column, YaTeX-beginning- +; | | of-environment, YaTeX-end-of-environment. Add variables +; | | YaTeX-default-pop-window-height, YaTeX-close-paren-always +; | | YaTeX-no-begend-shortcut, YaTeX-auto-math-mode. Remove +; | | Greek letters from maketitle-type. Make YaTeX-inner- +; | | environment two times faster and reliable. C-u for +; | | [prefix] k kills contents too. Fix the detection of +; | | the range of section-type commands when nested. +; | | Add \end{ completion. Add YaTeX-generate-simple. +; | | Refine documents. %#REQUIRE for sub-preambles. +; 1.51 | 94/ 9/20 | Support menu-bar. Fix YaTeX-fill-item, YaTeX-indent-line. +; | | Support hilit19. +; 1.52 | 94/10/24 | Support special-popup-frame. Refine highlightening. +; | | Modify saving-table functions for Emacs-19. +; 1.53 | 94/11/ 1 | cite<->bibitem jump. Inter-file ref/label jump. +; 1.54 | 94/11/12 | Read-string at input of argument of section-types. +; | | Update user dictionary whenever the new words entered. +; | | Enhance [prefix] c. Other small fixes. +;------+----------+--------------------------------------------------------- + diff -r d84447b92eca -r 680d92784c1a dir --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dir Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,4 @@ +* YaTeX: (yatexj). Yet Another tex-mode for Emacs. (Japanese). +* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs. (English). +* yahtml: (yahtmlj). Yet Another HTML-mode for Emacs. (Japanese). +* yahtml-e: (yahtmle). Yet Another HTML-mode for Emacs. (English). diff -r d84447b92eca -r 680d92784c1a docs/.yatexinforc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/.yatexinforc Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,3 @@ +(setq tmp-env-table '( +("defvar") +)) diff -r d84447b92eca -r 680d92784c1a docs/dir --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/dir Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,20 @@ + +-*- Text -*- +This is the file .../info/dir, which contains the topmost node of the +Info hierarchy. The first time you invoke Info you start off +looking at that node, which is (dir)Top. + +File: dir Node: Top This is the top of the INFO tree + This (the Directory node) gives a menu of major topics. + Typing "d" returns here, "q" exits, "?" lists all INFO commands, "h" + gives a primer for first-timers, "mTexinfo" visits Texinfo topic, + etc. + --- PLEASE ADD DOCUMENTATION TO THIS TREE. (See INFO topic first.) --- + +* Menu: The list of major topics begins on the next line. + +* YaTeX: (yatexj). Yet Another tex-mode for Emacs. (Japanese). + +* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs. (English). + +* yahtml: (yahtmlj). Yet Another HTML-mode for Emacs. (Japanese). diff -r d84447b92eca -r 680d92784c1a docs/yahtmle --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/yahtmle Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,459 @@ +Info file: yahtmle, -*-Text-*- +produced by `texinfo-format-buffer' +from file `yahtmle.tex' +using `texinfmt.el' version 2.32 of 19 November 1993. + + + + + +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, 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: 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 (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. + + + diff -r d84447b92eca -r 680d92784c1a docs/yahtmlj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/yahtmlj Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,469 @@ +Info file: yahtmlj, -*-Text-*- +produced by `texinfo-format-buffer' +from file `yahtmlj.tex' +using `texinfmt.el' version 2.32 of 19 November 1993. + + + + + +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(B + + + +File: yahtmlj, Node: Intro, Next: Installation, Prev: Top, Up: Top + +$B$O$8$a$K(B +******** + +yahtml$B$O(B GNU Emacs $B>e$G(B HTML$BJ8=q$r:n@.$9$k;~$K!"HK;($J(BHTML$B%?%0$NF~NO$rJd40(B +$B5!G=$K$h$C$F%9%`!<%:$K9T$($k$h$&$K$9$k$@$1$G$J$/!"(Bweblint$B$J$I$N9=J8%A%'%C(B +$B%/%W%m%0%i%`!"%+!<%=%k0LCV$N(BURL$B$d%U%!%$%kL>$K0MB8$7$?%V%i%&%6(B/$B%$%a!<%8%t%e!<(B +$B%"$N5/F0$J$I$r(B Emacs $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(B +yahtml $B$,%m!<%I$5$l$^$9!#(Byahtml$B$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<((B +$B$,!V(Byahtml$B!W$KJQ$o$j$^$9!#(B + + +File: 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(B +$B99$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(B + + +File: 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(B + $B%U%!%$%kL>(B(NCSA$B7O(Bhttpd$B$J$i(B `index.html', CERN$B7O$J$i(B + `Welcome.html'$B$,0lHLE*(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$&(B +$B$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!#(B + + +File: 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(B + + +File: 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!"(B +$B!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!"(B +$B!V6uMWAG%?%0(B(img$B$J$I(B)$B$NJd40!W!"!V0l9TFb$G$N3+;O(B/$B=*N;%?%0$NF~NO!W!"!V6uMWAG(B +$B6uB0@-%?%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 + $B$*$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(B + $B$^$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!#(B + $B%G%U%)%k%H$G$O(B < (<), > (>), & (&), " ("), ' ('), + $B%V%i%s%/(B ( ) $B$NJd40F~NO$,9T$($^$9!#(B + + +File: 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(B + +$B$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(B +$B1~4X78$,B8:_$9$k$H2r' $B"+"*(B `' + * `' $B"*(B $BBP1~$9$k(Bviewer$B5/F0(B + * `' $B"*(B $B%j%s%/@h$X$N%]%$%s%H0\F0(B + * `' $B"*(B Java$B%=!<%9%W%m%0%i%`$X$N0\F0(B + + +File: 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:: + + +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(B + +$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$B9=J8$K1~$8$?5-=RFbMF$NJQ99$r9T$$$^$9!#(B +$B%+!<%=%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(B + + +File: yahtmlj, Node: $BJ8;z;2>H$X$NJQ99(B, Next: $B%j%8%g%sFbJ8;z$N(BURLencode, 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-(B +$B$9$kI,MW$,$"$j$^$9$,!"(BHTML$B0J30$N%U%!%$%k$+$i$3$l$i$NJ8;z$r4^$`%F%-%9%H$rD%(B +$B$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, 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(B URLencode $B$9$Y$-J8;z$,$"$l$P$=$l$i$r(B + $B%(%s%3!<%II=5-$KCV49!#(B + + +File: 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!#(B +$B%9%?%$%kDj5A$H$7$F(B + + h1.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(B +$B40F~NO$7$?>l9g$K!"$=$l$i$KM-8z$J(B class $BL>$G$"$k(B foo, bar $B$r8uJd$H$7$FJd40(B +$BF~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(B +$B40F~NO;~$K(Bclass$B;2>HF~NO$r5a$a$i$l$^$9!#$3$l$,HQ$o$7$$>l9g$O%(%l%a%s%HL>F~(B +$BNO3NDj$N$H$-$K%j%?!<%s%-!<(B($B$^$?$O(BC-m)$B$G$O$J$/!"(BC-j$B$r2!$;$P(Bclass$BJd40F~NO$r(B +$B%-%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(B class= $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(B class $BJd40%W%m%s%W%H$O=P$^$;$s!#(B + + +File: 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(B +$B$FD>$A$KFI$_9~$^$;$?$$>l9g$O!"(B`M-x yahtml-mode' $B$H$7$F:F5/F0$r9T$C$F$/$@$5(B +$B$$!#(B + + +File: 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(B + + +File: 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 (2) + .htaccess $B%U%!%$%k$K(B + AddType "text/html; charset=xxx" .html$B$N5-=R$,$"$C$?>l9g$O$=$l(B + $B$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(B + $B%/%9%U%!%$%k$NL>A0!#B?$/$N>l9g(B index.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(B + $BDj!#(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(B + $B$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!#(B + $B%G%U%)%k%H$G(B `<', `>', `&', `'', `"' $B$KBP$9$k(Balist$B$,@_Dj$5$l$F$$$k$N(B + $B$G!"DI2C$7$?$$J,$@$1$r5-=R$9$l$PNI$$!#(Bcdr$BIt(B `"$B%(%s%F%#%F%#I=5-(B"' $B$O!"(B + $B@hF,$N(B `&' $B$H(B $BKvHx$N(B`;'$B$O4^$a$:$K=q$/!#(B + + -- Variable: yahtml-faithful-to-htmllint + $B9=J8%A%'%C%+$H$7$F(B htmllint $B$rMxMQ$9$k>l9g$A$g$C$H$7$?M>7W$J6uGr$J$I(B + $B$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|(B + $B$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(B + $B$F$+$iCV49$9$k(B (`'ask') + + -- Variable: yahtml-use-font-lock + $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-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(B hilit19 $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$$$?(B +$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$(B +$B$?$@$/$H!":np!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#O"Mm$O(B yuuji@yatex.org $B$^(B +$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(B +$B2q!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$$!#(B + +$B;EMM$O!"M=9p$J$/3Nend, 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 k' + ... kill current typesetting process +`[prefix] t b' + ... invoke bibtex +`[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. + + Since `[prefix] tr' pastes the region into the file `texput.tex' in the +current directory, you should be careful of overwriting. 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. + + +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 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-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: Top153 +Node: What is YaTeX?1493 +Node: Main features1865 +Node: Installation3456 +Node: Typesetting4232 +Node: Calling typesetter5061 +Node: Calling previewer6406 +Node: Printing out6766 +Node: %#notation7057 +Node: Changing typesetter7432 +Node: Splitting input files7795 +Node: Static region for typesetting9222 +Node: Lpr format10350 +Node: Editing %# notation11406 +Node: Completion11924 +Node: Begin-type completion12483 +Node: Section-type completion15526 +Node: view-sectioning17960 +Node: Large-type completion19539 +Node: Maketitle-type completion20269 +Node: Arbitrary completion20820 +Node: End completion21209 +Node: Accent completion21678 +Node: Image completion22294 +Node: Greek letters completion24550 +Node: Local dictionaries25276 +Node: Commenting out26212 +Node: Cursor jump27670 +Node: Jump to corresponding object27981 +Node: Invoking image processor29381 +Node: Jump to main file30723 +Node: Jumping around the environment31087 +Node: Jumping to last completion position31504 +Node: Changing and Deleting32012 +Node: Changing LaTeX commands32403 +Node: Killing LaTeX commands33579 +Node: Filling34763 +Node: Updation of includeonly36613 +Node: What column37409 +Node: Intelligent newline38493 +Node: Usepackage checker40153 +Node: Online help40743 +Node: Browsing file hierarchy42417 +Node: Cooperation with other packages44153 +Node: Customizations44857 +Node: Lisp variables45190 +Node: All customizable variables46193 +Node: Sample definitions55941 +Node: Hook variables56453 +Node: Hook file57156 +Node: Add-in functions57494 +Node: How the add-in function works58353 +Node: Defining option-add-in60551 +Node: Defining argument-add-in61272 +Node: Defining enclosing-add-in62153 +Node: How the function is called63006 +Node: Useful functions for creating add-in63681 +Node: Contribution65085 +Node: Add-in generator65358 +Node: Etcetera70751 +Node: Copying71355 + +End tag table diff -r d84447b92eca -r 680d92784c1a docs/yatexj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/yatexj Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,2053 @@ +Info file: yatexj, -*-Text-*- +produced by `texinfo-format-buffer' +from file `yatexj.tex' +using `texinfmt.el' version 2.32 of 19 November 1993. + + + + + +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!#6qBN(B + $BE*$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$$$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!"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$N(B documentclass $B$O!"C10l%U%!%$%k$N(B LaTeX $B%=!<%9$NJT=8;~$K$O$=(B +$B$N%U%!%$%k$N(B documentclass $B$,!"JL%U%!%$%k$+$i(B include $B$7$F$$$k>l9g$K$O%a%$(B +$B%s%U%!%$%k$N(B documentclass $B$,<+F0E*$KA*Br$5$l$^$9!#;XDjNN0h$O!"%a%$%s%U%!(B +$B%$%k$N$"$k%G%#%l%/%H%j$N(B`texput.tex'$B$H$$$&NW;~%U%!%$%k$K=PNO$5$l$^$9$N$G!"(B +$B>e=q$-$K$OCm0U$7$F$/$@$5$$!#(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,$4Cm(B +$B0U2<$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$$$O(B +$BL58BBg5-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 +$BM%@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$/$@$5(B +$B$$!#(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$N(B +$B$_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-conversion1=Shift JIS, 2=JIS, 3=EUC (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-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 + ($BJd40%?%$%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!<%8L>(B2 + ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) + ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B))$B!D!D!D(B)$B$H$$$&7A<0$K$9$k!#(B + $BJd40%?%$%W$O(B `env, section, maketitle' $B$N$I$l$+!#6qBNNc$OJQ?t(B + `YaTeX-package-alist-default'$B$NCM;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%7%g!<(B +$B%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$/3Ne$N0z?t$r$H$k(B section$B7?%3%^%s%I(B. 4. +* $B0z?t$N8D?t$rJQ$($k(B[$B$R$-$9$&$N$3$9$&$r$+$($k(B]: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B. 24. +* $B$*$^$+$;2~9T(B[$B$*$^$+$;$+$$$-$h$&(B]: Intelligent newline. 4. +* $B&2(B[$B$7$/$^(B]: Image completion. 4. +* $B2$J8(B[$B$*$&$U$s(B]: Accent mark completion. 4. +* $B$3$3$O$I$3(B?[$B$3$3$O$H$3(B?]: What column. 4. +* $B%3%a%s%H%"%&%H(B[$B$3$a$s$H$"$&$H(B]: Commenting out. 4. +* $B3g$k(B[$B$/$/$k(B]: Enclose section-type command. 4. +* $B3g$k(B[$B$/$/$k(B]: large$B7?Jd40(B. 21. +* $B$*3(IA$-%D!<%k5/F0(B[$B$*$($+$-$D$&$k$-$H$&(B]: $B$*3(IA$-%D!<%k5/F0(B. 4. +* $B%3%^%s%I%R%9%H%j(B[$B$3$^$s$H$R$9$H$j(B]: Cooperation with other packages. 8. +* $B4D6-L>$NJd40(B[$B$+$s$-$h$&$a$$$N$[$+$s(B]: begin$B7?Jd40(B. 4. +* $B4D6-L>$NJQ99(B[$B$+$s$-$h$&$a$$$N$X$s$3$&(B]: Changing LaTeX command. 20. +* $B4D6-$N@hF,$X(B[$B$+$s$-$h$&$N$;$s$H$&$X(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* $B4D6-$NKvHx$X(B[$B$+$s$-$h$&$N$^$D$R$X(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* $B4D6-$N:o=|(B[$B$+$s$-$h$&$N$5$/$7$h(B]: Killing LaTeX command. 6. +* $B4D6-$r%^!<%/(B[$B$+$s$-$h$&$r$^$"$/(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* $B5/F0$9$k%3%^%s%I$rJQ$($k(B[$B$-$H$&$9$k$3$^$s$H$r$+$($k(B]: Changing typesetter. 7. +* %#$B5-K!<+BN$NJT=8(B[%#$B$-$[$&$7$?$$$N$X$s$7$f$&(B]: Editing %# notation. 4. +* $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B]: Customizations. 4. +* $B7eB7$((B[$B$1$?$=$m$((B]: Filling. 4. +* $B%;%/%7%g%s6h@Z$j0lMw%P%C%U%!(B[$B$;$/$7$h$s$/$-$j$$$A$i$s$O$D$U$"(B]: view-sectioning. 18. +* $B%;%/%7%g%s6h@Z$j(B[$B$;$/$7$h$s$/$-$j(B]: view-sectioning. 42. +* $B%8%c%s%W(B[$B$7$d$s$U(B]: view-sectioning. 42. +* $B8GDjNN0h$N%?%$%W%;%C%H(B[$B$3$F$$$j$h$&$$$-$N$?$$$U$;$D$H(B]: Fix region for typesetting. 4. +* $B8=:_$N%+%i%`I=<((B[$B$1$s$5$$$N$+$i$`$R$h$&$7(B]: What column. 22. +* $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B]: Customizations. 4. +* $B%+%9%?%^%$%:JQ?t0lMw(B[$B$+$9$?$^$$$9$X$s$9$&$$$A$i$s(B]: All customizable variables. 4. +* $B%$%a!<%8Jd40(B[$B$$$a$($7$[$+$s(B]: Image completion. 4. +* $B%b!<%I@Z$jBX$((B[$B$b$&$H$-$j$+$((B]: Changing mode of YaTeX. 4. +* $BB>$N%U%!%$%k$N$7(B[$B$[$+$N$U$"$$$k$N$F$J$*$7(B]: Includeonly. 11. +* $BB>%Q%C%1!<%8$H$NO"7H(B[$B$?$O$D$1$($7$H$N$l$s$1$$(B]: Cooperation with other packages. 4. +* $BD9$$%U%!%$%k$NJT=8(B[$B$J$+$$$U$"$$$k$N$X$s$7$f$&(B]: Fix region for typesetting. 34. +* $B$d$A$g$&(B[$B$d$A$h$&(B]: Intro. 4. +* $B@_DjNc(B[$B$;$D$F$$$l$$(B]: Sample definitions. 4. +* %#BEGIN: Fix region for typesetting. 4. +* begin$B7?Jd40(B[begin$B$+$?$[$+$s(B]: begin$B7?Jd40(B. 4. +* $B:F5"Jd40(B[$B$5$$$-$[$+$s(B]: Recursive completion. 4. +* $B%f!<%6<-=q(B[$B$f$&$5$7$7$h(B]: begin$B7?Jd40(B. 71. +* &$BF~NO(B[&$B$K$f$&$j$h$/(B]: Intelligent newline. 4. +* $BF~NO%U%!%$%kJ,3d(B[$B$K$f$&$j$h$/$U$"$$$k$U$s$+$D(B]: Splitting input files. 11. +* $B!g(B[$B$`$1$s$?$$(B]: Image completion. 4. +* $B@h2s$j(Busepackage[$B$5$-$^$o$j(B]: Usepackage cheker. 4. +* ;$B<+?H(B[;$B$7$7$s(B]: Image completion. 31. +* $B%"%&%H%i%$%s(B[$B$"$&$H$i$$$s(B]: view-sectioning. 4. +* $B%(%i!<=$@5(B[$B$($i$"$7$f$&$;$$(B]: Calling typesetter. 4. +* $B%i%Y%k<+F0@8@.(B[$B$i$X$k$7$H$&$;$$$;$$(B]: label-generation. 4. +* $B%.%j%7%cJ8;zJd40(B[$B$-$j$7$d$b$7$[$+$s(B]: Greek letter completion. 4. +* $BJ8;z%5%$%:;XDj;R(B[$B$b$7$5$$$9$7$F$$$7(B]: large$B7?Jd40(B. 17. +* $BJD$89~$a$k(B[$B$H$7$3$a$k(B]: begin$B7?Jd40(B. 81. +* $BJ#;($J(Btabular[$B$U$/$5$D$J(Btabular]: What column. 4. +* $B>!JN,(Blpr$B5/F0(B[$B$X$($7$+$/$K$s$7$h$&$j$d$/(Blpr$B$-$H$&(B]: Print out. 12. +* C-c: Invocation. 4. +* Demacs: Intro. 4. +* .emacs: Installation. 4. +* %#END: Fix region for typesetting. 4. +* end$BJd40(B[end$B$[$+$s(B]: end$BJd40(B. 4. +* ghostview: Splitting input files. 16. +* gmhist: Cooperation with other packages. 8. +* hook$BJQ?t(B[hook$B$X$s$9$&(B]: Hook variables. 4. +* includeonly: Includeonly. 4. +* Install: Installation. 4. +* item$B$J$I$N7eB7$((B[item$B$J$H$N$1$?$=$m$((B]: Filling. 8. +* jlatex: Invocation. 4. +* large$B7?Jd40(B[large$B$+$?$[$+$s(B]: large$B7?Jd40(B. 4. +* LaTeX: Intro. 4. +* leftarrow: Image completion. 4. +* lpr format: lpr format. 4. +* lpr$B%U%)!<%^%C%H(B[lpr$B$U$*$*$^$D$H(B]: lpr format. 4. +* lpr$B$U$)!<$^$C$H(B[lpr$B$U$*$*$^$D$H(B]: lpr format. 4. +* lpr$B%U%)!<%^%C%H$NJQ99(B[lpr$B$U$*$*$^$D$H$N$X$s$3$&(B]: Editing %# notation. 18. +* maketitle$B7?Jd40(B[maketitle$B$+$?$[$+$s(B]: maketitle$B7?Jd40(B. 4. +* M-C-@: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* M-C-a: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* M-C-e: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* min-out: Cooperation with other packages. 17. +* M-q: Filling. 46. +* Mule: Intro. 4. +* NTT-jTeX[$B$($L$F$$$$$F$$$$$7$($$$F$D$/(B]: Filling. 16. +* 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$B7?Jd40(B. 4. +* prefix c: Modifying/Deleting. 4. +* prefix d: Inclusion hierarchy browser. 4. +* prefix e: end$BJd40(B. 4. +* prefix g: Cursor jump. 4. +* prefix i: Filling. 8. +* prefix k: Modifying/Deleting. 4. +* prefix key: Invocation. 4. +* prefix l: large$B7?Jd40(B. 4. +* prefix m: maketitle$B7?Jd40(B. 4. +* prefix s: section$B7?Jd40(B. 4. +* prefix SPC: Arbitrary completion. 4. +* prefix w: Changing mode of YaTeX. 4. +* prefix$B%-!e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B24617 +Node: Enclose section-type command26115 +Node: Recursive completion26515 +Node: view-sectioning27067 +Node: label-generation29528 +Node: large$B7?Jd40(B30273 +Node: maketitle$B7?Jd40(B31400 +Node: Arbitrary completion31882 +Node: end$BJd40(B32488 +Node: Accent mark completion33125 +Node: Image completion33856 +Node: Greek letter completion37390 +Node: Local dictionary38385 +Node: Commenting out39625 +Node: Cursor jump41857 +Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B42231 +Node: $B$*3(IA$-%D!<%k5/F0(B44128 +Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B46093 +Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B46762 +Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B47426 +Node: Modifying/Deleting47904 +Node: Changing LaTeX command48558 +Node: Killing LaTeX command49574 +Node: Filling51007 +Node: Includeonly53476 +Node: What column54565 +Node: Intelligent newline55914 +Node: Usepackage cheker57849 +Node: Changing mode of YaTeX58630 +Node: Online help59777 +Node: Inclusion hierarchy browser61920 +Node: Cooperation with other packages64375 +Node: Customizations65133 +Node: Lisp variables65619 +Node: All customizable variables66653 +Node: Sample definitions77680 +Node: Hook variables78259 +Node: Hook file79619 +Node: Add-in functions79954 +Node: Etc80372 +Node: Copying81013 +Node: Concept Index82458 + +End tag table diff -r d84447b92eca -r 680d92784c1a install --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/install Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,106 @@ +# (This file is encoded with MS-KANJI(Shift JIS) coding system) + +Installation of YaTeX / 野鳥のインストール +****************************************** + +Put these expressions into your ~/.emacs +まず ~/.emacsに下の2項目を加えます。 + + (setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) + (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) + +Then, add certain path name where you put files of YaTeX to your +load-path. If you want to put them in `~/src/emacs', write +次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。 +たとえば、`~/src/emacs/yatex'に置くのであれば、 + + (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) + +in your ~/.emacs. +などとします。 + +Then edit makefile and set your environment variable `DISPLAY' correctly, +exec the next. +続いて makefile を編集し、環境変数 DISPLAY の値を正しくセットしてから + + % make install + +でインストールを行ってください。 + + If `make install' fails, do as follows; + もし `make install' でうまく行かない時は下記のように手動でインストール +を行ってください。 + +First, copy `*.el' to suitable directory. +最初に、野鳥の emacs-lisp ファイル群を適当なディレクトリにコピーします。 + +Then copy `help/YATEXHLP.eng' to $EMACS/etc directory, which is +displayed by typin `exec-directory C-j' in the *scratch* buffer +(on Emacs19, $exec-directory/../../site-lisp). +つぎに、help/YATEXHLP.jp を Emacs の etc ディレクトリに入れます。 +(*scratch* バッファで「exec-directory C-j」とうって示されるところです + Emacs19以降の場合 doc-directory の ../../site-lisp) + + +Finally, copy `docs/yatexe' and `docs/yahtmle' to Info directory and +append the contents of `dir' in this directory to `dir' of Info directory. +最後に、info ディレクトリに docs/yatexj, docs/yatexe, docs/yahtmlj, +docs/yahtmle をコピーし、info ディレクトリの dir というファイルにこのディ +レクトリの dir ファイルの中身を追加します。 + +Note that when you byte-compile yatex19.el, do it on window system. +This file cannot be compiled on terminal Emacs because it requires +hilit19.el, which cannot be loaded on terminal Emacs. But you don't +have to byte-compile it. +注意: yatex19.el をバイトコンパイルする時はウィンドウシステム上の emacs +で行って下さい。emacs -nw では、hilit19.el がロードできず、正常にコンパ +イルできません。うまくいかない場合はバイトコンパイルしなくて構いません。 + + +About yahtml / yahtmlについて +***************************** + +Yahtml is a brand new package for writing HTML files with Emacs. It is +very far from html-mode, html-helper-mode or other existing HTML modes. +It is a good successor of YaTeX in HTML world. Do not want it to behave +as modes you used. Yahtml doesn't lessen the number of initial typing +not so much. But it lessens your effort of polishing/debugging your +source, tracing links between file or URL, and browsing the result with +Netscape. If you had not used YaTeX, the concept of `C-c g', `C-c k', +and `C-c c' are very new to you. If you are interested in the +philosophy of YaTeX, please take a look at the info file of YaTeX. + +yahtml.el は html-mode とか html-helper-mode とかとはじぇえ〜〜んじぇん +違います。「html-helper-mode でいうところのあの機能はないの〜」とかそう +いう気持で使うと、すげー調子悪いです。逆に、野鳥のインタフェースを知って +使っているとかなり調子良いです。古いものに拘る人にはお薦めしません。 + +Installation of yahtml / yahtmlのインストール +********************************************* + +Follow the guidance in the beginning of yahtml.el. +yahtml.el の先頭部分にある [Installation] にしたがって下さい。 + +Then the set some variables correctly. Here are the major of them. +Parenthesized values are default. +以下の変数を環境に合わせて設定して下さい(括弧内はデフォルト値)。 + + * yahtml-image-viewer Image viewer / 画像ヴューア + * yahtml-www-browser WWW browser / WWWブラウザ + * yahtml-path-url-alist List of unix path name vs. its URL name + within the WWW world. See the definition + of it (in yahtml.el) as an example. + UNIXパス名と、そのWWWでのURL名の対応リス + ト。yahtml.el のこの変数の定義を参考にあ + なた自身のサイトの対応リストを設定して下 + さい。 + * yahtml-directory-index Directory index file, which is a file + to be opened when URL is ended with + directory name. If you're not sure of + this, ask it to WWW administrator. + Typically `index.html' if your site is + running NCSA httpd, and `Welcome.html' + if CERN httpd. + URLでファイル名を省略した時にオープンさ + れるファイル。WWW管理者に聞いて下さい。 diff -r d84447b92eca -r 680d92784c1a manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/manifest Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,38 @@ +comment.el コメントアウト関連 +dir sample `dir' file for Info +docs/htmlqa yahtmlに関する一般的な質問と回答 +docs/htmlqa.eng Q and A on using yahtml +docs/qanda 野鳥に関する一般的な質問と回答 +docs/qanda.eng Q and A on using YaTeX +docs/yahtmle yahtml Texinfo Manual +docs/yahtmle.tex yahtml Texinfo Manual source text +docs/yahtmlj yahtml 日本語 Texinfo マニュアル +docs/yahtmlj.tex yahtml 日本語 Texinfo マニュアルのソース +docs/yatex.ref 野鳥・キーバインド早見表 +docs/yatexadd.doc 野鳥用付加関数の仕様説明 +docs/yatexe YaTeX Texinfo Manual +docs/yatexe.tex YaTeX Texinfo Manual source text +docs/yatexgen.doc 付加関数自動作成モード使用上の注意 +docs/yatexj 野鳥・日本語 Texinfo マニュアル +docs/yatexj.tex 野鳥・日本語 Texinfo マニュアルのソース +docs/yatexref.eng Quick reference of YaTeX's key bindings +help/YATEXHLP.jp オンラインヘルプデータ +help/YATEXHLP.eng LaTeX on-line help text +install インストールガイド +readme.meadow.j Meadow 用インストールガイド +yahtml.el 野鳥風 html モード +yatex.el 野鳥・主 Emacs-Lisp ファイル +yatex.new 各バージョンの変更履歴 +yatex19.el Emacs-19(Mule2)用の設定 +yatexadd.el 付加関数の定義例 +yatexenv.el LaTeX 環境依存の関数 +yatexgen.el 野鳥用付加関数自動作成モード +yatexhie.el 野鳥用ドキュメント階層表示プログラム +yatexhks.el hook を詰め込むために使う(ユーザ用) +yatexhlp.el オンラインヘルププログラム +yatexlib.el 野鳥用ライブラリ関数 +yatexm-o.el .emacs の設定例(min-outを使用) +yatexmth.el 数式環境用記号補完モード +yatexpkg.el 野鳥用 \usepackage 解決プログラム +yatexprc.el 野鳥・プロセス処理関数 +yatexsec.el セクション抽出関数 diff -r d84447b92eca -r 680d92784c1a readme.meadow.j --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/readme.meadow.j Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,137 @@ + Meadow(Mule for Windows) への 野鳥のインストール +************************************************************* + +野鳥のインストールは、以下の3ステップで完了します。 + +(1) 初期設定ファイル(~/.emacs)の設定 +(2) Emacs Lispファイル(*.el)のコピー +(3) 取扱説明書(help/info)の設定 + +順に説明します。 + + +(1) 初期設定ファイル(~/.emacs)の設定 + +Emacsは、ユーザそれぞれの初期設定をホームディレクトリ(~/)の中にある +.emacsというファイル(あるいは.emacs.elというファイル)から読み込みます。 + +ここでは、拡張子が.texであるファイルを読み込むと、自動的に野鳥が読み込 +まれるように設定します。 + +まず ~/.emacsに下の2項目を加えます。 + + (setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) + (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) + +次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。 +たとえば、`~/src/emacs/yatex'に置くのであれば、 + + (setq load-path (cons "~/src/emacs/yatex" load-path)) + +などとします。もし、pLaTeX2e, dviout などのコマンドをインストールした場 +所にPATHを通していないときはこれらを明示的に指定します。以下の例は +c:\ptex\bin にLaTeX関係のコマンドをインストールしてある場合の指定です。 + + (setq tex-command "c:/ptex/bin/platex") + (setq dvi2-command "c:/ptex/bin/dviout") + +これで、初期設定ファイルの設定は終了です。 + + + +(2) Emacs Lispファイル(*.el)のコピー + +Emacs Lispで書かれた野鳥本体をインストールするには、(i) makeを使う方法 +と、(ii) 手動でコピーする方法とがあります。 + + +(i) makeを使う方法 + +Windows環境に Unix ライクなコマンドを提供する「Cygwin」を導入したりし +て、makeが使える環境にある方は、次のような方法でインストールできます。 +そうでない方は(ii)に進んでください。 + +まず、Emacsなどのエディタでこのファイルと同じディレクトリにある +makefileというファイルを開き、自分の環境にあわせて編集します。 + +たとえば、 + +PREFIX = /usr/localを、PREFIX = /usrにしたり、 + +## mule2 +EMACS = mule +EMACSDIR= ${PREFIX}/lib/${EMACS} +## emacs20 +#EMACS = emacs +#EMACSDIR= ${PREFIX}/share/${EMACS} +## XEmacs +#EMACS = xemacs +#EMACSDIR= ${PREFIX}/lib/${EMACS} + +を自分の使っているEmacsの種類にあわせたりします。行頭に#をつけるとコメ +ント扱いとなり、その行は無効化されます。その行を有効にするためには、行 +頭の#を外します。 + +また、次の行の行頭に#をつけてください。 + +GEO = -geometry 80x20+0+0 + + +以下は書き換えた部分の例です + +PREFIX=/usr/local/meadow +EMACS=meadow +EMACSDIR=${PREFIX}/site-lisp +#GEO = -geometry 80x20+0+0 + +以上の作業が終わったら、makefileを保存し、bashなどのシェルで、 + + % export DISPLAY=":0.0" + % make install + +とすれば、インストールされます。 + +(3)の取扱説明書のインストールも基本的には終わっていますが、Emacsから読 +めるようにするために、info ディレクトリの dir というファイルにこのディ +レクトリの dir ファイルの中身を追加してください。 + + + +(ii) 手動でコピーする方法 + +Windows環境などでmakeがなかったり、上記(i)のmake installが失敗する場合 +は、手動で必要ファイルをインストール(コピー)することができます。 + +たとえば、Meadow 用の外部Emacs-Lispパッケージをインストールするディレク +トリが /usr/local/meadow/site-lisp/ だったとします。その場合、 +このアーカイブ(yatex.tar.gz)を展開したディレクトリ +(yatex) をそこに移動します。すると、 +/usr/local/meadow/site-lisp/yatex/ というディレクト +リになりますので、これをバージョン番号無しの +/usr/local/meadow/site-lisp/yatex/ +にします。 + +これで野鳥は使えるようになっているはずですが、さらに実行速度をわずかばか +り稼ぐため、Emacs Lispファイルをコンパイル(バイトコンパイル)することもで +きます。ただし、バイトコンパイルする手順が決まっているので手動でやるのは +Emacsについての知識が必要です。さらにバイトコンパイルしても実感できるほ +ど速くはならないのであまりお勧めしません。それでもバイトコンパイルしたい +場合は、Cygwinなど、makeの使える環境を用意して、それで自動的に処理する方 +が良いと思います。 + +(3) 取扱説明書(help/info)の設定 + +次に、各種の説明書をインストールします。 + +LaTeXマクロの利用解説書である help/YATEXHLP.jp ファイルを +/usr/local/meadow/site-lisp/ +にコピーします。 + +野鳥自身のマニュアルである docs/yatexj, docs/yatexe と +yahtml のマニュアルである docs/yahtmlj, docs/yahtmle を +/usr/local/meadow/1.10/info/ +にコピーし、info ディレクトリの dir というファイルに +このディレクトリの dir ファイルの中身を追加します。 + +以上でインストールは完了です。 diff -r d84447b92eca -r 680d92784c1a yatexinf.el --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/yatexinf.el Sun Sep 27 13:04:14 2009 +0000 @@ -0,0 +1,103 @@ +;;; -*- Emacs-Lisp -*- +;;; YaTeX interfaces for Texinfo mode. +;;; (c)1994,1998,2001 by HIROSE, Yuuji [yuuji@yatex.org] +;;; Last modified Fri Jun 27 12:10:03 2003 on firestorm + +(require 'yatex) +(or (boundp 'texinfo-mode-map) + (load "texinfo")) + +;;Put next expressions into your ~/.emacs +;;(defvar texinfo-mode-hook nil) +;;(or (featurep 'yatexinf) +;; (setq texinfo-mode-hook +;; (append (or texinfo-mode-hook '(lambda ())) +;; '((require 'yatexinf) (yatexinfo-setup))))) + +(defun yatexinfo-define-key (map key binding) + "Define keys of yatexinfo with YaTeX-prefix." + (if YaTeX-inhibit-prefix-letter + (let ((c (aref key 0))) + (cond + ((and (>= c ?a) (<= c ?z)) (aset key 0 (1+ (- c ?a)))) + ((and (>= c ?A) (<= c ?Z) (numberp YaTeX-inhibit-prefix-letter)) + (aset key 0 (1+ (- c ?A)))) + (t nil)))) + (define-key map (concat YaTeX-prefix key) binding)) + +(if (featurep 'yatexinf) nil + (yatexinfo-define-key texinfo-mode-map "s" 'YaTeX-make-section) + (yatexinfo-define-key texinfo-mode-map "S" 'YaTeX-make-section-region) + (yatexinfo-define-key texinfo-mode-map "b" 'YaTeX-make-begin-end) + (yatexinfo-define-key texinfo-mode-map "B" 'YaTeX-make-begin-end-region) + (yatexinfo-define-key texinfo-mode-map "m" 'YaTeX-make-singlecmd) + (yatexinfo-define-key texinfo-mode-map "g" 'YaTeX-goto-corresponding-*) + (yatexinfo-define-key texinfo-mode-map ">" 'YaTeX-comment-region) + (yatexinfo-define-key texinfo-mode-map "<" 'YaTeX-uncomment-region) + (yatexinfo-define-key texinfo-mode-map "." 'YaTeX-comment-paragraph) + (yatexinfo-define-key texinfo-mode-map "," 'YaTeX-uncomment-region) + (yatexinfo-define-key texinfo-mode-map "t" 'YaTeX-typeset-menu) + (define-key texinfo-mode-map "\e\C-t" 'lisp-complete-symbol)) + +(defvar yatexinfo-section-table + '(("leftline") ("file") ("kbd") ("key") ("code") ("var") ("samp") + ("ref") ("xref") ("pxref") ("value") ("footnote") + ) + "Completion table of section-type command of Texinfo.") + +(defvar yatexinfo-singlecmd-table + '(("TeX{}") ("copyright{}") ("setfilename") ("settitle") ("author") + ("noindent") ("dots{}") ("bullet") ("cindex") + ("chapter") ("section") ("subsection") ("subsubsection") + ("unnumbered") ("unnumberedsec") ("unnumberedsubsec") + ("unnumberedsubsubsec") + ("item") ("itemx")) + "Completion table of maketitle-type command of Texinfo.") + +(defvar yatexinfo-env-table + '(("example") ("enumerate") ("iftex") ("titlepage") ("menu") ("table") + ("lisp") ("itemize") ("display") ("quotation") + ("flushright") ("flushleft") ("center")) + "Completion table of begin-type command of Texinfo.") + +(defvar yatexinfo-struct-begin + "@%1%2" + "Structure beginning form of Texinfo begin-type commands.") + +(defvar yatexinfo-struct-end + "@end %1" + "Structure ending form of Texinfo begin-type commands.") + +(defvar yatexinfo-struct-name-regexp + "table\\|itemize\\|enumerate\\|display\\|example\\|lisp\\|group\\|menu" + "All of begin-end type structures") + +(defvar yatexinfo-ec "@" "Escape character of Texinfo.") +(defvar yatexinfo-ec-regexp "@" "Regexp of the escape character of Texinfo.") +(defvar yatexinfo-comment-prefix "@c " "Comment prefix of Texinfo.") + +(defvar yatexinfo-user-completion-table + (if YaTeX-dos "~/_inforc" ".yatexinforc") + "*Default dictionary of completion table.") + +(defun yatexinfo-setup () + "Setup all for yatexinfo." + (mapcar 'make-local-variable + '(env-table section-table singlecmd-table + YaTeX-user-completion-table YaTeX-comment-prefix + YaTeX-struct-name-regexp + YaTeX-struct-begin YaTeX-struct-end YaTeX-ec YaTeX-ec-regexp)) + (setq env-table yatexinfo-env-table + section-table yatexinfo-section-table + singlecmd-table yatexinfo-singlecmd-table + YaTeX-user-completion-table yatexinfo-user-completion-table + YaTeX-comment-prefix yatexinfo-comment-prefix + YaTeX-struct-begin yatexinfo-struct-begin + YaTeX-struct-end yatexinfo-struct-end + YaTeX-struct-name-regexp yatexinfo-struct-name-regexp + YaTeX-ec yatexinfo-ec + YaTeX-ec-regexp yatexinfo-ec-regexp) + (load yatexinfo-user-completion-table t) + (run-hooks 'yatex-mode-hook)) + +(provide 'yatexinf)