summaryrefslogtreecommitdiff
path: root/graphics/euflag/euflag.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/euflag/euflag.dtx')
-rw-r--r--graphics/euflag/euflag.dtx581
1 files changed, 344 insertions, 237 deletions
diff --git a/graphics/euflag/euflag.dtx b/graphics/euflag/euflag.dtx
index 83dfd31f13..a6bc7ca845 100644
--- a/graphics/euflag/euflag.dtx
+++ b/graphics/euflag/euflag.dtx
@@ -1,9 +1,9 @@
% \iffalse meta-comment
%
% Transformed from euflag.xml by ClassPack db2dtx.xsl
-% version 1.10 (2019-01-22) on Sunday 3 February 2019 at 21:19:20
+% version 1.19 (2020-05-19) on Wednesday 20 May 2020 at 19:09:55
%
-% euflag.dtx is copyright © 2019 by Peter Flynn <peter@silmaril.ie>
+% euflag.dtx is copyright © 2019-2020 by Peter Flynn <peter@silmaril.ie>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -26,16 +26,16 @@
% \fi
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2016/02/01]
-%<package>\ProvidesPackage{euflag}[2019/02/02 v0.4
-%<package> European Union Flag]
+%<package>\ProvidesPackage{euflag}[2020/05/16 v0.7
+%<package> European Union Flag]
%<*driver>
\RequirePackage{fix-cm}% included by default.
-\PassOptionsToPackage{svgnames}{xcolor}% xcolor or hyperref in use
+\PassOptionsToPackage{svgnames}{xcolor}% xcolor/dox/hyperref implied
\documentclass[12pt]{ltxdoc}
%%
%% Packages added for documentation
%%
-\usepackage{dox}% included by default. (0)
+\usepackage{dox}% used by default. (0)%
\makeatletter
\doxitem[idxtype=attribute]{Attribute}{CPK@attribute}{attributes}
\makeatother
@@ -64,9 +64,15 @@
\doxitem[idxtype=error]{Error}{CPK@error}{errors}
\makeatother
\makeatletter
+ \doxitem[idxtype=field]{Field}{CPK@field}{fields}
+ \makeatother
+ \makeatletter
\doxitem[idxtype=file]{File}{CPK@file}{files}
\makeatother
\makeatletter
+ \doxitem[idxtype=font]{Font}{CPK@font}{fonts}
+ \makeatother
+ \makeatletter
\doxitem[idxtype=function]{Function}{CPK@function}{functions}
\makeatother
\makeatletter
@@ -85,7 +91,10 @@
\doxitem[idxtype=package]{Package}{CPK@package}{packages}
\makeatother
\makeatletter
- \doxitem[idxtype=progvar]{Prog}{CPK@prog}{progvars}
+ \doxitem[idxtype=variable]{Variable}{CPK@variable}{variables}
+ \makeatother
+ \makeatletter
+ \doxitem[idxtype=parameter]{Parameter}{CPK@parameter}{parameters}
\makeatother
\makeatletter
\doxitem[macrolike,idxtype=switch]{Switch}{CPK@switch}{switches}
@@ -97,14 +106,11 @@
\doxitem[idxtype=typeface]{Typeface}{CPK@typeface}{typefaces}
\makeatother
\makeatletter
- \doxitem[idxtype=font]{Font}{CPK@font}{fonts}
- \makeatother
- \makeatletter
\doxitem[macrolike,idxtype=box]{Box}{CPK@box}{boxes}
\makeatother
\newcommand{\LabelFont}[2][\relax]{\strut
{\fontencoding\encodingdefault
- \fontfamily{lmtt}\fontseries{lc}#1\selectfont#2}\space}
+ \fontfamily{lmtt}\fontseries{lc}#1\selectfont#2}\space}
\makeatletter
\let\CPK@macro\macro\let\CPK@endmacro\endmacro
\makeatother
@@ -132,51 +138,69 @@
\def\PrintPackageName#1{\LabelFont[\fontfamily{lmss}]{#1}}
\def\PrintSwitchName#1{\LabelFont{#1}}
\def\PrintTemplateName#1{\LabelFont[\bfseries]{#1}}
-%% fontenc omitted: conflicts with fontspec (3)
-%% inputenc omitted: conflicts with fontspec (5)
-\usepackage{fontspec}% a part/@conformance='xelatex' was detected. (6)
-\usepackage{libertine}% requested by author (26)
-\usepackage[scaled=0.9]{raleway}% requested by author (27)
+ \def\PrintVariableName#1{\LabelFont[\ttfamily]{#1}}
+ \def\PrintParameterName#1{\LabelFont[\ttfamily]{#1}}
+ \def\PrintFieldName#1{\LabelFont[\ttfamily]{#1}}
+%% fontenc omit: conflict: fontspec (3)
+%% inputenc omit: conflict: fontspec (4)
+\usepackage{fontspec}% part/@conformance=xelatex detected. (7)%
+\usepackage{libertine}% requested by author (27)%
+\usepackage[scaled=0.9]{raleway}% requested by author (28)%
\renewcommand{\textsc}[1]{{\smaller\MakeTextUppercase{#1}}}
-\usepackage{mflogo}% included by default. (34)
-\usepackage[british]{babel}% included by default. (39)
+\usepackage{mflogo}% used by default. (35)%
+\usepackage[british]{babel}% used by default. (40)%
\usepackage[backend=biber,doi=true,
- isbn=true,url=true,uniquename=false,style=apa]{biblatex}% a bibliography/@arch='biblatex' was detected. (40)
+ isbn=true,url=true,uniquename=false,style=apa]{biblatex}% bibliography/@arch=biblatex detected. (41)%
\makeatletter
- \@ifpackagewith{babel}{british}{%
- \DeclareLanguageMapping{british}{british-apa}}{\relax}
+ \AtBeginDocument{%
+ \setlength{\bibitemsep}{1ex}%
+ \setlength{\bibnamesep}{1.5\itemsep}%
+ \defbibheading{shortbib}[References]%
+ {\section{#1}}}
+ \@ifpackagewith{babel}{british}{%
+ \DeclareLanguageMapping{british}%
+ {british-apa}}{\relax}
\makeatother
- \setlength{\bibnamesep}{1.5\itemsep}
\makeatletter
\providetoggle{blx@skipbiblist}
\makeatother
-\usepackage{csquotes}% a bibliography/@arch='biblatex' was detected. (41)
-\usepackage{array}% requested by author (44)
-\usepackage{calc}% included by default. (47)
+\usepackage{csquotes}% bibliography/@arch=biblatex detected. (43)%
+\usepackage{array}% requested by author (46)%
+\usepackage{calc}% used by default. (49)%
\makeatletter
{\scriptsize
\global\advance\@totalleftmargin by1em
\global\advance\MacroIndent by.5em}
\makeatother
-\usepackage{ccaption}% included by default. (49)
+\usepackage{ccaption}% used by default. (52)%
\captionnamefont{\bfseries}
\captionstyle{\raggedright}
-\usepackage{draftwatermark}% requested by author (52)
-\usepackage[inline]{enumitem}% requested by author (53)
+\usepackage[inline]{enumitem}% requested by author (56)%
\setlist[description]{style=unboxed}
\setlist[itemize]{leftmargin=2em}
\setlist[enumerate]{leftmargin=2em}
\newlist{inlineenum}{enumerate*}{1}
\setlist[inlineenum,1]{label=\emph{\alph*}),
- itemjoin={{; }},itemjoin*={{, and }}}
-\usepackage{fancybox}% use of 'note' was detected (54)
-\usepackage{fancyvrb}% use of 'bibliography' was detected (57)
-\usepackage{relsize}% use of 'acronym' was detected (61)
-\usepackage{textcase}% included by default. (64)
+ itemjoin={{; }},itemjoin*={{; and }}}
+\usepackage{fancybox}% use of 'note' detected (57)%
+\usepackage{fancyvrb}% use of 'bibliography' detected (60)%
+\usepackage{relsize}% use of 'acronym' detected (64)%
+\usepackage{textcase}% used by default. (67)%
+\usepackage{float}% used by default. (69)%
+ \renewcommand{\topfraction}{.85}
+ \renewcommand{\bottomfraction}{.7}
+ \renewcommand{\textfraction}{.15}
+ \renewcommand{\floatpagefraction}{.66}
+ \renewcommand{\dbltopfraction}{.66}
+ \renewcommand{\dblfloatpagefraction}{.66}
+ \setcounter{topnumber}{9}
+ \setcounter{bottomnumber}{9}
+ \setcounter{totalnumber}{20}
+ \setcounter{dbltopnumber}{9}
\usepackage[a4paper,left=30mm,top=25mm,
- textwidth=150mm,textheight=225mm]{geometry}% included by default. (67)
-\usepackage{graphicx}% a part/@conformance='xelatex' was detected. (71)
-\usepackage{listings}% use of 'programlisting' was detected (78)
+ textwidth=150mm,textheight=225mm,headheight=15pt]{geometry}% used by default. (71)%
+\usepackage{graphicx}% part/@conformance=xelatex detected. (76)%
+\usepackage{listings}% use of 'programlisting' detected (83)%
\lstdefinelanguage{dummy}
{morekeywords={dummy}}
\lstdefinelanguage{Makefile}
@@ -209,7 +233,8 @@
\lstdefinelanguage{bash}
{morestring=[s]{[]},morekeywords={exit,logout,yes,no,@,
password,ssh,URL,cd,dvips,latex,ls,makeindex,man,mkdir,
- pdflatex,sudo,texconfig,texdoc,updmap,xelatex}}
+ pdflatex,sudo,texconfig,texdoc,updmap,xelatex,biber,
+ latexmk,bibtex}}
\makeatother
\lstdefinelanguage{APA}[]{XML}
@@ -334,6 +359,7 @@
{—}{{---}}1
{’}{{'}}1
{…}{{\dots}}1
+ {➝}{{$leftarrow$}}1
{⮠}{{$\hookleftarrow$}}1
{␣}{{\textvisiblespace}}1,
keywordstyle=\color{DarkGreen}\bfseries,
@@ -344,19 +370,19 @@
showstringspaces=false,
columns=fullflexible,
keepspaces=true}
-\usepackage{makeidx}% included by default. (80)
+\usepackage{makeidx}% used by default. (85)%
\makeindex
-\usepackage{nicefrac}% requested by author (85)
+\usepackage{nicefrac}% requested by author (91)%
\def\textonehalf{\ensuremath{\nicefrac12}}
-\usepackage{parskip}% requested by author (87)
-\usepackage{sectsty}% requested by author (91)
- \allsectionsfont{\sffamily}
+\usepackage{parskip}% requested by author (93)%
+\usepackage{sectsty}% requested by author (97)%
+ \allsectionsfont{\sffamily\raggedright}
\renewcommand*{\descriptionlabel}[1]{\hspace\labelsep
\sffamily\bfseries #1}
-\usepackage[normalem]{ulem}% use of 'link' was detected (97)
-\usepackage{url}% requested by author (98)
+\usepackage[normalem]{ulem}% use of 'link' detected (103)%
+\usepackage{url}% requested by author (104)%
\AtBeginDocument{\urlstyle{tt}}
-\usepackage{varioref}% use of 'xref' was detected (101)
+\usepackage{varioref}% use of 'xref' detected (107)%
\vrefwarning
\labelformat{appendix}{Appendix~#1}
\makeatletter
@@ -373,24 +399,25 @@
page}
\def\reftextafter{on the
\reftextvario{next}{following} page}
-\usepackage{xcolor}% included by default. (109)
+\usepackage{xcolor}% used by default. (115)%
\makeatletter
\@ifundefined{T}{%
- \newcommand{\T}[2]{{\fontencoding{T1}\selectfont#2}}}{}
+ \newcommand{\T}[2]{{\fontencoding{T1}%
+ \selectfont#2}}}{}
\makeatother
-\usepackage{menukeys}% use of 'guimenu' was detected (112)
+\usepackage{menukeys}% use of 'guimenu' detected (118)%
\renewmenumacro{\menu}[>]{roundedmenus}
\renewmenumacro{\directory}[/]{hyphenatepathswithfolder}
\renewmenumacro{\keys}{shadowedroundedkeys}
-\usepackage{classpack}% included by default. (114)
-\usepackage{euflag}[2019/02/02]% added by specification
+\usepackage{classpack}[2020/05/19]% used by default. (120)%
+\usepackage{euflag}[2020/05/16]% added by spec
\newcommand{\classorpackage}{package}
\addbibresource{euflag.bib}
\setmonofont[Scale=MatchLowercase]{zcoN}
\allsectionsfont{\sffamily}
%
%%
-%% Settings for docstrip and latexdoc
+%% Settings for docstrip and ltxdoc
%%
\EnableCrossrefs
\CodelineIndex
@@ -401,24 +428,27 @@
%</driver>
% \fi
%
-% \CheckSum{78}
+% \CheckSum{94}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
% Digits \0\1\2\3\4\5\6\7\8\9
-% Exclamation \! Double quote \" Hash (number) \#
-% Dollar \$ Percent \% Ampersand \&
-% Acute accent \' Left paren \( Right paren \)
-% Asterisk \* Plus \+ Comma \,
-% Minus \- Point \. Solidus \/
-% Colon \: Semicolon \; Less than \<
-% Equals \= Greater than \> Question mark \?
-% Commercial at \@ Left bracket \[ Backslash \\
-% Right bracket \] Circumflex \^ Underscore \_
-% Grave accent \` Left brace \{ Vertical bar \|
-% Right brace \} Tilde \~}
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
%
+% \changes{v0.7}{2020/05/16}{Regression release: 1) Updated to ClassPack 1.19; 2) Switched all conformance attributes on revision dates to YYYY-MM-DD.}
+% \changes{v0.6}{2020/04/01}{Maintenance release: 1) Updated to ClassPack 1.18; 2) Switched all conformance attributes on revision dates to YYYY-MM-DD.}
+% \changes{v0.5}{2019/07/24}{Separated stars from flag and added baseline option: 1) Made the ring of stars a separate macro so that they can be used on their own as well as in the flag.; 2) Added a baseline package option to align the bottom star with the text, and a command option to do it on a per-command basis..}
% \changes{v0.4}{2019/02/02}{Changed the star: Changed from the bbdingFiveStar to the amssymbbigstar command..}
% \changes{v0.3}{2019/02/02}{Mods to ClassPack: Added switch in db2dtx.xsl to detect the use of a package in its own documentation (as here) and code around the PassOptionsToPackage for svgnames on xcolor, which was causing an Option Clash error..}
% \changes{v0.2}{2019/02/01}{Works in table cells: Fixed bug (a vfill) that was crashing (well, locking up) \LaTeX{} when euflag was used in a table cell..}
@@ -427,63 +457,69 @@
% \GetFileInfo{euflag.dtx}
%
% \DoNotIndex{\@,\@@par,\@beginparpenalty,\@empty}
-% \DoNotIndex{\@flushglue,\@gobble,\@input}
-% \DoNotIndex{\@makefnmark,\@makeother,\@maketitle}
-% \DoNotIndex{\@namedef,\@ne,\@spaces,\@tempa}
-% \DoNotIndex{\@tempb,\@tempswafalse,\@tempswatrue}
-% \DoNotIndex{\@thanks,\@thefnmark,\@topnum}
-% \DoNotIndex{\@@,\@elt,\@forloop,\@fortmp,\@gtempa,\@totalleftmargin}
-% \DoNotIndex{\",\/,\@ifundefined,\@nil,\@verbatim,\@vobeyspaces}
-% \DoNotIndex{\|,\~,\ ,\active,\advance,\aftergroup,\begingroup,\bgroup}
-% \DoNotIndex{\mathcal,\csname,\def,\documentstyle,\dospecials,\edef}
-% \DoNotIndex{\egroup}
-% \DoNotIndex{\else,\endcsname,\endgroup,\endinput,\endtrivlist}
-% \DoNotIndex{\expandafter,\fi,\fnsymbol,\futurelet,\gdef,\global}
-% \DoNotIndex{\hbox,\hss,\if,\if@inlabel,\if@tempswa,\if@twocolumn}
-% \DoNotIndex{\ifcase}
-% \DoNotIndex{\ifcat,\iffalse,\ifx,\ignorespaces,\index,\input,\item}
-% \DoNotIndex{\jobname,\kern,\leavevmode,\leftskip,\let,\llap,\lower}
-% \DoNotIndex{\m@ne,\next,\newpage,\nobreak,\noexpand,\nonfrenchspacing}
-% \DoNotIndex{\obeylines,\or,\protect,\raggedleft,\rightskip,\rm,\sc}
-% \DoNotIndex{\setbox,\setcounter,\small,\space,\string,\strut}
-% \DoNotIndex{\strutbox}
-% \DoNotIndex{\thefootnote,\thispagestyle,\topmargin,\trivlist,\tt}
-% \DoNotIndex{\twocolumn,\typeout,\vss,\vtop,\xdef,\z@}
-% \DoNotIndex{\,,\@bsphack,\@esphack,\@noligs,\@vobeyspaces,\@xverbatim}
-% \DoNotIndex{\`,\catcode,\end,\escapechar,\frenchspacing,\glossary}
-% \DoNotIndex{\hangindent,\hfil,\hfill,\hskip,\hspace,\ht,\it,\langle}
-% \DoNotIndex{\leaders,\long,\makelabel,\marginpar,\markboth,\mathcode}
-% \DoNotIndex{\mathsurround,\mbox,\newcount,\newdimen,\newskip}
-% \DoNotIndex{\nopagebreak}
-% \DoNotIndex{\parfillskip,\parindent,\parskip,\penalty,\raise,\rangle}
-% \DoNotIndex{\section,\setlength,\TeX,\topsep,\underline,\unskip,\verb}
-% \DoNotIndex{\vskip,\vspace,\widetilde,\\,\%,\@date,\@defpar}
-% \DoNotIndex{\[,\{,\},\]}
-% \DoNotIndex{\count@,\ifnum,\loop,\today,\uppercase,\uccode}
-% \DoNotIndex{\baselineskip,\begin,\tw@}
-% \DoNotIndex{\a,\b,\c,\d,\e,\f,\g,\h,\i,\j,\k,\l,\m,\n,\o,\p,\q}
-% \DoNotIndex{\r,\s,\t,\u,\v,\w,\x,\y,\z,\A,\B,\C,\D,\E,\F,\G,\H}
-% \DoNotIndex{\I,\J,\K,\L,\M,\N,\O,\P,\Q,\R,\S,\T,\U,\V,\W,\X,\Y,\Z}
-% \DoNotIndex{\1,\2,\3,\4,\5,\6,\7,\8,\9,\0}
-% \DoNotIndex{\!,\#,\$,\&,\',\(,\),\+,\.,\:,\;,\<,\=,\>,\?,\_}
-% \DoNotIndex{\discretionary,\immediate,\makeatletter,\makeatother}
-% \DoNotIndex{\meaning,\newenvironment,\par,\relax,\renewenvironment}
-% \DoNotIndex{\repeat,\scriptsize,\selectfont,\the,\undefined}
-% \DoNotIndex{\arabic,\do,\makeindex,\null,\number,\show,\write,\@ehc}
-% \DoNotIndex{\@author,\@ehc,\@ifstar,\@sanitize,\@title,\everypar}
-% \DoNotIndex{\if@minipage,\if@restonecol,\ifeof,\ifmmode}
-% \DoNotIndex{\lccode,\newtoks,\onecolumn,\openin,\p@,\SelfDocumenting}
-% \DoNotIndex{\settowidth,\@resetonecoltrue,\@resetonecolfalse,\bf}
-% \DoNotIndex{\clearpage,\closein,\lowercase,\@inlabelfalse}
-% \DoNotIndex{\selectfont,\mathcode,\newmathalphabet,\rmdefault}
-% \DoNotIndex{\bfdefault,\DeclareRobustCommand}
+% \DoNotIndex{\@flushglue,\@gobble,\@input,\@makefnmark}
+% \DoNotIndex{\@makeother,\@maketitle,\@namedef,\@ne}
+% \DoNotIndex{\@spaces,\@tempa,\@tempb,\@tempswafalse}
+% \DoNotIndex{\@tempswatrue,\@thanks,\@thefnmark,\@topnum}
+% \DoNotIndex{\@@,\@elt,\@forloop,\@fortmp,\@gtempa}
+% \DoNotIndex{\@totalleftmargin,\",\/,\@ifundefined,\@nil}
+% \DoNotIndex{\@verbatim,\@vobeyspaces,\|,\~,\ ,\active}
+% \DoNotIndex{\advance,\aftergroup,\begingroup,\bgroup}
+% \DoNotIndex{\mathcal,\csname,\def,\documentstyle}
+% \DoNotIndex{\dospecials,\edef,\egroup,\else,\endcsname}
+% \DoNotIndex{\endgroup,\endinput,\endtrivlist}
+% \DoNotIndex{\expandafter,\fi,\fnsymbol,\futurelet,\gdef}
+% \DoNotIndex{\global,\hbox,\hss,\if,\if@inlabel}
+% \DoNotIndex{\if@tempswa,\if@twocolumn,\ifcase,\ifcat}
+% \DoNotIndex{\iffalse,\ifx,\ignorespaces,\index,\input}
+% \DoNotIndex{\item,\jobname,\kern,\leavevmode,\leftskip}
+% \DoNotIndex{\let,\llap,\lower,\m@ne,\next,\newpage}
+% \DoNotIndex{\nobreak,\noexpand,\nonfrenchspacing}
+% \DoNotIndex{\obeylines,\or,\protect,\raggedleft}
+% \DoNotIndex{\rightskip,\rm,\sc,\setbox,\setcounter}
+% \DoNotIndex{\small,\space,\string,\strut,\strutbox}
+% \DoNotIndex{\thefootnote,\thispagestyle,\topmargin}
+% \DoNotIndex{\trivlist,\tt,\twocolumn,\typeout,\vss,\vtop}
+% \DoNotIndex{\xdef,\z@,\,,\@bsphack,\@esphack,\@noligs}
+% \DoNotIndex{\@vobeyspaces,\@xverbatim,\`,\catcode,\end}
+% \DoNotIndex{\escapechar,\frenchspacing,\glossary}
+% \DoNotIndex{\hangindent,\hfil,\hfill,\hskip,\hspace,\ht}
+% \DoNotIndex{\it,\langle,\leaders,\long,\makelabel}
+% \DoNotIndex{\marginpar,\markboth,\mathcode,\mathsurround}
+% \DoNotIndex{\mbox,\newcount,\newdimen,\newskip}
+% \DoNotIndex{\nopagebreak,\parfillskip,\parindent}
+% \DoNotIndex{\parskip,\penalty,\raise,\rangle,\section}
+% \DoNotIndex{\setlength,\TeX,\topsep,\underline,\unskip}
+% \DoNotIndex{\verb,\vskip,\vspace,\widetilde,\\,\%,\@date}
+% \DoNotIndex{\@defpar,\[,\{,\},\],\count@,\ifnum,\loop}
+% \DoNotIndex{\today,\uppercase,\uccode,\baselineskip}
+% \DoNotIndex{\begin,\tw@,\a,\b,\c,\d,\e,\f,\g,\h,\i,\j,\k}
+% \DoNotIndex{\l,\m,\n,\o,\p,\q,\r,\s,\t,\u,\v,\w,\x,\y,\z}
+% \DoNotIndex{\A,\B,\C,\D,\E,\F,\G,\H,\I,\J,\K,\L,\M,\N,\O}
+% \DoNotIndex{\P,\Q,\R,\S,\T,\U,\V,\W,\X,\Y,\Z,\1,\2,\3,\4}
+% \DoNotIndex{\5,\6,\7,\8,\9,\0,\!,\#,\$,\&,\',\(,\)}
+% \DoNotIndex{\+,\.,\:,\;,\<,\=,\>,\?,\_,\discretionary}
+% \DoNotIndex{\immediate,\makeatletter,\makeatother}
+% \DoNotIndex{\meaning,\newenvironment,\par,\relax}
+% \DoNotIndex{\renewenvironment,\repeat,\scriptsize}
+% \DoNotIndex{\selectfont,\the,\undefined,\arabic,\do}
+% \DoNotIndex{\makeindex,\null,\number,\show,\write,\@ehc}
+% \DoNotIndex{\@author,\@ehc,\@ifstar,\@sanitize,\@title}
+% \DoNotIndex{\everypar,\if@minipage,\if@restonecol,\ifeof}
+% \DoNotIndex{\ifmmode,\lccode,\newtoks,\onecolumn,\openin}
+% \DoNotIndex{\p@,\SelfDocumenting,\settowidth}
+% \DoNotIndex{\@resetonecoltrue,\@resetonecolfalse,\bf}
+% \DoNotIndex{\clearpage,\closein,\lowercase}
+% \DoNotIndex{\@inlabelfalse,\selectfont,\mathcode}
+% \DoNotIndex{\newmathalphabet,\rmdefault,\bfdefault}
+% \DoNotIndex{\DeclareRobustCommand}
% \DoNotIndex{\classorpackage}
% \DoNotIndex{\euflag}
% \DoNotIndex{\FiveStar}
% \DoNotIndex{\bigstar}
% \DoNotIndex{\PassOptionsToPackage}
% \DoNotIndex{\vfill}
-% \DoNotIndex{\raisebox}
+% \DoNotIndex{\euflag[-.167em]}
% \DoNotIndex{\scalebox}
% \DoNotIndex{\colorbox}
% \DoNotIndex{\fboxsep}
@@ -494,8 +530,8 @@
% \def\@@doxdescribe#1#2{\endgroup \ifdox@noprint\else\marginpar{\raggedleft \textcolor{DarkRed}{\@nameuse{PrintDescribe#1}{#2}}}\fi \ifdox@noindex\else\@nameuse{Special#1Index}{#2}\fi \endgroup\@esphack\ignorespaces}
% \makeatother
%
-% \def\fileversion{0.4}
-% \def\filedate{2019/02/02}
+% \def\fileversion{0.7}
+% \def\filedate{2020/05/16}
% \title{The \textsf{euflag} \LaTeXe\ package\thanks{%
% This document corresponds to \textsf{euflag}
% \textit{v.}\ \fileversion $\beta$, dated \filedate.}
@@ -510,58 +546,59 @@
% \parindent=0pt% \noindent
% This package implements a single command
% {\ttfamily{}\textbackslash{}euflag} which reproduces the official flag
-% of the European Union ({\smaller EU})\index{European Union|see{EU}}\index{EU|textbf} using
+% of the European Union ({\smaller EU})\index{EU|see{European Union}}\index{European Union|textbf} using
% just the built-in \texttt{picture} environment, with the
% \textsf{xcolor} and \textsf{graphicx}
% packages and the \textsf{amssymb} font.\par
% The flag is reproduced at 1em high based on the current
% font size, so it can be scaled arbitrarily by changing the
-% font size (see examples in the table \vpageref{examples}).\par
+% font size locally (see examples in the table \vpageref{examples}). An option allows for the flag to be
+% aligned on the bottom star.\par
% \begingroup\centering\fontsize{230}{0}\selectfont\euflag\par\endgroup\par
% \end{abstract}
% \clearpage
% \tableofcontents
% \clearpage
% \section*{Latest changes}
-% \subsection*{v.0.4 (2019-02-02)}
-% \paragraph*{Changed the star}
+% \subsection*{v.0.7 (2020-05-16)}
+% \paragraph*{Regression release}
% \begin{itemize}
-% \item Changed from the \textsf{bbding} {\ttfamily{}\textbackslash{}FiveStar} to the
-% \textsf{amssymb} {\ttfamily{}\textbackslash{}bigstar}
-% command.\par
+% \item Updated to ClassPack 1.19\par
+% \item Switched all conformance attributes on revision
+% dates to YYYY-MM-DD\par
% \end{itemize}
-% \subsection*{v.0.3 (2019-02-02)}
-% \paragraph*{Mods to ClassPack}
+% \subsection*{v.0.6 (2020-04-01)}
+% \paragraph*{Maintenance release}
% \begin{itemize}
-% \item Added switch in {\ttfamily{}db2dtx.xsl} to
-% detect the use of a package in its own documentation
-% (as here) and code around the
-% {\ttfamily{}\textbackslash{}PassOptionsToPackage} for
-% \textbf{\texttt{svgnames}} on
-% \textsf{xcolor}, which was causing an Option
-% Clash error.\par
+% \item Updated to ClassPack 1.18\par
+% \item Switched all conformance attributes on revision
+% dates to YYYY-MM-DD\par
% \end{itemize}
-% \subsection*{v.0.2 (2019-02-01)}
-% \paragraph*{Works in table cells}
+% \subsection*{v.0.5 (2019-07-24)}
+% \paragraph*{Separated stars from flag and added baseline option}
% \begin{itemize}
-% \item Fixed bug (a {\ttfamily{}\textbackslash{}vfill}) that was
-% crashing (well, locking up) \LaTeX{} when
-% {\ttfamily{}\textbackslash{}euflag} was used in a table
-% cell.\par
+% \item Made the ring of stars a separate macro so that
+% they can be used on their own as well as in the flag.\par
+% \item Added a \textbf{\texttt{baseline}} package option
+% to align the bottom star with the text, and a command
+% option to do it on a per-command basis.\par
% \end{itemize}
-% \subsection*{v.0.1 (2019-01-31)}
-% \paragraph*{First version}
+% \subsection*{v.0.4 (2019-02-02)}
+% \paragraph*{Changed the star}
% \begin{itemize}
-% \item Simple picture mode is all that is needed, plus a
-% decent star.\par
+% \item Changed from the \textsf{bbding} {\ttfamily{}\textbackslash{}FiveStar} to the
+% \textsf{amssymb} {\ttfamily{}\textbackslash{}bigstar}
+% command.\par
% \end{itemize}
-% See p.\thinspace\pageref{changehistory} for details of earlier changes.
+% See p.\thinspace\pageref{changehistory} for earlier changes.
% \clearpage
% \section{Background}
% This package provides a command {\ttfamily{}\textbackslash{}euflag}
% for reproducing the flag of the European Union. It follows
-% exactly the official specification. The EU’s web site says:\par
-% \begin{quotation}\small\sffamily\parindent0pt\parskip.5\baselineskip\color{DarkBlue}\noindent
+% exactly the official specification \parencite{emblem}. The EU’s web site says:\par
+% \begin{quotation}\small\sffamily\parindent0pt
+% \parskip.5\baselineskip
+% \color{DarkBlue}\noindent
% The European flag symbolises both the European Union
% and, more broadly, the identity and unity of Europe.\par
% \textbf{It features a circle of 12 gold
@@ -583,7 +620,8 @@
% official emblem of the European Communities, later to become
% the European Union. In addition, all European institutions
% now have their own emblems.\par
-% \hfill\begingroup\scriptsize\color{Black}\url{https://europa.eu/european-union/about-eu/symbols/flag_en}\parfillskip=0pt\par\endgroup
+% \hfill\begingroup
+% \scriptsize\color{Black}\url{https://europa.eu/european-union/about-eu/symbols/flag_en}\parfillskip=0pt\par\endgroup
% \end{quotation}
% The {\ttfamily{}\textbackslash{}euflag} command provides a simple
% way to use the flag in any \LaTeX{} document. Details of
@@ -594,7 +632,10 @@
% The flag is reproduced at 1em high, with the bottom edge
% at the current baseline like this:
% \euflag\ using the
-% {\ttfamily{}\textbackslash{}euflag} command.\par
+% {\ttfamily{}\textbackslash{}euflag} command.
+% The \textbf{\texttt{baseline}} package option or an optional
+% length argument to the {\ttfamily{}\textbackslash{}euflag} command can
+% be used to change this (see below).\par
% The font size of the enclosing environment can be changed
% to make the flag appear at any size. In the examples below,
% the code and the flags are in {\ttfamily{}m}-type
@@ -605,11 +646,11 @@
% \begingroup
% \centering
% \begin{tabular}{@{}%
-% >{\raggedright{}\prestrut\arraybackslash}m{0.5\columnwidth}<{\poststrut\arraybackslash}%
-% >{\raggedright{}\prestrut\arraybackslash}m{0.5\columnwidth}<{\poststrut\arraybackslash}%
+% >{\raggedright{}\CPKprestrut}m{0.5\columnwidth}<{\CPKpoststrut\arraybackslash}%
+% >{\raggedright{}\CPKprestrut\arraybackslash}m{0.5\columnwidth}<{\CPKpoststrut\arraybackslash}%
% @{}}
% \hline
-% \vstrut
+% \CPKvstrut
% \verb|{\tiny\euflag}|&\tiny\euflag\vrule height2em width0pt\\
% \verb|{\scriptsize\euflag}|&\scriptsize\euflag\\
% \verb|{\footnotesize\euflag}|&\footnotesize\euflag\\
@@ -625,11 +666,22 @@
% \par\endgroup
% }
% To move the flag down so that the bottom star's baseline
-% becomes the flag's baseline, use the
-% {\ttfamily{}\textbackslash{}raisebox} command to lower the flag by
-% \nicefrac16em:
-% \raisebox{-.167em}{\euflag}, eg
-% \verb|\raisebox{-.167em}{\euflag}|\par
+% becomes the flag's baseline, like this:
+% \euflag[-.167em], load
+% the package with the \textbf{\texttt{baseline}} option:\par
+% \iffalse
+%<*ignore>
+% \fi
+\begin{lstlisting}[language={[LaTeX]TeX}]
+\usepackage[baseline]{euflag}
+\end{lstlisting}
+% \iffalse
+%</ignore>
+% \fi
+% (that will affect all {\ttfamily{}\textbackslash{}euflag} commands).
+% Alternatively, use the optional argument to {\ttfamily{}\textbackslash{}euflag}
+% to lower the flag by \nicefrac16em or whatever amount you wish, eg
+% {\ttfamily{}\textbackslash{}euflag[-.167em]}\par
% \StopEventually{\label{endcode}%
% \clearpage
% \newgeometry{left=3cm}%
@@ -640,8 +692,9 @@
% \label{codeindex}%
% \addcontentsline{toc}{section}{Index}%
% \PrintIndex}
-% \addtolength{\revmarg}{\widthof{\LabelFont{PantoneReflexBlue}}}
-% \newgeometry{left=\revmarg}
+% \addtolength{\CPKrevmarg}{\widthof{\LabelFont{PantoneReflexBlue}}}
+% \newgeometry{left=\CPKrevmarg}
+% \message{Margin reset to \the\CPKrevmarg, to fit <PantoneReflexBlue>}
% \iffalse
%<*package>
% \fi
@@ -651,31 +704,35 @@
% \subsection{Auto-initialisation}\label{:autoinit}
% This section is added automatically by \textit{ClassPack}
% as a preamble to all classes and style packages.
-% The \textsf{fixltx2e} package is no longer preloaded, as its
-% features are now a part of the latest \LaTeX\ kernel.\par
-% The code starts with identity and requirements which are generated
-% automatically as needed by the Doc\TeX\ system.
+% The \textsf{fixltx2e} package, which used to be included
+% automatically, is no longer preloaded, as its
+% features are now a part of the latest \LaTeXe\ kernel.\par
+% The code starts with identity and requirements which are
+% generated automatically as needed by the Doc\TeX\ system.
% For details see the \textsf{ltxdoc} package documentation.
% \par\smallskip
% \begingroup\color{DarkRed}\tabcolsep3pt\footnotesize
% \begin{tabular}{>{\refstepcounter{CodelineNo}\tiny\theCodelineNo}r@{\enspace}l}
% &\verb`\NeedsTeXFormat{LaTeX2e}[2016/02/01]`\\
-% &\verb`\ProvidesPackage{euflag}[2019/02/02 v0.4`\\
-% &\verb` European Union Flag]`
+% &\verb`\ProvidesPackage{euflag}[2020/05/16 v0.7`\\
+% &\verb` European Union Flag]`
% \end{tabular}\endgroup
% \setcounter{CodelineNo}{3}
% \begin{CPK@option}{svgnames}
-% Pass the \textbf{\texttt{svgnames}} option to the \textsf{xcolor}
-% package if that gets loaded later. This avoids a conflict with
-% any other packages (eg \textsf{hyperref}) which use their own
-% default is when they load \textsf{xcolor}.\par
-% However, we have to make an exception
-% in this case because the package is used in its own documentation,
-% which would cause a duplicate \verb+\PassOptionsToPackage+, so we
-% code around it by testing the current package name against the
-% job name of the calling \verb+.dtx+ file~--- if they are the same,
-% then this is the case in point, and the \verb+\PassOptionsToPackage+
-% command is \emph{not} executed; otherwise it it OK to do so.\par
+% Pass the \textbf{\texttt{svgnames}} option to the
+% \textsf{xcolor} package if that gets loaded later.
+% This avoids a conflict with any other packages
+% (eg \textsf{hyperref}) which use their own default
+% is when they load \textsf{xcolor}.\par
+% However, we have to make
+% an exception in this case because the package gets
+% used in its own documentation, which would cause a
+% duplicate \verb+\PassOptionsToPackage+, so we code
+% around it by testing the current package name against
+% the job name of the calling \verb+.dtx+ file~--- if
+% they are the same, then this is the case in point,
+% and the \verb+\PassOptionsToPackage+ command is
+% \emph{not} executed; otherwise it it OK to include it.\par
% \begin{macrocode}
\def\CPK@thispackage{euflag}
\edef\CPK@thispackage{\meaning\CPK@thispackage}
@@ -683,22 +740,46 @@
\edef\CPK@thisjob{\meaning\CPK@thisjob}
\ifx\CPK@thispackage\CPK@thisjob
%% this is the documentation: omit PassOptionsToPackage
-\message{Option svgnames not being passed to package xcolor}
+ \message{Option svgnames not passed to package xcolor}
\else
%% this is a user job: include PassOptionsToPackage
-\message{Option svgnames being passed to package xcolor}
+ \message{Option svgnames passed to package xcolor}
% \end{macrocode}
% \begin{macrocode}
-\PassOptionsToPackage{svgnames}{xcolor}
+ \PassOptionsToPackage{svgnames}{xcolor}
% \end{macrocode}
% \begin{macrocode}
\fi
% \end{macrocode}
-% Thanks to zeroth at \url{https://tex.stackexchange.com/questions/44499/how-to-test-jobname-compilation-option-within-latex-file/54895} for this switch.
% \end{CPK@option}
+% \subsection{Options}\label{options}
+% \iffalse
+%%
+%% ******************************************************************
+%%
+%% Options
+% \fi
+% \begin{CPK@length}{\EUF@baseline}\label{length--EUF@baseline}
+% Define an option to set the default position to align
+% the lowest star with the text baseline of the surrounding
+% text. The default is zero, meaning the bottom of the flag
+% aligns with the text baseline; setting this option will
+% lower the flag so that the lowest star aligns with the
+% text baseline.\par
+% \begin{macrocode}
+\newlength{\EUF@baseline}
+\setlength{\EUF@baseline}{0pt}
+\DeclareOption{baseline}{\setlength\EUF@baseline{-.167em}}
+\DeclareOption*{%
+ \PackageWarning{euflag}{Unknown option
+ ‘\CurrentOption’; please Read The Fine Manual}%
+}
+\ProcessOptions
+% \end{macrocode}
+% \end{CPK@length}
%\iffalse
%%
-%% Packages required
+%% Packages required for the class or package
%%
% \fi
% \subsection{Packages required for the package}\label{stypackages}
@@ -708,9 +789,10 @@
%% Provide color.
% \fi
% \begin{macrocode}
-\RequirePackage[svgnames]{xcolor}
+\RequirePackage[svgnames]{xcolor}%
\@ifundefined{T}{%
- \newcommand{\T}[2]{{\fontencoding{T1}\selectfont#2}}}{}
+ \newcommand{\T}[2]{{\fontencoding{T1}%
+ \selectfont#2}}}{}
% \end{macrocode}
% There seems to be a bug in the T1 encoding of some package
% (unidentified, but possibly \textsf{xcolor}) which
@@ -718,7 +800,7 @@
% impossibility (no digits allowed in command names). So we fake
% it here to stop \LaTeX{} complaining, by dropping the first
% argument on the floor.
-% \end{CPK@package}
+% \end{CPK@package}
% \begin{CPK@package}{graphicx}
% Provide for graphics (PNG, JPG, or PDF format (only) for
% pdflatex; EPS format (only) for standard \LaTeX{}).
@@ -726,9 +808,9 @@
%% Provide for graphics (PNG, JPG, or PDF format (only) for pdflatex; EPS format (only) for standard \LaTeX{}).
% \fi
% \begin{macrocode}
-\RequirePackage{graphicx}
+\RequirePackage{graphicx}%
% \end{macrocode}
-% \end{CPK@package}
+% \end{CPK@package}
% \begin{CPK@package}{amssymb}
% Provide for the American Mathematical Society's symbols
% (see their documentation for details).
@@ -736,11 +818,17 @@
%% Provide for the American Mathematical Society's symbols (see their documentation for details).
% \fi
% \begin{macrocode}
-\RequirePackage{amssymb}
+\RequirePackage{amssymb}%
% \end{macrocode}
-% \end{CPK@package}
+% \end{CPK@package}
%
% \subsection{Changes to package defaults}\label{packagemods}
+% \iffalse
+%%
+%% ******************************************************************
+%%
+%% Changes to package defaults
+% \fi
% The only changes are to implement the blue and yellow
% according to the specification. Note that exact Pantone®
% colour codes are not available, so the
@@ -749,7 +837,8 @@
% {\smaller CMYK} values are commented out in the
% code; they are available for users to test.\par
% \definecolor{PantoneReflexBlue}{HTML}{003399}
-% \begin{CPK@colour}{PantoneReflexBlue}\label{ann-PantoneReflexBlue}
+% \begin{CPK@colour}{PantoneReflexBlue}\label{colour--PantoneReflexBlue}
+% \addcontentsline{toc}{HTML}{\texttt{PantoneReflexBlue}}
% As specified.\par
% \begin{macrocode}
\definecolor{PantoneReflexBlue}{HTML}{003399}
@@ -757,7 +846,8 @@
% \end{macrocode}
% \end{CPK@colour}
% \definecolor{PantoneYellow}{HTML}{FFCC00}
-% \begin{CPK@colour}{PantoneYellow}\label{ann-PantoneYellow}
+% \begin{CPK@colour}{PantoneYellow}\label{colour--PantoneYellow}
+% \addcontentsline{toc}{HTML}{\texttt{PantoneYellow}}
% As specified.\par
% \begin{macrocode}
\definecolor{PantoneYellow}{HTML}{FFCC00}
@@ -768,12 +858,18 @@
% better to be explicit.\par
% \end{CPK@colour}
% \subsection{The flag}
+% \iffalse
+%%
+%% ******************************************************************
+%%
+%% The flag
+% \fi
% We now use the {\ttfamily{}\textbackslash{}bigstar} command from the
% \textsf{amssymb} package (earlier versions used
% the {\ttfamily{}\textbackslash{}FiveStar} command from the
% \textsf{bbding} package, but that did not reliably
% scale beyond about 100pt).\par
-% \begin{CPK@macro}{\eustar}\label{ann-eustar}
+% \begin{CPK@macro}{\eustar}\label{macro--eustar}
% It needs to scale, so we implement it as a command
% using {\ttfamily{}\textbackslash{}scalebox}.\par
% \begin{macrocode}
@@ -789,14 +885,54 @@
% The command itself is a blue {\ttfamily{}\textbackslash{}colorbox}
% containing the stars set at the clock-points of a circle in
% a \LaTeX{} \texttt{picture} environment.\par
-% \begin{CPK@macro}{\euflag}\label{ann-euflag}
+% \begin{CPK@macro}{\makestars}\label{macro--makestars}
+% Separate the making of the ring of stars from the flag
+% itself so that the ring of stars can be used
+% separately.\par
+% For the \texttt{picture} environment, set the
+% unit to 1em and then divide it by 18. This enables us
+% conveniently to use six units for the axes behind the circle
+% of stars, because the specification says it must have a
+% radius of \nicefrac13 of the height (ie \nicefrac6{18}). The
+% positioning argument was found by trial and error.\par
+% \begin{macrocode}
+\newcommand{\makestars}{%
+ \color{PantoneYellow}%
+ \setlength{\unitlength}{1em}
+ \divide\unitlength by18
+ \begin{picture}(6,6)(-2,3.5)
+ \put(6,0){\eustar}
+ \put(5.196,3){\eustar}
+ \put(3,5.196){\eustar}
+ \put(0,6){\eustar}
+ \put(-3,5.196){\eustar}
+ \put(-5.196,3){\eustar}
+ \put(-6,0){\eustar}
+ \put(-5.196,-3){\eustar}
+ \put(-3,-5.196){\eustar}
+ \put(0,-6){\eustar}
+ \put(3,-5.196){\eustar}
+ \put(5.196,-3){\eustar}
+ \end{picture}%
+}
+% \end{macrocode}
+% The positioning of the individual stars was found with
+% simple trigonometry. It would have been possible to
+% construct this from a loop cycling through the 12
+% positions, but it is simpler to do it like this.\par
+% \end{CPK@macro}
+% \begin{CPK@macro}{\euflag}\label{macro--euflag}
% Before the {\ttfamily{}\textbackslash{}colorbox} is used, set
% the {\ttfamily{}\textbackslash{}fboxsep} length to
-% zero so that there is no border around the box.\par
+% zero so that there is no border around the box, and then
+% raise (lower) the box by the value of \DescribeLength{EUF@baseline}{\ttfamily{}EUF@baseline} as set by the
+% \textbf{\texttt{baseline}} option.\par
% \begin{macrocode}
-\newcommand{\euflag}{{%
+\newcommand{\euflag}[1][\EUF@baseline]{%
+ {%
\fboxsep0pt
- \colorbox{PantoneReflexBlue}{%
+ \raisebox{#1}{%
+ \colorbox{PantoneReflexBlue}{%
% \end{macrocode}
% The rectangle itself is formed from a
% {\ttfamily{}\textbackslash{}vbox} 1em high and 1.5em wide. The
@@ -809,45 +945,15 @@
\parskip0pt
\parindent0pt
\centering
- \color{PantoneYellow}%
-% \end{macrocode}
-% For the \texttt{picture} environment, set the
-% unit to 1em and then divide it by 18. This enables us
-% conveniently to use six units for the axes behind the circle
-% of stars, because the specification says it must have a
-% radius of \nicefrac13 of the height (ie \nicefrac6{18}). The
-% positioning argument was found by trial and error.\par
-% \begin{macrocode}
- \setlength{\unitlength}{1em}
- \divide\unitlength by18
- \begin{picture}(6,6)(-2,3.5)
-% \end{macrocode}
-% The positioning of the individual stars was found with
-% simple trigonometry. It would have been possible to
-% construct this from a loop cycling through the 12
-% positions, but it is simpler to do it like this.\par
-% \begin{macrocode}
- \put(6,0){\eustar}
- \put(5.196,3){\eustar}
- \put(3,5.196){\eustar}
- \put(0,6){\eustar}
- \put(-3,5.196){\eustar}
- \put(-5.196,3){\eustar}
- \put(-6,0){\eustar}
- \put(-5.196,-3){\eustar}
- \put(-3,-5.196){\eustar}
- \put(0,-6){\eustar}
- \put(3,-5.196){\eustar}
- \put(5.196,-3){\eustar}
+ \makestars
% \end{macrocode}
-% Finally, close off the \texttt{picture}
-% environment, and close the containing
+% Finally, close off the containing
% {\ttfamily{}\textbackslash{}vbox} and other containers.\par
% \begin{macrocode}
- \end{picture}%
- }% end vbox
- }% end colorbox
- }% end environment
+ }% end vbox
+ }% end colorbox
+ }% end raisebox
+ }% end encapsulation
}% end command
% \end{macrocode}
% \end{CPK@macro}
@@ -855,7 +961,6 @@
% \iffalse
%</package>
% \fi
-% \nocite{*}
% \clearpage
% \raggedright
% \raggedright\printbibliography
@@ -863,7 +968,9 @@
% \newgeometry{left=3cm}
% \clearpage
% \section{The \LaTeX{} Project Public License (v\thinspace{}1.3c)}\label{LPPL}
-% \begin{quotation}\small\sffamily\parindent0pt\parskip.5\baselineskip\color{DarkBlue}\noindent
+% \begin{quotation}\small\sffamily\parindent0pt
+% \parskip.5\baselineskip
+% \color{DarkBlue}\noindent
% Everyone is allowed to distribute verbatim copies of this
% license document, but modification of it is not allowed.\par
% \end{quotation}
@@ -1031,14 +1138,14 @@
% \item % \begin{enumerate}
% \item A Derived Work may be distributed under a different
% license provided that license itself honors the
-% conditions listed in Clause~item~\ref{item-conditions} above above, in
+% conditions listed in Clause~item~\ref{item-conditions} in the list on p.\thinspace\pageref{item-conditions} above, in
% regard to the Work, though it does not have to honor the
% rest of the conditions in this license.\par
% \item If a Derived Work is distributed under a different
% license, that Derived Work must provide sufficient
% documentation as part of itself to allow each recipient
% of that Derived Work to honor the restrictions in
-% Clause~item~\ref{item-conditions} above above, concerning
+% Clause~item~\ref{item-conditions} in the list on p.\thinspace\pageref{item-conditions} above, concerning
% changes from the Work.\par
% \end{enumerate}
% \item This license places no restrictions on works that are
@@ -1121,14 +1228,14 @@
% announcement.\par
% \end{enumerate}
% \item \label{item-change}If you make an `intention announcement'
-% as described in~item~\ref{item-intention} above above and after three
+% as described in~item~\ref{item-intention} in the list on p.\thinspace\pageref{item-intention} above and after three
% months your intention is challenged neither by the Current
% Maintainer nor by the Copyright Holder nor by other people,
% then you may arrange for the Work to be changed so as to
% name you as the (new) Current Maintainer.\par
% \item If the previously unreachable Current Maintainer becomes
% reachable once more within three months of a change
-% completed under the terms of~item~\ref{item-announce} above
+% completed under the terms of~item~\ref{item-announce} in the list on p.\thinspace\pageref{item-announce}
% or~item~\ref{item-change} above, then that
% Current
% Maintainer must become or remain the Current Maintainer upon
@@ -1142,7 +1249,7 @@
% immediately provide, within the Work, a prominent and
% unambiguous statement of your status as Current Maintainer. You
% should also announce your new status to the same pertinent
-% community as in~item~\ref{item-intention} above
+% community as in~item~\ref{item-intention} in the list on p.\thinspace\pageref{item-intention}
% above.\par
% \subsection{Whether and How to Distribute Works under This
% License}\label{Distribute}
@@ -1246,7 +1353,7 @@
% completely different task), then clauses 6b and 6d shall not
% apply.\par
% \subsubsection{Important Recommendations}\label{Recommendations}
-% \paragraph[Defining What Constitutes the Work]{Defining What Constitutes the Work  •}
+% \paragraph[Defining What Constitutes the Work]{Defining What Constitutes the Work :}
% The {\smaller LPPL} requires that distributions
% of the Work contain all the files of the Work. It is
% therefore important that you provide a way for the licensee