Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a document with external files. The only reason I am using external files is to make it easier to organize my large project. I have taken a small piece of the larger project and attempted to give a concise overview of the problem. I have found similar queries, but they have not adequately addressed the issue. The two that I found:

  1. BibTeX not working with \input or \include (closed)

  2. Including a .bib file with \input does not work

Normally I would create a nice single piece of code to add below. In this case, however, it would defeat the purpose of the question. I have included 3 pieces below—the main document, the included document (arbitrarily using \input or \include), and the bibliography file.

When typesetting with TeX Live 2012, I receive the following error message:

Argument of \language@active@arg" has an extra }.

^^I\input{"Argument of Expert Opinion.tex"}

UPDATE: There are two problems with the code below:

  1. quotes need to be preceded by \string e.g. \string"file name with spaces.tex\string" (huge thanks to David Carlisle below!)
  2. The slide with \parencite{Reed2007} did not have any text (besides the environments) see comments below.

Main Document:


\setbeamertemplate{navigation symbols}{}


% Bibliography Stuff
\usepackage{csquotes}%must be before babel
\usepackage[german]{babel}%the bibliography locale must be before biblatex
\DeclareLanguageMapping{german}{german-apa}%after biblatex, important
\addbibresource{./bibexport.bib}%needs .bib extension, location of bib file

% Start code with optional #1
<2->{Ansatz #1}
%  End code with optional #1


\section{Schema der Argumenten}
    \input{"Argument of Expert Opinion.tex"}


Slide for include: (Argument of Expert Opinion.tex)

\frametitle{Scheme for Argument from Expert Opinion}
    \begin{premise}[Major Premise]
        Quelle E ist ein Sachkenner in Fach F, der sich Aussage A befasst
    \begin{premise}[Minor Premise]
        E behauptet, dass Aussage A (in Fach F) wahr ist (oder nicht wahr)
        A ist möglicherweise wahr (oder nicht wahr)

Bibliography: (bibexport.bib)

author = {Reed, Chris and Walton, Douglas},
title = {{Argumentation Schemes in Dialogue}},
year = {2007},
pages = {1--11},
month = oct
share|improve this question
Don't use quotes around the file names. Don't use spaces in the file names. –  Ulrike Fischer Apr 1 '13 at 10:48
Can you please explain what \section{Bibliography} and \input{"Bibliography.tex"} should do? Printing your bibliography? Then just use \printbibliography. You want to display the content of bibliography.tex? Then use package listings... or clarify what you mean ... –  Kurt Apr 1 '13 at 10:55
Ah yes, the \input{"Bibliography.tex"} just has a slide with \printbibliography on it. I guess there is a 4th file. In this example, it is a redundancy, but in the larger projects, it may be quite nice to have it separate. –  macmadness86 Apr 1 '13 at 10:56
add comment

1 Answer

up vote 4 down vote accepted

You are using a babel language that gives " a special shorthand meaning which is confusing \input. It is simplest not to use spaces in file names then you can just remove "


should be simply


If you must use spaces in file names for some reason then you can probably do

\input{\string"Argument of Expert Opinion.tex\string"}
share|improve this answer
Thanks for that suggestion, however I am getting another error. Patching footnotes failed. Footnote detection will not work. Argumentation Referat.aux:50: Undefined control sequence. And by the way, I love spaces in filenames. –  macmadness86 Apr 1 '13 at 10:59
OK that means the problem in this question is solved and the files are being input but there is an error in one of the files. The site works best if new questions are asked as separate questions rather than in comments. Please make a small example that generates that error and ask a new question (I can't guess given the fragments of code posted in this question) –  David Carlisle Apr 1 '13 at 11:10
Thank you for your help, especially for the tip with \string"! I am not going to open a new question related to this one, as I do not think the following problem constitutes such an action: The problem was that I did not have text before \parencite{Reed2007}. After adding some text, it compiled fine (unsure exactly why) For any viewers in the future, I hope this helps you too! –  macmadness86 Apr 1 '13 at 11:17
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.