From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julius Gamanyi Subject: Re: Re: Produce a pdf outline using the latex outline package of the notes in org file Date: Fri, 7 Jan 2011 08:36:07 +0000 Message-ID: References: <7yipy1x0qv.fsf@gmail.com> <87fwt5tpto.fsf@norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0996123500==" Return-path: Received: from [140.186.70.92] (port=56572 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb7nv-0000d3-7a for emacs-orgmode@gnu.org; Fri, 07 Jan 2011 03:36:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb7nt-0003e1-1c for emacs-orgmode@gnu.org; Fri, 07 Jan 2011 03:36:11 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:52042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb7ns-0003ds-UW for emacs-orgmode@gnu.org; Fri, 07 Jan 2011 03:36:09 -0500 Received: by ywj3 with SMTP id 3so7668588ywj.0 for ; Fri, 07 Jan 2011 00:36:08 -0800 (PST) In-Reply-To: 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: Bernt Hansen , Carsten Dominik Cc: Bastien Guerry , emacs-orgmode list --===============0996123500== Content-Type: multipart/alternative; boundary=90e6ba4fbf04709d8404993d8250 --90e6ba4fbf04709d8404993d8250 Content-Type: text/plain; charset=ISO-8859-1 On 7 January 2011 06:40, Carsten Dominik wrote: > > On Jan 7, 2011, at 3:22 AM, Bernt Hansen wrote: > > Hi Julius, >> >> Julius Gamanyi writes: >> >> While adding the changes to the current development code, I ran into an >>> obstacle: I couldn't find org-install.el even with the find command; but >>> org-install.el is part of the stable release. >>> Is org-install.el only added before a stable release or I'm I missing >>> something else? >>> >> >> You can create lisp/org-install.el with >> >> make lisp/org-install.el >> > Thanks, this works and now I can see org-install.el. Since org-install.el is generated, I think it's best if I don't change it but make sure that the autoload comments are picked up from org-latex-outline.el. > >> >>> Another question: must all the contributions be stored in the contrib >>> directory? >>> >> >> I think only contributions from people who haven't signed the FSF papers >> need to be limited to the contrib directory but Bastien or Carsten would >> have a more official comment on that. >> > > The contrib directory contains both stuff where no FSF papers > have been signed, and also things where it has not yet been determined > if they are generally useful and if they will be used by a significant > number of people. Normally such new contributions are added to > contrib/lisp, and then moved to lisp/ once it has been decided to do so. > So I would recommend that your initial patch puts it into contrib/lisp, > with corresponding changes to the org-modules variable in lisp/org.el > and in contrib/README. And, if you like, documentation on Worg. > I'll move the patches to contrib/lisp and make the updates. > This is how I used to handle this - the decision about > org-latex-outline.el will of course be made by Bastien. > > One thing: all files in lisp/ must have names which are > unique within the first 8 characters, due to Emacs rules > which require unique names for, I believe, MS-DOS. > org-latex-outline.el would not fulfill this requirement. > Maybe org-ltxol.el or so? Or maybe even better the code > can eventually simply be integrated into org-latex.el? > If the outline proves useful, then integrating it with org-latex.el would be much better. It consists of a copy-and-paste job of the functions (org-export-as-latex and org-export-latex-make-header) in org-latex.el. It adds the \end{outline} to org-export-as-latex and \begin{outline}[enumerate] to org-export-latex-make-header while removing the table of contents. It was the easiest thing that worked at the time but not the cleanest. Julius --90e6ba4fbf04709d8404993d8250 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 7 January 2011 06:40, Carsten Dominik <carsten.dom= inik@gmail.com> wrote:

On Jan 7, 2011, at 3:22 AM, Bernt Hansen wrote:

Hi Julius,

Julius Gamanyi <julius.gb= @gmail.com> write= s:

While adding the changes to the current development code, I ran into an
obstacle: I couldn't find org-install.el even with the find command; bu= t
org-install.el is part of the stable release.
Is org-install.el only added before a stable release or I'm I missing something else?

You can create lisp/org-install.el with

make lisp/org-install.el

Thanks= , this works and now I can see org-install.el. Since org-install.el is gene= rated,
I think it's best if I don't change it but make sure tha= t the autoload comments are
picked up from org-latex-outline.el.
=A0


Another question: must all the contributions be stored in the contrib
directory?

I think only contributions from people who haven't signed the FSF paper= s
need to be limited to the contrib directory but Bastien or Carsten would have a more official comment on that.

The contrib directory contains both stuff where no FSF papers
have been signed, and also things where it has not yet been determined
if they are generally useful and if they will be used by a significant
number of people. =A0Normally such new contributions are added to
contrib/lisp, and then moved to lisp/ once it has been decided to do so. So I would recommend that your initial patch puts it into contrib/lisp,
with corresponding changes to the org-modules variable in lisp/org.el
and in contrib/README. =A0And, if you like, documentation on Worg.

I'll move the patches to contrib/lisp and make the upd= ates.
=A0

If the outline proves useful, then integrating= it with org-latex.el would be much better.
It consists of a copy-and-pa= ste job of the functions
(org-export-as-latex and org-export-latex-make= -header) in org-latex.el. It adds the
\end{outline} to org-export-as-latex and \begin{outline}[enumerate]
to = org-export-latex-make-header while removing the table of contents.

I= t was the easiest thing that worked at the time but not the cleanest.

Julius

--90e6ba4fbf04709d8404993d8250-- --===============0996123500== 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 --===============0996123500==--