From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Latex error "too deeply nested" only for #+INCLUDE statements Date: Mon, 15 Oct 2012 20:20:17 +0200 Message-ID: <80pq4jtx5q.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Percival, Percival du Chat Gris wrote: > I've tried googling, reading faqs and the like, and have come up empty. > > If I have a number of stub files, with the information in them that I want > to pull into multiple documents, and I #+INCLUDE them in a file, I get the > latex "too deeply nested" error. If, however, I simply insert the files > into the buffer, then they will create the PDF via latex export without a > problem. Is there something in the #+INCLUDE code that adds a nested layer > such that it becomes problematic for PDF production? If so, is there a > better route to create PDF files? I have been using Latex and HTML export > for a while, so I'm not entirely familiar with any other options that might > produce PDF files as cleanly. While I can (and have) written a script to > pull all the pieces together into one large file, there should be an easier > way. It makes me think at lists of levels 5 or more. Are you including your source files at deep levels? Best regards, Seb -- Sebastien Vauban