* export problem
@ 2010-04-22 3:59 charles snyder
2010-04-22 4:33 ` Nick Dokos
0 siblings, 1 reply; 8+ messages in thread
From: charles snyder @ 2010-04-22 3:59 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 5063 bytes --]
Hi
Until recently, my org exports worked perfectly. I haven't made any changes
I am aware of. Now
I am having export problems with my .org files.
When I try to export as freemind (C-c C-e m) I get:
"wrong type argument: org-export-as-freemind".
When I try to export as pdf (C-c C-e d), I get the following error:
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(/Users/clsnyder/Dropbox/emacs_org/personal.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german,
ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua,
ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish,
por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fixltx2e.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/float/float.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/soul/soul.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/ts1enc.def
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/marvosym/marvosym.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/wasysym/wasysym.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/latexsym.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2007/texmf/tex/latex/config/hyperref.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
Implicit mode ON; LaTeX internals redefined
(/usr/local/texlive/2007/texmf-dist/tex/latex/ltxmisc/url.sty))
*hyperref using default driver hpdftex*
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/hpdftex.def)
(./personal.aux)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/oberdiek/refcount.sty))
(./personal.out) (./personal.out)
(/usr/local/texlive/2007/texmf-dist/tex/latex/wasysym/uwasy.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/ulasy.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/umsb.fd)
(./personal.toc
) (/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1cmtt.fd)
[1{/usr/local/t
exlive/2007/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2]
Overfull \vbox (599.92874pt too high) has occurred while \output is active
[3])
Runaway argument?
{Request Library books \href {http://www.jocolibrary.org/default.aspx\ETC.
! File ended while scanning use of \@xdblarg.
<inserted text>
\par
<*> /Users/clsnyder/Dropbox/emacs_org/personal.tex
! Emergency stop.
<*> /Users/clsnyder/Dropbox/emacs_org/personal.tex
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on personal.log.
I am using org mode 6.35 emacs, GNU Emacs 22.3.1 (i386-apple-darwin9.7.0,
Carbon Version 1.6.0) or Aquamacs GNU Emacs 23.0.94.1
(i386-apple-darwin9.8.0, NS apple-appkit-949.54) on mac osx (but same
problem on windows)
Thanks in advance
Charles Snyder
--
Charles L. Snyder, MD
Professor of Surgery
Children's Mercy Hospital
Kansas City, MO
www.clsnyder.com
[-- Attachment #1.2: Type: text/html, Size: 6422 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: export problem
2010-04-22 3:59 export problem charles snyder
@ 2010-04-22 4:33 ` Nick Dokos
2010-04-22 16:20 ` charles snyder
0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2010-04-22 4:33 UTC (permalink / raw)
To: charles snyder; +Cc: nicholas.dokos, emacs-orgmode
charles snyder <clsnyder@gmail.com> wrote:
> Until recently, my org exports worked perfectly. I haven't made any changes I am aware of. Now
> I am having export problems with my .org files.
>
> When I try to export as freemind (C-c C-e m) I get:
> "wrong type argument: org-export-as-freemind".
>
> When I try to export as pdf (C-c C-e d), I get the following error:
> ...
> Runaway argument?
> {Request Library books \href {http://www.jocolibrary.org/default.aspx\ETC.
> ! File ended while scanning use of \@xdblarg.
> <inserted text>
> \par
> ...
> I am using org mode 6.35 emacs, GNU Emacs 22.3.1
> (i386-apple-darwin9.7.0, Carbon Version 1.6.0) or Aquamacs GNU Emacs
> 23.0.94.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) on mac osx
> (but same problem on windows)
>
I tried both exports on a (trivial, although it did include some links)
org file and I had no problems. Can you try to get a minimal example of
an org file that causes these problems for you and post it here? Posting
the whole file (modulo any privacy concerns) is the second best
possibility.
If that is not possible, it's going to be tougher going: try exporting
to latex and then run pdftex on it by hand. If that gives you the same
error, then post the portion of the latex file around the error and the
corresponding portion of the org file. That's probably not going to be
enough information but you never know.
Nick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: export problem
2010-04-22 4:33 ` Nick Dokos
@ 2010-04-22 16:20 ` charles snyder
2010-04-22 18:29 ` Nick Dokos
0 siblings, 1 reply; 8+ messages in thread
From: charles snyder @ 2010-04-22 16:20 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 2076 bytes --]
I get the same error message ("Wrong type argument: commandp,
org-export-as-freemind") with *any *org file on:
home windows 7 emacs 23, orgmode 6.34
home mac osx as previously described -emacs/aquamacs
work windows XP emacs 23
(all gnu emacs)
all have different .emacs files
all are using recent (6.33a to latest) versions of orgmode
cls
On Wed, Apr 21, 2010 at 11:33 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> charles snyder <clsnyder@gmail.com> wrote:
>
>
> > Until recently, my org exports worked perfectly. I haven't made any
> changes I am aware of. Now
> > I am having export problems with my .org files.
> >
> > When I try to export as freemind (C-c C-e m) I get:
> > "wrong type argument: org-export-as-freemind".
> >
> > When I try to export as pdf (C-c C-e d), I get the following error:
> > ...
> > Runaway argument?
> > {Request Library books \href {
> http://www.jocolibrary.org/default.aspx\ETC<http://www.jocolibrary.org/default.aspx%5CETC>
> .
> > ! File ended while scanning use of \@xdblarg.
> > <inserted text>
> > \par
> > ...
> > I am using org mode 6.35 emacs, GNU Emacs 22.3.1
> > (i386-apple-darwin9.7.0, Carbon Version 1.6.0) or Aquamacs GNU Emacs
> > 23.0.94.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) on mac osx
> > (but same problem on windows)
> >
>
> I tried both exports on a (trivial, although it did include some links)
> org file and I had no problems. Can you try to get a minimal example of
> an org file that causes these problems for you and post it here? Posting
> the whole file (modulo any privacy concerns) is the second best
> possibility.
>
> If that is not possible, it's going to be tougher going: try exporting
> to latex and then run pdftex on it by hand. If that gives you the same
> error, then post the portion of the latex file around the error and the
> corresponding portion of the org file. That's probably not going to be
> enough information but you never know.
>
> Nick
>
--
Charles L. Snyder, MD
Professor of Surgery
Children's Mercy Hospital
Kansas City, MO
www.clsnyder.com
[-- Attachment #1.2: Type: text/html, Size: 2828 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: export problem
2010-04-22 16:20 ` charles snyder
@ 2010-04-22 18:29 ` Nick Dokos
2010-04-23 1:33 ` charles snyder
0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2010-04-22 18:29 UTC (permalink / raw)
To: charles snyder; +Cc: nicholas.dokos, emacs-orgmode
charles snyder <clsnyder@gmail.com> wrote:
> I get the same error message ("Wrong type argument: commandp, org-export-as-freemind") with any org file on:
>
> home windows 7 emacs 23, orgmode 6.34
> home mac osx as previously described -emacs/aquamacs
> work windows XP emacs 23
> (all gnu emacs)
> all have different .emacs files
> all are using recent (6.33a to latest) versions of orgmode
>
> cls
>
This sounds as if org-freemind is not loaded. What does
C-h f org-export-as-freemind <RET>
say? If it is says "No match", try loading org-freemind:
M-x load-library <RET> org-freemind <RET>
and try the export again.
If that does not work, I assume that you somehow introduced the same
setup problem on all the machines. I'd concentrate on one machine, debug
it there and then propagate the fix(es) to all the others.
To debug it, please read section 1.4, "Feedback", of the Org manual.
In particular, the section on "How to create a useful backtrace". Since
the problem is easy to reproduce, that's the most likely path to success.
When you get the backtrace, post it here.
Thanks,
Nick
> On Wed, Apr 21, 2010 at 11:33 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
>
> charles snyder <clsnyder@gmail.com> wrote:
>
> > Until recently, my org exports worked perfectly. I haven't made any changes I am aware of. Now
> > I am having export problems with my .org files.
> >
> > When I try to export as freemind (C-c C-e m) I get:
> > "wrong type argument: org-export-as-freemind".
> >
> > When I try to export as pdf (C-c C-e d), I get the following error:
> > ...
> > Runaway argument?
> > {Request Library books \href {http://www.jocolibrary.org/default.aspx\ETC.
> > ! File ended while scanning use of \@xdblarg.
> > <inserted text>
> > \par
> > ...
> > I am using org mode 6.35 emacs, GNU Emacs 22.3.1
> > (i386-apple-darwin9.7.0, Carbon Version 1.6.0) or Aquamacs GNU Emacs
> > 23.0.94.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) on mac osx
> > (but same problem on windows)
> >
>
> I tried both exports on a (trivial, although it did include some links)
> org file and I had no problems. Can you try to get a minimal example of
> an org file that causes these problems for you and post it here? Posting
> the whole file (modulo any privacy concerns) is the second best
> possibility.
>
> If that is not possible, it's going to be tougher going: try exporting
> to latex and then run pdftex on it by hand. If that gives you the same
> error, then post the portion of the latex file around the error and the
> corresponding portion of the org file. That's probably not going to be
> enough information but you never know.
>
> Nick
>
> --
> Charles L. Snyder, MD
> Professor of Surgery
> Children's Mercy Hospital
> Kansas City, MO
> www.clsnyder.com
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: export problem
2010-04-22 18:29 ` Nick Dokos
@ 2010-04-23 1:33 ` charles snyder
2010-04-23 3:36 ` Nick Dokos
0 siblings, 1 reply; 8+ messages in thread
From: charles snyder @ 2010-04-23 1:33 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 3892 bytes --]
Thanks Nick!
On 2 different machines,
I got a "no match" when I tried C-h f org-export-as-freemind <RET>
and when I followed your instructions:
M-x load-library <RET> org-freemind <RET>
followed by C-c C-e m
It worked!
so, when I added:
(load-library "C:/Users/clsnyder/Documents/org-6.33/lisp/org-freemind") to
my .emacs, it works!
but I have no clue why it stopped working and why I need to add this when
the line above it in .emacs is:
(add-to-list 'load-path "C:/Users/clsnyder/Documents/org-6.33/lisp")
Thanks for all your help
Chuck
On Thu, Apr 22, 2010 at 1:29 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> charles snyder <clsnyder@gmail.com> wrote:
>
> > I get the same error message ("Wrong type argument: commandp,
> org-export-as-freemind") with any org file on:
> >
> > home windows 7 emacs 23, orgmode 6.34
> > home mac osx as previously described -emacs/aquamacs
> > work windows XP emacs 23
> > (all gnu emacs)
> > all have different .emacs files
> > all are using recent (6.33a to latest) versions of orgmode
> >
> > cls
> >
>
> This sounds as if org-freemind is not loaded. What does
>
> C-h f org-export-as-freemind <RET>
>
> say? If it is says "No match", try loading org-freemind:
>
> M-x load-library <RET> org-freemind <RET>
>
> and try the export again.
>
> If that does not work, I assume that you somehow introduced the same
> setup problem on all the machines. I'd concentrate on one machine, debug
> it there and then propagate the fix(es) to all the others.
>
> To debug it, please read section 1.4, "Feedback", of the Org manual.
> In particular, the section on "How to create a useful backtrace". Since
> the problem is easy to reproduce, that's the most likely path to success.
> When you get the backtrace, post it here.
>
> Thanks,
> Nick
>
>
> > On Wed, Apr 21, 2010 at 11:33 PM, Nick Dokos <nicholas.dokos@hp.com>
> wrote:
> >
> > charles snyder <clsnyder@gmail.com> wrote:
> >
> > > Until recently, my org exports worked perfectly. I haven't made any
> changes I am aware of. Now
> > > I am having export problems with my .org files.
> > >
> > > When I try to export as freemind (C-c C-e m) I get:
> > > "wrong type argument: org-export-as-freemind".
> > >
> > > When I try to export as pdf (C-c C-e d), I get the following
> error:
> > > ...
> > > Runaway argument?
> > > {Request Library books \href {
> http://www.jocolibrary.org/default.aspx\ETC<http://www.jocolibrary.org/default.aspx%5CETC>
> .
> > > ! File ended while scanning use of \@xdblarg.
> > > <inserted text>
> > > \par
> > > ...
> > > I am using org mode 6.35 emacs, GNU Emacs 22.3.1
> > > (i386-apple-darwin9.7.0, Carbon Version 1.6.0) or Aquamacs GNU
> Emacs
> > > 23.0.94.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) on mac
> osx
> > > (but same problem on windows)
> > >
> >
> > I tried both exports on a (trivial, although it did include some
> links)
> > org file and I had no problems. Can you try to get a minimal example
> of
> > an org file that causes these problems for you and post it here?
> Posting
> > the whole file (modulo any privacy concerns) is the second best
> > possibility.
> >
> > If that is not possible, it's going to be tougher going: try
> exporting
> > to latex and then run pdftex on it by hand. If that gives you the
> same
> > error, then post the portion of the latex file around the error and
> the
> > corresponding portion of the org file. That's probably not going to
> be
> > enough information but you never know.
> >
> > Nick
> >
> > --
> > Charles L. Snyder, MD
> > Professor of Surgery
> > Children's Mercy Hospital
> > Kansas City, MO
> > www.clsnyder.com
> >
>
--
Charles L. Snyder, MD
Professor of Surgery
Children's Mercy Hospital
Kansas City, MO
www.clsnyder.com
[-- Attachment #1.2: Type: text/html, Size: 5262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: export problem
2010-04-23 1:33 ` charles snyder
@ 2010-04-23 3:36 ` Nick Dokos
2010-04-23 7:32 ` Nick Dokos
0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2010-04-23 3:36 UTC (permalink / raw)
To: charles snyder; +Cc: nicholas.dokos, emacs-orgmode
charles snyder <clsnyder@gmail.com> wrote:
> Thanks Nick!
>
Glad to help!
> On 2 different machines,
> I got a "no match" when I tried C-h f org-export-as-freemind <RET>
> and when I followed your instructions:
>
> M-x load-library <RET> org-freemind <RET>
> followed by C-c C-e m
>
> It worked!
>
> so, when I added:
>
> (load-library "C:/Users/clsnyder/Documents/org-6.33/lisp/org-freemind") to my .emacs, it works!
>
> but I have no clue why it stopped working and why I need to add this when the line above it in .emacs is:
>
> (add-to-list 'load-path "C:/Users/clsnyder/Documents/org-6.33/lisp")
>
The add-to-list just tells emacs where to find the files that it needs to load.
Because of it, you should be able to load org-freemind using just
(load-library "org-freemind")
The loading itself can be done in various ways: explicitly as shown above, or
implicitly through the autoload mechanism.
In my case, I load org-install.el (in my .emacs). org-install.el contains the following:
(autoload 'org-export-as-freemind "org-freemind" "\
Not documented
\(fn ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY PUB-DIR)" t nil)
so that when org-export-as-freemind is called, the autoload loads org-freemind.el (or
org-freemind.elc if the compiled file exists), that defines the function and the
call succeeds.
At least, that's how it *should* work. You could do a little detective work in your
setup to see how things are initialized and why it did not work.
One hint is that after the autoload is done but before you call the function,
if you say
C-h f org-export-as-freemind <RET>
it will say
,----
| org-export-as-freemind is an interactive autoloaded Lisp function in
| `org-freemind.el'.
|
| (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
| BODY-ONLY PUB-DIR)
|
| Not documented
`----
After you call the function once (which completes the loading),
C-h f org-export-as-freemind <RET>
will say something else:
,----
| org-export-as-freemind is an interactive compiled Lisp function in
| `org-freemind.el'.
|
| (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
| BODY-ONLY PUB-DIR)
|
| Not documented.
`----
Of course, in your case, emacs didn't know the function at all, so the
autoload never happened: either you are not loading org-install.el or
org-install.el does not contain the autoload form.
HTH,
Nick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: export problem
2010-04-23 3:36 ` Nick Dokos
@ 2010-04-23 7:32 ` Nick Dokos
2010-04-24 12:33 ` charles snyder
0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2010-04-23 7:32 UTC (permalink / raw)
To: charles snyder; +Cc: nicholas.dokos, emacs-orgmode
Nick Dokos <nicholas.dokos@hp.com> wrote:
> charles snyder <clsnyder@gmail.com> wrote:
>
> > Thanks Nick!
> >
> Glad to help!
>
BTW, I forgot that you originally reported two problems: the freemind export
was one of them, but you also had problems with a PDF export. AFAICT, the
solution to the freemind problem could not possibly affect the PDF export,
so I assume that the latter is still a problem - is that correct?
Thanks,
Nick
> > On 2 different machines,
> > I got a "no match" when I tried C-h f org-export-as-freemind <RET>
> > and when I followed your instructions:
> >
> > M-x load-library <RET> org-freemind <RET>
> > followed by C-c C-e m
> >
> > It worked!
> >
> > so, when I added:
> >
> > (load-library "C:/Users/clsnyder/Documents/org-6.33/lisp/org-freemind") to my .emacs, it works!
> >
> > but I have no clue why it stopped working and why I need to add this when the line above it in .emacs is:
> >
> > (add-to-list 'load-path "C:/Users/clsnyder/Documents/org-6.33/lisp")
> >
>
> The add-to-list just tells emacs where to find the files that it needs to load.
> Because of it, you should be able to load org-freemind using just
>
> (load-library "org-freemind")
>
> The loading itself can be done in various ways: explicitly as shown above, or
> implicitly through the autoload mechanism.
>
> In my case, I load org-install.el (in my .emacs). org-install.el contains the following:
>
> (autoload 'org-export-as-freemind "org-freemind" "\
> Not documented
>
> \(fn ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY PUB-DIR)" t nil)
>
> so that when org-export-as-freemind is called, the autoload loads org-freemind.el (or
> org-freemind.elc if the compiled file exists), that defines the function and the
> call succeeds.
>
> At least, that's how it *should* work. You could do a little detective work in your
> setup to see how things are initialized and why it did not work.
>
> One hint is that after the autoload is done but before you call the function,
> if you say
>
> C-h f org-export-as-freemind <RET>
>
> it will say
>
> ,----
> | org-export-as-freemind is an interactive autoloaded Lisp function in
> | `org-freemind.el'.
> |
> | (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
> | BODY-ONLY PUB-DIR)
> |
> | Not documented
> `----
>
> After you call the function once (which completes the loading),
>
> C-h f org-export-as-freemind <RET>
>
> will say something else:
>
> ,----
> | org-export-as-freemind is an interactive compiled Lisp function in
> | `org-freemind.el'.
> |
> | (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
> | BODY-ONLY PUB-DIR)
> |
> | Not documented.
> `----
>
> Of course, in your case, emacs didn't know the function at all, so the
> autoload never happened: either you are not loading org-install.el or
> org-install.el does not contain the autoload form.
>
> HTH,
> Nick
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: export problem
2010-04-23 7:32 ` Nick Dokos
@ 2010-04-24 12:33 ` charles snyder
0 siblings, 0 replies; 8+ messages in thread
From: charles snyder @ 2010-04-24 12:33 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 3631 bytes --]
I think that problem seemed to be localized to one machine, probably from
the tex installation.
Thanks
On Fri, Apr 23, 2010 at 2:32 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Nick Dokos <nicholas.dokos@hp.com> wrote:
>
> > charles snyder <clsnyder@gmail.com> wrote:
> >
> > > Thanks Nick!
> > >
> > Glad to help!
> >
>
> BTW, I forgot that you originally reported two problems: the freemind
> export
> was one of them, but you also had problems with a PDF export. AFAICT, the
> solution to the freemind problem could not possibly affect the PDF export,
> so I assume that the latter is still a problem - is that correct?
>
> Thanks,
> Nick
>
> > > On 2 different machines,
> > > I got a "no match" when I tried C-h f org-export-as-freemind <RET>
> > > and when I followed your instructions:
> > >
> > > M-x load-library <RET> org-freemind <RET>
> > > followed by C-c C-e m
> > >
> > > It worked!
> > >
> > > so, when I added:
> > >
> > > (load-library "C:/Users/clsnyder/Documents/org-6.33/lisp/org-freemind")
> to my .emacs, it works!
> > >
> > > but I have no clue why it stopped working and why I need to add this
> when the line above it in .emacs is:
> > >
> > > (add-to-list 'load-path "C:/Users/clsnyder/Documents/org-6.33/lisp")
> > >
> >
> > The add-to-list just tells emacs where to find the files that it needs to
> load.
> > Because of it, you should be able to load org-freemind using just
> >
> > (load-library "org-freemind")
> >
> > The loading itself can be done in various ways: explicitly as shown
> above, or
> > implicitly through the autoload mechanism.
> >
> > In my case, I load org-install.el (in my .emacs). org-install.el contains
> the following:
> >
> > (autoload 'org-export-as-freemind "org-freemind" "\
> > Not documented
> >
> > \(fn ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY PUB-DIR)" t nil)
> >
> > so that when org-export-as-freemind is called, the autoload loads
> org-freemind.el (or
> > org-freemind.elc if the compiled file exists), that defines the function
> and the
> > call succeeds.
> >
> > At least, that's how it *should* work. You could do a little detective
> work in your
> > setup to see how things are initialized and why it did not work.
> >
> > One hint is that after the autoload is done but before you call the
> function,
> > if you say
> >
> > C-h f org-export-as-freemind <RET>
> >
> > it will say
> >
> > ,----
> > | org-export-as-freemind is an interactive autoloaded Lisp function in
> > | `org-freemind.el'.
> > |
> > | (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
> > | BODY-ONLY PUB-DIR)
> > |
> > | Not documented
> > `----
> >
> > After you call the function once (which completes the loading),
> >
> > C-h f org-export-as-freemind <RET>
> >
> > will say something else:
> >
> > ,----
> > | org-export-as-freemind is an interactive compiled Lisp function in
> > | `org-freemind.el'.
> > |
> > | (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
> > | BODY-ONLY PUB-DIR)
> > |
> > | Not documented.
> > `----
> >
> > Of course, in your case, emacs didn't know the function at all, so the
> > autoload never happened: either you are not loading org-install.el or
> > org-install.el does not contain the autoload form.
> >
> > HTH,
> > Nick
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
>
--
Charles L. Snyder, MD
Professor of Surgery
Children's Mercy Hospital
Kansas City, MO
www.clsnyder.com
[-- Attachment #1.2: Type: text/html, Size: 5063 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-04-24 12:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 3:59 export problem charles snyder
2010-04-22 4:33 ` Nick Dokos
2010-04-22 16:20 ` charles snyder
2010-04-22 18:29 ` Nick Dokos
2010-04-23 1:33 ` charles snyder
2010-04-23 3:36 ` Nick Dokos
2010-04-23 7:32 ` Nick Dokos
2010-04-24 12:33 ` charles snyder
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.