WeBWorK Main Forum

Hardcopy generation for image files with a '.' in the file name

Hardcopy generation for image files with a '.' in the file name

by Sean Fitzpatrick -
Number of replies: 2
I just ran into the following issue while trying to generate a hard copy for a problem set: the problem
/Library/Valdosta/APEX_Calculus/4.2/APEX_4.2_6.pg

pulls in an image that is named APEX_4.2_6.jpg.

The pdflatex compiler interprets the file extension as 2_6.jpg since it assumes the extension begins with the first . and it fails.

Can anyone suggest a workaround if I want to use this problem?
In reply to Sean Fitzpatrick

Re: Hardcopy generation for image files with a '.' in the file name

by Andras Balogh -
I think all solutions require saving a local copy of the question, which means you might as well just move the image into your local directory after you rename it without having extra period in the file name. And maybe submit a bug report.
In reply to Andras Balogh

Re: Hardcopy generation for image files with a '.' in the file name

by Sean Fitzpatrick -
Thanks. I'll send a bug report.
I considered making a new version with a different file name, but in the past we've found it took a bit of work to track down the location of an image on the server and then figure out where in the local directory it needed to be.