[texworks] Insert garphic

Alain Delmotte esperanto at swing.be
Wed Oct 7 14:17:54 CEST 2009


With [Alt] the file is not open, but:

\includegraphics[]{C:/Documents and 
Settings/Principal/Bureau/Kio_komencighis2.pdf}
\include{C:/Documents and 
Settings/Principal/Bureau/lézardromaind-Aline.JPG}  (the same with .jpeg)

but for png and eps it is OK:
\includegraphics[]{C:/Documents and Settings/Principal/Bureau/coccinl-1.PNG}
\includegraphics[]{C:/Documents and Settings/Principal/Bureau/frelon-a.eps}

In Texworks-config.txt:
include-text:        \include{%1}#RET#

include-postscript:   \includegraphics[]{%1}#RET#
include-pdf:             \includegraphics[]{%1}#RET#
include-image:         \includegraphics[]{%1}#RET#

So jpeg is not considered as image!

What should be changed?

The remark of Stefan is good; the file could even be copied in the tex 
file folder (well, some other problem could appear!!!)

Alain

Jonathan Kew a écrit :
> On 7 Oct 2009, at 10:08, Alain Delmotte wrote:
>
>> Hi Jonathan,
>>
>> Under Windows XP dragging a pdf or jpeg file into the editor doesn't 
>> insert a \includegraphics command but opens the file either in the 
>> preview (pdf) or the editor (jpeg).
>
> Oops, you're right. I should have checked before writing, my memory is 
> obviously failing!
>
> Try holding down the Alt key while you drag/drop.....
>
> JK
>
>



More information about the texworks mailing list