From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Latex error "too deeply nested" only for #+INCLUDE statements Date: Mon, 15 Oct 2012 14:24:46 -0400 Message-ID: <10695.1350325486@alphaville> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNpLO-0003nP-Ck for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 14:24:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNpLN-0008AV-5U for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 14:24:50 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:16377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNpLM-0008AM-Ur for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 14:24:49 -0400 In-Reply-To: Message from Percival du Chat Gris of "Mon\, 15 Oct 2012 12\:55\:31 EDT." 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Percival du Chat Gris Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Percival du Chat Gris wrote: > Good day, >=20 > I've tried googling, reading faqs and the like, and have come up empty. >=20 > If I have a number of stub files, with the information in them that I wan= t to pull into multiple > documents, and I #+INCLUDE them in a file, I get the latex "too deeply ne= sted" error.=C2=A0 Please provide details and, if possible, a minimal example. Who produces this error? What is the exact output? What version of org/emac= s? Are you using the new exporter or the old exporter? If the error is produced by latex, export to latex and look at the .tex file. If the error is produced by org, it would help to have a backtrace. I attach a tarball with a simple example where the new exporter with Org-mode version 7.9.2 (release_7.9.2-432-g545166 @ /home/nick/elisp/org-mo= de/lisp/) GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of 2012= -09-21 does the right thing. Nick > If, however, > I simply insert the files into the buffer, then they will create the PDF = via latex export without a > problem.=C2=A0 Is there something in the #+INCLUDE code that adds a neste= d layer such that it becomes > problematic for PDF production?=C2=A0 If so, is there a better route to c= reate PDF files?=C2=A0 I have been > using Latex and HTML export for a while, so I'm not entirely familiar wit= h any other options that > might produce PDF files as cleanly.=C2=A0 While I can (and have) written = a script to pull all the pieces > together into one large file, there should be an easier way. >=20 --=-=-= Content-Type: application/x-gzip Content-Disposition: attachment; filename=doc.tgz Content-Transfer-Encoding: base64 Content-Description: doc.org and three included files H4sIAO1SfFAAA+2WXW+bMBSGc82vsNq7dAybjyChXZQ1WYtKkykh2iZNkxihLQrDCEgv0LTfvmNw lK5Fi6KWaJPOIx0Mfs+xDfEbWPHoLS/uBn1CgZFpipbZFn3cNtjUHDCdGja1GBP9jNojNiC011VJ NmUVFoQMsiRa/y1vn/6fcnoWeIE/cYjgA+fK6Zm7DK5m86ZnCjdNxnzNS+if3Lie3yaKh3Eepvl9 +JCkaQzi2A3kIESnTFcZVZlFbngmtMniYu59DLzZ1IHL68mXT7P5eCHOfXd6uXQvRWksUmdN1kKM dOVYJNv8cCpS8QiOXzMnS1JyDqcOxE+IbxAqxC3EEOKdU/05RhB/hm4/bNtyneTNGKvmWPEVh968 SNrL8K50Ml6pSabCjIqiDOUD8aYX/nIMazz5pZVFpIFftCSL0s0q1vK4iJKHMNXKOGLCSSei7n1Y HFCnP6qrD6gzZN1Lfv/tsl9rP3Wxz//Mplv/U9uAPMaoZaD/j4EyHJJbzpkS3Yd5FReEvSGwJ6qE Z4RJUe8SdSkaXaIhRbNLNMFaL9qzyOux/fvpc469/h9ZO/+brf/x/X8chFG/h8XO//oT/4Ood4m6 FI0u0ZCi2SWaaP5/h+1nRJ9zHOR/S/of3/9HoTVqvfO/8cz/td4lSv/XRpco/V+bXSL6H0EQBEEQ BEEQBEEQBEEQBEEQpEd+AzyhhzgAKAAA --=-=-=--