diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/yatex/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/yatex/files')
-rw-r--r-- | app-emacs/yatex/files/50yatex-gentoo.el | 15 | ||||
-rw-r--r-- | app-emacs/yatex/files/yatex-1.76-direntry.patch | 60 | ||||
-rw-r--r-- | app-emacs/yatex/files/yatex-1.76-gentoo.patch | 16 | ||||
-rw-r--r-- | app-emacs/yatex/files/yatex-1.77-texinfo-5.patch | 86 |
4 files changed, 177 insertions, 0 deletions
diff --git a/app-emacs/yatex/files/50yatex-gentoo.el b/app-emacs/yatex/files/50yatex-gentoo.el new file mode 100644 index 000000000000..c57be338abeb --- /dev/null +++ b/app-emacs/yatex/files/50yatex-gentoo.el @@ -0,0 +1,15 @@ +;; YaTeX-mode +(setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) +(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) + +;; YaHtml-mode +(setq auto-mode-alist + (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) +(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) + +;; If your Kanji code is EUC-JP, then it is better to add following +;; lines into .emacs, and it makes file encoding EUC. + +(setq YaTeX-kanji-code 3) +(setq yahtml-kanji-code 3) diff --git a/app-emacs/yatex/files/yatex-1.76-direntry.patch b/app-emacs/yatex/files/yatex-1.76-direntry.patch new file mode 100644 index 000000000000..8dc0c5f310f7 --- /dev/null +++ b/app-emacs/yatex/files/yatex-1.76-direntry.patch @@ -0,0 +1,60 @@ +--- yatex1.76-orig/docs/yahtmle.tex ++++ yatex1.76/docs/yahtmle.tex +@@ -1,9 +1,10 @@ + \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo +-@setfilename yahtmle ++@setfilename yahtml.info + @settitle Yet Another html-mode for Emacs ++@dircategory Emacs + @direntry +-* yahtml-e: (yahtmle). Yet Another html-mode for Emacs (English). ++* yahtml: (yahtml). Yet Another html-mode for Emacs (English). + @end direntry + + @iftex +--- yatex1.76-orig/docs/yahtmlj.tex ++++ yatex1.76/docs/yahtmlj.tex +@@ -1,9 +1,10 @@ + \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo +-@setfilename yahtmlj ++@setfilename yahtml-ja.info + @settitle Yet Another html-mode for Emacs ++@dircategory Emacs + @direntry +-* yahtml: (yahtmlj). Yet Another html-mode for Emacs (Japanese). ++* yahtml-ja: (yahtml-ja). Yet Another html-mode for Emacs (Japanese). + @end direntry + + @iftex +--- yatex1.76-orig/docs/yatexe.tex ++++ yatex1.76/docs/yatexe.tex +@@ -1,9 +1,10 @@ + \def\lang{jp} % -*- texinfo -*- + \input texinfo.tex +-@setfilename yatexe ++@setfilename yatex.info + @settitle Yet Another tex-mode for Emacs ++@dircategory Emacs + @direntry +-* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs (English). ++* YaTeX: (yatex). Yet Another tex-mode for Emacs (English). + @end direntry + + @iftex +--- yatex1.76-orig/docs/yatexj.tex ++++ yatex1.76/docs/yatexj.tex +@@ -1,9 +1,10 @@ + \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo +-@setfilename yatexj ++@setfilename yatex-ja.info + @settitle Yet Another tex-mode for Emacs ++@dircategory Emacs + @direntry +-* YaTeX: (yatexj). Yet Another tex-mode for Emacs (Japanese). ++* YaTeX-ja: (yatex-ja). Yet Another tex-mode for Emacs (Japanese). + @end direntry + + @iftex diff --git a/app-emacs/yatex/files/yatex-1.76-gentoo.patch b/app-emacs/yatex/files/yatex-1.76-gentoo.patch new file mode 100644 index 000000000000..b961b31798e1 --- /dev/null +++ b/app-emacs/yatex/files/yatex-1.76-gentoo.patch @@ -0,0 +1,16 @@ +--- yatex1.73-orig/yatexhlp.el 2006-12-24 07:25:29.000000000 +0100 ++++ yatex1.73/yatexhlp.el 2008-05-12 12:19:02.000000000 +0200 +@@ -9,12 +9,7 @@ + (cond (YaTeX-japan "jp") + (t "eng")))) + (help-dir +- (cond +- ((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)) +- (t exec-directory)))) ++ "/usr/share/emacs/etc/yatex")) + (defvar YaTeX-help-file + (expand-file-name help-file help-dir) + "*Help file of LaTeX/TeX commands or macros.") diff --git a/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch new file mode 100644 index 000000000000..73ff873cce34 --- /dev/null +++ b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch @@ -0,0 +1,86 @@ +--- yatex1.77-orig/docs/yahtmle.tex ++++ yatex1.77/docs/yahtmle.tex +@@ -1,4 +1,4 @@ +-\def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 ++@c \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo + @setfilename yahtml.info + @settitle Yet Another html-mode for Emacs +--- yatex1.77-orig/docs/yahtmlj.tex ++++ yatex1.77/docs/yahtmlj.tex +@@ -1,4 +1,4 @@ +-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 ++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo + @setfilename yahtml-ja.info + @settitle Yet Another html-mode for Emacs +--- yatex1.77-orig/docs/yatexe.tex ++++ yatex1.77/docs/yatexe.tex +@@ -1,4 +1,4 @@ +-\def\lang{jp} % -*- texinfo -*- ++@c \def\lang{jp} % -*- texinfo -*- + \input texinfo.tex + @setfilename yatex.info + @settitle Yet Another tex-mode for Emacs +@@ -705,7 +705,7 @@ + @item M-x YaTeX-section-overview + @dots{} Generate *Sectioning Lines* buffer + @end table +-@cindex{Generate the listing of sectioning units} ++@cindex Generate the listing of sectioning units + from the LaTeX source buffer. In this listing buffer, typing @kbd{u} on + the sectioning command shifts up the corresponding sectioning command in + source text and @kbd{d} shifts down. After marking lines in the listing +@@ -1087,7 +1087,7 @@ + @node Invoking image processor, Jump to main file, Jump to corresponding object, Cursor jump + @comment node-name, next, previous, up + @section Invoking image processor +-@cindex{Drawing tool invocation} ++@cindex Drawing tool invocation + + `image-including line' described above means such lines as + @code{\epsfile@{file=foo.ps@}}. If you type @kbd{[prefix] g} on that +@@ -2179,9 +2179,9 @@ + @table @kbd + @item [F] + YaTeX:read-position +-@itemx [A] ++@item [A] + Character list which can show up in the brackets +-@itemx [D] ++@item [D] + Return the location specifier such as `[htb]'. When + nothing is entered, omit [] itself. If the possible characters + are "htbp", call this function as +@@ -2189,9 +2189,9 @@ + + @item [F] + YaTeX:read-coordinates +-@itemx [A] ++@item [A] + Base prompt, X-axis prompt, Y-axis prompt (each optional) +-@itemx [D] ++@item [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 @code{Dimension}, @code{X}, +@@ -2199,9 +2199,9 @@ + + @item [F] + YaTeX:check-completion-type +-@itemx [A] ++@item [A] + One of the symbols: 'begin, 'section, or 'maketitle +-@itemx [D] ++@item [D] + Check the current completion type is specified one and cause error if + not. The variable @code{YaTeX-current-completion-type} holds the symbol + according to the current completion type. +--- yatex1.77-orig/docs/yatexj.tex ++++ yatex1.77/docs/yatexj.tex +@@ -1,4 +1,4 @@ +-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 ++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 + \input texinfo + @setfilename yatex-ja.info + @settitle Yet Another tex-mode for Emacs |