I recently decided that I want my resume to look better than the result of libreoffice. I installed texlive from the default trixie repository, and it works for the very simplest cases. However, trying to render a template which depends on CurVe resulted in an error about missing sty files.
By installing texlive from source, and installing CurVe to the working directory, I was able to fix that problem. However, there is still an error, and it appears to be an error in apa.bbx, a downstream dependency that comes with texlive. The error is
Package keyval Error: usenarrator undefined.
I’m not sure what I can do about this. I’m not very experienced with latex, mostly just using the default style as a convenient way to format math. Would swapping it for html be a recommended solution? Is there a good way from the command line to export html to pdf?
I run the overleaf (formerly sharelatex) container stack locally and edit in a browser for the rare occasion. Had to patch up the containers a bit but it still seems like less trouble than setting up a proper latex cli env with all the plugins and stuff.
Did you install the texlive-full package? It would include the curve package by default.
As tal said, if you don’t have a settings.sty that document won’t compile.
If you’re new to latex, you should get a simpler resume template. That one seems unnecessarily complicated. I haven’t ever used the curve package but there’s gotta be a minimalist template out there that could be a better starting point.
Do you have an example LaTeX file that demonstrates the problem?
This template I got from the internet does, though this file is almost certainly not the problematic part.
Source %%%%%%%%%%%%%%% % This CV example/template is based on my own % CV which I (lamely attempted) to clean up, so that % it's less of an eyesore and easier for others to use. % % LianTze Lim ([email protected]) % 23 Oct, 2022 % 24 Aug, 2024 -- Updated X (Twitter) icon \documentclass[a4paper,skipsamekey,11pt,english]{curve} % Uncomment to enable Chinese; needs XeLaTeX % \usepackage{ctex} % Default biblatex style used for the publication list is APA6. If you wish to use a different style or pass other options to biblatex you can change them here. \PassOptionsToPackage{style=ieee,sorting=ydnt,uniquename=init,defernumbers=true}{biblatex} % Most commands and style definitions are in settings.sty. \usepackage{settings} % If you need to further customise your biblatex setup e.g. with \DeclareFieldFormat etc please add them here AFTER loading settings.sty. For example, to remove the default "[Online] Available:" prefix before URLs when using the IEEE style: \DefineBibliographyStrings{english}{url={\textsc{url}}} %% Only needed if you want a Publication List \addbibresource{own-bib.bib} %% Specify your last name(s) and first name(s) (as given in the .bib) to automatically bold your own name in the publications list. %% One caveat: You need to write \bibnamedelima where there's a space in your name for this to work properly; or write \bibnamedelimi if you use initials in the .bib % \mynames{Lim/Lian\bibnamedelima Tze} %% You can specify multiple names like this, especially if you have changed your name or if you need to highlight multiple authors. See items 6–9 in the example "Journal Articles" output. \mynames{Lim/Lian\bibnamedelima Tze, Wong/Lian\bibnamedelima Tze, Lim/Tracy, Lim/L.\bibnamedelimi T.} %% MAKE SURE THERE IS NO SPACE AFTER THE FINAL NAME IN YOUR \mynames LIST % Change the fonts if you want \ifxetexorluatex % If you're using XeLaTeX or LuaLaTeX \usepackage{fontspec} %% You can use \setmainfont etc; I'm just using these font packages here because they provide OpenType fonts for use by XeLaTeX/LuaLaTeX anyway \usepackage[p,osf,swashQ]{cochineal} \usepackage[medium,bold]{cabin} \usepackage[varqu,varl,scale=0.9]{zi4} \else % If you're using pdfLaTeX or latex \usepackage[T1]{fontenc} \usepackage[p,osf,swashQ]{cochineal} \usepackage{cabin} \usepackage[varqu,varl,scale=0.9]{zi4} \fi % Change the page margins if you want % \geometry{left=1cm,right=1cm,top=1.5cm,bottom=1.5cm} % Change the colours if you want % \definecolor{SwishLineColour}{HTML}{00FFFF} % \definecolor{MarkerColour}{HTML}{0000CC} % Change the item prefix marker if you want % \prefixmarker{$\diamond$} %% Photo is only shown if "fullonly" is included \includecomment{fullonly} % \excludecomment{fullonly} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \leftheader{% {\LARGE\bfseries\sffamily Your Name Here, Ph.D.} \makefield{\faEnvelope[regular]}{\href{mailto:[email protected]}{\texttt{[email protected]}}} % fontawesome5 doesn't have the X icon so we use % the simpleicons package here instead; but some % font size adjustment might be needed \makefield{{\scriptsize\simpleicon{x}}}{\!\href{https://x.com/overleaf_example}{\texttt{@overleaf\_example}}} \makefield{\faLinkedin} {\href{http://www.linkedin.com/in/example/}{\texttt{example}}} %% Next line \makefield{\faGlobe}{\url{http://example.example.org/}} % You can use a tabular here if you want to line up the fields. } \rightheader{~} \begin{fullonly} \photo[r]{photo} \photoscale{0.13} \end{fullonly} \title{Curriculum Vitae} \begin{document} \makeheaders[c] \makerubric{employment} \makerubric{education} % If you're not a researcher nor an academic, you probably don't have any publications; delete this line. %% Sometimes when a section can't be nicely modelled with the \entry[]... mechanism; hack our own and use \input NOT \makerubric \input{publications} \makerubric{skills} \makerubric{misc} \makerubric{referee} % \input{referee-full} \end{document}I’ve always just written single-file LaTeX, but it looks like the settings.sty failure you’re getting is because of this:
% Most commands and style definitions are in settings.sty. \usepackage{settings}By installing texlive from source, and installing CurVe to the working directory, I was able to fix that problem.
I’m not sure how this would resolve the issue — I’d think that you’d still need
settings.sty. It looks to me like Debian trixie packages CurVe in texlive-pictures, so I don’t think that you need to manually install texlive or CurVe from source:$ apt-file search curve.cls texlive-pictures: /usr/share/texlive/texmf-dist/tex/latex/curve/curve.cls $ apt show texlive-pictures [snip] curve -- A class for making curriculum vitae [snip] $ sudo apt install texlive texlive-pictures [snip] $ pdflatex test.tex [snip] ! LaTeX Error: File `settings.sty' not found.I think that that example CV you have is missing some of the LaTeX source, the stuff that’s in its
settings.sty. Like, it might not be the best starting point, unless you’ve resolved that bit.EDIT: If you just want a functioning CurVe example, I can render this one:
https://github.com/ArwensAbendstern/CV-LaTeX/tree/master/simple CurVe CV English
Need to download CV.ltx and experience.ltx. Then
$ pdflatex CV.ltxrenders it to a PDF for me.
I’d ditch latex and use typst


