[Tex/LaTex] To input symbols with utf8 codes beyond the standard utf8 packet in Latex

accentsinput-encodingsunicode

I have input text for Latex with symbols like Ẃ ẃ Ẅ ẅ Ỳ ỳ and so on and must translate it into pdf. The task came from the whole work of export from Library of Congress catalog to prepare article in LaTex. So lot of symbols in utf8 codes but not in the form of Latex comands just fall into Latex input. When translation begins there are error message in the form: Package inputenc Error: Unicode char \u8:ĭ not set up for use with LaTeX. – with different utf8 symbols besides the standard list. All of them are like "Latin Accent" but of different form: Acute, Grave, Circumflex, Dieresis, Tilde, Caron, Macron, Breve, Overdot, Underdot. So to overcome this I use in preambula commands like \DeclareUnicodeCharacter{0174}{$\hat{W}$}. It works but such symbols are a lot of. Do somebody knows packet to do such work totally on all such symbols? The example with text producing a lot of error messages is here:

\documentclass[12pt]{article}

\usepackage[utf8]{inputenc}

\usepackage{cmap}       % good PDF (pdflatex)

\usepackage[T1,T2A]{fontenc}   

\usepackage[english,russian]{babel}

\DeclareUnicodeCharacter{02B9}{\textquoteright}   % modifier letter prime
% like apostrof 

% Welsh and Cornish languages
\DeclareUnicodeCharacter{0174}{$\hat{W}$}

\DeclareUnicodeCharacter{0175}{$\hat{w}$}

\DeclareUnicodeCharacter{0176}{$\hat{Y}$}

\DeclareUnicodeCharacter{0177}{$\hat{y}$}

\usepackage{amsmath}

\usepackage{amssymb}

\usepackage{wasysym}

\begin{document}

Acides nucléiques et synthèse des protéines chez les végétaux: {[}actes du colloque international{]}, Strasbourg, 15-24 juillet 1976

Russko-moldavskiĭ zoologicheskiĭ slovarʹ. Gani︠a︡

Russkiĭ narodnyĭ lubok

Slovarʹ-spravochnik po shelkovodstvu. Gani︠a︡

Aėrokosmichesk kurʹer =: Aerospace courier

\end{document}

Environment:
Windows 7
Miktex 2.9
Texworks
pdflatex

Question: Do somebody knows packet to do such work totally on all such symbols?

Best Answer

Use xelatex or lualatex and choose a font that has the symbols you need. Below I've used the Doulos SIL font.

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Doulos SIL}  
\begin{document}
Acides nucléiques et synthèse des protéines chez les végétaux: {[}actes du colloque international{]}, Strasbourg, 15-24 juillet 1976

Russko-moldavskiĭ zoologicheskiĭ slovarʹ. Gani︠a︡

Russkiĭ narodnyĭ lubok

Slovarʹ-spravochnik po shelkovodstvu. Gani︠a︡

Aėrokosmichesk kurʹer =: Aerospace courier
\end{document}

enter image description here