Fix for picture in Python 3.
[librarian.git] / librarian / pdf / wl.cls
index 2d3b309..88bef12 100644 (file)
 \newif\ifshowtoc \showtoctrue
 \DeclareOption{notoc}{\showtocfalse}
 
 \newif\ifshowtoc \showtoctrue
 \DeclareOption{notoc}{\showtocfalse}
 
-\newif\ifsansfont \sansfontfalse
-\DeclareOption{sansfont}{\sansfonttrue}
+%\newif\ifsansfont \sansfontfalse
+%\DeclareOption{sansfont}{\sansfonttrue}
 
 \newif\ifmargins \marginstrue
 \DeclareOption{nomargins}{\marginsfalse}
 
 \newif\ifmargins \marginstrue
 \DeclareOption{nomargins}{\marginsfalse}
 \usepackage{scalefnt}
 \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref}
 
 \usepackage{scalefnt}
 \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref}
 
-\ifsansfont
-\renewcommand{\familydefault}{\sfdefault}
-\fi
+%\ifsansfont
+%\renewcommand{\familydefault}{\sfdefault}
+%\fi
 
 \newfontfamily\alien[
 SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
 
 \newfontfamily\alien[
 SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
@@ -185,16 +185,16 @@ LetterSpace=-1.0
 %LetterSpace=-1.0
 %] {NotoSerif}
 
 %LetterSpace=-1.0
 %] {NotoSerif}
 
-\setsansfont [
-UprightFont = NotoSansDisplay-Regular,
-ItalicFont = NotoSansDisplay-Italic,
-BoldFont = NotoSansDisplay-Regular,
-BoldItalicFont = NotoSansDisplay-Italic,
-SmallCapsFont = NotoSansDisplay-Regular,
-SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
-Scale=1.04,
-LetterSpace=-1.0
-] {NotoSansDisplay}
+%\setsansfont [
+%UprightFont = NotoSansDisplay-Regular,
+%ItalicFont = NotoSansDisplay-Italic,
+%BoldFont = NotoSansDisplay-Regular,
+%BoldItalicFont = NotoSansDisplay-Italic,
+%SmallCapsFont = NotoSansDisplay-Regular,
+%SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
+%Scale=1.04,
+%LetterSpace=-1.0
+%] {NotoSansDisplay}
 
 \defaultfontfeatures{
 SizeFeatures={
 
 \defaultfontfeatures{
 SizeFeatures={