diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/denisbdoc')
-rw-r--r-- | Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx | 62 |
1 files changed, 36 insertions, 26 deletions
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: |