emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to paginate Babel Lisp output?


From: Jean Louis
Subject: Re: [O] How to paginate Babel Lisp output?
Date: Sun, 9 Jul 2017 21:13:08 +0300

On Sun, Jul 09, 2017 at 09:24:11AM -0700, Richard Lawrence wrote:
> Hi Jean,
> 
> Jean Louis <address@hidden> writes:
> 
> > I have a very simple lisp output within Org Mode file, and it delivers
> > list of lists with 4-5 elements, and it displays nicely as a text.
> 
> (Do you mean: as a table?)
> 
> > #+BEGIN_SRC lisp :exports results  (load
> > #P"/home/data1/protected//lisp/load-some-files.lisp" :verbose nil :print
> > nil) (sku-list-values-by-location :location 1369) #+END_SRC
> > 
> > But when exporting LaTeX I get the result that the table is basically
> > too long, even being printed over the page number and below, and does
> > not even continue on the next page.
> > 
> > Is there a way or customization to make it break pages automatically
> > when there is long output from source blocks?
> 
> If you are already getting your results as an Org table, try adding
> 
> #+ATTR_LATEX: :environment longtable
> 
> to that table.  This will use the LaTeX longtable package and
> environment to format the table, which should take care of breaking it
> across pages.
> 
> Best,
> Richard

That worked well, thank you!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]