From: gerald.jean@dgag.ca
To: tassilo@member.fsf.org
Cc: emacs-orgmode@gnu.org
Subject: Re: RE Re: Issues with org-mode and LaTeX export.
Date: Thu, 21 Oct 2010 13:58:24 -0400 [thread overview]
Message-ID: <OF880DCF63.BA896FFD-ON852577C3.0061F858-852577C3.0062BB32@dgag.ca> (raw)
In-Reply-To: <87d3r35tng.fsf@thinkpad.tsdh.de>
Thanks again Tassilo,
here is what I tried.
Tassilo Horn <tassilo@member.fsf.org> a écrit sur 2010/10/21 13:42:59 :
> gerald.jean@dgag.ca writes:
>
> Hi Gerald,
>
> >> I think this should do what you want, e.g. enable babel with english
> >> and francais options:
> >>
> >> --8<---------------cut here---------------start------------->8---
> >> (setq org-export-latex-packages-alist
> >> '(("english, francais" "babel" nil)))
> >> --8<---------------cut here---------------end--------------->8---
> >>
> >> > Does the .emacs file needs to be modified every time one wants to
add
> >> > a new package?
> >>
> >> If you want a new package in every exported document, add an entry of
> >> form (OPTIONS PACKAGE nil) to the list above.
> >
> > That works, thanks, but when do you use "#+LATEX_HEADER:" then?
>
> I don't use the LaTeX export at all (at least regularily). :-)
>
> > I thought that if I wanted a package just for this one org file that
> > it was the way to specify it, sure doesn't work for me?
>
> Yes, the docs say so. I had the impression that you want to enable
> babel for each exported org file, so I chose the version above. But you
> can also use
>
You were right for the babel package, I use it all the time. But some
other packages not so often
> #+LATEX_HEADER: "\usepackage[english, francais]{babel}"
>
> in your org file, which should have the same effect.
I tried this:
#+LATEX_HEADER: "\usepackage{longtable}"
No effects?
>
> > 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.
For the little I have done with org mode I still think it looks like a
great package and I am planning to learn to use it better so I use it more.
Thanks to all contributors.
Cheers,
Gérald
>
> Bye,
> Tassilo
next prev parent reply other threads:[~2010-10-21 17:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 14:42 Issues with org-mode and LaTeX export gerald.jean
2010-10-21 15:03 ` Tassilo Horn
2010-10-21 16:56 ` RE " gerald.jean
2010-10-21 17:42 ` Tassilo Horn
2010-10-21 17:58 ` gerald.jean [this message]
2010-10-21 18:26 ` Erik Iverson
2010-10-21 18:37 ` gerald.jean
2010-10-21 19:47 ` Nick Dokos
2010-10-22 18:03 ` Scot Becker
2010-10-21 17:47 ` Thomas S. Dye
2010-10-21 15:10 ` Giovanni Ridolfi
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=OF880DCF63.BA896FFD-ON852577C3.0061F858-852577C3.0062BB32@dgag.ca \
--to=gerald.jean@dgag.ca \
--cc=emacs-orgmode@gnu.org \
--cc=tassilo@member.fsf.org \
/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).