summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/hologo.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/hologo.dtx51
1 files changed, 32 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/hologo.dtx b/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
index 78d52f74f02..7b56ecae32e 100644
--- a/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: hologo.dtx
-% Version: 2012/04/26 v1.10
+% Version: 2016/05/12 v1.11
% Info: A logo collection with bookmark support
%
% Copyright (C) 2010-2012 by
@@ -84,7 +84,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: hologo 2012/04/26 v1.10 A logo collection with bookmark support (HO)}
+\Msg{* Package: hologo 2016/05/12 v1.11 A logo collection with bookmark support (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -96,7 +96,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>
@@ -168,10 +168,10 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{hologo.drv}%
- [2012/04/26 v1.10 A logo collection with bookmark support (HO)]%
+ [2016/05/12 v1.11 A logo collection with bookmark support (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
-\usepackage{hologo}[2012/04/26]
+\usepackage{hologo}[2016/05/12]
\usepackage{longtable}
\usepackage{array}
\usepackage{paralist}
@@ -183,7 +183,6 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{2906}
%
% \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
@@ -204,7 +203,7 @@ and the derived files
% \GetFileInfo{hologo.drv}
%
% \title{The \xpackage{hologo} package}
-% \date{2012/04/26 v1.10}
+% \date{2016/05/12 v1.11}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -475,7 +474,7 @@ and the derived files
vmargin=20mm,
]{geometry}
\pagestyle{empty}
-\usepackage{hologo}[2012/04/26]
+\usepackage{hologo}[2016/05/12]
\usepackage{longtable}
\usepackage{array}
\setlength{\extrarowheight}{2pt}
@@ -668,7 +667,7 @@ and the derived files
\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)]%
% \end{macrocode}
%
% \begin{macrocode}
@@ -2688,14 +2687,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
@@ -4243,6 +4247,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
@@ -4560,7 +4568,7 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
%<*test-spacefactor>
\NeedsTeXFormat{LaTeX2e}
\documentclass{article}
-\usepackage{hologo}[2012/04/26]
+\usepackage{hologo}[2016/05/12]
\usepackage{kvsetkeys}
\usepackage{qstest}
\IncludeTests{*}
@@ -4615,7 +4623,7 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
%<*test-list>
\NeedsTeXFormat{LaTeX2e}
\documentclass[12pt,a4paper]{article}
-\usepackage{hologo}[2012/04/26]
+\usepackage{hologo}[2016/05/12]
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{parskip}
@@ -5075,6 +5083,11 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}%
% \item
% Fix in bookmark version of logo ``\hologo{HanTheThanh}''.
% \end{Version}
+% \begin{Version}{2016/05/12 v1.11}
+% \item
+% Update HOLOGO@IfCharExists (previously in texlive)
+% \item define pdfliteral in current luatex.
+% \end{Version}
% \end{History}
%
% \PrintIndex