raphink / moderntimeline

A timeline package for moderncv
77 stars 15 forks source link

tllabelcventry is broken in 0.11 #24

Open Trefex opened 3 years ago

Trefex commented 3 years ago
\documentclass{moderncv}
\usepackage[firstyear=2000,lastyear=2025]{moderntimeline}
\moderncvstyle{classic}
\moderncvcolor{blue}
\name{John}{Doe}
\begin{document}
\makecvtitle
\tllabelcventry{2005}{2020}{end}{Scribus Student}{GNU School}{The Internet}{}{Tried Scribus for a short while}
\end{document}

Result

image

Expected result: No 2020 in the timeline, but only "end".

It works by doing

\tllabelcventry{2005}{2020}{end///}{Scribus Student}{GNU School}{The Internet}{}{Tried Scribus for a short while}

image

Thanks @exaexa for the "workaround".

raphink commented 3 years ago

Thanks for the report. We'll have to pinpoint when this behavior started.

Trefex commented 3 years ago

I think it started with the introduction of the /// behavior.

paulmenzel commented 3 years ago

@Trefex, do you have a link to that commit introducing the /// behavior?

Also, if using 0 as the end year, then it’s not placed below the timeline.

Trefex commented 3 years ago

@paulmenzel maybe this? https://github.com/raphink/moderntimeline/commit/327267b8cb89c689b96fcde6d8b2bb53195859da