fchauvel / flap

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

number images consecutively #17

Open Ohjeah opened 7 years ago

Ohjeah commented 7 years ago

Some journals require you to map the figure filename to the figure number in text. Doing this automatically would be a great feature.

fchauvel commented 7 years ago

Hi there,

Thanks for the idea. Do you have examples of the patterns you had to use for the figures files?

I will include this in version 0.5.1, as I am about to release version 0.5.

Ohjeah commented 7 years ago

https://gist.github.com/Ohjeah/e863f2b13fe07edb524da54d1b3bd79c

A and be should be renamed to 1 and 2 respectively.

Subfigures (not included in example) should be renamed to 1a, 1b etc.