#1258 Strange behavior of the "Files" window on refresh

None
closed
8
2013-07-04
2012-02-06
Mike
No

When one saves files within a TXC project, TXC refreshes the "Files" window. This is normal, however, independently on which directories have been unfold by the user, TXC unfolds directories with missing files and closes all other directories. Since I operate with relative graphic paths, there are a lot of such putative "missing" directories and so after each saving I have to close them and unfold relevant directories again - this is extremely annoying!

Discussion

  • Mike

    Mike - 2012-02-06
    • priority: 5 --> 8
     
  • Tino Weinkauf

    Tino Weinkauf - 2012-02-06

    HI Mike,

    Give me an example where this happens. TXC should be able to find all your graphics.

    Otherwise, we implemented this by design, i.e., the opening of the folders with missing files.

    Ciao.Tino.

     
  • Tino Weinkauf

    Tino Weinkauf - 2012-02-06
    • assigned_to: nobody --> niteria
     
  • Mike

    Mike - 2012-02-07

    Hi Tino,

    I include my graphics using relative graphic paths such as
    \includegraphics[width=\columnwidth]{Simulation/Simulation1/Example.png}
    However, those relative paths are given with respect to paths defined by \graphicspath command:
    And this command, in turn, lists several paths that are defined by means of macros:
    \graphicspath{%
    {\imagepathThesis}%
    {\imagepathPapers}%
    {\imagepathMisc}%
    }
    The macros are defined in the preamble file and look like this:
    \newcommand{\imagepathPapers}{C:/Papers/images/}
    \newcommand{\imagepathThesis}{C:/Thesis/images/}
    \newcommand{\imagepathMisc}{C:/Data/images/}

    Inside of thoses paths, images are also sorted into directories (e.g. RealData, Simulation etc.)

    As a result in the "Files" window I get lot of "missing" directories with missing files.

     
  • Mike

    Mike - 2012-02-07

    Screenshot

     
  • Mike

    Mike - 2012-02-07

    Currently, the main problem for me is not that TXC does not find graphic files but that whenever I save something, it "forgets" which directories were unfold and which were collapsed. But, of course, it wold be nice if TXC would also interpret the path macros.

    Thank you in advance!

    Mike

     
  • Tino Weinkauf

    Tino Weinkauf - 2012-02-07

    It should work if you write

    \graphicspath{{C:/Papers/images/}{C:/Thesis/images/}}

    on one line. Otherwise, you're out of luck. Our parser can do only so much.

    I understand that your problem is the unfolding of the dirs. We will think about it. But note that we did that by design.

     
  • Tino Weinkauf

    Tino Weinkauf - 2012-02-07
    • status: open --> closed
     


Anonymous

Cancel  Add attachments