Re: \Includegraphics

"Daniele Giorgio Degiorgi" <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Many thanks for your answer,

I avoid normally to use blanks and special chars in filenames, but I use
Windows Media Player to store ripped CD's and using spaces and special chars
in album names, artist names and track titles does not seem to be a wrong
option. Unfortunately, they are almost verbatim used as directory and file
names: I have to live with them.

Following your hint, I now use

\usepackage[utf8]{inputenc}
\usepackage[X2,T1]{fontenc}
\usepackage[pdftex,colorlinks,pagebackref,citecolor=blue]{hyperref}
\usepackage{graphicx}
\usepackage[space,extendedchars]{grffile}

This solves also the possibility to use accented letters both in \href and
\includegraphics

Many thanks again,

Daniel



-----Original Message-----
From: Ulrike Fischer [mailto:[email protected]] 
Sent: 16 July, 2016 16:28
To: [email protected]
Subject: Re: [MiKTeX] \Includegraphics

Am Sat, 16 Jul 2016 15:36:53 +0200 schrieb Daniele Giorgio Degiorgi:


> Left to the picture in pdf document appear the text "Martha 
> (b.1941)/Argerich Chopin 2/Folder.jpg", that is the part of the path 
> following the first blank in the path of the picture.

> Is there a way to avoid this problem?

You can try the grffile package. You can also try to quote the path:

\includegraphics[scale=1]{"../Musica/Argerich, Martha (b.1941)/Argerich
Chopin 2/Folder.jpg"}

> Is there possibly a bug in the graphic package?

No. 

> I could solve the problem removing the blanks from the directories or 
> creating symbolic links, but I would prefer a TeX-only solution, as 
> the other solutions need a lot of works.


In the long run you can avoid a lot of (time consuming) problems by avoiding
funning things like blanks, non-ascii-chars, commas, parentheses etc in
paths and file names. Every tex solution to such problems are at least in
parts OS dependant and so can break if you move e.g. to a mac or linux. 



--
Ulrike Fischer
http://www.troubleshooting-tex.de/


----------------------------------------------------------------------------
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports.http://sdm.link/zohodev2dev
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.