summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/hologo.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/hologo.sty29
1 files changed, 19 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/hologo.sty b/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
index 642bce61e03..de4c9c7a81a 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/hologo.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: hologo
-%% Version: 2012/04/26 v1.10
+%% Version: 2016/05/12 v1.11
%%
%% Copyright (C) 2010-2012 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -103,7 +103,7 @@
\fi
\expandafter\x\csname ver@hologo.sty\endcsname
\ProvidesPackage{hologo}%
- [2012/04/26 v1.10 A logo collection with bookmark support (HO)]%
+ [2016/05/12 v1.11 A logo collection with bookmark support (HO)]%
\begingroup\catcode61\catcode48\catcode32=10\relax%
\catcode13=5 % ^^M
\endlinechar=13 %
@@ -1336,14 +1336,19 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
\else
\def\HOLOGO@IfCharExists#1{%
\ifnum
- \directlua{%
- if font and font.fonts and font.current then %
- local f = font.fonts[font.current()]%
- if f.characters and f.characters[\number#1] then %
- tex.print("1")%
- end %
- end%
- }0=\ltx@zero
+ \directlua{%
+ if luaotfload and luaotfload.aux then
+ if luaotfload.aux.font_has_glyph(%
+ font.current(), \number#1) then %
+ tex.print("1") %
+ end %
+ elseif font and font.fonts and font.current then %
+ local f = font.fonts[font.current()]%
+ if f.characters and f.characters[\number#1] then %
+ tex.print("1")%
+ end %
+ end%
+ }0=\ltx@zero
\expandafter\ltx@secondoftwo
\else
\expandafter\ltx@firstoftwo
@@ -2214,6 +2219,10 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
\def\hologoDriver{pdftex}%
\let\HOLOGO@pdfliteral\pdfliteral
\ifluatex
+ \ifx\pdfextension\@undefined\else
+ \protected\def\pdfliteral{\pdfextension literal}%
+ \let\HOLOGO@pdfliteral\pdfliteral
+ \fi
\ltx@IfUndefined{HOLOGO@pdfliteral}{%
\ifnum\luatexversion<36 %
\else