aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--README.md9
-rw-r--r--resume.cls6
3 files changed, 14 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index eb8c192..f1b3a02 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,6 @@ PDFCAT:= resume-zh+en.pdf
DATE= $(shell date +%Y%m%d)
DISTDIR= resume.$(DATE)
-# Environment variables
-TEXINPUTS:= .:fontawesome5:$(TEXINPUTS)
-
all: $(PDFCAT)
en: resume-en.pdf
zh: resume-zh.pdf
@@ -19,11 +16,8 @@ $(PDFCAT): $(PDFS)
-sOutputFile=$@ \
$(PDFS)
-resume-zh.pdf: resume-zh.tex $(DEPS)
- env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $<
-
-resume-en.pdf: resume-en.tex $(DEPS)
- env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $<
+%.pdf: %.tex $(DEPS)
+ latexmk -xelatex $<
dist: all
mkdir $(DISTDIR)
diff --git a/README.md b/README.md
index 8dbeea8..b95ab4a 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,14 @@ Usage
Font Awesome 5
--------------
+**NOTE**:
+The [fontawesome5 package](https://www.ctan.org/pkg/fontawesome5) from CTAN
+is used, which is more advanced and bundles with the font files.
+
+The original [fontawesome5](fontawesome5/) contents are now obsolete but kept
+for reference.
+
+<blockquote>
I wrote a simple tool [`make-fontawesome5.py`](fontawesome5/make-fontawesome5.py),
which will download the latest icon list from the
[Font Awesome](https://github.com/FortAwesome/Font-Awesome) project
@@ -67,6 +75,7 @@ i.e., the following 3 OTF files are needed:
* `Font Awesome 5 Free-Regular-400.otf`
* `Font Awesome 5 Free-Solid-900.otf`
* `Font Awesome 5 Brands-Regular-400.otf`
+</blockquote>
Required Fonts
--------------
diff --git a/resume.cls b/resume.cls
index 4c08ff9..67b3bbd 100644
--- a/resume.cls
+++ b/resume.cls
@@ -12,7 +12,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%
-\ProvidesClass{resume}[2020/06/21 v2.4.9 Resume Class]
+\ProvidesClass{resume}[2023/02/03 v2.5.0 Resume Class]
\LoadClass{article}
%%
@@ -110,7 +110,7 @@
\newcommand*{\mailSymbol}{\faAt}
\newcommand*{\mobileSymbol}{\faPhone} % \faMobilePhone is too narrow
\newcommand*{\linkedinSymbol}{\faLinkedin}
-\newcommand*{\locationSymbol}{\faMapMarkerAlt}
+\newcommand*{\locationSymbol}{\faMapMarker*}
\newcommand*{\phoneSymbol}{\faPhone}
\newcommand*{\universitySymbol}{\faUniversity}
@@ -507,7 +507,7 @@
\textbf{#1} &
\foreach \x in {1,...,5}{%
\color{accentcolor!80}{%
- \ifnumgreater{\x}{#2}{\faCircleNotched}{\faCircle}
+ \ifnumgreater{\x}{#2}{\faCircleNotch}{\faCircle}
}
} \enspace \\
}