From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: RE Re: Issues with org-mode and LaTeX export. Date: Fri, 22 Oct 2010 19:03:50 +0100 Message-ID: References: <9716.1287690471@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0067146351==" Return-path: Received: from [140.186.70.92] (port=54134 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9LyR-0006tX-EK for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 14:04:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9LyP-0001hQ-NO for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 14:04:15 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:49083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9LyP-0001h7-Au for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 14:04:13 -0400 Received: by bwz16 with SMTP id 16so1583959bwz.0 for ; Fri, 22 Oct 2010 11:04:11 -0700 (PDT) In-Reply-To: <9716.1287690471@alphaville.usa.hp.com> 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: tassilo@member.fsf.org, emacs-orgmode@gnu.org, gerald.jean@dgag.ca --===============0067146351== Content-Type: multipart/alternative; boundary=0016e6deea8e38de80049338784e --0016e6deea8e38de80049338784e Content-Type: text/plain; charset=ISO-8859-1 I do hear you about not wanting to add maintenance overhead to yourself, but when they install the new Emacs, you even then may find you need a more recent recent org-mode release in your home directory. It does come with Emacs, to be sure, but they've been quite conservative about their cutoff dates, so even a brand new Emacs version typically has an org-mode version which has been significantly improved upon. sb On Thu, Oct 21, 2010 at 8:47 PM, Nick Dokos wrote: > gerald.jean@dgag.ca wrote: > > > I tried this: > > > > #+LATEX_HEADER: "\usepackage{longtable}" > > > > No effects? > > > > AFAIK, the quotes are not necessary, but the reason it's not > working is indeed that your version of org-mode doesn't know about > LATEX_HEADER at all. > > It was implemented with this commit: > > commit 20364d043a51c3c71493369c58a43b49566dbdaa > Author: Carsten Dominik > Date: Thu Oct 2 15:00:14 2008 +0200 > > Implement #+LATEX_HEADER special. > > Proposed by Austin Frank and apparently also by Russel Adams. > > > which I believe appeared in > > release_6.08 > > Note that the commit is two years old. > > > > > > > > I also looked at the manual to selectively export a part of the org > > > > file. They talk about the "org-export-select-tags" and > > > > "org-export-exclude-tags"; these variables don't even exist? > > > > > > They do. Are you still using that old org version 5.x? If so, well, > > > then maybe there were no such variables. And somewhen in org version > > > 6.x the export facilities were completely rewritten, so I guess you are > > > pretty alone with your problems unless you get a recent version. > > > > For the time being I am stuck with this version. I am sending a request > to > > our IT group to upgrade Emacs to the most recent version for the version > of > > RedHat we have, this should have a more recent version of org-mode, if I > am > > lucky that should be done in a couple weeks. In the mean time I will > > manually add, or exclude, what I want from the exported "*.tex" file. > > > > A couple of weeks?!? And you are not even sure which version of emacs > and org-mode you are going to get? I'd say, build your own: get > emacs/orgmode from the git mirror and build it yourself, install it in > your home directory if necessary. Even if it takes you a week or two to > get it done, at the end of it you'll be much better off at the end of > it. > > If you have a community of users, this might be more difficult, but maybe > you can exercise concerted pressure on your IT dept: they might be more > willing to listen to ten people than to one. > > If you are reasonably comfortable with git and make, it should only take > an hour or so to update/build/install; and assuming you stay with > "released" versions, you will only have to do that every couple of > months. > > In addition, depending on what emacs version you have, you might be able > to run recent org-mode even if your emas is old (certainly on emacs 23, > probably on emacs 22, and just maybe on emacs 21, although I'm not sure > about these). That might be enough for your purposes and it reduces > time requirements to just a few minutes every month or two. > > FWIW, the only use I have of whatever emacs gets installed with a system > is to bootstrap the latest emacs/orgmode: after that, it's deleted (or > at least, never used again). > > 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 > --0016e6deea8e38de80049338784e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I do hear you about not wanting to add maintenance overhead to yourself, bu= t when they install the new Emacs, you even then may find you need a more r= ecent recent org-mode release in your home directory.=A0 It does come with = Emacs, to be sure, but they've been quite conservative about their cuto= ff dates, so even a brand new Emacs version typically has an org-mode versi= on which has been significantly improved upon.


sb

On Thu, Oct 21, 2010 at 8:47 P= M, Nick Dokos <nicholas.dokos@hp.com> wrote:
> I tried this:
>
> #+LATEX_HEADER: "\usepackage{longtable}"
>
> No effects?
>

AFAIK, the quotes are not necessary, but the reason it's not
working is indeed that your version of org-mode doesn't know about
LATEX_HEADER at all.

It was implemented with this commit:

commit 20364d043a51c3c71493369c58a43b49566dbdaa
Author: Carsten Dominik <ca= rsten.dominik@gmail.com>
Date: =A0 Thu Oct 2 15:00:14 2008 +0200

=A0 =A0Implement #+LATEX_HEADER special.

=A0 =A0Proposed by Austin Frank and apparently also by Russel Adams.


which I believe appeared in

=A0 =A0release_6.08

Note that the commit is two years old.

> >
> > > I also looked at the manual to selectively export a part of = the org
> > > file. =A0They talk about the "org-export-select-tags&qu= ot; and
> > > "org-export-exclude-tags"; these variables don'= ;t even exist?
> >
> > They do. =A0Are you still using that old org version 5.x? =A0If s= o, well,
> > then maybe there were no such variables. =A0And somewhen in org v= ersion
> > 6.x the export facilities were completely rewritten, so I guess y= ou are
> > pretty alone with your problems unless you get a recent version.<= br> >
> For the time being I am stuck with this version. =A0I am sending a req= uest to
> our IT group to upgrade Emacs to the most recent version for the versi= on of
> RedHat we have, this should have a more recent version of org-mode, if= I am
> lucky that should be done in a couple weeks. =A0In the mean time I wil= l
> manually add, or exclude, what I want from the exported "*.tex&qu= ot; file.
>

A couple of weeks?!? =A0And you are not even sure which version of em= acs
and org-mode you are going to get? I'd say, build your own: get
emacs/orgmode from the git mirror and build it yourself, install it in
your home directory if necessary. Even if it takes you a week or two to
get it done, at the end of it you'll be much better off at the end of it.

If you have a community of users, this might be more difficult, but maybe you can exercise concerted pressure on your IT dept: they might be more
willing to listen to ten people than to one.

If you are reasonably comfortable with git and make, it should only take an hour or so to update/build/install; and assuming you stay with
"released" versions, you will only have to do that every couple o= f
months.

In addition, depending on what emacs version you have, you might be able to run recent org-mode even if your emas is old (certainly on emacs 23,
probably on emacs 22, and just maybe on emacs 21, although I'm not sure=
about these). That might be enough for your purposes and it reduces
time requirements to just a few minutes every month or two.

FWIW, the only use I have of whatever emacs gets installed with a system is to bootstrap the latest emacs/orgmode: after that, it's deleted (or<= br> at least, never used again).

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

--0016e6deea8e38de80049338784e-- --===============0067146351== 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 --===============0067146351==--