summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-13 20:29:48 +0000
committerKarl Berry <karl@freefriends.org>2021-10-13 20:29:48 +0000
commit2cdf5e8942c8edd598b3268782b31b1aef3b385b (patch)
tree187b87fc90b65b1fab8d195cc5fc555c62bb4a19 /Master/texmf-dist
parentcc6ab32f49c3dfa2c75cf0b1459383a69b9aa8ee (diff)
denisbdoc (13oct21)
git-svn-id: svn://tug.org/texlive/trunk@60751 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/denisbdoc/README.md2
-rw-r--r--Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx62
-rw-r--r--Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty44
3 files changed, 64 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/latex/denisbdoc/README.md b/Master/texmf-dist/doc/latex/denisbdoc/README.md
index 4c41602027a..6bce9c15cb0 100644
--- a/Master/texmf-dist/doc/latex/denisbdoc/README.md
+++ b/Master/texmf-dist/doc/latex/denisbdoc/README.md
@@ -1,4 +1,4 @@
-denisbdoc - A personal package for documenting classes and packages, v. 0.9.1
+denisbdoc - A personal package for documenting classes and packages, v. 0.9.2
=============================================================================
**The sole purpose of this (quick 'n dirty) `denisbdoc` package is for
diff --git a/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx b/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
index af502881fe8..9216617e6bb 100644
--- a/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
+++ b/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
@@ -3,7 +3,7 @@
\iffalse
%</internal>
%<*readme>
-denisbdoc - A personal package for documenting classes and packages, v. 0.9.1
+denisbdoc - A personal package for documenting classes and packages, v. 0.9.2
=============================================================================
**The sole purpose of this (quick 'n dirty) `denisbdoc` package is for
@@ -31,7 +31,7 @@ This package is currently not documented.
\preamble
-----------------------------------------------------------------------------
denisbdoc --- A personal dirty package for documenting personal classes,
- version 0.9.1
+ version 0.9.2
Maintained by Denis Bitouzé
E-mail: denis.bitouze@univ-littoral.fr
@@ -41,7 +41,7 @@ See http://www.latex-project.org/lppl.txt
\endpreamble
\postamble
-Copyright (C) 2015-2020 by
+Copyright (C) 2015-2021 by
Denis Bitouzé <denis.bitouze@univ-littoral.fr>
It may be distributed and/or modified under the conditions of
@@ -126,6 +126,7 @@ This work consists of the file denisbdoc.dtx
%\changes{v0.8}{2020/03/27}{Eighth CTAN version}
%\changes{v0.9}{2020/05/31}{Nineth CTAN version}
%\changes{v0.9.1}{2020/10/14}{Further CTAN version}
+%\changes{v0.9.2}{2021-10-13}{Further CTAN version}
%
%\begin{abstract}
% ...
@@ -196,7 +197,7 @@ This work consists of the file denisbdoc.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {denisbdoc} {2020/10/14} {0.9.1}
+\ProvidesExplPackage {denisbdoc} {2021-10-13} {0.9.2}
{A personal package for documenting packages}
% \end{macrocode}
%
@@ -243,7 +244,9 @@ This work consists of the file denisbdoc.dtx
% \begin{macrocode}
\sys_if_engine_pdftex:TF
{
- % \RequirePackage{cmap}
+ \RequirePackage{cmap} % Necessary for the angle brackets generated by ×\meta×
+ % to be copied and pasted as they are, and not replaced
+ % by "h" and "i"
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
% \end{macrocode}
@@ -279,7 +282,7 @@ This work consists of the file denisbdoc.dtx
\@ifclassloaded{beamer}{\@DBD@beamer@not@loaded@false}{\@DBD@beamer@not@loaded@true}
%
\if@DBD@beamer@not@loaded@
-\RequirePackage{parskip}%
+ \RequirePackage{parskip}%
\RequirePackage{marginnote}
\RequirePackage{mparhack}
\RequirePackage[inline]{enumitem}
@@ -288,6 +291,7 @@ This work consists of the file denisbdoc.dtx
\RequirePackage{calc}%
% \RequirePackage[lining]{libertine}%
\RequirePackage{siunitx}%
+\RequirePackage{pifont}
% \RequirePackage[a4paper]{geometry}%
\RequirePackage{booktabs}%
\RequirePackage{multirow}%
@@ -310,7 +314,10 @@ This work consists of the file denisbdoc.dtx
\RequirePackage{etoolbox}%
\RequirePackage{iflang}%
\RequirePackage{ifpdf}%
-\RequirePackage{amssymb}%
+\sys_if_engine_pdftex:T
+{
+ \RequirePackage{amssymb}%
+}
\if@DBD@beamer@not@loaded@
\RequirePackage{tocvsec2}%
\fi
@@ -882,7 +889,7 @@ This work consists of the file denisbdoc.dtx
norm*,lnorm*,llnorm*,lpnorm*,supnorm*,abs*,prt*,brk*,brc*,lrangle*,leqgeq*,%
pdfobjcompresslevel,chaptermark,PassOptionsToClass%
},%
- morekeywords={[1]% Environments' names
+ morekeywords=[1]{% Environments' names
tabular,tabulary,math,document,minipage,eqnarray,eqnarray*,align,align*,%
equation,gather,multline,flalign,equation*,gather*,multline*,flalign*,%
itemize,itemize*,enumerate,enumerate*,description,description*,%
@@ -1375,7 +1382,10 @@ This work consists of the file denisbdoc.dtx
% The \pkg{kpfonts} and \pkg{libertine}'s ttfamilies are not as nice as
% \pkg{lmodern}'s one to my taste. So let's use the latter.
% \begin{macrocode}
-\renewcommand{\ttdefault}{lmtt}
+\sys_if_engine_pdftex:T
+{
+ \renewcommand{\ttdefault}{lmtt}
+}
% \end{macrocode}
%
% \pkg{lmodern} doesn't provide extended bold italic typewritter, hence
@@ -1383,6 +1393,7 @@ This work consists of the file denisbdoc.dtx
% a italic context. To get rid of this warning, we silently substitute bold
% slanted to extended bold italic.
% \begin{macrocode}
+\sys_if_engine_pdftex:T
{%
\ttfamily%
\DeclareFontShape{T1}{lmtt}{bx}{it}{<-> ssub * lmtt/b/sl}{}%
@@ -1755,31 +1766,31 @@ This work consists of the file denisbdoc.dtx
}
\NewDocumentCommand{\texstudio}{ }
{
- \program{TeXstudio}\xspace
+ \program{TeXstudio}
}
\NewDocumentCommand{\emacs}{ }
{
- \program{Emacs}\xspace
+ \program{Emacs}
}
\NewDocumentCommand{\texlive}{ }
{
- \href{http://www.tug.org/texlive/}{\TeX{}\c_space_tl{}Live}\xspace
+ \href{http://www.tug.org/texlive/}{\TeX{}\c_space_tl{}Live}
}
\NewDocumentCommand{\miktex}{ }
{
- \href{http://www.tug.org/texlive/}{MiK\TeX}\xspace
+ \href{http://www.tug.org/texlive/}{MiK\TeX}
}
\NewDocumentCommand{\linux}{ }
{
- Linux\index{Linux}\xspace
+ Linux\index{Linux}
}
\NewDocumentCommand{\macos}{ }
{
- Mac OS\index{Mac OS}\xspace
+ Mac OS\index{Mac OS}
}
\NewDocumentCommand{\windows}{ }
{
- Windows\index{Windows}\xspace
+ Windows\index{Windows}
}
%
\cs_new_protected:Nn \_@@_links:nnn
@@ -2056,8 +2067,8 @@ This work consists of the file denisbdoc.dtx
% pasted as they are, and not replaced by "h" and "i"
% (cf. \url{https://tex.stackexchange.com/q/18146/18401}).
% \begin{macrocode}
-\newunicodechar{〈}{$\langle$}
-\newunicodechar{〉}{$\rangle$}
+\newunicodechar{⟨}{$\langle$}
+\newunicodechar{⟩}{$\rangle$}
% \end{macrocode}
%
% \begin{macrocode}
@@ -2687,11 +2698,10 @@ Nouv.~:}~#1}
% \PrintIndex
\endinput
-% Local Variables:
-% mode: doctex
-% eval: (doctex-mode)
-% TeX-engine: xetex
-% TeX-command-default: "TeX"
-% TeX-master: t
-% ispell-local-dictionary: "francais"
-% End:
+%%% Local Variables:
+%%% mode: doctex
+%%% TeX-engine: luatex
+%%% TeX-command-default: "TeX"
+%%% TeX-master: t
+%%% ispell-local-dictionary: "francais"
+%%% End:
diff --git a/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty b/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty
index 6236344c85d..6391260009c 100644
--- a/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty
+++ b/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty
@@ -7,7 +7,7 @@
%% denisbdoc.dtx (with options: `package')
%% -----------------------------------------------------------------------------
%% denisbdoc --- A personal dirty package for documenting personal classes,
-%% version 0.9.1
+%% version 0.9.2
%%
%% Maintained by Denis Bitouzé
%% E-mail: denis.bitouze@univ-littoral.fr
@@ -16,7 +16,7 @@
%% -----------------------------------------------------------------------------
%%
\RequirePackage{expl3,l3keys2e,xparse}
-\ProvidesExplPackage {denisbdoc} {2020/10/14} {0.9.1}
+\ProvidesExplPackage {denisbdoc} {2021-10-13} {0.9.2}
{A personal package for documenting packages}
\@ifpackagelater { expl3 } { 2012/11/21 }
{ }
@@ -41,7 +41,9 @@
\PassOptionsToPackage{obeyspaces}{url}
\sys_if_engine_pdftex:TF
{
- % \RequirePackage{cmap}
+ \RequirePackage{cmap} % Necessary for the angle brackets generated by ×\meta×
+ % to be copied and pasted as they are, and not replaced
+ % by "h" and "i"
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\pdfsuppresswarningpagegroup=1
@@ -57,7 +59,7 @@
\@DBD@beamer@not@loaded@true
\@ifclassloaded{beamer}{\@DBD@beamer@not@loaded@false}{\@DBD@beamer@not@loaded@true}
\if@DBD@beamer@not@loaded@
-\RequirePackage{parskip}%
+ \RequirePackage{parskip}%
\RequirePackage{marginnote}
\RequirePackage{mparhack}
\RequirePackage[inline]{enumitem}
@@ -65,6 +67,7 @@
\RequirePackage{afterpage}%
\RequirePackage{calc}%
\RequirePackage{siunitx}%
+\RequirePackage{pifont}
\RequirePackage{booktabs}%
\RequirePackage{multirow}%
\RequirePackage[xr]{zref}%
@@ -86,7 +89,10 @@
\RequirePackage{etoolbox}%
\RequirePackage{iflang}%
\RequirePackage{ifpdf}%
-\RequirePackage{amssymb}%
+\sys_if_engine_pdftex:T
+{
+ \RequirePackage{amssymb}%
+}
\if@DBD@beamer@not@loaded@
\RequirePackage{tocvsec2}%
\fi
@@ -375,7 +381,7 @@
norm*,lnorm*,llnorm*,lpnorm*,supnorm*,abs*,prt*,brk*,brc*,lrangle*,leqgeq*,%
pdfobjcompresslevel,chaptermark,PassOptionsToClass%
},%
- morekeywords={[1]% Environments' names
+ morekeywords=[1]{% Environments' names
tabular,tabulary,math,document,minipage,eqnarray,eqnarray*,align,align*,%
equation,gather,multline,flalign,equation*,gather*,multline*,flalign*,%
itemize,itemize*,enumerate,enumerate*,description,description*,%
@@ -821,7 +827,11 @@
\presetkeys{todonotes}{fancyline, color=white}{}%
\setlength\bibinitsep{1.25\baselineskip}
\SetCiteCommand{\autocite}
-\renewcommand{\ttdefault}{lmtt}
+\sys_if_engine_pdftex:T
+{
+ \renewcommand{\ttdefault}{lmtt}
+}
+\sys_if_engine_pdftex:T
{%
\ttfamily%
\DeclareFontShape{T1}{lmtt}{bx}{it}{<-> ssub * lmtt/b/sl}{}%
@@ -1046,31 +1056,31 @@
}
\NewDocumentCommand{\texstudio}{ }
{
- \program{TeXstudio}\xspace
+ \program{TeXstudio}
}
\NewDocumentCommand{\emacs}{ }
{
- \program{Emacs}\xspace
+ \program{Emacs}
}
\NewDocumentCommand{\texlive}{ }
{
- \href{http://www.tug.org/texlive/}{\TeX{}\c_space_tl{}Live}\xspace
+ \href{http://www.tug.org/texlive/}{\TeX{}\c_space_tl{}Live}
}
\NewDocumentCommand{\miktex}{ }
{
- \href{http://www.tug.org/texlive/}{MiK\TeX}\xspace
+ \href{http://www.tug.org/texlive/}{MiK\TeX}
}
\NewDocumentCommand{\linux}{ }
{
- Linux\index{Linux}\xspace
+ Linux\index{Linux}
}
\NewDocumentCommand{\macos}{ }
{
- Mac OS\index{Mac OS}\xspace
+ Mac OS\index{Mac OS}
}
\NewDocumentCommand{\windows}{ }
{
- Windows\index{Windows}\xspace
+ Windows\index{Windows}
}
\cs_new_protected:Nn \__denisbdoc_links:nnn
{
@@ -1304,8 +1314,8 @@
\__denisbdoc_screenshot:nn {#1}{#2}
}
}
-\newunicodechar{〈}{$\langle$}
-\newunicodechar{〉}{$\rangle$}
+\newunicodechar{⟨}{$\langle$}
+\newunicodechar{⟩}{$\rangle$}
\cs_new_protected:Nn \__denisbdoc_meta:nn
{
\bgroup%
@@ -1708,7 +1718,7 @@ Nouv.~:}~#1}
\def\program#1{#1}
}
\ExplSyntaxOff
-%% Copyright (C) 2015-2020 by
+%% Copyright (C) 2015-2021 by
%% Denis Bitouzé <denis.bitouze@univ-littoral.fr>
%%
%% It may be distributed and/or modified under the conditions of