daps icon indicating copy to clipboard operation
daps copied to clipboard

DAPS can't handle capitalized file extensions in image names (e.g. *.PNG)

Open ghost opened this issue 8 years ago • 1 comments

Problem description

I had some images named *.PNG instead of *.png. The images were capitalized correctly (i.e. with capital PNG) in the DocBook file that referenced them.

  • The images are missing in PDF and HTML output
  • daps list-images-missing showed them as missing

Expected behavior

DAPS should recognize images with capital-letter file extensions.

Steps to reproduce the behavior

Try to feed DAPS images with ugly capitalized file extensions...

ghost avatar Jan 03 '18 14:01 ghost

I do not see any reason to fix this - filenames on Linux are case-sensitive and therefore *.PNG is the wrong file extension. Why not fixing the file name(s)?

I admit that the error message is not ideal and will therefore keep this issue open. Maybe it's easier to accept uppercase suffixes than fixing the error message...

fsundermeyer avatar Mar 09 '18 10:03 fsundermeyer

Will not be fixed, but should be properly documented.

fsundermeyer avatar Nov 03 '22 17:11 fsundermeyer

Fixed with 6e97f73

fsundermeyer avatar Nov 04 '22 10:11 fsundermeyer