I have looked for a solution for some time but not having found any similar case, I'll post it here.
I'm using the latex package pgfgantt to create some gantt charts. It works very well in my pc (both Linux and Windows). But I use overleaf to share my documents and it never compiles there with several errors. The solution I've been using for now is to generate static images for the gantts and import then import them as images but it's a tedious task I do not feel like doing everytime I edit the gantts.
Not sure if it's valid to post links to code, here is a small example: https://www.overleaf.com/read/vctdfktthsvv
From among the many errors I get, it appears their version doesn't like some of the options for the ganttchart (expand chart=\textwidth and time slot unit=month).
I'm guessing the problem is a different version of pgfgantt?
Is there a way to workaround it in a smarter way than what I've been doing? or, even better, to solve this issue?
Thanks!
Franco
pgfganttis more recent than Overleaf's (which is TeXLive 2017, I think). Just upload your copy ofpgfgantt.styto Overleaf and it will work. – Phelype Oleinik May 10 '19 at 17:56kpsewhich pgfgantt.sty. Another option is to download the package files from CTAN. – Phelype Oleinik May 10 '19 at 18:34