[OS X TeX] Color in Koma letter docs under TL-2010
Rob Rye
rowenrye at gmail.com
Mon Sep 27 16:06:25 EDT 2010
Hi Steve,
Obviously, I don't have the proprietary YaleAdmin fonts. Nonetheless, when I substituted in a different font (I used Fontin) and ran your code under TL-2010 it yielded the blue header as per the code's specifications. The bug appears to be local to your machine. Unfortunately, I lack the expertise to offer any more advice than Alan already did (re - updating via TLU). The console yields no more useful information on my end, given that it shows many of the same error messages I ignore when using KOMA-script to generate an American-style letter.
Rob
On Sep 27, 2010, at 9:59 AM, Stephen Anderson wrote:
>> Date: Fri, 24 Sep 2010 18:34:33 -0400
>> From: Alan Munn <amunn at gmx.com>
>> Subject: Re: [OS X TeX] Color in Koma letter docs under TL-2010
>> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
>> Message-ID: <717230B9-4233-4DC6-97A7-E506F42B41C5 at gmx.com>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>>
>> Hi Steve, I don't use scrlttr2 for letters, and trying to put your
>> code into a minimal document produced lots of errors. But when I
>> pushed through the errors, it finally spat out the letterhead in blue.
>>
>> Could you post a minimal example document with your letterhead that
>> doesn't work?
>
> Here's one. I can quite reliably switch between blue header (correct) and black (incorrect) by switching between TL-2209 and TL-2010 in the TeX distribution manager:
>
> %!TEX TS-program = XeLaTeX-xdv2pdf
> \documentclass[fontsize=12pt,paper=letter,fromalign=left,backaddress=false,parskip=half]{scrlttr2}
> \usepackage[T1]{fontenc}
> \usepackage{textcomp}
> \usepackage{fontspec}
> \usepackage{xunicode}% provides unicode character macros
> \usepackage{xltxtra} % provides some fixes/extras
> \usepackage{fontspec,xltxtra,xunicode}
> \defaultfontfeatures{Mapping=tex-text}
> \setmainfont[ItalicFont={YaleAdmin-Italic},BoldFont={YaleAdmin-BoldRoman},BoldItalicFont={YaleAdmin-BoldItalic},SmallCapsFont={YaleAdmin-SmallCap}]{YaleAdmin}
> \newfontfamily\headingfont[Mapping=tex-text,ItalicFont={YaleDesign-Italic},BoldFont={YaleDesign-BoldRoman}]{YaleDesign}
> \usepackage{color}
> \definecolor{Yale-blue}{rgb}{.012,.184,.388}
> \KOMAoptions{fromalign=right,fromlogo=true,foldmarks=false}
> \setkomavar{fromlogo}{\color{Yale-blue} \parbox{3in}{\headingfont\Huge {Yale University} \vspace{1.5in}}}
> \setkomavar{fromaddress}{\headingfont\color{Yale-blue} \scriptsize \ \\ \ \\ \ \\
> \parbox{2in}{\flushleft \itshape \ {Department of Linguistics}\\
> \ {370 Temple Street}\ \\
> \ {P.O.\ Box 208366}\\
> \ {New Haven, Connecticut 06520-8366}\\
> \ \\
> \ {Telephone: 203.432.2456}\\
> \ {Email:sra at yale.edu}}}
> \setkomavar{signature}{Stephen R. Anderson}
> \makeatletter
> \@setplength{sigindent}{0in}
> \makeatother
> \renewcommand{\raggedsignature}{\raggedright} % make the signature
> \begin{document}
> \begin{letter}{Addressee}
> \opening{To Whom It May Concern:}
> Foo Far Bahz.
> \closing{Sincerely yours,}
> \end{letter}
> \end{document}
>
>> Also, did you run TL Utility to update all the packages to the most
>> recent versions after installing TL2010?
>
> Yup.
>
> Thanks for any help,
>
> --
>
> Steve Anderson
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
More information about the MacOSX-TeX
mailing list