#1261 Comment on issue 3484888 (Missing images in the Files view)

None
closed
nobody
5
2013-07-04
2012-02-08
Mike
No

Hi Tino,

first of all thank you for the fast answers. I changes directories as you recommended and it works now (although only after some adaptations).
Strangely enough it did not work with absolute paths (may be they were too long), so I had to use paths relative to the project directory.

And I noticed another strange thing. When using macros or absolute paths, TXC highlights files as missing (i.e. red) but (!) it seems to find them since it knows their extensions (which is not explicitely named in the \includegraphics command).

Well, at the moment TXC finds all my graphics, with this I am fine. The only two red entries in the Files View are now caused by the following two macros which I extensively use in my project:

\newcommand{\putImg}[4][]{%
\begin{figure}[!htb]
\centering
\includegraphics[width=0.8\textwidth]{#4}
\caption[#1]{#2}
\label{#3}
\end{figure}
}

\newcommand{\putTikZImg}[4][]{%
\begin{figure}[!htb]
\centering
\input{#4}
\caption[#1]{#2}
\label{#3}
\end{figure}
}

Those macros lead to entries
#4.tex (i.e. missing tex file)
and
#4 (i.e. missing graphic).

But it's probably rather my problem rather than a problem of TXC.

Discussion

  • Tino Weinkauf

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

    Tino Weinkauf - 2012-02-08

    Well, there is only so much we can parse... ;-)

    But anyway, you are right that we should not alert the user too much when we couldn't find something. I will keep it in mind.

     

Anonymous
Anonymous

Cancel  Add attachments