mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
fix(05-cv-templates): write snippet date fields with ASCII hyphens (#599)
Three date values in 05-cv-templates.md are copied straight into a CV, and
all three carried the en-dash the same file forbids:
- the in-progress-qualification snippet wrote \cventry{2025--2026}
- the \needspace snippet wrote \cventry{YEAR--YEAR}
- the in-progress section offered a date field of 2025-present with U+2013
LaTeX ligatures `--` into U+2013, so an assistant following the file produced
exactly what "Date fields must be ASCII ranges" rules out 130 lines further
down, and what /apply Step 5d then rejects. Inserting the in-progress snippet
as shipped into cv/main_example.tex and compiling with lualatex makes
tools/verify_pdf.py --ascii-dates exit 1 ("U+2013 in '... 2025-2026'"); the
unmodified template passes, and with the snippet fixed it passes again at the
same 2 pages.
these snippets predate it (#210) and were left behind. The deliberate negative
example (% en-dash, may not) and the illustrations of the forms --ascii-dates
catches are unchanged.
Found while drafting a tailored CV with an in-progress qualification, where
the snippet was followed verbatim.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7fe4ea3781
commit
baf8c68e53
2 files changed
+19
-4
No files matched your search
@@ -1,5 +1,5 @@
|
||||
---
|
||||
framework_version: 1.4.6
|
||||
framework_version: 1.4.7
|
||||
---
|
||||
|
||||
# CV Templates and Tailoring Guide
|
||||
@@ -164,12 +164,12 @@ Use the posting's own core term in the matching bullet's bold label when it trut
|
||||
State completion inside the entry itself:
|
||||
|
||||
```latex
|
||||
\item{\cventry{2025--2026}{[Degree], [Field]}{[Institution]}{[Location]}{}{\vspace{1pt}
|
||||
\item{\cventry{2025-2026}{[Degree], [Field]}{[Institution]}{[Location]}{}{\vspace{1pt}
|
||||
In progress, expected [Month Year]. [Relevant topics]
|
||||
}}
|
||||
```
|
||||
|
||||
Any consistent form works: `In progress, expected <Month Year>.` / `Expected completion <Month Year>.` / a date field of `2025–present`.
|
||||
Any consistent form works: `In progress, expected <Month Year>.` / `Expected completion <Month Year>.` / a date field of `2025-present`.
|
||||
|
||||
Claiming a credential not yet held is a factual misstatement, and it is the kind discovered at transcript or reference check rather than at interview. It costs nothing to prevent. The same applies to in-progress certifications and courses.
|
||||
|
||||
@@ -254,7 +254,7 @@ After writing the CV and before presenting to the user, always compile and visua
|
||||
Add `\needspace{5\baselineskip}` immediately before the problematic `\cventry`:
|
||||
```latex
|
||||
\needspace{5\baselineskip}
|
||||
\item{\cventry{YEAR--YEAR}{Role Title}{Organization}{Location}{}{...}}
|
||||
\item{\cventry{YEAR-YEAR}{Role Title}{Organization}{Location}{}{...}}
|
||||
```
|
||||
Include `\usepackage{needspace}` in the preamble.
|
||||
|
||||
|
||||
Reference in new issue
Block a user