summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/baskervaldadf/baskervald.sty
blob: 4bfcc4b5269b8f7a0fb0e9fdfeac825eea27b90e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%%
%% This is file `baskervald.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% baskervaldadf.dtx  (with options: `sty')
%% Copyright (C) 2010-2024 Clea F. Rees.
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   https://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008-05-04 or later.
%% 
%% This work has the LPPL maintenance status `maintained'.
%% 
%% The Current Maintainer of this work is Clea F. Rees.
%% 
%% This file may only be distributed together with a copy of the package
%% baskervaldadf. You may however distribute the package baskervaldadf without
%% such generated files.
%% 
%% This work consists of all files listed in manifest.txt.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{svn-prov}
\ProvidesPackageSVN[baskervald.sty]{$Id: baskervaldadf.dtx 10395 2024-09-26 23:52:22Z cfrees $}[v1.1 \revinfo]
\DefineFileInfoSVN[baskervald]
\RequirePackage[T1]{fontenc}
\RequirePackage{nfssext-cfr}[2024/01/01]
\IfFormatAtLeastTF {2020-02-02}{%
  \DeclareEncodingSubset{TS1}{ybv}{1}%
  \DeclareEncodingSubset{TS1}{ybvw}{1}%
}{%
  \RequirePackage{textcomp}}
\ExplSyntaxOn
\keys_define:nn {  baskervald }
{
  lig .bool_set:N = \g__baskervald_lig_bool,
  lig .default:n = true,
  lig .initial:n = false,
  scale .tl_set:N = \ybv@scale,
  scale .initial:V = \@empty,
}
\ProcessKeyOptions[baskervald]
\tl_new:N \g__baskervald_rm_tl
\tl_gset:Nn \g__baskervald_rm_tl {ybv}
\bool_if:NT \g__baskervald_lig_bool
{
  \tl_gput_right:Nn \g__baskervald_rm_tl {w}
}
\renewcommand{\rmdefault}{\g__baskervald_rm_tl}
\ExplSyntaxOff
\DeclareTextSymbol{\zeroslash}{TS1}{225}
\DeclareTextSymbolDefault{\zeroslash}{TS1}
\AddToHook {begindocument}[.]
{%
  \@ifpackageloaded{hyperref}{%
    \DeclareTextCommand{\zeroslash}{PU}{0}% U+0030
    \DeclareTextCommand{\zeroslash}{PD1}{0}% U+0030
  }{}%
}
%% end baskervald.sty
\endinput
%%
%% End of file `baskervald.sty'.