I hope you take time reading my post...hehehhee
I am making a resume using Latex. I downloaded a Latex resume template zip file from a site and tried to make a PDF file using Texmaker just to make sure that the tex files in the downloaded Latex resume template zip files looks OK when I will modify it in the future.
The site looks like this as shown below:
When I got the Latex resume template zip file on a latex resume template I liked, I unzipped it and put it in the laptop. Now I have the tex files which will be used to create my own Latex resume.
When I tried to create a PDF file using the tex files I downloaded from the Internet, I got an error message as shown in the red circle on the picture below.
OK. Texmaker said I don't have the file called "XCharter.sty", so I raided the Internet. I Googled the term "XCharter.sty latex download" and found something I need. I looked and found this cite (https://ctan.org/tex-archive/fonts/xcharter?lang=en) and it looks like as shown below:
I downloaded the contents of the XCharter package from that CTAN website as shown in the red circle above and unzipped it in my laptop. Now...the next thing I want to do is to make the "XCharter" package be recognized by the MikTex distribution I used as shown in the red circle. I want the "XChapter" package installed in the computer and be recognized by the MikTex. The MikTex distribution I currently use is shown below in red circle:
The question is:
How to install "XCharter.sty" file on my laptop?
I tried to install the "XCharter.sty" on my laptop based from the ways of others and faithfully following the instructions.
I looked at the answer for the question and I followed the answer step by step after I read this thread How can I manually install a package on MiKTeX (Windows)
Looking at steps below:
Now following the Step 1 in installing a sty file:
It said that I had to create the so-called "local texmf tree" in MikTex, so I followed it. I read it in this thread (Create a local texmf tree in MiKTeX). The steps on how to create the "local texmf tree" in MikTex were shown below...
Step 1 TO CREATE "local texmf tree" in MikTex:
Enlarged version of encircled Step 1:
The answerer said that I should not put a folder in the MikTex folder. This new folder must not be a subfolder of the MikTex distribution, so I put this new folder (I named it "localtexmf") next to the MikTex folder as shown below, encircled in red. This folder must be on the same drive as the MikTex folder as shown below.
I wasn't able to follow the part where the folder must be "TDS compliant" because when I read the link "A Directory Structure for TeX Files" (from the website http://tug.org/tds/tds.html), I didn't understand it. I just thought that putting the localtexmf folder next to the MikTex folder without knowing whether the localtexmf folder is TDS compliant would complete the Step 1 to create the "local texmf tree" in MikTex. I don't know if I did it right on Step 1.
Step 2 TO CREATE "local texmf tree" in MikTex:
Enlarged version of encircled Step 2:
I read the Step 1 in using the MikTex GUI but I'm not sure if the GUI it refers to is the MikTex GUI I had, so I couldn't follow. The MikTex GUI I had looks like this as shown below:
When I read the Step 2 in using the MikTex GUI, it went smoothly. I was able to add a root directory. It looks like this as shown below:
When I read the Step 3 in using the MikTex GUI, it went smoothly. I was able follow directions. It looks like this as shown below:
And now that concludes the Step 1 in installing the sty files: Creating a new directory with the package name in a local texmf directory structure.
Now following the Step 2 in installing a sty file:
Hmmm...all I had is this file, which is I downloaded from the CTAN website. The downloaded file looks like this, shown in red circle below:
After I unzipped the file, xcharter becomes a folder as shown in the red circle:
Now looking at the xcharter folder's files inside, we see the file folders inside the xcharter folder as shown below:
After searching the elusive "xcharter.sty" file in the folders created by unzipping the "xcharter" ZIP file, I don't see any "xcharter.sty" file within the "xcharter" ZIP file.
I'm stuck at Step 2, which is to copy the sty files in the newly-created directory, because I don't see any "xcharter.sty" file from the the unzipped "xcharter" ZIP file.
I'm pretty frustrated now because installing the "xcharter.sty" isn't straightforward and easy and the ways that were used to install MikTex package seems inapplicable to me.
How to download and install the "xcharter.sty" on a particular machine? especially on my laptop?