[XeTeX] Diacritic marks in various fonts
Nathan Sidoli
nathan.sidoli at utoronto.ca
Thu Jun 23 18:45:17 CEST 2011
Thanks to everyone that responded.
It does seem that the error message is unrelated (since I don't get it
with the minimal example, below), however, the issue with Junicode (and
Times Translit) persists even with this minimal example:
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Junicode}% Times, Times New Roman
\begin{document}
Here is an example, \emph{sa\d{m}kalita}.\footnote{
\emph{sa\d{m}kalita}.
}
\end{document}
The example that Ulrike gives works, but is this a long term solution?
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Junicode}% Times, Times New Roman,
\UndeclareUTFcomposite[\UTFencname]{x1E47}{\d}{n}
\newcommand\mydaccent[1]{%
{\fontencoding{OT1}\selectfont
\d{\fontencoding{EU1}\selectfont #1}}}
\begin{document}
Here is an example, \emph{sa\d{m}kalita}.\footnote{
\emph{sa\d{m}kalita}.
}
Here is another example, \emph{sa\mydaccent{m}kalita}.\footnote{
\emph{sa\mydaccent{m}kalita}.
}
\end{document}
Best,
Nathan
On 11/06/23 22:26, Peter Baker wrote:
> Since the developer of Junicode hangs out on this list, you could try sending him (i.e. me) a minimal example.
>
> :)
> Peter
>
> Sent from my iPod
>
> On Jun 23, 2011, at 4:31 AM, nathan.sidoli at utoronto.ca wrote:
>
>> I'm having some issues with the dot diacritic under m and n, \d{m} and \d{n} or ? and ?, with italicized typeface in some fonts, particularly Junicode.
>>
>> Whenever I use Junicode or Times Translit, I get blank spaces for these terms, and a warning message such as the following:
>>
>> LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size<8.5> not available
>> (Font) size<8> substituted on input line 75.
>>
>>
>> When I use Times, New Times Roman, Gentium Plus, etc. I get the same warning, but the characters are displaying properly. I suppose this is a problem with the fonts themselves, but I'm wondering if anyone has a suggested work-around.
>>
>> Thanks,
>>
>> Nathan
>>
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>> http://tug.org/mailman/listinfo/xetex
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
More information about the XeTeX
mailing list