From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [Babel] Can't export to LaTeX anymore (args-out-of-range 0 0) Date: Fri, 17 Sep 2010 17:18:03 +0200 Message-ID: <87wrqkl7pw.fsf@mundaneum.com> References: <87tyltj2tq.fsf@mundaneum.com> <87y6b04fyn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, "Eric Schulte" wrote: >> The error occurs with such a simple document: >> >> #+TITLE: Org-isodoc >> #+LANGUAGE: en_US >> >> * Context >> >> This is a letter sample. >> >> * Subject >> #+srcname: subject >> #+begin_src org :results latex >> Composing letters using Org mode and the LaTeX isodoc class >> #+end_src > > This is a tricky problem indeed. After some debugging, it appears that the > problem is the result of the "org" code block calling `org-export-as-late= x' > on its body, while `org-export-as-latex' is already called on the entire > org-mode file. Apparently the Org-mode exporter is not currently able to > handle nested export calls, because the name of the temporary export buff= er > is hard coded into `org-export-preprocess-string', meaning that the buffer > is re-used and deleted by the nested export call. > > This fix will probably take some time to implement, and until then I don't > think it will be possible to evaluate org-mode blocks during export. OK. Am I right, then, to conclude that the discussed Noweb route must be abandoned (at least, temporarily) for writing isodoc letters? What could be a workaround? Thanks a lot... Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode