Fonts & Character Setsaccent no longer recognised

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Ovadya
Posts: 6
Joined: Tue Dec 21, 2010 1:09 pm

accent no longer recognised

Post by Ovadya »

Dear all,

Because of a hard drive failure, I had to reinstall my TeX-implementation (based on TeX-live, for the Mac). I'm using XeTeX with TeXshop.
All is well, but the dot under a letter, \d{o} for example for the "o" with a dot beneath the letter, is no longer recognised in my files. With a "t" it results in a box, with an "h" it results in the Euro sign.
What may cause this behaviour?

All the best,

Willem

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

accent no longer recognised

Post by Stefan Kottwitz »

Hi Willem,

it could be a font issue, or \d might be redefined in your document or by a used package. Please post a Infominimal working example which shows the problem. It could be nearly small as

Code: Select all

\documentclass{article}
% your settings here
\begin{document}
\d{o}\d{t}\d{h}
\end{document}
but compilable and showing the problem in the output.

Stefan
LaTeX.org admin
Ovadya
Posts: 6
Joined: Tue Dec 21, 2010 1:09 pm

accent no longer recognised

Post by Ovadya »

Thanks for your reply!
I doubt that it is a font corruption issue, since another font produces the same error. And it used to go well. The only change is that I had to reinstall TeX. Here is the input file:

Code: Select all

%
% Ulysses LaTeX Export
%
\documentclass[12pt,twoside,a4paper,openright]{book}
\usepackage{Bloop}	
\begin{document}
\pagestyle{fancy}\renewcommand{\headrulewidth}{0pt}
\newpage
\lhead[\thepage]{\textsc{\textit{The H with Diacritical Dot, or Not}}}\rhead[\textsc{\textit{Dots, Dots \& Dots}}]{\thepage}\thispagestyle{empty}\noindent  \, \hfill {\huge{2}}\\
\noindent  \, \hfill {\large The H with Diacritical Dot, or Not: More Dots}\bigskip\setcounter{chapter}{2}

\noindent 	\lettrine[lines=3,loversize=0.1,slope=.85em]{A}s a roller coaster \d{o}ver the \d{h}ills 

\end{document}
And the (reduced) preamble still producing the error is here:

Code: Select all

\ProvidesPackage{Ovadya} 
\usepackage{array}
\usepackage{epsf}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{lettrine}
\usepackage{makeidx}
\usepackage{fontspec}
\usepackage[normalem]{ulem}
\usepackage[paperwidth=6.3in,paperheight=9.45in]{geometry} 
\setromanfont[BoldFont={SeriaPro-Bold},ItalicFont={SeriaPro-Italic},BoldItalicFont={SeriaPro-BoldItalic}]{SeriaPro}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

accent no longer recognised

Post by Stefan Kottwitz »

Please have a look at my link above or here to see what a Infominimal working example is. Here it's not clear what the Bloop package is and how the (not compilable) document works with the preamble excerpt. This cannot be tested.

When I build a test file from the information, how you possibly mean, it works if I comment out the Bloop package and the font:

Code: Select all

\documentclass[12pt,twoside,a4paper,openright]{book}
%\usepackage{Bloop}     
\usepackage{array}
\usepackage{epsf}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{lettrine}
\usepackage{makeidx}
\usepackage{fontspec}
\usepackage[normalem]{ulem}
\usepackage[paperwidth=6.3in,paperheight=9.45in]{geometry}
%\setromanfont[BoldFont={SeriaPro-Bold},ItalicFont={SeriaPro-Italic},BoldItalicFont={SeriaPro-BoldItalic}]{SeriaPro}

\begin{document}
\pagestyle{fancy}\renewcommand{\headrulewidth}{0pt}
\newpage
\lhead[\thepage]{\textsc{\textit{The H with Diacritical Dot, or Not}}}\rhead[\textsc{\textit{Dots, Dots \& Dots}}]{\thepage}\thispagestyle{empty}\noindent  \, \hfill {\huge{2}}\\
\noindent  \, \hfill {\large The H with Diacritical Dot, or Not: More Dots}\bigskip\setcounter{chapter}{2}

\noindent       \lettrine[lines=3,loversize=0.1,slope=.85em]{A}s a roller coaster \d{o}ver the \d{h}ills

\end{document}
diacritical-dot.png
diacritical-dot.png (5.7 KiB) Viewed 4573 times
So, it's either a font issue with SeriaPro, a font which I don't have for testing, or an issue with the Bloop package or missing information or code you did not show yet.

Stefan
LaTeX.org admin
Ovadya
Posts: 6
Joined: Tue Dec 21, 2010 1:09 pm

Re: accent no longer recognised

Post by Ovadya »

Sorry, I reduced the pramble and called it Bloop but forgot to say so....

But the result is interesting, as it does the same on my set-up. Perhaps the second font I tried it with has also become corrupted.... I did have issues with my HD, so I'll have to see! The fonts are commercial, I hope I can reinstall them. Thanks for the help - it may take some time, but when I reinstall the fonts I'll report back.
Ovadya
Posts: 6
Joined: Tue Dec 21, 2010 1:09 pm

Re: accent no longer recognised

Post by Ovadya »

I found the original zip-file of the font, and unzipped, installed it instead of the original font, logged out and in but the result remains the same (as per attachment). Installed it via Font Book, same result. This seems odd to me.
Attachments
no dots
no dots
Screen Shot 2012-03-12 at 21.10.27.png (13.25 KiB) Viewed 4567 times
Post Reply