summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/denisbdoc
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/tex/latex/denisbdoc
parentcc6ab32f49c3dfa2c75cf0b1459383a69b9aa8ee (diff)
denisbdoc (13oct21)
git-svn-id: svn://tug.org/texlive/trunk@60751 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/denisbdoc')
-rw-r--r--Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty44
1 files changed, 27 insertions, 17 deletions
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