3

I'm using TexLive 2014, last update yesterday

tlmgr info yfonts gothic
package:     yfonts
installed:   Yes
cat-date:    2012-04-16 12:07:42 +0200

package:     gothic
installed:   Yes
cat-date:    2014-05-03 14:16:52 +0200

When I process this file (pdflatex/xelatexy)

\documentclass{article}
\usepackage{yfonts,color}
\begin{document}
\yinipar{\color{red}L}orem ipsum \ldots
\end{document}

it produces following error:

kpathsea: Running mktexmf yinitas
! I can't find file `yinitas'.

Has anybody succesfully used yfonts or gothic with a recent TL2014? I tried more examples from SE, but it seems that something changed since then.

Maybe I should rephrase the question: What steps do I have to take in order to use the beautiful gothic initials of Yannis Haralambous?

I do have:

find -iname '*yinit*'

./doc/fonts/gothic/yinit.pdf
./doc/fonts/gothic/README.yinit
./fonts/tfm/public/gothic/yinit.tfm
./fonts/source/public/gothic/yinitW.mf
./fonts/source/public/gothic/yinitZ.mf
./fonts/source/public/gothic/yinitT.mf
....

but reading README.yinit does not really help me.

4

Based on a hint of Ulrike Fischer on c.t.t I found the following solution:

Step 1: download (and unzip) yinit-as.zip from CTAN. It contains:

yinit-as/
 yinit-as/initials.sty
 yinit-as/yinitas.txt
 yinit-as/README
 yinit-as/yinitas.tfm
 yinit-as/yinitas.mf

Step 2: put the files where tex can find them (e.g in ~/texmf or .../texmf-local)

md .../texmf-local/fonts/tfm/yinit-as
cp yinit-as/yinitas.tfm .../texmf-local/fonts/tfm/yinit-as
md .../texmf-local/fonts/source/yinit-as
cp yinit-as/yinitas.mf .../texmf-local/fonts/source/yinit-as
md .../texmf-local/doc/yinit-as
cp yinit-as/{README,yinitas.txt} .../texmf-local/doc/yinit-as
md .../texmf-local/tex/latex/yinit-as
cp yinit-as/initials.sty .../texmf-local/tex/latex/yinit-as

Don't forget to run

mktexlsr

to update your search database

| improve this answer | |
3

I adjusted @egreg answer here with package lettrine as convenient way to use the beautiful gothic initials of Yannis Haralambous.

\documentclass[12pt]{article}
\usepackage{lipsum,xcolor}
\usepackage{lettrine}
\setcounter{DefaultLines}{4}
\setlength{\DefaultFindent}{0.5em}
\setlength{\DefaultNindent}{0em}
\renewcommand{\LettrineFontHook}{\usefont{U}{yinit}{m}{n}}
\renewcommand{\DefaultLoversize}{-0.65}
\begin{document}
\lettrine{\color{purple}L}{orem ipsum odio metus}. \lipsum[2]
\end{document}

Initial Haralambous L with lettrine

I posted here a description (in spanish) to use Yannis Haralambous' initials.

| improve this answer | |
2

I had the same issue and I resolved it by replacing yinitas with yinit in file yfonts.dtx.

| improve this answer | |
  • 6
    @Guido It is an answer. – egreg Feb 25 '15 at 20:59
1

In yfonts.sty the value of \initdefault is yinitas, which is not installed in TeX Live. But yinit is installed, so you should redefine \initdefault:

\documentclass{article}
\usepackage{yfonts}
\def\initdefault{yinit}
\begin{document}
{\frakfamily\fraklines\yinipar{U}nd da er ihn fand, sprach er zu ihm:
Glaubest du an den Sohn Gottes? 36. Er antwortete und sprach:
Herr, welcher ist's ... Du hast ihn gesehen, und der mit dir
redet, der ist's. 38. Er aber sprach: Herr, ich glaube; und
betete ihn an. Und Jesus sprach: Ich bin zum Gerichte auf diese
Welt kommen, auf da\ss, die da nicht sehen, sehend werden, und
die da sehen, blind werden. Und solches höreten etliche der Pharis\"{a}er,
die bei ihm waren, und sprachen zu ihm: Sind wir denn auch blind?\par}
\end{document}

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.