[texhax] Latvian Special Characters

Daniel Greenhoe dgreenhoe at gmail.com
Mon Mar 17 12:48:39 CET 2014


> ... although I'm not looking
> forward to manually installing new fonts on my system due to time
> constraints at the moment, otherwise I do not mind.

That is one of my points about XeLaTeX: You *don't* need to install
the fonts on your system, ... all you need to do is to *copy* them
into a directory. That is, the fonts can be "external" fonts, they
*don't* need to be installed fonts.

For me, I have a directory on my system called "xfonts" that I put my
downloaded external fonts in. In many or all cases, I give each font
its own subdirectory. Then in your .tex file, you can just reference
it's physical location on your system with something like this:

 \setmainfont[
   ExternalLocation, % specifies external font
   Path           = {/xfonts/lm2004/}, % specifies path
   Extension      = {.otf},
   Mapping        = /dan/r/common/teckit/punctuation, % maybe not
needed in your case
   UprightFont    = {*-regular}, % lmroman12-regular.otf
   BoldFont       = {*-bold}, % lmroman12-bold.otf
   ItalicFont     = {*-italic}, % lmroman12-italic.otf
   Scale          = {1.0},
   ]{lmroman12}

... where the downloaded fonts
   lmroman12-regular.otf
   lmroman12-bold.otf
   lmroman12-italic.otf
have been copied into the directory c:\xfonts\lm2004\

You can simply downloaded the 4Mbyte lm2.004otf.zip file from
   http://www.gust.org.pl/projects/e-foundry/latin-modern/download ,
unzip the contents in a directory <root>/xfonts/lm2004/ ,
and then you are all set to access the font. There is no other
necessary installation procedures. The entire setup takes maybe less
than 5 minutes.

On Mon, Mar 17, 2014 at 6:52 PM, Pascal <pascal.bernhard at belug.de> wrote:
> Hi Dan
>
> Am Monday, den 17.03.2014, 17:44 +0800 schrieb Daniel Greenhoe:
>> On Mon, Mar 17, 2014 at 4:34 PM, Pascal <pascal.bernhard at belug.de>
>> wrote:
>> > ... or just leave it at the incorrect g.
>> > My reviewers won't even notice :-D
>>
>> The point is that *you* notice. Writing is a form of art. And it is
>> somewhat likely that the thesis you are to submit with your name on it
>> will be on permanent (and possibly public) record until the end of
>> time. Of course it is your decision. But I think that jobs worth doing
>> are worth doing right (the first time if possible).
>
>
> You are right of course. This tiny little g keeps bugging me, otherwise
> I would not have asked about it on the mailing list.
>
> I will find some time rewriting my document so that it will work with
> xelatex. Hopefully, the KOMA-scrreprt document class won't get into the
> way.
>
> Your second example prints the correct g, although I'm not looking
> forward to manually installing new fonts on my system due to time
> constraints at the moment, otherwise I do not mind.
>
> Pascal
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org



More information about the texhax mailing list