Menu

#1151 Pop-up image with \graphicspath

open
nobody
None
1
2017-09-06
2016-10-20
Anonymous
No

A very useful feature of TeXstudio is that it can show up the figure in the editor if we move the mouse over the location of the file in \includegraphics. It would be nice if this feature worked when the path to the image file is not given explicitly but with the \graphicspath option, so \graphicspath{{Pictures/}} in the preamble plus \includegraphics[options]{somePicture} in the document would display the image just as the usual \includegraphics[options]{Pictures/somePicture}.

Related

Feature Requests: #1049

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-10-20

    A dynamic detection of \graphicspath is not supported. However you can statically define a graphics path in the options:
    Options -> Advanced Editor -> Additional Search Paths -> Image Files

     
    • Zoltan Csati

      Zoltan Csati - 2016-10-21

      Thanks, it works. But in this way the added directory will be searched for other projects too, i.e. this is a global setting.

       
      • Tim Hoffmann

        Tim Hoffmann - 2016-10-22

        Originally this settings was introduced to handle a TEXINPUTS environment variable, which indeed is a global setting.

        As written above, a dynamic detection is not supported. The logic is more complex and we didn't have the time to implement it. After all it's only a nice add-on and there's the global workaorund. So no high priority.

         
  • Tim Hoffmann

    Tim Hoffmann - 2017-02-26
     

    Related

    Feature Requests: #1213

Anonymous
Anonymous

Add attachments
Cancel