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.
Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
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 (liantze@gmail.com)
% 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:example@gmail.com}{\texttt{example@gmail.com}}}
% 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%20CurVe%20CV%20English
Need to download CV.ltx and experience.ltx. Then $ pdflatex CV.ltx renders it to a PDF for me.
I'd ditch latex and use typst