Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get chart #7

Open
palomnik opened this issue Apr 27, 2023 · 1 comment
Open

Cannot get chart #7

palomnik opened this issue Apr 27, 2023 · 1 comment

Comments

@palomnik
Copy link

palomnik commented Apr 27, 2023

I am using emacs on windows. This is a simple test file I am trying to render:

#+LATEX_HEADER: \usepackage{pgfgantt}

* IT-Projects
** Server Tuning
*** Memory Issues
SCHEDULED: <2023-04-18 Tue> DEADLINE: <2023-04-28 Fri>
*** PHP
*** Nginx
* IT System
** Website Audit System
*** Backup Audits
*** Website Audits
*** Security Audits

#+BEGIN: org-gantt-chart

#+END:

If I export to Latex/PDF I get the file nicely rendered as an outline, but no chart.

If I use org-gantt on the file, it creates the following after prompting me for a file:

#+BEGIN: org-gantt :file "c:/Users/stran/Dropbox/Notebooks/To Do/@Org/test" :imagemagick t :tikz-options "scale=1.5, every node/.style={scale=1.5}" :weekend-style "{draw=blue!10, line width=1pt}" :workday-style "{draw=blue!5, line width=.75pt}" :show-progress if-value :progress-source cookie-clocksum :no-date-headlines inactive :parameters "y unit title=.7cm, y unit chart=.9cm" :tags-group-style (("test" . "group label font=\\color{blue}") ("toast" . "group label font=\\color{green}")) :tags-bar-style (("test" . "bar label font=\\color{blue}") ("toast" . "bar label font=\\color{green}"))

#+END:

I cannot figure out how to get output from this.

If I can get this to work, I will be very happy!

@lorenzohess
Copy link

lorenzohess commented Sep 20, 2024

Hello, I believe the issue is that you should have #+BEGIN: org-gantt-chart instead of #+BEGIN: org-gantt. I also had this bug: after installing this package, org-insert-dblock:org-gantt-chart inserted the incorrect #+BEGIN: org-gantt.

Also, for those on Linux, you may need to enable the Imagemagick PDF conversion. On Debian, simply comment out the policy tags under <!-- disable ghostscript format types --> in /etc/ImageMagick-6/policy.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants