Hi András,

András Major <andras.g.ma...@gmail.com> writes:

> here is an example that delivers an error "reference 'table1' not
> found in this buffer" when trying to export to HTML (others not tried
> yet):
>
>   #+tblname: table1       :noexport:
>   | n | x |  y1 |   y2 |
>   |---+---+-----+------|
>   | 0 | 1 | 2.0 |  3.0 |
>   | 1 | 2 | 2.1 |  2.0 |
>   | 2 | 3 | 2.0 |  0.3 |
>   | 3 | 4 | 1.0 |  0.6 |
>   | 4 | 5 | 1.4 | -0.1 |
>   | 5 | 6 | 1.6 |  1.2 |
>
>   #+begin_src gnuplot :file bug_gnuplot.png :var t=table1
>     set size square
>     plot t u 2:3 w lp, t u 2:4 w lp
>   #+end_src
>
> If I remove the :noexport: tag, everything works fine.
>
> Am I doing something wrong here?

Yes -- :noexport: is to be used on headlines only, not on tables.

If you remove the :noexport: you should get the correct png (see
attached.)

HTH,

<<attachment: bug_gnuplot.png>>

-- 
 Bastien

Reply via email to