From mboxrd@z Thu Jan 1 00:00:00 1970 From: charles snyder Subject: Re: export problem Date: Thu, 22 Apr 2010 20:33:18 -0500 Message-ID: References: <15190.1271910821@gamaville.dokosmarshall.org> <21380.1271960966@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0592127552==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O57m3-0006aR-KU for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 21:33:43 -0400 Received: from [140.186.70.92] (port=55434 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O57m1-0006ZR-Sp for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 21:33:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O57lz-0007Vt-KV for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 21:33:41 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:53983) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O57lz-0007Vn-DL for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 21:33:39 -0400 Received: by gwj15 with SMTP id 15so2759464gwj.0 for ; Thu, 22 Apr 2010 18:33:38 -0700 (PDT) In-Reply-To: <21380.1271960966@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --===============0592127552== Content-Type: multipart/alternative; boundary=001636c92c9d9e3ec30484dd6a97 --001636c92c9d9e3ec30484dd6a97 Content-Type: text/plain; charset=ISO-8859-1 Thanks Nick! On 2 different machines, I got a "no match" when I tried C-h f org-export-as-freemind and when I followed your instructions: M-x load-library org-freemind 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 wrote: > charles snyder 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 > > say? If it is says "No match", try loading org-freemind: > > M-x load-library org-freemind > > 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 > wrote: > > > > charles snyder 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. > > > > > > \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 --001636c92c9d9e3ec30484dd6a97 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Nick!

On 2 different machines,
I got a "no match&quo= t; when I tried C-h f org-export-as-freemind <RET>
and when I foll= owed your instructions:

M-x load-library <RET> org-freemind &l= t;RET>
followed by C-c C-e m

It worked!

so, when I added:

(l= oad-library "C:/Users/clsnyder/Documents/org-6.33/lisp/org-freemind&qu= ot;) to my .emacs, it works!

but I have no clue why it stopped worki= ng 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.co= m> wrote:

> I get the same error message ("Wrong type= argument: commandp, org-export-as-freemind") =A0 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

=A0 =A0 =A0C-h f org-export-as-freemind <RET>

say? If it is says "No match", try loading org-freemind:

=A0 =A0M-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, debu= g
it there and then propagate the fix(es) to all the others.

To debug it, please read section 1.4, "Feedback", =A0of the Org m= anual.
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 succes= s.
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:
>
> =A0 =A0 charles snyder <clsny= der@gmail.com> wrote:
>
> =A0 =A0 > Until recently, my org exports worked perfectly. I haven&= #39;t made any changes I am aware of. Now
> =A0 =A0 > I am having export problems with my .org files.=A0
> =A0 =A0 >
> =A0 =A0 > When I try to export as freemind (C-c C-e =A0m) I get: > =A0 =A0 > "wrong type argument: org-export-as-freemind".= =A0
> =A0 =A0 >
> =A0 =A0 > When I try=A0to export as pdf (C-c C-e =A0d), I get the f= ollowing error:
> =A0 =A0 > ...
> =A0 =A0 > Runaway argument?
> =A0 =A0 > {Request Library books \href {http://www.jocolibrary.org= /default.aspx\ETC.
> =A0 =A0 > ! File ended while scanning use of \@xdblarg.
> =A0 =A0 > <inserted text>=A0
> =A0 =A0 > =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\par=A0
> =A0 =A0 > ...
> =A0 =A0 > I am using org mode 6.35 emacs,=A0GNU Emacs 22.3.1
> =A0 =A0 > (i386-apple-darwin9.7.0, Carbon Version 1.6.0) or Aquamac= s=A0GNU Emacs
> =A0 =A0 > 23.0.94.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54= ) on mac osx
> =A0 =A0 > (but same problem on windows)
> =A0 =A0 >
>
> =A0 =A0 I tried both exports on a (trivial, although it did include so= me links)
> =A0 =A0 org file and I had no problems. Can you try to get a minimal e= xample of
> =A0 =A0 an org file that causes these problems for you and post it her= e? Posting
> =A0 =A0 the whole file (modulo any privacy concerns) is the second bes= t
> =A0 =A0 possibility.
>
> =A0 =A0 If that is not possible, it's going to be tougher going: t= ry exporting
> =A0 =A0 to latex and then run pdftex on it by hand. If that gives you = the same
> =A0 =A0 error, then post the portion of the latex file around the erro= r and the
> =A0 =A0 corresponding portion of the org file. That's probably not= going to be
> =A0 =A0 enough information but you never know.
>
> =A0 =A0 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
Kans= as City, MO
www.clsnyder.com
--001636c92c9d9e3ec30484dd6a97-- --===============0592127552== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0592127552==--