debian/0000755000000000000000000000000012203773103007164 5ustar debian/postinst0000644000000000000000000000045212143407636011003 0ustar #!/bin/sh set -e PACKAGE=yatex case "$1" in configure) #DEBHELPER# ;; abort-upgrade|abort-deconfigure|abort-remove) : ;; *) echo "${0##*/}: Called with unknown argument \`$1'." >&2 ;; esac exit 0 ### Local Variables: ### mode: shell-script ### End: debian/source/0000755000000000000000000000000012143407636010474 5ustar debian/source/format0000644000000000000000000000001412143407636011702 0ustar 3.0 (quilt) debian/yatex.emacsen-install0000644000000000000000000000255312143407636013334 0ustar #!/bin/bash -e # # Copyright(c)1998 Hidenobu NABETANI # Copyright(c)2003 INOUE Hiroyuki # # License: GPL2 # This program is written for Debian GNU/Linux YaTeX package. abort_install() { echo "Byte compile for ${FLAVOR} failed." echo "Please check /usr/share/${FLAVOR}/site-lisp/${PACKAGE}/CompilationLog.gz" echo exit 1 } PACKAGE=yatex FLAVOR=$1 ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}/ ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}/ LOG=CompilationLog byte_compile_options="-batch -no-site-file -no-init-file" # don't byte-compile yatex19.el LISP="comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el \ yatexlib.el yatexprc.el \ yatexmth.el yatexhks.el yatexhlp.el \ yatexm-o.el yatexsec.el yatexhie.el yahtml.el yatexpkg.el" if [ ${FLAVOR} != emacs ] then echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}... install -m 755 -d ${ELCDIR} # link .el files ln -sf ${ELDIR}/*.el ${ELCDIR} # Byte compile them echo '(setq load-path (cons "." load-path))' > ${ELCDIR}/lp.el echo '(load-file "./yatexlib.el")' >> ${ELCDIR}/lp.el (cd ${ELCDIR} && ${FLAVOR} ${byte_compile_options} -l ./lp.el \ -e bcf-and-exit ${LISP} 2>&1 | gzip -9qf > $LOG.gz) || abort_install echo "done." fi exit 0 ### Local Variables: ### mode: shell-script ### End: debian/docs0000644000000000000000000000021512143407636010045 0ustar changelog docs/htmlqa docs/qanda docs/qanda.eng docs/yatexadd.doc docs/yatexgen.doc docs/yatex.ref docs/yatexref.eng debian/README.debian.ja debian/compat0000644000000000000000000000000212143407636010372 0ustar 5 debian/changelog0000644000000000000000000002501512203773103011041 0ustar yatex (1.77+dfsg1-2) unstable; urgency=low * fix typo in yahtml-lint patch. (Closes: #714569) -- KURASHIKI Satoru Sun, 18 Aug 2013 07:15:07 +0900 yatex (1.77+dfsg1-1) unstable; urgency=low * New upstream release. - fix dfsg patch (Closes: #707518) * New Standards-Version: 3.9.4 * remove DMUA field. * re-organize package dependencies (Closes: #692215) * change image viewer preset from gimv to see (Closes: #683463) * quote filename for yahtml-lint (Closes: #683470) * use emacs to format info files. (with picked version of yatexlib.el) -- KURASHIKI Satoru Sat, 11 May 2013 17:58:58 +0900 yatex (1.76+dfsg1-2) unstable; urgency=medium * Fix status line garbled by mismatched coding system. (Closes: 681649) -- KURASHIKI Satoru Sat, 21 Jul 2012 11:07:29 +0900 yatex (1.76+dfsg1-1) unstable; urgency=low * New upstream release. * New-Standards-Version: 3.9.3 -- KURASHIKI Satoru Sun, 27 May 2012 15:34:42 +0900 yatex (1.75+dfsg1-1) unstable; urgency=low * New upstream release. * re-enable autoload without auto-mode-alist (Closes: 658331) * move vcs repositories to collab-maint. * debian/README.debian*: update for notes on autoloading. * debian/changelog: move to DEP-5. -- KURASHIKI Satoru Sat, 11 Feb 2012 23:12:35 +0900 yatex (1.74+dfsg1-2) unstable; urgency=low * New Standards-Version: 3.9.2 * remove autoloads. (Closes: #619809) * fix xemacs dependency. (Closes: #217129) * fix mis-documented variable. (Closes: #631810) * depend on xemacs21 if it supports mule. (Closes: #217129) * cleanup dependency. * add watch file. * DM-Upload-Allowed. -- KURASHIKI Satoru Tue, 06 Jul 2011 23:19:21 +0900 yatex (1.74+dfsg1-1) unstable; urgency=low * New upstream release. * switch to cdbs. * change encoding of files from euc to utf-8. * yatex-init.el: change default behavior. See NEWS.Debian for further details. set YaTeX-inhibit-prefix-key to t. (Closes: #480160) set YaTeX-kanji-code to nil. (Closes: #504009) * docs/*.tex: add info-dir-section. (Closes: #528908) fix some info tag. * New Standards-Version: 3.8.4 -- KURASHIKI Satoru Sat, 22 May 2010 10:37:28 +0900 yatex (1.73+dfsg1-5) unstable; urgency=low * New maintainer. * debian/control: Now Recommends texlive-bin instead of tetex-bin. (Closes: #477131) * yatex-init.el: use debian-pkg-add-load-path-item. (Closes: #480159) * yatex.emacsen-install: makes symlink to *.el. (Closes: #482742) remove redundant option. (Closes: #482743) -- KURASHIKI Satoru Sat, 31 May 2008 23:36:39 +0900 yatex (1.73+dfsg1-4) unstable; urgency=low * byte-compile yatexpkg.el -- Junichi Uekawa Thu, 19 Jul 2007 08:43:27 +0900 yatex (1.73+dfsg1-3) unstable; urgency=low * install yatexpkg.el -- Junichi Uekawa Sat, 14 Jul 2007 22:31:03 +0900 yatex (1.73+dfsg1-2) unstable; urgency=low * remove 'coding: sjis' from euc-encoded elisp files. * remove obsolete debian/conffiles -- Junichi Uekawa Fri, 13 Jul 2007 23:31:58 +0900 yatex (1.73+dfsg1-1) unstable; urgency=low * New upstream release (closes: #428462) * new maintainer. (closes: #431142) * Depend on emacs22|emacsen. * Suggest iceweasel|www-browser, instead of mozilla and netscape. * check for language-environment for YaTeX-japan variable * update debian/copyright * remove non-free files: help/YATEXHLP.{eng,jp} (closes: #430728) regenerate upstream tarball after removal. * Standards-Version: 3.7.2 * debian/compat: 4 -- Junichi Uekawa Fri, 13 Jul 2007 21:32:59 +0900 yatex (1.71-1) unstable; urgency=low * New upstream release - Closes: #197608 - When the fill-prefix was specified, the auto-fill length of \item has been set to fill-prefix regardless of the depth of \item; fixed. - On label completion with \\ref, already labeled candidates have been appearing twice (per counters and \label); fixed. Also fixed such duplication within the enumerate environment, where both \item and label have been shown. - Corrected the misfeature with no background color settings in .Xresources. - New feature: [prefix] c switches among AMS-LaTeX \big brackets. - New feature: [prefix] g jumps between the pair of AMS-LaTeX brackets. * Initial value of defvar `YaTeX-japan' [yatexlib.el, yahtml.el, docs/*] - Closes: #197861 - Backported a fix on the defvar `YaTeX-japan' from upstream's snapshot version. * Changed the encoding of .el [debian/{rules,yatex.emacsen-install}] - Closes: #197860 - I hope this fix should evade the bug. If there's still a trouble (typically, failures on install), please file another bug report with more details. * Conffile totally rewritten [debian/yatex-init.el, debian/README.Debian*] - Closes: #197862 - Init file checks whether the package still resides in the system before doing anything. - The default value of yahtml-image-viewer is modified to `gimv', one of the free alternatives for the functionality. * Info files for YaHTML are now installed. [debian/{postinst,prerm,rules}] * Changes in dependencies, etc. [debian/control] - Added Recommends and Suggests regarding xdvi/bibtex/mendex etc. - In Description, mentioned yahtml mode. * Abbreviated the acknowledgements related to Debian [debian/copyright] - IMO those are a Debian-private matter which has no necessity to be stated there. You can follow how and by whom each efforts was made along by this changelog. -- INOUE Hiroyuki Fri, 20 Jun 2003 22:10:25 +0900 yatex (1.70-2) unstable; urgency=low * merged trunk changes between 1.69.2-3 to 1.69.2-4 -- INOUE Hiroyuki Sat, 28 Sep 2002 22:45:40 +0900 yatex (1.70-1) unstable; urgency=low * New upstream release (Closes: #149516, #159940) - fixed the bug with emacs21 new-frame feature -- INOUE Hiroyuki Fri, 27 Sep 2002 19:13:40 +0900 yatex (1.69.2-4) unstable; urgency=low * update yatex-init.el because now xdvi can be configured by alternative for xdvi.bin so you can use xdvi-ja as xdvi. -- Taketoshi Sano Fri, 17 May 2002 00:03:49 +0900 yatex (1.69.2-3) unstable; urgency=low * fix a typo in README.Debian. Thanks to SEI Hideki. * update emacsen-install & emacsen-remove. (Closes: #126165) Thanks to YAMASHITA Junji. -- Taketoshi Sano Sat, 29 Dec 2001 23:30:04 +0900 yatex (1.69.2-2) unstable; urgency=low * update yatex-init.el to keep up with the changes in xdvik-ja. Thanks to YAMAWAKI Teruo. (Closes: #121389) -- Taketoshi Sano Sat, 1 Dec 2001 00:06:56 +0900 yatex (1.69.2-1) unstable; urgency=low * New upstream release. (Closes: #94320) -- Taketoshi Sano Thu, 24 May 2001 23:30:29 +0900 yatex (1.67-7) unstable; urgency=low * Added Build-Depends for debhelper and nkf * Update the standards-version -- Taketoshi Sano Thu, 14 Dec 2000 02:02:38 +0900 yatex (1.67-6) unstable; urgency=low * check the existence of xdvi-ja.small command, and if it exists, use it instead of xdvi. Modified on yatex-init.el * set the default mode for *.tex file to yatex-mode. -- Taketoshi Sano Tue, 21 Dec 1999 16:53:37 +0900 yatex (1.67-5) unstable; urgency=low * some script change. closes bug#45711 -- Taketoshi Sano Fri, 24 Sep 1999 17:57:13 +0900 yatex (1.67-4) unstable; urgency=low * update postint and prerm to handle the sym-link to /usr/doc -- Taketoshi Sano Wed, 22 Sep 1999 13:38:30 +0900 yatex (1.67-3) unstable; urgency=low * for FHS transition -- Taketoshi Sano Thu, 16 Sep 1999 14:02:14 +0900 yatex (1.67-2) unstable; urgency=low * New maintainer. * Revision for upload to Debian. -- Taketoshi Sano Tue, 24 Aug 1999 17:31:21 +0900 yatex (1.67-1) unstable; urgency=low * New upstream version. * New maintainer's address. -- Hidenobu Nabetani Sat, 14 Aug 1999 15:38:41 +0900 yatex (1.66-1) unstable; urgency=low * New upstream version. * Starndard version: 2.5.0.0 * use debhelper. * Rewrite README.debian in English. * Move japanese docs to dir /usr/doc/yatex/japanese/. -- Hidenobu Nabetani Sun, 23 May 1999 14:32:36 +0900 yatex (1.65-6) frozen-jp unstable-jp; urgency=low * Removed debian/menu. (Bug#JP/685: bad-test-in-menu-item, unparsable-menu-item). * Changed postinst and removed postrm. (Don't exec update-menu now.) -- Hidenobu Nabetani Tue, 1 Dec 1998 09:04:04 +0900 yatex (1.65-5) frozen-jp unstable-jp; urgency=low * Fixed bug#JP/490(YATEXHLP.{eng,jp} aren't removed in remove). -- Hidenobu Nabetani Thu, 20 Aug 1998 17:22:43 +0900 yatex (1.65-4) frozen-jp unstable-jp; urgency=low * New maintainer. * Change the KANJI-code of *.el from Shift-JIS to JIS. -- Hidenobu Nabetani Wed, 12 Aug 1998 11:12:35 +0900 yatex (1.65-3.1) frozen-jp unstable-jp; urgency=low * Still non-maintainer release. * Changed README.debian, emacsen.{install,remove} a little. -- Hidenobu Nabetani Tue, 7 Jul 1998 16:38:59 +0900 yatex (1.65-3) frozen-jp unstable-jp; urgency=low * Fixed "File mode specification error" in emacs20. Now, no byte-compile yatex19.el. -- Hidenobu Nabetani Fri, 3 Jul 1998 18:26:39 +0900 yatex (1.65-2) frozen-jp unstable-jp; urgency=low * Added /etc/emacs/site-start.d/50yatex-init.el -- Hidenobu Nabetani Fri, 3 Jul 1998 10:28:42 +0900 yatex (1.65-1) frozen-jp unstable-jp; urgency=low * Non maintainer release. * new upstream version. * Standards Version: 2.4.1. * Emacsen support. * Menu support. * Change the architecture to all.(fixed bug#JP/281) * Check with lintian. -- Hidenobu Nabetani Thu, 2 Jul 1998 20:43:15 +0900 yatex (1.64.2-1) unstable; urgency=low * Initial Release. -- Atsushi KAMOSHIDA Fri, 2 May 1997 03:55:29 +0900 debian/patches/0000755000000000000000000000000012203772730010620 5ustar debian/patches/quote-filename0000644000000000000000000000122212203772730013453 0ustar Description: quote filename for yahtml-lint-program Author: KURASHIKI Satoru Bug-Debian: http://bugs.debian.org/683470 Reviewed-By: Kevin Ryde --- yatex-1.77+dfsg1.orig/yahtml.el +++ yatex-1.77+dfsg1/yahtml.el @@ -2641,7 +2641,7 @@ Interactive prefix argument consults enc (and bcmd (setq bcmd (yahtml-untranslate-string bcmd))) (YaTeX-typeset (concat (or bcmd yahtml-lint-program) - " " (file-name-nondirectory (buffer-file-name buf))) + " " (shell-quote-argument file-name-nondirectory (buffer-file-name buf))) yahtml-lint-buffer "lint" "lint"))) (defun yahtml-file-to-url (file) debian/patches/debianize-dfsg0000644000000000000000000000141312143407636013420 0ustar Description: remove non-free documentation Origin: vendor Author: Junichi Uekawa Index: yatex/help/YATEXHLP.eng =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ yatex/help/YATEXHLP.eng 2009-09-18 21:01:39.000000000 +0900 @@ -0,0 +1,2 @@ +This file has been removed due to non-DFSG-free content. +Please see /usr/share/doc/yatex/copyright Index: yatex/help/YATEXHLP.jp =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ yatex/help/YATEXHLP.jp 2009-09-18 21:01:37.000000000 +0900 @@ -0,0 +1,2 @@ +このファイルはライセンスがDFSG-Freeでないため削除しました。 +/usr/share/doc/yatex/copyright を参照ください。 debian/patches/debianize-iceweasel0000644000000000000000000000137312143407636014443 0ustar Description: apply debian specific command name (iceweasel). Origin: vendor Author: Junichi Uekawa Index: yatex/yahtml.el =================================================================== --- yatex.orig/yahtml.el 2012-02-11 23:26:49.360539093 +0900 +++ yatex/yahtml.el 2012-02-11 23:27:07.972631388 +0900 @@ -182,7 +182,7 @@ (defvar yahtml-prefix "\C-c" "*Prefix key stroke of yahtml functions.") (defvar yahtml-image-viewer "display" "*Image viewer program") -(defvar yahtml-www-browser "firefox" "*WWW Browser command") +(defvar yahtml-www-browser "iceweasel" "*WWW Browser command") (defvar yahtml-kanji-code 2 "*Kanji coding system number of html file; 1=sjis, 2=jis, 3=euc, 4=UTF-8") ;;(defvar yahtml-coding-system debian/patches/debianize-fhs0000644000000000000000000000231012143407636013252 0ustar Description: fix info path to be compliant with FHS. Origin: vendor Author: Junichi Uekawa Index: yatex/makefile =================================================================== --- yatex.orig/makefile 2012-02-11 23:26:52.620555260 +0900 +++ yatex/makefile 2012-02-11 23:27:05.620619724 +0900 @@ -26,7 +26,7 @@ # LISPDIR = ${EMACSDIR}/site-packages/lisp/yatex DOCDIR = ${LISPDIR}/docs HELPDIR = ${EMACSDIR}/site-lisp -INFODIR = ${PREFIX}/info +INFODIR = ${PREFIX}/share/info TAR = tar INSTALL = install -c -m 444 Index: yatex/yatexhlp.el =================================================================== --- yatex.orig/yatexhlp.el 2012-02-11 23:26:52.680555558 +0900 +++ yatex/yatexhlp.el 2012-02-11 23:27:05.620619724 +0900 @@ -13,7 +13,8 @@ ((and (boundp 'site-directory) site-directory) site-directory) ((string-match "\\.app/" doc-directory) ;For Emacs.app(Darwin) (expand-file-name "../site-lisp" doc-directory)) - (YaTeX-emacs-19 (expand-file-name "../../site-lisp" doc-directory)) + (YaTeX-emacs-19 (expand-file-name + "/usr/share/emacs/site-lisp/yatex" doc-directory)) (t exec-directory)))) (defvar YaTeX-help-file (expand-file-name help-file help-dir) debian/patches/info-fix0000644000000000000000000011345212143407636012273 0ustar Description: fix texi to pass makeinfo. Origin: vendor Author: KURASHIKI Satoru Index: yatex/docs/yatexe.tex =================================================================== --- yatex.orig/docs/yatexe.tex 2012-02-13 20:32:57.117687724 +0900 +++ yatex/docs/yatexe.tex 2012-02-13 20:33:00.429704158 +0900 @@ -51,7 +51,7 @@ * Customizations:: How to breed `Wild Bird' * Etcetera:: YaTeX is acquisitive. * Copying:: Redistribution - +@end menu @node What is YaTeX?, Main features, Top, Top @comment node-name, next, previous, up @@ -94,7 +94,7 @@ @item Document files hierarchy browser (@kbd{C-c d}) @item Adding automatically \usepackage corresponding to inputting LaTeX macro with completion -@item Allow you to forget creating \label{}s, \ref or \cite completion +@item Allow you to forget creating \label@{@}s, \ref or \cite completion automatically generate labels. @end itemize @@ -204,7 +204,7 @@ by @code{%#BEGIN} and @code{%#END} marks. Selected region will be copied to the temporary file @file{texput.tex} with the same preamble as the main file of current editing sources. Be sure to put -all local macro settings in preamble, not after @code{\begin{document}}. +all local macro settings in preamble, not after @code{\begin@{document@}}. The method of specification of the region is shown in the section @xref{%#notation}. @@ -1828,7 +1828,7 @@ @defvar YaTeX-singlecmd-suffix Suffix which is always inserted after maketitle-type macros. -@code{"{}"} is recommended. +@code{"@{@}"} is recommended. @end defvar @defvar YaTeX-package-alist-private @@ -1874,7 +1874,7 @@ @end defvar @defvar YaTeX-ref-generate-label-function -Function to generate default label string for unnamed \\label{}s. +Function to generate default label string for unnamed \\label@{@}s. The function pointed to this value should take two arguments. First argument is LaTeX macro's name, second is macro's argument. Here is an example for using this value. @@ -1882,7 +1882,7 @@ (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) (defun my-yatex-generate-label (command value) (and (string= command "caption") - (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) + (re-search-backward "\\\\begin@{\\(figure\\|table\\)@}" nil t) (setq command (match-string 1))) (let ((alist '(("chapter" . "chap") ("section" . "sec") @@ -2031,7 +2031,7 @@ will be enclosed by section-type commands via @kbd{[prefix] S}. An enclosing add-in function will be called with two arguments, beginning of the enclosed region and end of the region. Suppose you want to enclose -the existing text @code{(a+b)/c} by @code{\frac{}}. +the existing text @code{(a+b)/c} by @code{\frac@{@}}. @display a/c @@ -2043,7 +2043,7 @@ @kbd{[prefix] S} and input @code{frac} enclose the region like this; @display -\frac{a/c} +\frac@{a/c@} @end display Normally, the expression @code{a/c} is translated to @@ -2124,8 +2124,8 @@ (catch 'done (while (search-forward "/" end t) (goto-char (match-beginning 0)) - (if (y-or-n-p "Replace this slash(/) with `}{'") - (throw 'done (replace-match "}{"))) + (if (y-or-n-p "Replace this slash(/) with `@}@{'") + (throw 'done (replace-match "@}@{"))) (goto-char (match-end 0))))) @end lisp Index: yatex/docs/yahtmle.tex =================================================================== --- yatex.orig/docs/yahtmle.tex 2012-02-13 20:32:57.085687560 +0900 +++ yatex/docs/yahtmle.tex 2012-02-13 20:40:19.879883261 +0900 @@ -1,4 +1,4 @@ -\def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 +\def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 \input texinfo @setfilename yahtmle.info @settitle Yet Another html-mode for Emacs @@ -57,9 +57,9 @@ @comment node-name, next, previous, up @chapter Installing yahtml @menu -* Setting up yahtml:: -* Setting environments for weblint browsers and image viewers:: -* Setting environment variables for WWW pages:: +* Setting up yahtml:: +* Setting environments for weblint browsers and image viewers:: +* Setting environment variables for WWW pages:: @end menu @node Setting up yahtml, Setting environments for weblint browsers and image viewers, Installation, Installation @@ -83,12 +83,12 @@ (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) @end lisp -@noindent +@noindent is what you add. By this, yahtml will be automatically loaded when editing files with .html extensions. "yahtml" will be displayed on the mode line if no errors -occurred. +occurred. @node Setting environments for weblint browsers and image viewers, Setting environment variables for WWW pages, Setting up yahtml, Installation @comment node-name, next, previous, up @@ -119,7 +119,7 @@ @item yahtml-directory-index @dots{} index file displayed when none is given in URL. Usually @file{index.html} on NCSA type httpd and @file{Welcome.html} on - CERN types. + CERN types. @end table Examples for @code{yahtml-path-url-alist}. If @file{/home/yuuji/http/} @@ -183,7 +183,7 @@ attributes. Possible completions are, , . @item [prefix] l (YaTeX large-type completion) -@dots{} +@dots{} @example $B!A(B @@ -207,14 +207,14 @@ @node Jump, Changing and Deleting, Completion, Top @comment node-name, next, previous, up @chapter Cursor Movement -By using +By using @table @kbd @item [prefix] g @dots{} move to corresponding object @end table -@noindent +@noindent the cursor will go to the corresponding object according to the context. Recognized contexts are @@ -231,9 +231,10 @@ @chapter Changing and Deleting @menu -* Changing tags in pairs:: -* Changing entities:: -* URLencoding of strings within region:: +* Changing tags in pairs:: +* Changing entities:: +* URLencoding of strings within region:: +* td-enclosure/tr-enclosure:: @end menu @node Changing tags in pairs, Changing entities, Changing and Deleting, Changing and Deleting @@ -246,7 +247,7 @@ @dots{} change tags in matching pairs @end table -@noindent +@noindent the content can be changed according to the context of the HTML document where the cursor is located. @@ -290,7 +291,7 @@ table element, td-enclosure or tr-enclosure is convenient. @table @kbd - @item [prefix] } + @item [prefix] @} @dots{} Enclose each field in a region into ...'s. @item [prefix] ] @dots{} Enclose each line in a region into ...'s, with @@ -311,8 +312,8 @@ @chapter CSS(Style Sheets) Support @menu -* CSS-class completion:: -* Reread CSS definition:: +* CSS-class completion:: +* Reread CSS definition:: @end menu @node CSS-class completion, Reread CSS definition, CSS Support, CSS Support @@ -328,7 +329,7 @@ when you input h1(or h2) tag with completing-read by [prefix] b or [prefix] l, yahtml prompts you to input class name with completion from -the words which are effective to h1 or h2. And if you defined +the words which are effective to h1 or h2. And if you defined global class like this; @display Index: yatex/docs/yatexj.tex =================================================================== --- yatex.orig/docs/yatexj.tex 2012-02-13 20:32:57.133687804 +0900 +++ yatex/docs/yatexj.tex 2012-02-13 20:37:25.515018634 +0900 @@ -1,4 +1,4 @@ -\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 +\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 \input texinfo @setfilename yatexj.info @settitle Yet Another tex-mode for Emacs @@ -173,7 +173,7 @@ (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) @end lisp -@noindent +@noindent B Agq .tex t@CWゥI @@ -279,7 +279,7 @@ sWvB ACG[sA^CvZbgobt@AG -[\ヲsJ[\Xy[XL[ La@TeX{} +[\ヲsJ[\Xy[XL[ La@TeX{} \[XsWvB @subsection ^CvZbg @@ -289,12 +289,12 @@ BCt@CvAut@C vAugBvAu}N` G[B^CvZbggA -K}N`vAu(@code{\begin{document}}O)u +K}N`vAu(@code{\begin@{document@}}O)u Bt@CCt@C fBNg@file{texput.tex}OoA B -@subsection{^CvZbg} +@subsection ^CvZbg @kbd{[prefix] te} A|CguAョ[ hョ[hSゥIIA^CvZbg @@ -371,7 +371,7 @@ @comment node-name, next, previous, up @section t@C -At@C .tex A@file{main.tex} +At@C .tex A@file{main.tex} @file{sub.tex} @code{\include}A@file{sub.tex}C usB @@ -381,7 +381,7 @@ @cindex t@C[] -R}hAS +R}hAS shell nAghostview v[Ag B @@ -424,7 +424,7 @@ @cindex %#BEGIN @cindex %#END - @kbd{[prefix] tr} w^CvZbgAwA + @kbd{[prefix] tr} w^CvZbgAwA @kbd{C-SPC}}[NuA|Cg(J[\u) AK^CvZbgA @@ -434,7 +434,7 @@ %#END @end example -@noindent +@noindent @code{%#BEGIN}@code{%#END}AJ[\u@code{%#BEGIN}~v uBKB @@ -505,7 +505,7 @@ %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 @end example -@noindent +@noindent BvgAEgy[W @@ -513,7 +513,7 @@ %#LPR dvi2ps %s | lpr @end example -@noindent +@noindent B @node Editing %# notation, , lpr format, %#notation @@ -528,18 +528,18 @@ @dots{} @code{%#}@var{L@Wj[} @end table -@noindent +@noindent B @example !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR @end example -@noindent +@noindent j[oA@code{%#!}R}hX @kbd{!}A@code{%#LPR} lpr tH[}bg@kbd{l}A W @code{%#BEGIN} ` @code{%#END} A -@kbd{b}B@kbd{b}IAobt@u +@kbd{b}B@kbd{b}IAobt@u @code{%#BEGIN}, @code{%#END} ゥIB @cindex lprtH[}bgX[lpr] @@ -551,12 +551,12 @@ B @menu -* begin^:: -* section^:: -* large^:: -* maketitle^:: +* begin^:: +* section^:: +* large^:: +* maketitle^:: * Arbitrary completion:: -* end:: +* end:: * Accent mark completion:: ANZgL * Image completion:: ョLC[W * Greek letter completion:: MV @@ -577,7 +577,7 @@ @dots{} begin ^Jn(W @kbd{C-c b}) @end table -@noindent +@noindent nBpp La@TeX{} A[prefix] @kbd{b} 1A@code{\begin@{xxx@}...\end@{xxx@}} B @@ -630,7 +630,7 @@ @kbd{[prefix] b @key{SPC}} As~jobt@ @example - Begin environment(default document): + Begin environment(default document): @end example @noindent @@ -685,14 +685,14 @@ @dots{} section ^ @end table -@noindent +@noindent タsB@kbd{[prefix] s} ~jobt@A @example (C-v for view-section) \???@{@} (default documentclass): @end example -@noindent +@noindent vvgA @samp{section} La@TeX{} R} hB^[L[ftHglI A@samp{chapter}pxXy[XL[ @@ -702,7 +702,7 @@ \section@{???@}: @end example -@noindent +@noindent vvgAZNV^CgB A @@ -711,33 +711,33 @@ \section@{???@}: I @end example -@noindent +@noindent A @example \section@{I@} @end example -@noindent +@noindent }A @example (C-v for view-section) \???@{@} (default section): vspace* - \vspace*@{???@}: + \vspace*@{???@}: @end example -@noindent +@noindent @{@}gA @example \vspace*@{@} @end example -@noindent +@noindent }AsJ[\ゥIB @menu -* 2 section^R}h:: +* 2 section^R}h:: * Enclose section-type command:: * Recursive completion:: A * view-sectioning:: ZNVAEgC\ヲ @@ -751,14 +751,14 @@ A@samp{\addtolength@{\topmargin@}@{8mm@}} A La@TeX{} R}hBR}hA -section ^otB@samp{addtolength} +section ^otB@samp{addtolength} A2wBA @example C-u 2 [prefix] s (AESC 2 [prefix] s) @end example -@noindent +@noindent section ^oA @example @@ -767,12 +767,12 @@ Argument 2: 8mm @end example -@noindent -B addtolength A +@noindent +B addtolength A \topmargin RXy[X\B[Uォo^ La@TeX{} R}hAwKA wNAAL -BA @kbd{C-u} +BA @kbd{C-u} pwAゥIォXV B @cindex [] @@ -852,7 +852,7 @@ @subsection xゥ @cindex xゥ[] - @code{\ref@{@}} @code{\cite{@@}} }Nsection^ + @code{\ref@{@}} @code{\cite@{@@@}} }Nsection^ QSTj[IBQ @code{\label@{@}}KvBAx gAQ@code{\label@{@}}B @@ -873,14 +873,14 @@ @dots{} large ^Jn @end table -@noindent +@noindent large^JnB@kbd{[prefix] l} A~jobt@ @example - @{\??? @} (default large): + @{\??? @} (default large): @end example -@noindent +@noindent \ヲALvBp A@samp{footnotesize} @samp{huge} TCYw qA@samp{bf}@samp{dg}tHgwqB @@ -892,7 +892,7 @@ Abegin^lAATCY vAATCY -}[NAoL[ @kbd{[prefix] L} A L +}[NAoL[ @kbd{[prefix] L} A L oAWSAu[XB @node maketitle^, Arbitrary completion, large^, Completion @@ -908,7 +908,7 @@ @dots{} maketitle ^Jn @end table -@noindent +@noindent Amaketitle ^JnBv BLa@TeX{} pR}hpB @@ -927,7 +927,7 @@ @dots{} @end table -@noindent +@noindent ASvIJ[\u} B @@ -938,7 +938,7 @@ @cindex prefix e JゥIoA@code{\end@{@}}} -Bbegin ^pYA +Bbegin ^pYA @code{\begin@{@}} AvB CA @@ -947,7 +947,7 @@ @dots{} end @end table -@noindent +@noindent AJ \end@{@} B @node Accent mark completion, Image completion, end, Completion @@ -964,14 +964,14 @@ @dots{} ANZgL @end table -@noindent +@noindent A~jobt@ @example 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b @end example -@noindent +@noindent j[oAAL/p BWobt@A @@ -979,14 +979,14 @@ \`@{@} @end example -@noindent +@noindent AJ[\@{@}uAA @example \`@{o@} @end example -@noindent +@noindent AJ[\@{@}OB @node Image completion, Greek letter completion, Accent mark completion, Completion @@ -1007,7 +1007,7 @@ @kbd{:}@\B AA(leftarrow)ASCII\AIu<-v -ApAョLC[W[h +ApAョLC[W[h @code{\leftarrow}A@kbd{;}(Z~R)@kbd{<-} BlA-(long-leftarrow) ASCII\ u<--vA@code{\longleftarrow}A@kbd{;<--} @@ -1026,7 +1026,7 @@ @end example -@noindent +@noindent AC[Wsr]obt@ \ヲAC[W~W \B @@ -1052,11 +1052,11 @@ [L[]A[ La@TeX{} R}h]A[([)L}ヲ]A j[oAgo BASCII\Ao -L[A +L[A \maketitle ^Aq\sP L[B - L[ La@TeX{} R}hAL\lI + L[ La@TeX{} R}hAL\lI Emacs-Lisp @code{YaTeX-math-sign-alist-private} `B eftHg\gp(private D)BA\ @file{yatexmth.el} Q @@ -1070,7 +1070,7 @@ @cindex : Aョ@kbd{:}MV[hB -@kbd{:}@kbd{a}@code{\alpha}A@kbd{g} +@kbd{:}@kbd{a}@code{\alpha}A@kbd{g} @code{\gamma}AAt@xbgMV}B @;ョLB@kbd{:} TABAt@xbgMV @@ -1099,7 +1099,7 @@ `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard @end example -@noindent +@noindent vvgA@kbd{u}u[UォvA@kbd{l} [JォXVA@kbd{n}ォt@CXVEmacs ZbVLPA@kbd{d}VPwKフ @@ -1113,7 +1113,7 @@ (setq YaTeX-nervous nil) @end lisp -@noindent +@noindent B @node Commenting out, Cursor jump, Local dictionary, Top @@ -1136,7 +1136,7 @@ @dots{} W % RgO @end table -@noindent +@noindent AWA @table @kbd @@ -1146,7 +1146,7 @@ @dots{} pOtRgO @end table -@noindent +@noindent AJ[\upOtSBA upOtv (@code{mark-paragraph}) }[Nw (W@kbd{ESC h}oCh)BA@code{%}R @@ -1164,7 +1164,7 @@ @dots{} @code{\begin@{@}}`@code{\end@{@}} SRgO @end table -@noindent +@noindent A@code{\begin`\end}SRgA @table @kbd @@ -1188,11 +1188,11 @@ @menu -* IuWFNgWv:: -* G`c[N:: -* Ct@CWv:: -* PWv:: -* uWv:: +* IuWFNgWv:: +* G`c[N:: +* Ct@CWv:: +* PWv:: +* uWv:: @end menu @node IuWFNgWv, G`c[N, Cursor jump, Cursor jump @@ -1206,7 +1206,7 @@ @dots{} IuWFNgWv @end table -@noindent +@noindent AJ[\uLa@TeX{}R}hWv BW゚R}hB @@ -1221,7 +1221,7 @@ @code{\begin@{@}} @code{\end@{@}} s@kbd{[prefix] g} A@code{end/begin}sWvB -G[BA @code{%#BEGIN} +G[BA @code{%#BEGIN} @code{%#END} yAlBA@code{label/ref} @code{cite/bibitem}t@CAWvt@ CI[vB@xref{%#notation}. @@ -1245,7 +1245,7 @@ @section G`c[N @cindex G`c[N[] -Lut@C}NvA +Lut@C}NvA @code{\epsfile@{file=foo@}} }GR}hAs J[\@kbd{[prefix] g}t@Ct@ CG`c[NI[vBNc[ @@ -1254,7 +1254,7 @@ @enumerate @item Jgs @code{YaTeX-processed-file-regexp-alist} ` -K\}b`At@C +K\}b`At@C \\(\\)oo(\\(\\)eXg cdr )B}b`B @item @@ -1270,7 +1270,7 @@ @end enumerate - @code{YaTeX-file-processor-alist} + @code{YaTeX-file-processor-alist} @code{YaTeX-file-processor-alist} @ describe-variable BAt@C AC`ョt@CCvZbTR}h @@ -1289,7 +1289,7 @@ @dots{} EBhECt@CWv @end table -@noindent +@noindent ACt@CWobt@BACt@C I[vAJgfBNgTゥII[v B @@ -1344,7 +1344,7 @@ @dots{} J[\u La@TeX{} R}h @end table -@noindent +@noindent R}hAR}hN B @@ -1357,7 +1357,7 @@ @comment node-name, next, previous, up @section La@TeX{} R}hX -X La@TeX{} R}hJ[\ @kbd{[prefix] c} +X La@TeX{} R}hJ[\ @kbd{[prefix] c} R}hpyB @kbd{[prefix] c} XR}hB @@ -1394,7 +1394,7 @@ @end example -@noindent +@noindent @code{\begin, \end} @code{%#BEGIN, %#END} A @code{\begin, \end} @code{%#BEGIN, %#END} s As @code{\begin} A @@ -1433,7 +1433,7 @@ @end table @cindex NTT-jTeX[] -@noindent +@noindent A item Cfg[ fill BA NTT jTeX gpALisp @code{NTT-jTeX}@code{t}Zb gB @@ -1449,7 +1449,7 @@ "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") @end lisp -@noindent +@noindent wdAゥR}hO @code{@code{"\item"}n("\itembf"})B @@ -1491,7 +1491,7 @@ \includeonly@{Wt@C@} @end example -@noindent +@noindent A^CvZbgA t@C @cindex t@C[] @@ -1500,7 +1500,7 @@ \includeonly@{t@C@} @end example -@noindent +@noindent BWt@C Ct@C@code{\includeonly}ゥIoA wヲB @@ -1509,7 +1509,7 @@ A)dd R)eplace %)comment? @end example -@noindent +@noindent Wt@C @code{\includeonly} Xg@kbd{a} AWt@C @code{\includeonly} @kbd{r}A @code{\includeonly} sRgAEgA@kbd{%} @@ -1537,7 +1537,7 @@ \end@{tabular@} @end example -@noindent +@noindent (???)fBA @table @kbd @@ -1565,7 +1565,7 @@ @dots{} s @end table -@noindent +@noindent AsGgs}(begin^ゥ }Ggsv undo )BA tabularAJ @code{&} As @@ -1594,7 +1594,7 @@ B`Ass}su B @code{YaTeX-indent-line} lXg[ CfgA}R[h -B@file{yatexenv.el} +B@file{yatexenv.el} @code{YaTeX-intelligent-newline-itemize} `QlB @@ -1801,7 +1801,7 @@ prefix L[ @kbd{C-c} OL[A @code{YaTeX-prefix} prefix L[V{`B Au@kbd{C-c p}vL[oChゥg -BA@code{YaTeX-inhibit-prefix-letter} @code{t} +BA@code{YaTeX-inhibit-prefix-letter} @code{t} A@kbd{C-c pc}oChSA@kbd{C-c C-pc}(Abegin^ large^NW w\B@code{t} 1 Zb @@ -1819,7 +1819,7 @@ @subsection JX^}CY @cindex JX^}CY[] - yatex-mode JX^}CY\B@file{~/.emacs} + yatex-mode JX^}CY\B@file{~/.emacs} @code{setq} A`DBftHgl BタlX @kbd{M-x describe-variable} QB @@ -1829,7 +1829,7 @@ @end defvar @defvar YaTeX-inhibit-prefix-letter -prefix L[L[oCh @kbd{p} @kbd{C-p} X +prefix L[L[oCh @kbd{p} @kbd{C-p} X (@code{nil}) @end defvar @@ -1865,7 +1865,7 @@ @end defvar @defvar dviprint-to-format -@code{%t} Iy[WwョA@code{%e}Iy[W +@code{%t} Iy[WwョA@code{%e}Iy[W (@code{"-t %e"}) @end defvar @@ -1918,12 +1918,12 @@ @end defvar @defvar YaTeX-sectioning-regexp -ZNVR}hK\ +ZNVR}hK\ (@code{"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"}) @end defvar @defvar YaTeX-fill-inhibit-environments -fill }~Xg +fill }~Xg (@code{'("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" "verbatim" "verbatim*")}) @end defvar @@ -1965,7 +1965,7 @@ @defvar YaTeX-hilit-pattern-adjustment-private K\}b`_IV{ XgcXgBhilit19 gLB - @code{(assq 'yatex-mode hilit-patterns-alist)} + @code{(assq 'yatex-mode hilit-patterns-alist)} A @code{YaTeX-hilit-pattern-adjustment-default} l( hilit19 hLg)QB @end defvar @@ -1996,7 +1996,7 @@ @end defvar @defvar YaTeX-hilit-sectioning-face -FtL @code{\part} F +FtL @code{\part} F (@code{'(yellow/dodgerblue yellow/slateblue)})B Xgvf @code{hilit-background-mode} @code{'light} A vf @code{'dark} @code{\chapter} FAF/wiF @@ -2043,7 +2043,7 @@ @defvar YaTeX-singlecmd-suffix Smaketitle^R}h}B -@code{"{}"} B +@code{"@{@}"} B @end defvar @defvar YaTeX-package-alist-private @@ -2051,7 +2051,7 @@ K{}N }NKvpbP[W usepackage ゥIB \usepackage ゥB -Xg +Xg @lisp '((pbP[W1 (^Cv }NXgcc) @@ -2072,12 +2072,12 @@ @end defvar @defvar YaTeX-noindent-env-regexp - \begin{} snK\B + \begin@{@} snK\B verbatimwB @end defvar @defvar YaTeX-ref-default-label-string -\ref{} xxゥI +\ref@{@} xxゥI xョBstrftime(3)tx[XwB pョB %y -> , %b -> p, %m -> (1`12) @@ -2088,7 +2088,7 @@ @end defvar @defvar YaTeX-ref-generate-label-function -\ref{}xゥgV{B +\ref@{@}xゥgV{B ftHgW YaTeX::ref-generate-label B 2`AZbg ftHgxB: @@ -2096,7 +2096,7 @@ (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) (defun my-yatex-generate-label (command value) (and (string= command "caption") - (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t) + (re-search-backward "\\\\begin@{\\(figure\\|table\\)@}" nil t) (setq command (match-string 1))) (let ((alist '(("chapter" . "chap") ("section" . "sec") @@ -2124,7 +2124,7 @@ YaTeX-fill-prefix " ") @end lisp -@noindent +@noindent @file{~/.emacs} B @node Hook variables, Hook file, Sample definitions, Lisp variables @@ -2138,7 +2138,7 @@ B yatex-mode obt@pA @code{yatex-mode-hook} LqA@file{yatex.el} [hp @code{yatex-mode-load-hook} LqBA -@code{outline-minor-mode} pAobt@ +@code{outline-minor-mode} pAobt@ @code{outline-minor-mode} LA@code{yatex-mode-hook} B @@ -2147,7 +2147,7 @@ '(lambda () (outline-minor-mode t))) @end lisp -@noindent +@noindent tAゥL[`sA@code{yatex-mode-load-hook} p BAbegin ^A document Aenumerate O V[gJbgL[ABA Index: yatex/docs/yahtmlj.tex =================================================================== --- yatex.orig/docs/yahtmlj.tex 2012-02-13 20:32:57.101687648 +0900 +++ yatex/docs/yahtmlj.tex 2012-02-13 20:42:58.364669143 +0900 @@ -1,4 +1,4 @@ -\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 +\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 \input texinfo @setfilename yahtmlj.info @settitle Yet Another html-mode for Emacs @@ -59,9 +59,9 @@ @comment node-name, next, previous, up @chapter CXg[ @menu -* yahtmlN:: -* lintvO/uEU/C[W[A:: -* WWWy[Wp:: +* yahtmlN:: +* lintvO/uEU/C[W[A:: +* WWWy[Wp:: @end menu @node yahtmlN, lintvO/uEU/C[W[A, Installation, Installation @@ -77,14 +77,14 @@ @end lisp yahtmlKvt@C(@file{yahtml.el}, @file{yatexlib.el}, -@file{yatexprc.el}) ufBNg load-path BA +@file{yatexprc.el}) ufBNg load-path BA @file{~/src/emacs/yahtml}uA @lisp (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) @end lisp -@noindent +@noindent B Agq .html t@CWゥI @@ -122,7 +122,7 @@ @code{yahtml-path-url-alist} ヲBAゥA @file{/home/yuuji/http/} @code{http://localhost/~yuuji} QAE - @file{/usr/home/yuuji/www/} @code{http://www.keio.ac.jp/~yuuji/} + @file{/usr/home/yuuji/www/} @code{http://www.keio.ac.jp/~yuuji/} QB @lisp @@ -194,7 +194,7 @@ sJn/I^OpB @item [prefix] m (maketitle^) -@dots{} vfl^OB
+@dots{} vfl^OB
B @item [prefix] a (ANZg) @@ -213,7 +213,7 @@ @dots{} IuWFNgWv @end table -@noindent +@noindent AJ[\uHTML\Wv BW゚R}hB @@ -230,10 +230,10 @@ @chapter X/ @menu -* ^OX:: -* QX:: -* WURLencode:: -* td/tr:: +* ^OX:: +* QX:: +* WURLencode:: +* td/tr:: @end menu @node ^OX, QX, Changing and Deleting, Changing and Deleting @@ -246,7 +246,7 @@ @dots{} ^OX @end table -@noindent +@noindent AJ[\uHTML\ LqeXsBJ[\uXe B @@ -258,7 +258,7 @@ @dots{} lX @end itemize -@node QX, , ^OX, Changing and Deleting +@node QX, WURLencode, ^OX, Changing and Deleting @comment node-name, next, previous, up @section QX < > \AQp @@ -278,7 +278,7 @@ @node WURLencode, td/tr, QX, Changing and Deleting @comment node-name, next, previous, up @section WURLencode -@table +@table @kbd @item [prefix] # @dots{} w URLencode GR[h\LuB @@ -290,7 +290,7 @@ \`ョsR[h C sB @table @kbd - @item [prefix] } + @item [prefix] @} @dots{} Wf[^ ... @item [prefix] ] @@ -312,8 +312,8 @@ @chapter CSS(X^CV[g)T|[g @menu -* CSS-class completion:: -* Reread CSS file:: +* CSS-class completion:: +* Reread CSS file:: @end menu @node CSS-class completion, Reread CSS file, CSS Support, CSS Support @@ -472,7 +472,7 @@ @defvar yahtml-entity-reference-chars-alist GeBeBQ(Entity Reference)LqQ @code{'(? . "GeBeB\L")} `ョ -alistBftHg @code{<}, @code{>}, @code{&}, @code{'}, +alistBftHg @code{<}, @code{>}, @code{&}, @code{'}, @code{"} alistALq Bcdr @code{"GeBeB\L"} A @code{&} @code{;} B debian/patches/series0000644000000000000000000000012312144301200012011 0ustar debianize-dfsg debianize-fhs debianize-iceweasel info-dir #info-fix quote-filename debian/patches/info-dir0000644000000000000000000000421412143407636012256 0ustar Description: add info direntry. Origin: vendor Author: KURASHIKI Satoru Index: yatex/docs/yatexe.tex =================================================================== --- yatex.orig/docs/yatexe.tex 2012-05-27 06:27:14.000000000 +0000 +++ yatex/docs/yatexe.tex 2012-06-13 00:06:46.000000000 +0000 @@ -1,7 +1,8 @@ \def\lang{jp} % -*- texinfo -*- \input texinfo.tex -@setfilename yatexe +@setfilename yatexe.info @settitle Yet Another tex-mode for Emacs +@dircategory GNU Emacs Lisp @direntry * YaTeX-e: (yatexe). Yet Another tex-mode for Emacs (English). @end direntry Index: yatex/docs/yatexj.tex =================================================================== --- yatex.orig/docs/yatexj.tex 2012-05-27 06:27:14.000000000 +0000 +++ yatex/docs/yatexj.tex 2012-06-13 00:06:57.000000000 +0000 @@ -1,7 +1,8 @@ \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 \input texinfo -@setfilename yatexj +@setfilename yatexj.info @settitle Yet Another tex-mode for Emacs +@dircategory GNU Emacs Lisp @direntry * YaTeX: (yatexj). Yet Another tex-mode for Emacs (Japanese). @end direntry Index: yatex/docs/yahtmle.tex =================================================================== --- yatex.orig/docs/yahtmle.tex 2012-05-27 06:27:14.000000000 +0000 +++ yatex/docs/yahtmle.tex 2012-06-13 00:43:41.000000000 +0000 @@ -1,7 +1,8 @@ \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 \input texinfo -@setfilename yahtmle +@setfilename yahtmle.info @settitle Yet Another html-mode for Emacs +@dircategory GNU Emacs Lisp @direntry * yahtml-e: (yahtmle). Yet Another html-mode for Emacs (English). @end direntry Index: yatex/docs/yahtmlj.tex =================================================================== --- yatex.orig/docs/yahtmlj.tex 2012-05-27 06:27:14.000000000 +0000 +++ yatex/docs/yahtmlj.tex 2012-06-13 00:43:50.000000000 +0000 @@ -1,7 +1,8 @@ \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 \input texinfo -@setfilename yahtmlj +@setfilename yahtmlj.info @settitle Yet Another html-mode for Emacs +@dircategory GNU Emacs Lisp @direntry * yahtml: (yahtmlj). Yet Another html-mode for Emacs (Japanese). @end direntry debian/yatex-init.el0000644000000000000000000000545012143407636011615 0ustar ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; /etc/emacs/site-start.d/50yatex-init.el ;; $Id: yatex-init.el,v 1.2 2003/06/20 00:26:35 dombly Exp $ ;; ;; Copyright (C) 2003 Debian Project ;; (Maintained by INOUE Hiroyuki ) ;; ;; ;; NOTE: Lines with tab-stop indents are indispensable for sake of ;; the system's sanity. Editing them is discouraged. ;; ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (let ((yatex-dir (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/yatex"))) (when (file-directory-p yatex-dir) (debian-pkg-add-load-path-item yatex-dir) (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) ; (setq auto-mode-alist (append '( ;;;;;; [auto-mode-alist] ;; ;; for YaTeX ;; ;("\\.tex$" . yatex-mode) ;("\\.ltx$" . yatex-mode) ;("\\.cls$" . yatex-mode) ;("\\.sty$" . yatex-mode) ;("\\.clo$" . yatex-mode) ;("\\.bbl$" . yatex-mode) ;; ;; for YaHTML ;; ;("\\.s?html?$" . yahtml-mode) ; disabled by default ; ) auto-mode-alist)) ;;;;;; [YaTeX-japan] ;; ;; By default, YaTeX/YaHTML show Japanese messages if possible. ;; You can disable this feature here. ;; ;(setq YaTeX-japan nil) ;;;;;; [External programs] ;; ;; You can configure site-wide defaults of external programs here. ;; (Those lines which are disabled show the upstream default.) ;; ;; ;; YaTeX typesetting command ;; ;(setq tex-command ; (cond ; (YaTeX-use-LaTeX2e "platex") ; (YaTeX-japan "jlatex") ; (t "latex"))) ;; ;; YaTeX BibTeX command ;; ;(setq bibtex-command (if YaTeX-japan "jbibtex" "bibtex")) ;; ;; YaTeX MakeIndex command ;; ;(setq makeindex-command "makeindex") ;; ;; YaTeX previewer command ;; ;(setq dvi2-command "xdvi -geo +0+0 -s 4") ;; ;; YaTeX command for printing ;; - Command line string to print out current file. ;; Format string %s will be replaced by the filename. Do not forget to ;; specify the `from usage' and `to usage' with their option by format ;; string %f and %t. ;; See also documentation of dviprint-from-format and dviprint-to-format. ;; ;(setq dviprint-command-format "dvi2ps %f %t %s | lpr") ;; ;; YaHTML lint command ;; ;(setq yahtml-lint-program (if YaTeX-japan "jweblint" "weblint")) ;; ;; YaHTML browser ;; ;(setq yahtml-www-browser "iceweasel") ;; ;; YaHTML image viewer ;; ;(setq yahtml-image-viewer "xv") ; upstream default - unavailable (setq yahtml-image-viewer "see") ; free alternative for Debian ;; YaTeX kanji-code ;; (setq YaTeX-kanji-code nil) ;; YaTeX prefix-key (setq YaTeX-inhibit-prefix-letter t) )) ;; ;; End of file `yatex-init.el' ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; debian/NEWS.Debian0000644000000000000000000000071112143407636011053 0ustar yatex (1.74+dfsg1-1) unstable; urgency=low The yatex package changes its default behaviors. * default kanji code setting is changed from sjis to undefined. * default prefix key is changed from 'C-c LETTER' to 'C-c C-LETTER'. You will need to put '(setq YaTeX-kanji-code 2)' or '(setq YaTeX-inhibit-prefix-letter nil)' in your .emacs to preserve default settings. -- KURASHIKI Satoru Sat, 22 May 2010 10:37:30 +0900 debian/watch0000644000000000000000000000013012143407636010217 0ustar version=3 opts=dversionmangle=s/\+dfsg(\d|-)+$// http://www.yatex.org/yatex(.+).tar.gz debian/README.debian.ja0000644000000000000000000000247412143407636011675 0ustar YaTeX for Debian ----------------- YaTeX / YaHTML $B$N@_DjJ}K!$K$D$$$F!$%R%s%H$r4v$D$+!%(B * YaTeX / YaHTML $B$rM-8z(B/$BL58z$K$9$k$K$O!)(B yatex $B%Q%C%1!<%8$r%$%s%9%H!<%k$7$F$b!$(BEmacs $B$O<+F0E*$K(B TeX $B4X78$N(B $B%U%!%$%k(B (`*.tex', `*.ltx', `*.cls', `*.sty', `*.clo', `*.bbl') $B$r(B yatex-mode $B$G3+$/$h$&$K$J$j$^$;$s!%@_Dj%U%!%$%k(B `/etc/emacs/site-start.d/50yatex-init.el' $B$G$O(B autoload $B$N$_@_Dj(B $B$5$l$F$$$^$9!%<+F0@_Dj$9$k$K$O!$3:Ev$9$k9T$N%3%a%s%H$r30$7$F$/$@$5$$!%(B HTML $B%U%!%$%k$b%G%U%)%k%H$G$O(B yahtml-mode $B$H4XO"IU$1$i$l$F(B $B$$$^$;$s!%=i4|@_Dj%U%!%$%kCf$N(B `yahtml-mode' $B$N9T$+$i@hF,$N!V(B;$B!W$r(B $B:o=|$9$k$3$H$G!$(Byahtml-mode $B$N4XO"IU$1$rM-8z$K$G$-$^$9!%(B * YaTeX/YaHTML $B$+$i8F$S=P$930It%W%m%0%i%`$NJQ99$9$k$K$O!)(B $B0J2<$N$h$&$K$7$FBP1~2DG=$G$9!%(B $B%7%9%F%`A4BN$K$o$?$C$F@_Dj$9$k>l9g$O!$(B `/etc/emacs/site-start.d/50yatex-init.el' $B$rJT=8$7$F$/$@$5$$!%(B $B3F%W%m%0%i%`$K$D$$$F?w7A$rMQ0U$7$F$$$^$9!%(B $B%f!<%6$4$H(B/$B%U%!%$%k$4$H$J$I$G@_Dj$9$kJ}K!$O$$$m$$$m$"$j$^$9!%(BInfo $B%Z!<%8$N!V%+%9%?%^%$%:!W@a$K:\$C$F$$$k>pJs$r;2>H$7$F$$$?$@$1$l$P!$(B $BM-MQ$J>pJs$,8+$D$+$k$O$:$G$9!%(B -- $B0f>e(B $BGnG7(B / INOUE Hiroyuki KURASHIKI Satoru debian/copyright0000644000000000000000000000335312143407636011133 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Upstream-Name: yatex Source: http://www.yatex.org/ Files: * Copyright: (C) 1991-2012 HIROSE, Yuuji (yuuji@gentei.org) License: 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 May.2007) 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. Files: debian/* Copyright: 2008-2012 KURASHIKI Satoru 1997 Atsushi KAMOSHIDA 1998, 1999 Hidenobu Nabetani 1999-2002 Taketoshi Sano 2002, 2003 INOUE Hiroyuki 2007 Junichi Uekawa License: GPL-2.0 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/control0000644000000000000000000000265712144030123010571 0ustar Source: yatex Section: tex Priority: extra Maintainer: KURASHIKI Satoru Uploaders: Junichi Uekawa Build-Depends: debhelper (>= 5), cdbs (>= 0.4.27), nkf, texinfo, emacs24|emacs23|xemacs21-mule|xemacs21-mule-canna-wnn Standards-Version: 3.9.4 Homepage: http://www.yatex.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/yatex.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/yatex.git Package: yatex Architecture: all Depends: emacs24|emacs23|xemacs21-mule|xemacs21-mule-canna-wnn, ${misc:Depends}, install-info Recommends: texlive-latex-recommended, texlive-lang-cjk Suggests: jbibtex-bin, mendexk, ptex-jtex, weblint-perl | weblint, iceweasel | www-browser Description: Yet Another TeX mode for Emacs YaTeX is an intelligent, acquisitive and integrated package which reduces your efforts of composing LaTeX source on Emacs. . YaTeX automates typesetting and previewing of LaTeX and enables completing input of LaTeX mark-up command such as `\begin{}'..`\end{}'. . This package also includes yahtml mode, the honest and bright YaTeX-compatible major-mode for writing HTML. If you have noticed the power of YaTeX, you can drive yahtml over the HTML files quickly and steadily. And vice versa, of course. . YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi Language Enhancement to GNU Emacs), and LaTeX on DOS. . For more information, please refer to http://www.yatex.org/ debian/yatex.emacsen-remove0000644000000000000000000000075412143407636013164 0ustar #!/bin/bash -e # # Copyright(c)1998 Hidenobu NABETANI # # License: GPL2 # This program is written for Debian GNU/Linux YaTeX package. PACKAGE=yatex FLAVOR=$1 ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE/ LOG=CompilationLog if [ ${FLAVOR} != emacs ] then echo -n "remove/$PACKAGE: Removing for $FLAVOR..." rm -f $ELCDIR/{*.elc,$LOG.gz,*.el} rmdir $ELCDIR || true echo "done." fi exit 0 ### Local Variables: ### mode: shell-script ### End: debian/rules0000755000000000000000000000305512144407614010254 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk package=yatex #PACKAGE = yatex DEBIANTMP = ${CURDIR}/debian/${package} ELDIR = ${DEBIANTMP}/usr/share/emacs/site-lisp/${package} INFODIR = ${DEBIANTMP}/usr/share/info/ ETCDIR = ${DEBIANTMP}/etc/emacs/site-start.d DOC = ${DEBIANTMP}/usr/share/doc/${package} LISP = yahtml.el yatexlib.el yatexprc.el yatexpkg.el comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el \ yatexmth.el yatexhks.el yatexhlp.el yatexm-o.el yatexsec.el yatexhie.el yatex19.el HELP = help/YATEXHLP.jp help/YATEXHLP.eng INFO = yatexj.info yatexe.info yahtmlj.info yahtmle.info INFOSRC = docs/yatexj.tex docs/yatexe.tex docs/yahtmlj.tex docs/yahtmle.tex INSTDATA := install -m 644 clean:: rm -f changelog rm -rf debian/utf8 debian/yatex dh_clean configure/yatex:: cp -f yatex.new changelog mkdir -p debian/utf8/help debian/utf8/docs build/yatex:: for i in $(LISP) $(HELP) $(INFOSRC); do \ nkf -d --utf8 $$i | sed -e 's/coding: sjis/coding: utf-8/' > debian/utf8/$$i; \ done cd debian/utf8 && for f in $(INFOSRC); do \ emacs -debug-init -batch -l ../../debian/install-tfb.el -e tfb-and-exit $$f; \ done install/yatex:: cd debian/utf8 && $(INSTDATA) $(LISP) $(ELDIR) cd debian/utf8 && $(INSTDATA) $(HELP) $(ELDIR) cd debian/utf8/docs && $(INSTDATA) $(INFO) $(INFODIR) dh_installdocs debian/NEWS.Debian $(INSTDATA) debian/yatex-init.el $(ETCDIR)/50yatex-init.el binary-post-install/yatex:: cd ${DOC} && mv qanda htmlqa yatexadd.doc yatexgen.doc \ yatex.ref README.debian.ja ${DOC}/japanese debian/README.debian0000644000000000000000000000245112143407636011277 0ustar YaTeX for Debian ----------------- Here's some tips for configuring YaTeX / YaHTML. * How to enable/disable YaTeX / YaHTML? After installing the yatex package, TeX-related files (`*.tex', `*.ltx', `*.cls', `*.sty', `*.clo', `*.bbl') and HTML files won't be treated with yatex-mode or yahtml-mode by default. You can enable the association by removing the leading `;' from the lines in the init file. * How to read messages in English? By default, YaTeX / YaHTML shows Japanese messages if possible. If you (as a system administrator) want the system-wide default to be in English, enable the line: (setq YaTeX-japan nil) in `/etc/emacs/site-start.d/50yatex-init.el'. Otherwise if you (as a user) want your individual default setting, place the line in your `.emacs'. * How to use `mendex' via YaTeX? ... So you want to change some of the external programs invoked by YaTeX/YaHTML? Of course you can, though manually :-/ For system-wide, edit `/etc/emacs/site-start.d/50yatex-init.el' - there is a template for each program. Per user/file/etc., there are so many ways; most likely, you'd find useful information in the `Customizations' section of the Info page. -- updated by KURASHIKI Satoru written by INOUE Hiroyuki debian/README.source0000644000000000000000000000072312143407636011355 0ustar * quilt The source package uses quilt for the modifications of the upstream source. If you want to change something it is best to use the quilt approach as documented in /usr/share/doc/quilt/README.source * DFSG Modified upstream tarball to remove non-free files: help/YATEXHLP.eng help/YATEXHLP.jp recreated using git-archive: git-archive --format=tar HEAD > ../yatex_1.73+dfsg1.orig.tar gzip ../yatex_1.73+dfsg1.orig.tar debian/install-tfb.el0000644000000000000000000000207312144407546011740 0ustar (defun bcf-and-exit () "Byte compile rest of argument and kill-emacs." (if command-line-args-left (let ((load-path (cons "." load-path))) (and (fboundp 'set-language-environment) (featurep 'mule) (set-language-environment "Japanese")) (mapcar 'byte-compile-file command-line-args-left) (kill-emacs)))) (defun tfb-and-exit () "Texinfo-format-buffer and kill-emacs." (if command-line-args-left (let ((load-path (cons ".." load-path))) (and (fboundp 'set-language-environment) (featurep 'mule) (set-language-environment "Japanese")) (mapcar (function (lambda (arg) (find-file arg) (texinfo-format-buffer) (cond ((fboundp 'set-buffer-file-coding-system) (set-buffer-file-coding-system 'utf-8-unix)) ((fboundp 'set-file-coding-system) (set-file-coding-system '*utf-8*unix)) ((boundp 'NEMACS) (set (make-local-variable 'kanji-fileio-code) 1))) (let ((coding-system-for-write buffer-file-coding-system)) (basic-save-buffer)))) command-line-args-left) (kill-emacs)))) debian/prerm0000644000000000000000000000043412143407636010245 0ustar #!/bin/sh set -e PACKAGE=yatex case "$1" in remove|upgrade|deconfigure) #DEBHELPER# ;; failed-upgrade) : ;; *) echo "${0##*/}: Called with unknown argument \`$1'." >&2 ;; esac exit 0 ### Local Variables: ### mode: shell-script ### End: debian/dirs0000644000000000000000000000032212143407636010055 0ustar usr/share/info usr/share/doc/yatex/japanese usr/lib/emacsen-common/packages usr/lib/emacsen-common/packages/install usr/lib/emacsen-common/packages/remove usr/share/emacs/site-lisp/yatex etc/emacs/site-start.d