Featured Book

LaTeX Beginners Guide

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 3 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

File Input inside new Command doesn't work properly

Add tags General information and discussion about TeXnicCenter

File Input inside new Command doesn't work properly

Postby LaTeXer on Mon Nov 4th, 2013

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  •  Open in writeLaTeX
% 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 ;)
LaTeXer
 
Posts: 1
Joined: Mon Nov 4th, 2013

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests