-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add options to add TeX libraries and add to the TeX preamble in the PGtikz.pl macro #541
Conversation
TikzImage.pm/PGtikz.pl macro. This makes that method more versatile.
Before patch:
After patch - no error from PG, but the image did not render for me.
so I installed: Still not working... but then I saw #432 (comment) and
to
and deleted the empty temporary file. Then a problem reload generated the image. We need to make instructions about editing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The additional features make sense and seem very useful.
Testing with the sample file was successful, once the prerequisite packages were installed and configuration settings made.
The attached problem will not work without this pull request. The issue that you are seeing with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I too needed to configure all the external programs in site.conf, but afterward, worked great.
I'll definitely use this as I am a big tikz user.
Additional Ubuntu packages: libcgi-pm-perl (for CGI::Cookie) libdbd-mariadb-perl (for alternate DB connector) iputils-ping (prevents ping during startup from failing) imagemagick (needed by openwebwork/pg#541) docker-compose.yml: * Set fixed container names (so names will not depend on name of directory where docker-compose is being run. * Sample lines to use some new sample DB config files + brief comments. * Sample line to make host /etc/localtime read-only available to the DB container. * Sample ulimits + timezone lines for the DB container. * Set the Docker container to mount the updated Lite.pm with the UTF-8 patch. * Sample lines to use either DB connector. Default remains the "old" DBD::mysql driver. * Modify the bottom "main" volumes section, so fixed persistant volumes are used for the OPL and the DB storage, regardless of the directory name where docker-compose is run.
This makes that method more versatile. For example, with this you can use the pgfplots package.
This was also something that was requested when the PGtikz.pl macro was originally introduced (see #432 (comment)).
You can test this with the attached pg file.
tikz-package-test.zip