[XeTeX] Sigla for handscripts

Benjamin Koppe Benjamin.Koppe at gmx.de
Wed Feb 27 17:45:38 CET 2008


Am 27.02.2008 um 14:12 schrieb Jonathan Kew:

>
> On 27 Feb 2008, at 12:24 pm, Benjamin Koppe wrote:
>
>> I found it is Helvetica, what he computer uses, because he won't fin
>> the od scripts...:
>>
>> ...
>> *** font activation failed (status=0): yfrak.pfb
>>
>> *** font yfrak (yfrak-Regular: file 'yfrak.pfb') not found
>>
>> *** font yfrak (yfrak.pfb) not found, will substitute Helvetica  
>> glyphs
>> exception: SimplePSInterpreterException  reason: condition in if is
>> not a boolean
>>
>> *** font activation failed (status=0): yswab.pfb
>>
>> *** font yswab (yswab-Regular: file 'yswab.pfb') not found
>>
>> *** font yswab (yswab.pfb) not found, will substitute Helvetica  
>> glyphs
>>  )
>> ...
>>
>> Do fontspec and friends switch off other fonts? Or why is it this  
>> font
>> is not found anymore?
>
> Apparently these are old PFB-format PostScript fonts. xdv2pdf (being
> based on Mac OS X graphics) can't use those directly, so it attempts
> to convert them to an sfnt-packaged format, but this conversion is
> failing.
>
> The simplest solution is probably to use the xdvipdfmx driver
> instead. If you're using TeXShop, enable the "xelatex-xdvipdfmx"
> engine (move it from ~/Library/TeXShop/Engines/Inactive/XeTeX/XeLaTeX-
> xdvipdfmx.engine to the main Engines folder) and choose this in place
> of the default XeLaTeX engine.
>
> JK
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex



Okay, I copied the file in the Engines Folder, but I don't know how to  
choose it then. Is this something I do in TeXShop or do I go to the  
command line?
I found out that this problem doesn't occur on my girfriend's Windows  
machine, so I guess the windows version uses xdvipdfmx as default...?
What's the disadvantage of xdvipdfmx over xdv2pdf, i.e. why is xdv2pdf  
default on the mac?

As I did not choose xdvipdfmx there is yet no change. I made some  
examples, one printing the characters I like and one with the whole  
unicode-xelatex stuff...

The ol style:
\documentclass{scrartcl}

\usepackage{yfonts}


\begin{document}
  \textfrak{M}
  \textswab{G}
\end{document}


And now the new style which doesn't work as I want:
TeXXeTstate=1 %braucht er für \beginR und \endR
\documentclass{scrartcl}

\usepackage{fontspec}% provides font selecting commands
\usepackage{xunicode}% provides unicode character macros
\usepackage{xltxtra} % provides some fixes/extras

\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Arial}
\setromanfont[Mapping=tex-text]{Times New Roman}
\setsansfont[Mapping=tex-text]{Skia}
\setmonofont{Courier}
\newfontfamily{\grk}    [Scale=MatchLowercase]{Gentium} % pick a font  
for Greek
\newfontfamily{\heb}{Ezra SIL} % and one for Hebrew
\usepackage{yfonts}


\begin{document}
öäüß\\
  {\grk Καλημέρα κόσμε   ὶ} \\
  \textfrak{M}
  \textswab{G}
  {\heb\beginR בֵניָמִן\endR}
   {\heb\beginR שלום עולם\endR}
\end{document}

This is its console output:

This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
  %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,  
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,  
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,  
finnish,
  french, greek, monogreek, ancientgreek, croatian, hungarian,  
interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,  
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,  
swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2006/07/30 v2.95b KOMA-Script document class  
(article)

(/usr/local/texlive/2007/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
                   Copyright (C) Markus Kohm

) (/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size11.clo)
(/usr/local/texlive/2007/texmf-dist/tex/latex/koma-script/typearea.sty
Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
                   Copyright (C) Frank Neukam, 1992-1994
                   Copyright (C) Markus Kohm, 1994-2002

)) (/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.tex))
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/lm/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/graphics/xetex.def)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/etex/etex.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fixltx2e.sty))
(/usr/local/texlive/2007/texmf-dist/tex/latex/yfonts/yfonts.sty) (./ 
test.aux)
[1] (./test.aux)exception: SimplePSInterpreterException  reason:  
condition in if is not a boolean

*** font activation failed (status=0): yfrak.pfb

*** font yfrak (yfrak-Regular: file 'yfrak.pfb') not found

*** font yfrak (yfrak.pfb) not found, will substitute Helvetica glyphs
exception: SimplePSInterpreterException  reason: condition in if is  
not a boolean

*** font activation failed (status=0): yswab.pfb

*** font yswab (yswab-Regular: file 'yswab.pfb') not found

*** font yswab (yswab.pfb) not found, will substitute Helvetica glyphs
  )
Output written on test.pdf (1 page).
Transcript written on test.log.

And here are the pdfs where you can see the results:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 24795 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080227/f3ae0e01/attachment-0001.pdf 
-------------- next part --------------



I hope I have provided you with all info you need...

btw: I guess I'll have to install bidi and polyglossa t have a nicer  
Hebrew output, right?

Thanks
De Benny


More information about the XeTeX mailing list