Hannah-Sten / TeXiFy-IDEA

LaTeX support for the IntelliJ platform by JetBrains.
https://hannah-sten.github.io/TeXiFy-IDEA
MIT License
892 stars 88 forks source link

"File 'path/file' not found" #3679

Open MartinX3 opened 3 weeks ago

MartinX3 commented 3 weeks ago

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

IntelliJ IDEA 2024.2.3

Operating System

Arch Linux

TeXiFy IDEA version

0.9.7

What I did (steps to reproduce)

A tex file is in a subdirectory. The \input and \RequirePackage parameters are absolute paths from the base directory.

Latexmk compiles everything just fine.

Minimal example to reproduce the problem

path abschnitte/unterordner/Text.tex

\documentclass{moderncv}
\input{datenbanken/Meta}
\RequirePackage{aussehen/CV}
\begin{document}
    blablabla
\end{document}

path aussehen/CV.sty

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{aussehen/CV}[2024/08/19 cv theming Package]

\moderncvcolor{blue}
\moderncvstyle{casual}

% Die Seitenränder anpassen
\RequirePackage[scale=0.75]{geometry}

% Dinish Schriftart. Siehe https://github.com/playbeing/dinish
\RequirePackage{fontspec}
\RequirePackage{unicode-math}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont[
    Extension = .otf,
    Path = aussehen/font/,
    UprightFont = *-Regular,
    BoldFont = *-Bold,
    ItalicFont = *-Italic,
    BoldItalicFont = *-BoldItalic
]{DINish}
\setsansfont{Latin Modern Sans}
\setmonofont{Latin Modern Mono}
\setmathfont{Latin Modern Math}

\RequirePackage[ngerman]{babel}

% Fix Package fancyhdr Warning: \footskip is too small (30.0pt)
\setlength{\footskip}{68.00002pt}

% TODO WORKAROUND avoid orphaned section headers until moderncv 2.4.1
% https://github.com/moderncv/moderncv/issues/10
% https://github.com/xdanaux/moderncv/issues/82
\RequirePackage{needspace}
\newcommand{\sectionavoidpagebreak}[2]{
    \needspace{3\baselineskip}
    \section{#1}\label{sec:#2}
}

path datenbanken/Meta.tex

% Brief
\recipient{Company Recruitment team}{Company, Inc.\\Somestreet 123\\Somestadt}
\date{Ort, \today}
\opening{Sehr geehrte Damen und Herren,}
\closing{Mit freundlichen Grüßen}
\enclosure[Anhang]{Lebenslauf}

% Lebenslauf
\name{Max}{Mustermann}
\title{Zusammenfassender Titel}
\born{4. Juli 1776}
\address{Musterstr. 42}{53123 Bonn}{Germany}
\phone[mobile]{+1~(234)~567~890}
\phone[fixed]{+2~(345)~678~901}
\email{max@mustermann.org}
\homepage{https://www.maxmustermann.com}

\extrainfo{Zusätzliche Informationen}
\photo[64pt][0.4pt]{anhang/Profilfoto}
\quote{Irgendein Zitat}

Expected behavior

No error.

Actual behavior

It claims the file is not found. Also if I use the auto fix to let it create the file it is always lowercase.

(if applicable) The full stacktrace of the exception thrown

N/A
PHPirates commented 15 hours ago

It claims the file is not found.

Which file is not found? Works fine for me:

image