GeneralFile Input inside new Command doesn't work properly

General information and discussion about TeXnicCenter
Post Reply
LaTeXer
Posts: 1
Joined: Mon Nov 04, 2013 4:48 pm

File Input inside new Command doesn't work properly

Post by LaTeXer »

Hey guys,

I am using TeXnicCenter (TXC) 2.0 Beta 2 (32bit).

I was creating a new command for \input of .tex files including other functionality as followed:

Code: Select all

% Command for including a finding into the report
\newcommand{\ReportIncludeFinding}[1]{
  \renewcommand{\ReportFindingFileName}{#1}
  \input{\ReportPathFindings#1}
}
Normally if I use \input I see all my files in the data tree from of the Explorer Tool, so that I am able to click directly on the file I want to edit. But with this new command, this feature of \input doesn't work anymore. So I always have to open the explorer in an own window a pull the files into TXC.

I know that this is just a short code snippet I provided, tell me if you need more ;)

Greets ;)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply