-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
check_latex can't find pg.sty #2543
Comments
I confirm on the two 2.19 servers that I checked, that I get the same error about |
The addition of the requirement of PG files for hardcopy (namely the `pg.sty` file), means that the `check_latex` script needs to know where the pg directory is. So find that the same way the webwork2 app does. This fixes issue openwebwork#2543.
The addition of the requirement of PG files for hardcopy (namely the `pg.sty` file), means that the `check_latex` script needs to know where the pg directory is. So find that the same way the webwork2 app does. This fixes issue openwebwork#2543.
When I check this on my production servers (PCC and RS) |
You probably have the |
By the way, when @dlglin first posted this issue and I tested it, I saw the same thing. Then I |
The addition of the requirement of PG files for hardcopy (namely the `pg.sty` file), means that the `check_latex` script needs to know where the pg directory is. So find that the same way the webwork2 app does. This fixes issue openwebwork#2543.
The addition of the requirement of PG files for hardcopy (namely the `pg.sty` file), means that the `check_latex` script needs to know where the pg directory is. So find that the same way the webwork2 app does. This fixes issue openwebwork#2543.
The addition of the requirement of PG files for hardcopy (namely the `pg.sty` file), means that the `check_latex` script needs to know where the pg directory is. So find that the same way the webwork2 app does. This fixes issue openwebwork#2543.
The addition of the requirement of PG files for hardcopy (namely the `pg.sty` file), means that the `check_latex` script needs to know where the pg directory is. So find that the same way the webwork2 app does. This fixes issue openwebwork#2543.
When I run
check_latex
I get "! LaTeX Error: File `pg.sty' not found."A bit of digging shows that the value of
$ce->{pg}{directories}{assetsTex}
is "/assets/tex", which is not correct.I believe that the problem is that
$pg_dir
is defined in webwork2.mojolicious.yml (or the .dist version), but when a WW CE is invoked from the command line the mojolicious config is not loaded, so$pg_dir
is never set, which means that any paths that are built from that will be incorrect.If I'm right this means that
check_latex
won't work for anyone in 2.19. Can someone confirm whether it works for them?The text was updated successfully, but these errors were encountered: