I am using the Chronosys package to create a timeline for a project I am working on. When I add a \chronoperiode{start}{end}{name}, and have integer values for start and end, everything works fine. However, if my start or end value is a specific date, like 1/1/1100 or the first of January 1100 I get the error "Missing number, treated as zero". I have tried my usual Tex editor of MiKTeX with VSCode, and overleaf however both produce the same error. I have also checked if the dates themselves are producing the issue, however if I give them to a \chronoevent{date}{label} they work just fine. Here is my minimal code that produces the error:
\documentclass{article}
\usepackage{chronosys}
\begin{document}
Hello \LaTeX{} World
\startchronology
\chronoperiode{10}{1000}{Test with integer dates}
\chronoperiode{1/1/1000}{1/1/1500}{Test with specific dates}
\endchronology
\end{document}
If you put a % before the second period, it compiles, however once you remove it you should get the error. All help is appreciated.
\end document->\end{document}. – dexteritas Oct 06 '22 at 13:51chronoperiodeonly works with years as parameter. For a large period of time, the difference would not be visible anyway.\chronoeventcan also have a specific date as parameter. See manual ofchronosys. – dexteritas Oct 06 '22 at 14:00minimalfor examples - it isn't what it is meant for. See https://tex.stackexchange.com/questions/125548/how-to-specify-start-and-end-date-of-chronoperiode-in-a-dd-mm-yyyy-format?rq=1. Your best option is to use a different package or draw it in tikz. Alternatively, you could emailchronosys's author, who has sometimes spun modified versions for users who ask. The chances of anybody else modifyingchronosysfor you are slim. – cfr Jul 08 '23 at 03:13