From: Eric Schulte <schulte.eric@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: emacs-orgmode@gnu.org, Christian Egli <christian.egli@sbs.ch>
Subject: Re: Publishing problem on Worg due to babel intro
Date: Fri, 19 Aug 2011 07:22:30 -0600 [thread overview]
Message-ID: <87ei0ho39n.fsf@gmail.com> (raw)
In-Reply-To: m1fwl729zx.fsf@tsdye.com
tsd@tsdye.com (Thomas S. Dye) writes:
> Christian Egli <christian.egli@sbs.ch> writes:
>
>> Hi all
>>
>> I enhanced the taskjuggler tutorial on worg. However the fix is not
>> published as there is a problem with the intro page for Babel[1] (see
>> also the publishing report[2]). The page also fails if I try to publish
>> it locally with the following error message:
>>
>> mapc: Wrong type argument: consp, nil
>>
>> I don't understand where the problem is with this page but I'd
>> appreciate if any of the authors (Eric, Dan, Tom) or anyone else could
>> look into it.
>>
>> Thanks
>> Christian
>>
>> Footnotes:
>> [1] http://orgmode.org/worg/org-contrib/babel/intro.html
>> [2] http://orgmode.org/worg/publishing.txt
>
> Yes, something is wrong here.
>
> Pressing C-c C-c on this line raises the error:
>
> #+call: square(x=6)
>
> If I change the square source block from:
>
> #+srcname: square(x)
> #+begin_src python
> return x*x
> #+end_src
>
> to:
>
> #+srcname: square(x=1)
> #+begin_src python
> return x*x
> #+end_src
>
> then the error goes away, but it is raised later in the export,
> presumably on another code block.
>
When writing a code block *all* variables require a default value. I've
added default values to all of the variables in this file and it now
exports as expected.
Cheers -- Eric
>
> hth,
> Tom
--
Eric Schulte
http://cs.unm.edu/~eschulte/
next prev parent reply other threads:[~2011-08-19 15:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-11 14:41 Publishing problem on Worg due to babel intro Christian Egli
2011-08-11 16:22 ` Thomas S. Dye
2011-08-19 13:22 ` Eric Schulte [this message]
2011-08-19 15:13 ` Christian Egli
2011-08-19 16:16 ` Eric Schulte
2011-08-22 7:22 ` Christian Egli
2011-08-19 16:42 ` [PATCH] " Thomas S. Dye
2011-08-19 16:45 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ei0ho39n.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=christian.egli@sbs.ch \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).