OK.

Something that Linux, OS X and Windows all share is the concept of
'environmental variables' - these are variables whose content specify
certain locations or otherwise customize the behavior of programs. As a
Unix-style operating system, OS X uses Unix environmental variables.

To see all the environmental variables on your machine, use this command in
the Terminal:

set

You'll get a list of these variables. One of them will say:

HOME=/Users/justinJustin

That's your home directory in the OS X file structure. When you set up your
account you were asked to specify your full name and also an account name.
The latter was used for the name of your home directory.

~/ is Unix shorthand for the home directory in any account, so on your
machine, when you're logged into your account, ~/ and /Users/justinJustin
mean the same thing. Saves on typing.

Keep in mind that MacTeX is just a version of TeX Live adapted to the
peculiarities of OS X. There are configuration variables (not Unix
environmental variables) that are specific to your installation of TeX
Live. This command:

kpsewhich -var-value TEXMFHOME

uses a command line utility that was installed as part of TeX Live to find
what the variable TEXMFHOME is set to in your installation.

For more information, refer to section 2.3 Overview of the predefined texmf
trees, in The Tex Live Guide-2013:

http://www.tug.org/texlive/doc/texlive-en/texlive-en.html

That documentation should also be part of your MacTeX installation. I keep
this link:

file:///usr/local/texlive/2013/readme-html.dir/readme.en.html

bookmarked in Safari. It will take you to your local copy of 'Welcome to
TeX Live' which contains links to your local documentation.

You may have noticed that I use both 'directory' and 'folder'. 'Directory'
is Unix-speak for what most now call a 'folder'. I'm in the habit of using
'folder' when I'm in the GUI and/or dealing with people who know nothing
about the Terminal or the other Unix underpinnings of OS X. I use
'directory' when I'm at the command line.

And yes, create the folder (or directory) 'texmf' in your home folder and
put your xexexCV.cls file in it.

-- Rich




On Sat, Jan 4, 2014 at 2:34 PM, justin <justina...@yahoo.com> wrote:

> Richard Talley <rich.talley <at> gmail.com> writes:
>
> >
> >
> >
> > Sorry, you're probably are looking in the right place, my bad.
> >
> >
> >
> > In the Terrminal, use this command:
> >
> >
> > kpsewhich -var-value TEXMFHOME
> >
> >
> > If the result is something like this:
> >
> > /Users/justin/Library/texmf
> >
> >
> >
> > (where 'justin' is the name of your home directory)
> >
> >
> >
> > But the 'termf' directory doesn't exist, try creating it and then put the
> xetexCV.cls file in it. LyX should see it.
> >
>
> Hi Rich,
> I did that in my terminal, and it says this:
> Justins-MacBook-Pro:~ justinJustin$ kpsewhich -var-value TEXMFHOME
> /Users/justinJustin/Library/texmf
> Justins-MacBook-Pro:~ justinJustin$
>
> I do not know what that means. But like I said when I go to that library
> folder I do not see any texmf folder. Does this mean it exists or not?
> Should I create one?
>
> Thanks!
>
>
>
>

Reply via email to