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

Tikz -- proof of concept only -- don't pull into develop (yet) on openwebwork #292

Closed
wants to merge 7 commits into from

Conversation

mgage
Copy link
Member

@mgage mgage commented Dec 31, 2016

This is pull request illustrates proof of concept for rendering tikz code within a WeBWorK project.

This branch is NOT ready for prime time and should not be pulled into develop(yet). We've place it here so you can take a look at it as it is developed. You can pull it into your local instances of WeBWorK ( split off from the develop branch) and see what you think of it.

There are two example problems in pg/t/tikz_test that show how it is used (at present). The user front end will probably change significantly as we get feedback.

$path = tikz_graph(<<END_TIKZ);
\begin{tikzpicture}[main_node/.style={circle,fill=blue!20,draw,minimum size=1em,inner sep=3pt]}] 
\draw (-4,0) -- (4,0);
\draw (0,-2) -- (0,2);
\draw (0,0) circle (1.5);
\draw (0, 1.5) node[anchor=south]{N} -- (2.5,0)node [above]{y};
\draw (1.2,0.9) node[right]{\((\vec x, x_{n})\)};
\end{tikzpicture}
END_TIKZ

This is work of Mike Gage and Peter Peluso at U. of Rochester, based on the initial perl script developed by Mathew Vassair working under the direction of Dr. Sternin and Dr. D'Agostino at Brock University.

mgage added 7 commits December 3, 2016 23:25
tikz_test1.pg and tikz_test2.pg to t/   directory
…pg uses BEGIN_PGML/END_PGML

tikz_test2.pg has other improvements as well
Remove set_command_line() subroutine — this is supposed to be replaced by referring to site.conf
updated the test files in t/tikz_test
drgrice1 added a commit to drgrice1/pg that referenced this pull request Sep 11, 2019
This builds on the work of Michael Gage and Peter Peluso (and others?)
in PG openwebwork#292.
Care is taken to ensure that the command line is not exposed.
I have updated the examples in pg/t/tikz_test for its usage as I have
implemented it.
@mgage mgage added this to the PG-2.16 milestone Sep 25, 2019
drgrice1 added a commit to drgrice1/pg that referenced this pull request Sep 26, 2019
This builds on the work of Michael Gage and Peter Peluso (and others?)
in PG openwebwork#292.
Care is taken to ensure that the command line is not exposed.
I have updated the examples in pg/t/tikz_test for its usage as I have
implemented it.
drgrice1 added a commit to drgrice1/pg that referenced this pull request Sep 26, 2019
This builds on the work of Michael Gage and Peter Peluso (and others?)
in PG openwebwork#292.
Care is taken to ensure that the command line is not exposed.
I have updated the examples in pg/t/tikz_test for its usage as I have
implemented it.
drgrice1 added a commit to drgrice1/pg that referenced this pull request Oct 6, 2019
This builds on the work of Michael Gage and Peter Peluso (and others?)
in PG openwebwork#292.
Care is taken to ensure that the command line is not exposed.
I have updated the examples in pg/t/tikz_test for its usage as I have
implemented it.
@taniwallach
Copy link
Member

I suspect that this PR is no longer needed.
We already merged #432 .

@mgage - Can this be closed?

@mgage
Copy link
Member Author

mgage commented May 19, 2020

I believe you are correct @taniwallach .

@mgage mgage closed this May 19, 2020
drgrice1 added a commit to drgrice1/pg that referenced this pull request Aug 21, 2020
This builds on the work of Michael Gage and Peter Peluso (and others?)
in PG openwebwork#292.
Care is taken to ensure that the command line is not exposed.
I have updated the examples in pg/t/tikz_test for its usage as I have
implemented it.
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

Successfully merging this pull request may close these issues.

2 participants