From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Re: Need help publishing subdirectories Date: Wed, 13 Oct 2010 11:23:22 -0400 Message-ID: References: <22513.1286897899@gamaville.dokosmarshall.org> <28250.1286904282@gamaville.dokosmarshall.org> <30536.1286907014@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P63BA-0002er-S1 for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 11:23:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P63B9-0001w4-A7 for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 11:23:44 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:39924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P63B9-0001vr-67 for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 11:23:43 -0400 Received: by iwn1 with SMTP id 1so9754881iwn.0 for ; Wed, 13 Oct 2010 08:23:42 -0700 (PDT) In-Reply-To: <30536.1286907014@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: Org-mode ml (We had a bit of discussion off list. I had a fresh crack at the problem this morning, so I'm copying the list on this message.) > =A0 =A0(setq tmp-pub-dir > =A0 =A0 =A0 =A0 =A0(file-name-directory > =A0 =A0 =A0 =A0 =A0 (concat pub-dir > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (and (string-match (regexp-quote base= -dir) ftname) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(substring ftname (match-e= nd 0)))))) > > ;;;VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV > ;;; add a debug call, reeavaluate the function, do the publish and when > ;;; you are dumped into the debugger, say e project-plist and see > ;;; what :table-of-contents is set to. If it's what it's supposed to be, > ;;; continue execution with c and look at the html file, both contents > ;;; and modification time. If it's still wrong in terms of contents but > ;;; right in terms of modification time, there is something wrong with > ;;; the publishing function: you might want to step through it with > ;;; edebug, checking things along the way. > > =A0 =A0(debug) > > ;;;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I was stopping the debug process after pressing "R project-plist RET". I've finished stepping through the project with "c" and the project-plist contains the right project at every step, with the right settings, ":table-of-contents nil" and ":section-numbers nil". The file modification times are correct, but the content is wrong. There are section numbers, a table of contents, and the file lacks my defined linked style sheet. Could you walk me through "edebug"? Simply replace "(debug)" above with "(edebug)" didn't do the trick. Thanks! Jeff --=20 Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com