emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-latex-to-pdf-process missing?
@ 2010-11-22 15:19 Jeff Horn
  2010-11-22 16:23 ` Erik Iverson
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Horn @ 2010-11-22 15:19 UTC (permalink / raw)
  To: Org-mode ml

Dear orgsters,

Sorry for the noise, but it isn't immediately clear to me from the
docs. `C-h v org-latex-to-pdf-process` indicates that the variable
doesn't exist in my org-mode installation. I'm using org-mode 7.3 in
emacs 23.2 (Aquamacs 2.1).

I remember a discussion a few weeks ago centered on how to get org to
export to PDF using the appropriate compilation sequence. Is this
variable missing because org now uses texi2dvi or another shell
program that automagically figures this stuff out?

If so, someone who knows how might wish to update the latex export
page at worg.[1]

Thanks for the info,
Jeff

Footnotes:
[1] http://orgmode.org/worg/org-tutorials/org-latex-export.php

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-latex-to-pdf-process missing?
  2010-11-22 15:19 org-latex-to-pdf-process missing? Jeff Horn
@ 2010-11-22 16:23 ` Erik Iverson
  2010-11-23  0:17   ` Jeff Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Erik Iverson @ 2010-11-22 16:23 UTC (permalink / raw)
  To: Jeff Horn; +Cc: Org-mode ml

I'm guessing you just need to

(require 'org-latex)

--Erik

Jeff Horn wrote:
> Dear orgsters,
> 
> Sorry for the noise, but it isn't immediately clear to me from the
> docs. `C-h v org-latex-to-pdf-process` indicates that the variable
> doesn't exist in my org-mode installation. I'm using org-mode 7.3 in
> emacs 23.2 (Aquamacs 2.1).
> 
> I remember a discussion a few weeks ago centered on how to get org to
> export to PDF using the appropriate compilation sequence. Is this
> variable missing because org now uses texi2dvi or another shell
> program that automagically figures this stuff out?
> 
> If so, someone who knows how might wish to update the latex export
> page at worg.[1]
> 
> Thanks for the info,
> Jeff
> 
> Footnotes:
> [1] http://orgmode.org/worg/org-tutorials/org-latex-export.php
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-latex-to-pdf-process missing?
  2010-11-22 16:23 ` Erik Iverson
@ 2010-11-23  0:17   ` Jeff Horn
  2010-11-23 12:20     ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Horn @ 2010-11-23  0:17 UTC (permalink / raw)
  To: Erik Iverson; +Cc: Org-mode ml

Ok, that worked. Thanks, Erik.

I'd appreciate your, or anyone else's help with the following questions.

1) I see stuff floating around the list from time to time about
"org-install", which I've never had to use, but I gather takes care of
some autoloads. Is this correct?
2) I pull once in a while from the git repo and recompile. If I were
running a fresh installation of emacs with the latest version of
org-mode, what would the minimum required setup be from the user's
perspective? I didn't have to add *anything* to my config file for a
while, and org-mode worked fine.
3) Shouldn't org-latex be loaded automatically?
4) What else is floating around that I should be requiring?
5) Aren't (require 'function)'s looked down upon in the user's
customization file?

Thanks,
Jeff

On Mon, Nov 22, 2010 at 11:23 AM, Erik Iverson <eriki@ccbr.umn.edu> wrote:
> I'm guessing you just need to
>
> (require 'org-latex)
>
> --Erik
>
> Jeff Horn wrote:
>>
>> Dear orgsters,
>>
>> Sorry for the noise, but it isn't immediately clear to me from the
>> docs. `C-h v org-latex-to-pdf-process` indicates that the variable
>> doesn't exist in my org-mode installation. I'm using org-mode 7.3 in
>> emacs 23.2 (Aquamacs 2.1).
>>
>> I remember a discussion a few weeks ago centered on how to get org to
>> export to PDF using the appropriate compilation sequence. Is this
>> variable missing because org now uses texi2dvi or another shell
>> program that automagically figures this stuff out?
>>
>> If so, someone who knows how might wish to update the latex export
>> page at worg.[1]
>>
>> Thanks for the info,
>> Jeff
>>
>> Footnotes:
>> [1] http://orgmode.org/worg/org-tutorials/org-latex-export.php
>>
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-latex-to-pdf-process missing?
  2010-11-23  0:17   ` Jeff Horn
@ 2010-11-23 12:20     ` Bernt Hansen
  2010-11-24 17:09       ` Jeff Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2010-11-23 12:20 UTC (permalink / raw)
  To: Jeff Horn; +Cc: Org-mode ml

Jeff Horn <jrhorn424@gmail.com> writes:

Hi Jeff,

> Ok, that worked. Thanks, Erik.
>
> I'd appreciate your, or anyone else's help with the following
> questions.

I'll take a shot at it :)

> 1) I see stuff floating around the list from time to time about
> "org-install", which I've never had to use, but I gather takes care of
> some autoloads. Is this correct?

Yes this is for autoloads.  I think this is provided for you if you use
the version of org-mode that comes with Emacs.  If you want to use a
newer org-mode from git then you should require org-install so you get
the autoload definitions that go with that version of org-mode.

> 2) I pull once in a while from the git repo and recompile. If I were
> running a fresh installation of emacs with the latest version of
> org-mode, what would the minimum required setup be from the user's
> perspective? I didn't have to add *anything* to my config file for a
> while, and org-mode worked fine.

> 3) Shouldn't org-latex be loaded automatically?

You're referencing a variable in org-latex.  It probably doesn't get
defined until you have auto-loaded org-latex by using some function
provided by that file.  If you want to use the variable before that I
think you need to require the package to force loading it early.

> 4) What else is floating around that I should be requiring?

That depends on what variables you want to use before you load the
corresponding org package I think.

> 5) Aren't (require 'function)'s looked down upon in the user's
> customization file?

They are?  Not that I'm aware of.  I add require lines for anything I
want to have setup before it's called the first time (not that I restart
emacs all that often but it happens.)  I have requires for the following
org packages in my .emacs

  - (require 'org-install)
  - (require 'org-protocol)
  - (require 'org-crypt)
  - (require 'org-id)
  - (require 'org-latex)

Regards,
Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-latex-to-pdf-process missing?
  2010-11-23 12:20     ` Bernt Hansen
@ 2010-11-24 17:09       ` Jeff Horn
  2010-11-24 23:56         ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Horn @ 2010-11-24 17:09 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Org-mode ml

>> 1) I see stuff floating around the list from time to time about
>> "org-install", which I've never had to use, but I gather takes care of
>> some autoloads. Is this correct?
>
> Yes this is for autoloads.  I think this is provided for you if you use
> the version of org-mode that comes with Emacs.  If you want to use a
> newer org-mode from git then you should require org-install so you get
> the autoload definitions that go with that version of org-mode.

Will do.

>> 3) Shouldn't org-latex be loaded automatically?
>
> You're referencing a variable in org-latex.  It probably doesn't get
> defined until you have auto-loaded org-latex by using some function
> provided by that file.  If you want to use the variable before that I
> think you need to require the package to force loading it early.

I didn't realized that's how autoloads work. So they're "just in time"
loads? Designed to cut back on the initial load time?

>> 5) Aren't (require 'function)'s looked down upon in the user's
>> customization file?
>
> They are?  Not that I'm aware of.  I add require lines for anything I
> want to have setup before it's called the first time (not that I restart
> emacs all that often but it happens.)  I have requires for the following
> org packages in my .emacs
>
>  - (require 'org-install)
>  - (require 'org-protocol)
>  - (require 'org-crypt)
>  - (require 'org-id)
>  - (require 'org-latex)

That's helpful. Part of my confusion was that some of those packages,
like protocol, crypt, and id, are available through the customize
interface (my preferred method of dealing with org-mode setup), but
org-latex was not listed (nor org-install, but that seems reasonable
to me).

Thanks!
Jeff

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-latex-to-pdf-process missing?
  2010-11-24 17:09       ` Jeff Horn
@ 2010-11-24 23:56         ` Bernt Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2010-11-24 23:56 UTC (permalink / raw)
  To: Jeff Horn; +Cc: Org-mode ml

Jeff Horn <jrhorn424@gmail.com> writes:

>>> 3) Shouldn't org-latex be loaded automatically?
>>
>> You're referencing a variable in org-latex.  It probably doesn't get
>> defined until you have auto-loaded org-latex by using some function
>> provided by that file.  If you want to use the variable before that I
>> think you need to require the package to force loading it early.
>
> I didn't realized that's how autoloads work. So they're "just in time"
> loads? Designed to cut back on the initial load time?

That's my understanding of how it works.  The main purpose of autoloads
(as far as I know) is to speed up Emacs initial startup time.

Regards,
Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-24 23:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22 15:19 org-latex-to-pdf-process missing? Jeff Horn
2010-11-22 16:23 ` Erik Iverson
2010-11-23  0:17   ` Jeff Horn
2010-11-23 12:20     ` Bernt Hansen
2010-11-24 17:09       ` Jeff Horn
2010-11-24 23:56         ` Bernt Hansen

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).