Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions assets/tex/CAPA.tex

This file was deleted.

1 change: 0 additions & 1 deletion assets/tex/pg.sty
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
\fi

% PG macro collections
\input{CAPA.tex}
\input{PGML.tex}

% The macro alternatives for < should be used in math in PG problems to help
Expand Down
7 changes: 0 additions & 7 deletions conf/pg_config.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ directories:
- .
- $pg_root/macros
- $pg_root/macros/answers
- $pg_root/macros/capa
- $pg_root/macros/contexts
- $pg_root/macros/core
- $pg_root/macros/graph
Expand Down Expand Up @@ -145,12 +144,6 @@ specialPGEnvironmentVars:
#Rserve:
# host: localhost

# Locations of CAPA resources. (Only necessary if you need to use converted CAPA problems.)
CAPA_Tools: $Contrib_dir/CAPA/macros/CAPA_Tools/
CAPA_MCTools: $Contrib_dir/Contrib/CAPA/macros/CAPA_MCTools/
CAPA_GraphicsDirectory: $Contrib_dir/Contrib/CAPA/CAPA_Graphics/
CAPA_Graphics_URL: $pg_root_url/CAPA_Graphics/

# Answer evaluatior defaults
ansEvalDefaults:
functAbsTolDefault: 0.001
Expand Down
2 changes: 1 addition & 1 deletion lib/PGloadfiles.pm
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ sub loadMacros {
}
my $macro_file_name = $fileName;
$macro_file_name =~ s/\.pl//; # trim off the extension
$macro_file_name =~ s/\.pg//; # sometimes the extension is .pg (e.g. CAPA files)
$macro_file_name =~ s/\.pg//; # sometimes the extension is .pg
my $init_subroutine_name = "_${macro_file_name}_init";
$init_subroutine_name =~ s![^a-zA-Z0-9_]!_!g; # remove dangerous chars

Expand Down
10 changes: 4 additions & 6 deletions lib/WeBWorK/PG/IO.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ our $pg_envir;

=head2 includePGtext

This is used in processing some of the sample CAPA files and in creating aliases
to redirect calls to duplicate problems so that they go to the original problem
instead. It is called by includePGproblem.
This is used in creating aliases to redirect calls to duplicate problems so that
they go to the original problem instead. It is called by includePGproblem.

Usage: C<includePGtext($str)>

Expand Down Expand Up @@ -77,9 +76,8 @@ Read the contents of a pg file.
Usage: C<read_whole_problem_file($filePath)>

Don't use for huge files. The file name will have .pg appended to it if it
doesn't already end in .pg. This is used in importing additional .pg files as
is done in the sample problems translated from CAPA. Returns a reference to a
string containing the contents of the file.
doesn't already end in .pg. This is used in importing additional .pg files.
Returns a reference to a string containing the contents of the file.

=cut

Expand Down
3 changes: 1 addition & 2 deletions macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
This directory now has a subdirectory structure for clarification.

- **answers** answer and evaluator macros
- **capa** any CAPA related macros
- **contexts** context related macros
- **core** macros related to core PG functionality
- **deprecated** macros that have been labelled deprecated
Expand Down Expand Up @@ -178,7 +177,7 @@ This directory now has a subdirectory structure for clarification.
## Macros fixed

- `math/algebraMacros.pl` (removed all code, already in `customizeLaTeX.pl`)
- `parsers/parserUtils.pl` (removed loadMacros call due to errors. )
- `parsers/parserUtils.pl` (removed loadMacros call due to errors.)
- `contexts/contextFiniteSolutionSets.pl` (fixed warnings)
- `contexts/contextLimitedRadicalComplex.pl` (fixed warnings)
- `contexts/contextRationalExponent.pl` (fixed warnings)
Expand Down
208 changes: 0 additions & 208 deletions macros/capa/PG_CAPAmacros.pl

This file was deleted.

36 changes: 0 additions & 36 deletions macros/capa/StdConst.pg

This file was deleted.

Loading