Fonts & Character SetsThích Nhất Hạnh in LaTeX tufte-book class

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Steven
Posts: 3
Joined: Sat Jan 22, 2022 7:56 am

Thích Nhất Hạnh in LaTeX tufte-book class

Post by Steven »

I am very new to LaTeX and am wanting to use the OVERLEAF.com template found here: https://www.overleaf.com/latex/template ... fbtdjfqdjh

I am using MiKTeX.
I am trying to include this name in my book: Thích Nhất Hạnh

but have not yet been successful.

I am getting the following errors using the MWE below:
pdfTeX error (font): invalid font identifier. \begin{document}
Font \T5/mdugm/m/n/10=nullfont not loadable: Metric (TFM) file not found. \begin{document}
Font T5/EBGaramond-OsF/m/n/10=ugmr8v at 10.0pt not loadable: Metric (TFM) file not found. \begin{document}
I appreciate any feedback, tips, etc!

Code: Select all

\documentclass{tufte-book}
\hypersetup{colorlinks}
\title{A Tufte-Style Book\thanks{Thanks to Edward R.~Tufte for his inspiration.}}
\author[The Tufte-LaTeX Developers]{The Tufte-LaTeX\ Developers}
\publisher{Publisher of This Book}
\usepackage{ebgaramond}
\usepackage{xcolor}
\usepackage{amssymb,amsmath} 
\usepackage{todonotes} 
\usepackage{tikz} 
\usepackage{pgfplots} 
\usepackage{listings} 
\usepackage{spreadtab} 
\usepackage[toc,page]{appendix}
\usepackage{epspdfconversion}
\usepackage[toc]{glossaries}
\usepackage{multirow}
\usepackage[utf8]{inputenc}
\usepackage{ucs}
\usepackage{microtype}
\usepackage{lipsum}
\usepackage{booktabs}
\usepackage{graphicx}
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\graphicspath{{graphics/}}
\usepackage{fancyvrb}
\fvset{fontsize=\normalsize}
\usepackage{units}
\providecommand{\XeLaTeX}{X\lower.5ex\hbox{\kern-0.15em\reflectbox{E}}\kern-0.1em\LaTeX}
\usepackage{makeidx}
\usepackage[T5,T1]{fontenc}
\usepackage[english]{babel}
\DeclareFontFamilySubstitution{T5}{\familydefault}{mdugm}
\newcommand{\vietnamese}{\fontencoding{T5}\selectfont}
\DeclareTextFontCommand{\textvietnamese}{\vietnamese}

\begin{document}

This is English text, the Vietnamese name
\textvietnamese{Thích Nhất Hạnh} prints as well.

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Thích Nhất Hạnh in LaTeX tufte-book class

Post by cgnieder »

site moderator & package author
Post Reply