[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Babel: the disappearing hline
From: |
Eric Schulte |
Subject: |
Re: [O] Babel: the disappearing hline |
Date: |
Mon, 11 Nov 2013 09:19:51 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Thorsten Jolitz <address@hidden> writes:
> Jarmo Hurri <address@hidden> writes:
>
>>>> While taking my first long tour in the land of Babel, I bumped into a
>>>> minor hline issue. Can someone tell me why the hline has disappeared
>>>> from the second table?
>>>
>>> Because you use CALL without arguments and argument :hlines defaults
>>> to 'no'?
>>
>> Ok, but why is there then a hline in the raw output in table-three?
>> Furthermore, setting hlines to yes makes no difference:
>
> * test
> #+NAME: table-one
> #+BEGIN_SRC emacs-lisp
> (list '(a) '(b) 'hline '(c))
> #+END_SRC
>
> #+results: table-one
> | a |
> | b |
> |---|
> | c |
>
>
> #+NAME: table-two
> #+CALL: table-one[:hlines yes]()
> #+results: table-two
> | a |
> | b |
> | c |
>
> but
>
> #+begin_src emacs-lisp :var table=table-one :hlines yes
> table
> #+end_src
>
> #+results:
> | a |
> | b |
> |---|
> | c |
>
> seems to be a problem with #+CALL then ...
The ":hlines yes" header argument must be set on the call line itself.
See (info "(org)Evaluating code blocks").
* test
#+NAME: table-one
#+BEGIN_SRC emacs-lisp
(list '(a) '(b) 'hline '(c))
#+END_SRC
#+results: table-one
| a |
| b |
|---|
| c |
#+NAME: table-two-without
#+CALL: table-one()
#+results: table-two-without
| a |
| b |
| c |
#+NAME: table-two-with
#+CALL: table-one() :hlines yes
#+results: table-two-with
| a |
| b |
|---|
| c |
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
- [O] Babel: the disappearing hline, Jarmo Hurri, 2013/11/11
- Re: [O] Babel: the disappearing hline, Thorsten Jolitz, 2013/11/11
- Re: [O] Babel: the disappearing hline, Jarmo Hurri, 2013/11/11
- Re: [O] Babel: the disappearing hline, Thorsten Jolitz, 2013/11/11
- Re: [O] Babel: the disappearing hline,
Eric Schulte <=
- Re: [O] Babel: the disappearing hline, Jarmo Hurri, 2013/11/11
- Re: [O] Babel: the disappearing hline, Eric Schulte, 2013/11/11
- Re: [O] Babel: the disappearing hline, Jarmo Hurri, 2013/11/12
- Re: [O] Babel: the disappearing hline, Rick Frankel, 2013/11/12
- Re: [O] Babel: the disappearing hline, Jarmo Hurri, 2013/11/12
- Re: [O] Babel: the disappearing hline, Rick Frankel, 2013/11/12
- Re: [O] Babel: the disappearing hline, Jarmo Hurri, 2013/11/13
- Re: [O] Babel: the disappearing hline, Eric Schulte, 2013/11/13
- Re: [O] Babel: the disappearing hline, Rick Frankel, 2013/11/13
- Re: [O] Babel: the disappearing hline, Eric Schulte, 2013/11/13