Feature SuggestionsRemove extension for images

Suggestions and discussions for new TeXnicCenter features
Post Reply
Hans Nieuwenhuis
Posts: 25
Joined: Tue Sep 16, 2008 6:05 am

Remove extension for images

Post by Hans Nieuwenhuis »

I've read that you shouldn't add the extension for an image in 'includegraphics' statements (like .png, .jpg et cetera).

Is it possible to remove this when adding an image via the 'Insert figure' dialog?

Maybe via an option in the dialog ('include file name extension' or so) which is unchecked by default?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Re: Remove extension for images

Post by localghost »

I guess removing these four characters is not really a hard task to do.


Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Hans Nieuwenhuis
Posts: 25
Joined: Tue Sep 16, 2008 6:05 am

Re: Remove extension for images

Post by Hans Nieuwenhuis »

True, but I forget to do that many times....and if I have a lot of pictures it's still a lot of work to do manually.....using the same argument: it's also not a lot of work to add the extension manually :)
(not offensively meant)
Post Reply