vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
533 stars 89 forks source link

[Bug] file names with dots are truncated #373

Closed avidseeker closed 7 months ago

avidseeker commented 1 year ago
asy ch1.5-angles.asy

Outputs:

ch1.eps
johncbowman commented 1 year ago

The pattern following the dot is assumed to be the file extension. Just replace the first dot in your file name with a hyphen (-).

avidseeker commented 1 year ago

Shouldn't it be "the pattern following the last dot" instead of the first? following Bash and Python behavior in detecting filenames.

johncbowman commented 7 months ago

Yes, in fact Asymptote was suppose to work that way too but the extensions were getting stripped multiple times.