[tex-live] texdoc for libertine

Denis Bitouzé dbitouze at wanadoo.fr
Thu Nov 29 16:46:11 CET 2012


Le jeudi 29/11/12 à 16h05,
Denis Bitouzé <dbitouze at wanadoo.fr> a écrit :

>   2. inserting at line 356:
> 
>         \ifx\lib at temp\lib at fxk
>         \@namedef{#1@#2}{{\biolinumkey\char#3\relax}}\else%

And I forgot to mention the \biolinumkey (maybe here rough) definition:

  \newfontfamily\biolinumkey{Linux Biolinum Keyboard O}

to be added somewhere...

For instance, the following MCE seems to be OK:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{libertine}

\newfontfamily\biolinumkey{Linux Biolinum Keyboard O}

\makeatletter

\def\lib at fxk{fxk}

\renewcommand*\DeclareTextGlyphY[3]{%
  % \DeclareTextGlyphY{fxl}{s_t}{64262}
  % #1=basefont #2=glyphname, #3=position
  \def\lib at temp{#1}%
  \ifx\lib at temp\lib at fxl
\@namedef{#1@#2}{{\libertine\char#3\relax}}\else%
 \ifx\lib at temp\lib at fxb
\@namedef{#1@#2}{{\biolinum\char#3\relax}}\else%
 \ifx\lib at temp\lib at fxk
\@namedef{#1@#2}{{\biolinumkey\char#3\relax}}\else%
 \fi\fi\fi}
% 

%\input{fxkuni.inc}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% From fxkuni.inc currently unavailable %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareTextGlyphY{fxk}{A}{65}          %
\DeclareTextGlyphY{fxk}{uniE132}{57650} %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\DeclareRobustCommand*\biolinumKeyGlyph[1]{{\@nameuse{fxk@#1}}}
\DeclareRobustCommand*\LKey[1]{\biolinumKeyGlyph{#1}}
\DeclareRobustCommand*\LMouseL{\biolinumKeyGlyph{uniE132}}

\makeatother

\begin{document}
\LKey{A}\par
\LMouseL
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-- 
Denis



More information about the tex-live mailing list