texlive[46011] Master/texmf-dist: dox (8dec17)
commits+karl at tug.org
commits+karl at tug.org
Fri Dec 8 00:14:29 CET 2017
Revision: 46011
http://tug.org/svn/texlive?view=revision&revision=46011
Author: karl
Date: 2017-12-08 00:14:29 +0100 (Fri, 08 Dec 2017)
Log Message:
-----------
dox (8dec17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/dox/NEWS
trunk/Master/texmf-dist/doc/latex/dox/README.md
trunk/Master/texmf-dist/doc/latex/dox/THANKS
trunk/Master/texmf-dist/doc/latex/dox/dox.el
trunk/Master/texmf-dist/doc/latex/dox/dox.pdf
trunk/Master/texmf-dist/doc/latex/dox/header.inc
trunk/Master/texmf-dist/source/latex/dox/dox.dtx
trunk/Master/texmf-dist/tex/latex/dox/dox.sty
Modified: trunk/Master/texmf-dist/doc/latex/dox/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dox/NEWS 2017-12-07 06:44:07 UTC (rev 46010)
+++ trunk/Master/texmf-dist/doc/latex/dox/NEWS 2017-12-07 23:14:29 UTC (rev 46011)
@@ -16,6 +16,11 @@
DoX consists of the files listed in the file `README.md'.
+*Version 2.4
+** Improve AUCTeX support
+** Fix spurious spaces in index entries
+reported by Eric Domenjoud.
+
* Version 2.3
** Support Doc's internal \saved at indexname command
thanks to Falk Hanisch.
@@ -26,7 +31,7 @@
* Version 2.1
** New lisp functions doxitem[s]
-to register new documentation environments with AUC-TeX.
+to register new documentation environments with AUCTeX.
* Version 2.0
** Optional argument to \doxitem
Modified: trunk/Master/texmf-dist/doc/latex/dox/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dox/README.md 2017-12-07 06:44:07 UTC (rev 46010)
+++ trunk/Master/texmf-dist/doc/latex/dox/README.md 2017-12-07 23:14:29 UTC (rev 46011)
@@ -31,7 +31,7 @@
way to extend this functionality to other items (options or counters for
instance). DoX is designed to circumvent this limitation, and provides some
improvements over the existing functionality as well. Dox also comes with
-support for [AUC-TeX](https://www.gnu.org/software/auctex/).
+support for [AUCTeX](https://www.gnu.org/software/auctex/).
DoX homepage: http://www.lrde.epita.fr/~didier/software/latex.php#dox
@@ -52,5 +52,5 @@
[TEXMF]/tex/latex/dox/dox.sty
[TEXMF]/doc/latex/dox/dox.[pdf|dvi]
-If you're an AUC-TeX user, you may also install the file `dox.el` in a
-suitable AUC-TeX style directory.
+If you're an AUCTeX user, you may also install the file `dox.el` in a
+suitable AUCTeX style directory.
Modified: trunk/Master/texmf-dist/doc/latex/dox/THANKS
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dox/THANKS 2017-12-07 06:44:07 UTC (rev 46010)
+++ trunk/Master/texmf-dist/doc/latex/dox/THANKS 2017-12-07 23:14:29 UTC (rev 46011)
@@ -21,7 +21,7 @@
** The following persons have contributed code, bug reports, localization,
** suggestions etc.:
-Falk Hanisch.
+Eric Domenjoud, Falk Hanisch.
Modified: trunk/Master/texmf-dist/doc/latex/dox/dox.el
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dox/dox.el 2017-12-07 06:44:07 UTC (rev 46010)
+++ trunk/Master/texmf-dist/doc/latex/dox/dox.el 2017-12-07 23:14:29 UTC (rev 46011)
@@ -1,4 +1,4 @@
-;;; dox.el --- AUC-TeX style file for DoX
+;;; dox.el --- AUCTeX style file for DoX
;; Copyright (C) 2009, 2010, 2017 Didier Verna
@@ -22,21 +22,23 @@
;;; Code:
(TeX-add-style-hook "dox"
- (function
- (lambda ()
- (TeX-add-symbols
- '("doxitem" [ "Options" ]
- "Function name" "Environment name" "Index category name")))))
+ (lambda ()
+ (TeX-add-symbols
+ '("doxitem" [ TeX-arg-key-val (("idxtype") ("macrolike")) ]
+ "Function name" "Environment name" "Index category name"))
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("doxitem" "[{{{")) 'function)))
+ LaTeX-dialect)
(defun doxitem (envname)
- "Register a new environment ENVNAME with AUC-TeX.
+ "Register a new environment ENVNAME with AUCTeX.
+The effect is to make docTeX mode treat this new environment just
+like the macro and environment ones. Currently, this means
+avoiding inner indentation.
-The effect is to make docTeX mode treat this new environment just like
-the macro and environment ones. Currently, this means avoiding inner
-indentation.
-
-ENVNAME is actually a regexp appearing in a logical group.
-This means that you can register several environments simultaneously
+ENVNAME is actually a regexp appearing in a logical group. This
+means that you can register several environments simultaneously
by means or regexp combination."
(make-local-variable 'docTeX-indent-inner-fixed)
(push (list
@@ -48,7 +50,7 @@
docTeX-indent-inner-fixed))
(defun doxitems (&rest envnames)
- "Register environments ENVNAMES with AUC-TeX.
+ "Register environments ENVNAMES with AUCTeX.
See the function `doxitem' for more information."
(mapc #'doxitem envnames))
Modified: trunk/Master/texmf-dist/doc/latex/dox/dox.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/dox/header.inc
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dox/header.inc 2017-12-07 06:44:07 UTC (rev 46010)
+++ trunk/Master/texmf-dist/doc/latex/dox/header.inc 2017-12-07 23:14:29 UTC (rev 46011)
@@ -35,7 +35,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesPackage{dox}[2017/01/26 v2.3 Extensions to the doc package]
+\ProvidesPackage{dox}[2017/12/06 v2.4 Extensions to the doc package]
\endinput
%%
Modified: trunk/Master/texmf-dist/source/latex/dox/dox.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/dox/dox.dtx 2017-12-07 06:44:07 UTC (rev 46010)
+++ trunk/Master/texmf-dist/source/latex/dox/dox.dtx 2017-12-07 23:14:29 UTC (rev 46011)
@@ -74,7 +74,7 @@
% Copyright \copyright{} 2009, 2010, 2017 Didier Verna}
%
% \newcommand\emacs{\textsf{[X]Emacs}\xspace}
-% \newcommand\auctex{AUC-\TeX\xspace}
+% \newcommand\auctex{AUC\TeX\xspace}
% \newcommand\api{\textsc{api}\xspace}
%
% \pagestyle{mystyle}
@@ -332,6 +332,8 @@
%
% \section{History}
% \begin{itemize}
+% \item[v2.4] Improve \auctex support.\\
+% Fix spurious spaces in index entries, reported by Eric Domenjoud.
% \item[v2.3] Support \texttt{doc}'s \cs{saved at indexname} internal command,
% thanks to Falk Hanisch.
% \item[v2.2] New \texttt{macrolike} option allowing to create control
@@ -345,7 +347,7 @@
% \texttt{noindex} to avoid indexing).\\
% Extend \cs{DescribeMacro}, \cs{DescribeEnv} and their corresponding
% environments with the same features.
-% \item[v1.0] First public version
+% \item[v1.0] First public version.
% \end{itemize}
%
% \StopEventually{\vfill\hfill\small \packagecopyright{}}
@@ -355,7 +357,7 @@
% \begin{macrocode}
%<dox>\NeedsTeXFormat{LaTeX2e}
%<*header>
-\ProvidesPackage{dox}[2017/01/26 v2.3 Extensions to the doc package]
+\ProvidesPackage{dox}[2017/12/06 v2.4 Extensions to the doc package]
%</header>
%<*dox>
@@ -522,9 +524,9 @@
\def\@doxcreatespecialmainindex#1#2#3{%
\expandafter\def\csname SpecialMain#1Index\endcsname##1{%
\@bsphack%
- \special at index{##1\actualchar{\string\ttfamily\space##1} (#2)
+ \special at index{##1\actualchar{\string\ttfamily\space##1} (#2)%
\encapchar main}%
- \special at index{#3:\levelchar##1\actualchar{\string\ttfamily\space##1}
+ \special at index{#3:\levelchar##1\actualchar{\string\ttfamily\space##1}%
\encapchar main}%
\@esphack}}
\def\@doxcreatespecialmainmacrolikeindex#1#2#3{%
@@ -535,7 +537,7 @@
\string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
\space(#2)\encapchar main}%
\special at index{#3:\levelchar\@gtempa\actualchar%
- \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
+ \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar%
\encapchar main}%
\@esphack}}
@@ -552,7 +554,7 @@
\expandafter\def\csname Special#1Index\endcsname##1{%
\@bsphack%
\index{##1\actualchar{\protect\ttfamily##1} (#2)\encapchar usage}%
- \index{#3:\levelchar##1\actualchar{\protect\ttfamily##1}
+ \index{#3:\levelchar##1\actualchar{\protect\ttfamily##1}%
\encapchar usage}%
\@esphack}}
\def\@doxcreatespecialmacrolikeindex#1#2#3{%
@@ -563,7 +565,7 @@
\string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
\space(#2)\encapchar usage}%
\index{#3:\levelchar\@gtempa\actualchar
- \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
+ \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar%
\encapchar usage}%
\@esphack}}
Modified: trunk/Master/texmf-dist/tex/latex/dox/dox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dox/dox.sty 2017-12-07 06:44:07 UTC (rev 46010)
+++ trunk/Master/texmf-dist/tex/latex/dox/dox.sty 2017-12-07 23:14:29 UTC (rev 46011)
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{dox}[2017/01/26 v2.3 Extensions to the doc package]
+\ProvidesPackage{dox}[2017/12/06 v2.4 Extensions to the doc package]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{family=dox,prefix=dox@}
@@ -112,9 +112,9 @@
\def\@doxcreatespecialmainindex#1#2#3{%
\expandafter\def\csname SpecialMain#1Index\endcsname##1{%
\@bsphack%
- \special at index{##1\actualchar{\string\ttfamily\space##1} (#2)
+ \special at index{##1\actualchar{\string\ttfamily\space##1} (#2)%
\encapchar main}%
- \special at index{#3:\levelchar##1\actualchar{\string\ttfamily\space##1}
+ \special at index{#3:\levelchar##1\actualchar{\string\ttfamily\space##1}%
\encapchar main}%
\@esphack}}
\def\@doxcreatespecialmainmacrolikeindex#1#2#3{%
@@ -125,7 +125,7 @@
\string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
\space(#2)\encapchar main}%
\special at index{#3:\levelchar\@gtempa\actualchar%
- \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
+ \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar%
\encapchar main}%
\@esphack}}
@@ -133,7 +133,7 @@
\expandafter\def\csname Special#1Index\endcsname##1{%
\@bsphack%
\index{##1\actualchar{\protect\ttfamily##1} (#2)\encapchar usage}%
- \index{#3:\levelchar##1\actualchar{\protect\ttfamily##1}
+ \index{#3:\levelchar##1\actualchar{\protect\ttfamily##1}%
\encapchar usage}%
\@esphack}}
\def\@doxcreatespecialmacrolikeindex#1#2#3{%
@@ -144,7 +144,7 @@
\string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
\space(#2)\encapchar usage}%
\index{#3:\levelchar\@gtempa\actualchar
- \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar
+ \string\verb\quotechar*\verbatimchar\bslash\@gtempa\verbatimchar%
\encapchar usage}%
\@esphack}}
More information about the tex-live-commits
mailing list