fchauvel / flap

Flattening LaTeX projects
https://fchauvel.github.io/flap
GNU General Public License v3.0
17 stars 2 forks source link

Appropriate re-naming of files #14

Closed steven-murray closed 7 years ago

steven-murray commented 8 years ago

Last issue --

I often have files with the same names in different subdirectories (eg. I include two files with name appendix.tex from two different chapters). The way things are named now, one will overwrite the other when they are moved to the same directory. The obvious way around this is to rename things with their directory structure in the filename, so eg. chapter/figures/figure.pdf goes to chapter-figures-figure.pdf. Would that make sense to do?

fchauvel commented 8 years ago

Hehe, nice edge case ;-) I confirm that my test suite does not cover this one. I think the renaming you propose make sense. from the top of my head, implementing something like should be feasible in one week.

fchauvel commented 7 years ago

I close this issues as FLaP v0.4.0 addresses it. Let me know if you face further problems.