emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* exporting tables ignores empty lines in the tables
@ 2011-03-01 11:59 Eric S Fraga
  2011-03-05 22:36 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2011-03-01 11:59 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hello,

I have searched for a variable that may affect the following behaviour
but have not found one.  I have a table where I have intentionally left
a whole row empty (to be filled in by hand in a hard copy, say).
However, the table, when exported to latex/pdf, excludes any empty
lines.

For instance, this table

#+begin_src org
  | item     | cost |
  |----------+------|
  | stamp    | 65p  |
  |          |      |
  | envelope | 20p  |
#+end_src

generates the following latex:

#+begin_src latex
\begin{tabular}{ll}
 item      &  cost  \\
\hline
 stamp     &  65p   \\
 envelope  &  20p   \\
\end{tabular}
#+end_src

Can anybody point me in the right direction or is it not possible to
export (to latex) empty lines in tables?

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.562.gc895)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exporting tables ignores empty lines in the tables
  2011-03-01 11:59 exporting tables ignores empty lines in the tables Eric S Fraga
@ 2011-03-05 22:36 ` Bastien
  2011-03-07  9:28   ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2011-03-05 22:36 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Emacs Org mode mailing list

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> I have searched for a variable that may affect the following behaviour
> but have not found one.  

You can now use `org-export-table-remove-empty-lines'.

Note that :remove-nil-lines was already available when sending 
tables trough #+ORGTBL.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exporting tables ignores empty lines in the tables
  2011-03-05 22:36 ` Bastien
@ 2011-03-07  9:28   ` Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2011-03-07  9:28 UTC (permalink / raw)
  To: Bastien; +Cc: Emacs Org mode mailing list

Bastien <bzg@altern.org> writes:

> Hi Eric,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> I have searched for a variable that may affect the following behaviour
>> but have not found one.  
>
> You can now use `org-export-table-remove-empty-lines'.

Works like a charm!  Many thanks.

> Note that :remove-nil-lines was already available when sending 
> tables trough #+ORGTBL.

I have never used #+ORGTBL.  Thanks for the heads up.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.646.g57806)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-07 10:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01 11:59 exporting tables ignores empty lines in the tables Eric S Fraga
2011-03-05 22:36 ` Bastien
2011-03-07  9:28   ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).