% [calling_glyphs.tex]
  

%%%%%%%%%%%%%%%%   XETEX INPUTS    %%%%%%%%%%%%%

%  These macro files are explained in more detail at the top of each file. Here I have
%       a brief indication of the content.

\input format_XETEX.mac 
              %  spacing, special symbols ...
\input unicode_latin.mac
               % French and German accented letters
\input macros.mac
            % information boxes, special formats
\input ancestors.mac
             % abbreviations used in my genealogical texts !!
\input additional.mac   % \printdate+ \raggedleft (for right to left)
%
\input petr_olsak.mac
              % Petr Olsak's collection of pure Tex macros: tables, marginal notes ..
%             
% ===>   have to put [my_fonts.mac] AFTER [petr_olsak.mac]  which redefines \rm 
\input my_fonts.mac  
              %  different fonts at various sizes; e.g \bftwenty
              % PSTRICKS is used for importing images
              % there is a form after \bye
              % the shell file [photos2eps] (in the directory SHELL_FILES)
              % will convert all your .jpg and .png files to .eps

% see [pstricks_examples.tex] for the use of these inputs
\input pstricks  % need for centring
\input epsf        % need for importing eps

\input color   % this is part of David Carlisle's "graph­ics-pln" package (available at CTAN)
                     %.allows typesetting text  in colour.
%%%%%%%%%%%%%%%%    END  XETEX INPUTS    %%%%%%%%%%%%%

%%%%%%%%%%%%%%%%    VARIOUS COMMANDS    %%%%%%%%%%%%%

\topglue  0pt       
\topskip  18pt      

\overfullrule=0pt
\tracingoutput  = 0   % file - minimum information ( =1  for full)
\tracingonline  = 0   % screen - minimum information ( =1  for full

%%%%%%%%%%%%%%%%   END  VARIOUS COMMANDS    %%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%    DIMENSIONS    %%%%%%%%%%%%%
\pdfpageheight=11truein   % !!
\pdfpagewidth= 8.5truein   %!!

\vsize =  8.50 in       %!!  
{\hsize = 5.94 in      %!!

\voffset = 0.5 truecm   %!!
\hoffset = 0.70truecm    %!!

\baselineskip = 14pt    % default = 12pt	

%%%%%%%%%%%%%%%%%   END DIMENSIONS    %%%%%%%%%%%%%

%%%%%%%%%%%    FOOTER & HEADER          %%%%%%%%%%%%%%%%%

%         =======> 3 CHANGES TO MAKE   <=========

 \nopagenumbers


%%%%%%%%%%%%%%%%%%%%  END FOOTER AND  HEADER  %%%%%%%%%%%%%%%%%%%%% 
%
% %%%%%%%%%%%%%%%%%%%%  TEXT STARTS % %%%%%%%%%%%%%%%%%%%% 
%
 {\rm   %  !! 12.5pt  I like a larger font, defined in [my_fonts.mac]
%
% 
{\verysmall . } % !! 0.1pt  used to move  text up via \vskip -20pt\nin  !!
%
\vskip -20pt\nin     % \nin = \noindent, see [format_XETEX.mac]
%
\centerline{\bftwenty Calling glyphs}
\mni
There are {\it two\/} ways of calling glyphs:
\sni
\item{} Via the \bsl char"    notation.
\mni
\item{} Via the  \bsl \^{ }\^{ }\^{ }\^{ } notation.
\mni
I prefer the first because it is similar to the \bsl char defintion used with the Cork conventions. I suggest
{\it not\/} mixing the two methods.
\mni
Here are three examples, all taken from the Libertine table \(contained in the directory FONTS+UNICODE\),
\mni
\item{1.} The letter e with a circumflex:\Th  \char"00EA .
\sni
\itemitem{} This lettter is on page 2 of the table and the Unicode number is 00EA.
\sni
\itemitem{} Since we want to use \bsl ce as a short cut \(see \[unicode\unl latin.mac\]\) we write:
\sni
\centreline{\bsl def\th \bsl ce\th \lbr \bsl char"00EA\th\rbr}
\sni
\itemitem{} Here is a test:  \bsl ce \EA \ce.
\bni
\item{2.} The Hebrew letter dalet:\Th \char"05D3.
\sni
\itemitem{} One way of finding the Unicode code value is to go to the Unicode site:
\sni
\centreline{\tteleven http://www.unicode.org/charts/}
\sni
\itemitem{} We find that the dalet has the code 05D3 and we check to see if the Libertine font has
this character. It does, and is to be found on page 10 of the Libertine table.
\sni 
\itemitem{} Since we want to use \bsl d as a short cut \(see \[unicode\unl hebrew.mac\]\) we write:
\sni
\centreline{ \bsl def\th \bsl d\th \lbr \bsl char"05D3\th\rbr }
\sni
\itemitem{} {\bf An important point}: Since I am using the Libertine font, I enlarge the letter by using my {\it Libertine font
command\/} {\bf \bsl bfsixteen}. Similarly if I am using a font whose aim is to produce a certain Hebrew form \(e.g. the SBL font\)
then if I type a number, without changing back to Libertine, the number might not match with the rest of the Libertine text.
\sni
\itemitem{} Here is a test with \bsl bfsixteen:  \bsl d \EA {\bfsixteen\char"05D3}.
\mni
\itemitem{} 
[N.B. Hebrew is part of  plane 0, referred to as the {\it Basic Multilingual Plane \(BMP\)\/}, see:
{\tteleven https://unicode.org/roadmaps/bmp/}\].
\bni
\item{3.}  A symbol found in the \lq Private Use Area\rq of Libertine. 
\sni
\itemitem{}Unicode provides the block on the BMP going from E000 to F8FF for private use. This
means the Unicode organization does not specify what should go in here, so that the font creators can put 
whatever they want. On page 34 of the Libetine tables  I found an interesting looking image at the code point
E001. 
\sni
\itemitem{} To use this image, we write:
\sni
\centreline{ \bsl def\th \bsl imageE00A\th \lbr \bsl char"E001\th\rbr}
\sni
\itemitem{} Here is a test with \bsl bftwenty:  \bsl  imageE001 \EA {\bftwenty\char"E001}.
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
	      % KEEP THIS ENDING!!! 
\vfill\eject 
%%
            \par} % end \rm
	    \par} % ends \hsize
	    \bye



% PSTRICKS FORM	  
	  \centerline{\epsfxsize = 
7.0truecm\epsfbox{linlibertine_R_[E128-square].eps}}
%
\vskip 35truept
%
\item{2b.} The reason for 2a is that the glyph for Libertine in   
[libertinedokulatex.pdf] (2009) is 
not in the correct position, according to the table generated by {\tt 
fntsample} the position---in the private use portion---is  
E00A:\quad \EA \char"E00A.
\mni
\item{3.} on page 38 (large manual) there are stacked "w"s with the designation 
% \EA will not work need to define via unicode
"uni02AC": \bsl char"02AC \EA \char"02AC. Moral: if it has "uni" in 
front one can use the \bsl char"[unicode] notation.
\mni
\item{4.} afii57667 is supposed to be "dalet". How do you call? what is this 
table? 
\sni
\item{}Answer: use the table generated by {\tt fntsample} which gives the 
unicode number (see item 2): dalet is 05D3 \EA \char"05D3


%%%%%%%%%%%%%%%  FORMS %%%%%%%%%%%%%%%%
%   
% PSTRICKS FORM	  
	  \centerline{\epsfxsize = 6.5truein\epsfbox{*.eps}}
\vskip 4 truept
          \centerline{}
%
\vskip 0.7cm\nin 
%





