emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems exporting org-babel to HTML
@ 2011-12-29 20:44 Marco Craveiro
  2011-12-29 21:10 ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Craveiro @ 2011-12-29 20:44 UTC (permalink / raw)
  To: emacs-orgmode

Hi Org-Moders,

I've got a problem with org-babel HTML exports and I wonder if you can
help me. I'm using an up-to-date debian "emacs-snapshot" as follows:

- GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of
2011-12-27 on zelenka, modified by Debian
- Org-mode version 7.7

The problem manifests itself when exporting in batch mode (please see
below for source org file):

<shell output>
$ /usr/bin/emacs-snapshot --batch --visit=test.org --funcall
org-export-as-html-batch
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50devhelp.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50global.el (source)...
Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Exporting...
Symbol's function definition is void: copy-seq
</shell output>

This error is very similar to what is described here:

- http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg01203.html
- #634695: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634695

However, from reading that thread it appears I should already have this
fix. Can you please confirm if this is the case? Also, if v7.7 does not
have the fix, is there a workaround? 

The org-file i'm using is as follows:

<org_file>
#+tblname: test_chart
| Day | Expected | Actual |
|-----+----------+--------|
|   0 |        8 |      8 |
|   1 |        7 |      8 |
|   2 |        6 |      8 |
|     |          |        |
#+begin_src gnuplot :var data=test_chart :file test.png :exports both
reset
set termoption dash
set terminal png font
"/usr/share/fonts/truetype/inconsolata/Inconsolata.otf" 14
set title "Test Chart"
set auto x
set border linewidth 1.5
set style line 1 linecolor rgb "red" linetype 2 linewidth 3 pointtype 1
set style line 2 linecolor rgb "orange" linetype 2 linewidth 3 pointtype
1
set ylabel "Story Points"
set yrange [0:10]
set ytics 0,1,10
set xlabel "Time"
set xrange [0:15]
set xtics 0,1,15
plot data using 1 title 'Expected' linestyle 1 with lines, \
data using 2 title 'Actual' linestyle 2 with lines
#+end_src
#+results:
[[file:test_chart.png]]
</org_file>

Thanks for a wonderful piece of software and for your time.

marco

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

* Re: Problems exporting org-babel to HTML
  2011-12-29 20:44 Problems exporting org-babel to HTML Marco Craveiro
@ 2011-12-29 21:10 ` Eric Schulte
  2011-12-29 21:30   ` Marco Craveiro
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2011-12-29 21:10 UTC (permalink / raw)
  To: Marco Craveiro; +Cc: emacs-orgmode

Hi Marco,

Please update to the latest version of Org-mode available from git at
http://orgmode.org/org-mode-download.html and let us know if the problem
persists.

Cheers,

Marco Craveiro <marco.craveiro@gmail.com> writes:

> Hi Org-Moders,
>
> I've got a problem with org-babel HTML exports and I wonder if you can
> help me. I'm using an up-to-date debian "emacs-snapshot" as follows:
>
> - GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of
> 2011-12-27 on zelenka, modified by Debian
> - Org-mode version 7.7
>
> The problem manifests itself when exporting in batch mode (please see
> below for source org file):
>
> <shell output>
> $ /usr/bin/emacs-snapshot --batch --visit=test.org --funcall
> org-export-as-html-batch
> Loading 00debian-vars...
> Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
> Loading /etc/emacs/site-start.d/50devhelp.el (source)...
> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
> Skipping dictionaries-common setup for emacs-snapshot
> Loading /etc/emacs/site-start.d/50global.el (source)...
> Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...
> Loading /etc/emacs/site-start.d/50psvn.el (source)...
> Exporting...
> Symbol's function definition is void: copy-seq
> </shell output>
>
> This error is very similar to what is described here:
>
> - http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg01203.html
> - #634695: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634695
>
> However, from reading that thread it appears I should already have this
> fix. Can you please confirm if this is the case? Also, if v7.7 does not
> have the fix, is there a workaround? 
>
> The org-file i'm using is as follows:
>
> <org_file>
> #+tblname: test_chart
> | Day | Expected | Actual |
> |-----+----------+--------|
> |   0 |        8 |      8 |
> |   1 |        7 |      8 |
> |   2 |        6 |      8 |
> |     |          |        |
> #+begin_src gnuplot :var data=test_chart :file test.png :exports both
> reset
> set termoption dash
> set terminal png font
> "/usr/share/fonts/truetype/inconsolata/Inconsolata.otf" 14
> set title "Test Chart"
> set auto x
> set border linewidth 1.5
> set style line 1 linecolor rgb "red" linetype 2 linewidth 3 pointtype 1
> set style line 2 linecolor rgb "orange" linetype 2 linewidth 3 pointtype
> 1
> set ylabel "Story Points"
> set yrange [0:10]
> set ytics 0,1,10
> set xlabel "Time"
> set xrange [0:15]
> set xtics 0,1,15
> plot data using 1 title 'Expected' linestyle 1 with lines, \
> data using 2 title 'Actual' linestyle 2 with lines
> #+end_src
> #+results:
> [[file:test_chart.png]]
> </org_file>
>
> Thanks for a wonderful piece of software and for your time.
>
> marco
>
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

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

* Re: Problems exporting org-babel to HTML
  2011-12-29 21:10 ` Eric Schulte
@ 2011-12-29 21:30   ` Marco Craveiro
  2012-01-01 15:03     ` Marco Craveiro
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Craveiro @ 2011-12-29 21:30 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

Hi Eric,

Thanks for the prompt reply. I was trying hard to avoid dependencies on
anything other than vanilla debian actually. If there is no other way
around it, I'll try and use git latest...

Thanks

Marco

On Thu, 2011-12-29 at 14:10 -0700, Eric Schulte wrote:
> Hi Marco,
> 
> Please update to the latest version of Org-mode available from git at
> http://orgmode.org/org-mode-download.html and let us know if the problem
> persists.
> 
> Cheers,
> 
> Marco Craveiro <marco.craveiro@gmail.com> writes:
> 
> > Hi Org-Moders,
> >
> > I've got a problem with org-babel HTML exports and I wonder if you can
> > help me. I'm using an up-to-date debian "emacs-snapshot" as follows:
> >
> > - GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of
> > 2011-12-27 on zelenka, modified by Debian
> > - Org-mode version 7.7
> >
> > The problem manifests itself when exporting in batch mode (please see
> > below for source org file):
> >
> > <shell output>
> > $ /usr/bin/emacs-snapshot --batch --visit=test.org --funcall
> > org-export-as-html-batch
> > Loading 00debian-vars...
> > Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> > Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
> > Loading /etc/emacs/site-start.d/50devhelp.el (source)...
> > Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
> > Skipping dictionaries-common setup for emacs-snapshot
> > Loading /etc/emacs/site-start.d/50global.el (source)...
> > Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...
> > Loading /etc/emacs/site-start.d/50psvn.el (source)...
> > Exporting...
> > Symbol's function definition is void: copy-seq
> > </shell output>
> >
> > This error is very similar to what is described here:
> >
> > - http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg01203.html
> > - #634695: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634695
> >
> > However, from reading that thread it appears I should already have this
> > fix. Can you please confirm if this is the case? Also, if v7.7 does not
> > have the fix, is there a workaround? 
> >
> > The org-file i'm using is as follows:
> >
> > <org_file>
> > #+tblname: test_chart
> > | Day | Expected | Actual |
> > |-----+----------+--------|
> > |   0 |        8 |      8 |
> > |   1 |        7 |      8 |
> > |   2 |        6 |      8 |
> > |     |          |        |
> > #+begin_src gnuplot :var data=test_chart :file test.png :exports both
> > reset
> > set termoption dash
> > set terminal png font
> > "/usr/share/fonts/truetype/inconsolata/Inconsolata.otf" 14
> > set title "Test Chart"
> > set auto x
> > set border linewidth 1.5
> > set style line 1 linecolor rgb "red" linetype 2 linewidth 3 pointtype 1
> > set style line 2 linecolor rgb "orange" linetype 2 linewidth 3 pointtype
> > 1
> > set ylabel "Story Points"
> > set yrange [0:10]
> > set ytics 0,1,10
> > set xlabel "Time"
> > set xrange [0:15]
> > set xtics 0,1,15
> > plot data using 1 title 'Expected' linestyle 1 with lines, \
> > data using 2 title 'Actual' linestyle 2 with lines
> > #+end_src
> > #+results:
> > [[file:test_chart.png]]
> > </org_file>
> >
> > Thanks for a wonderful piece of software and for your time.
> >
> > marco
> >
> >
> 

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

* Re: Problems exporting org-babel to HTML
  2011-12-29 21:30   ` Marco Craveiro
@ 2012-01-01 15:03     ` Marco Craveiro
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Craveiro @ 2012-01-01 15:03 UTC (permalink / raw)
  To: emacs-orgmode

On Thu, 2011-12-29 at 14:10 -0700, Eric Schulte wrote:
> Please update to the latest version of Org-mode available from git at
> http://orgmode.org/org-mode-download.html and let us know if the problem
> persists.

Eric, git latest did solve the problem - thanks. For google posterity,
if you are running emacs 23 or 24 (at the time of this writing with org
mode v7.7) and if you bump into the following error while batch
exporting from gnuplot:

Symbol's function definition is void: copy-seq

You will need to obtain a later version of org-mode, which contains the
fix described here:

http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg01203.html

Many thanks for your help

Marco

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

end of thread, other threads:[~2012-01-01 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-29 20:44 Problems exporting org-babel to HTML Marco Craveiro
2011-12-29 21:10 ` Eric Schulte
2011-12-29 21:30   ` Marco Craveiro
2012-01-01 15:03     ` Marco Craveiro

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).