I believe that the only place missing for jpg is the filename regex, if my
memory serves me right, there should be no problem beyond that.

On Fri, 14 Sep 2001, Juergen Spitzmueller wrote:

> Michael Schmidt wrote:
> - The new graphics inset supports file extension ".jpeg" but not ".jpg". 
> I think the latter is also commonly used. Can it be supported?
> 
> Is this really all that needs to be done (works for me) or are there real problems 
>with ".jpg"-files?
> Excuse me if the answer is obvious.
> 
> Jürgen
> 
> 
> Index: src/frontends/controllers/ControlGraphics.C
> ===================================================================
> RCS file: /cvs/lyx/lyx-devel/src/frontends/controllers/ControlGraphics.C,v
> retrieving revision 1.9
> diff -u -r1.9 ControlGraphics.C
> --- src/frontends/controllers/ControlGraphics.C       2001/07/28 12:24:14     1.9
> +++ src/frontends/controllers/ControlGraphics.C       2001/09/14 07:17:36
> @@ -79,7 +79,7 @@
>  {
>       string const title = N_("Graphics");
>       // FIXME: currently we need the second '|' to prevent mis-interpretation
> -     string const pattern = "*.(eps|png|jpeg|gif)|";
> +     string const pattern = "*.(eps|png|jpeg|jpg|gif)|";
> 
>       // Does user clipart directory exist?
>       string clipdir = AddName (user_lyxdir, "clipart");
> 
> 
> 
> 
> 

Reply via email to