Sujet : Re: aunclfamily and fontspec
De : news3 (at) *nospam* nililand.de (Ulrike Fischer)
Groupes : comp.text.texDate : 24. Jul 2024, 12:31:42
Autres entêtes
Message-ID : <k4tzsuugf63h$.dlg@nililand.de>
References : 1 2 3
User-Agent : 40tude_Dialog/2.0.15.41de
Am Wed, 24 Jul 2024 02:33:09 +0200 schrieb Jens-Olaf Lindermann:
Maybe I should have mentioned,
Yes you should have mentioned that.
that indeed I have read the documentation
of auncial, and having tried to solve the problem alone in many ways like
\textuncl{text} or \aunclfamily{}, also having put the [B1]{fontenc}
package.
Section 2 starts with
Thus, to use the font in a document you need to
at least have: \usepackage[B1,...]{fontenc} in the preamble.
So it is quite clear that this is a must, and if this didn't work
for you you should have shown a MWE *with* this line.
The B1-encoding misses a FontSubstitution declaration. You can
repair that like this
\documentclass{scrbook}
\DeclareFontEncoding{B1}{}{}
\DeclareFontSubstitution{B1}{cmr}{m}{n}
\usepackage[B1]{fontenc}
\usepackage{fontspec}
\setmainfont{oldstandard}
\usepackage{auncial}
\begin{document}
some text
{\aunclfamily AAGG}
some text
\end{document}
-- Ulrike Fischer http://www.troubleshooting-tex.de/