emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Rebuilding orgcard for US Letter
@ 2008-05-16 16:12 Marc Oscar Singer
  2008-05-16 22:01 ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Oscar Singer @ 2008-05-16 16:12 UTC (permalink / raw)
  To: emacs-orgmode

I'd like to rebuild the orgcard.tex file into
a US letter sized document.

    elf@zealous ~...gtd/org-6.03 > make doc/orgcard.pdf
    (cd doc; tex orgcard.tex)
    This is TeX, Version 3.141592 (Web2C 7.5.6)
    kpathsea: Running mktexfmt tex.fmt
    I can't find the format file `tex.fmt'!
    make: *** [doc/orgcard.dvi] Error 1

I have tex installed, but I'm not sure if this file
should be part of the orgmode package, or part of
my distribution.

Thoughts?

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

* Re: Rebuilding orgcard for US Letter
  2008-05-16 16:12 Rebuilding orgcard for US Letter Marc Oscar Singer
@ 2008-05-16 22:01 ` Nick Dokos
  2008-05-19 22:18   ` Marc Oscar Singer
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2008-05-16 22:01 UTC (permalink / raw)
  To: Marc Oscar Singer; +Cc: emacs-orgmode

Marc Oscar Singer <elf@synapse.com> wrote:

> I'd like to rebuild the orgcard.tex file into
> a US letter sized document.
> 
>    elf@zealous ~...gtd/org-6.03 > make doc/orgcard.pdf
>    (cd doc; tex orgcard.tex)
>    This is TeX, Version 3.141592 (Web2C 7.5.6)
>    kpathsea: Running mktexfmt tex.fmt
>    I can't find the format file `tex.fmt'!
>    make: *** [doc/orgcard.dvi] Error 1
> 
> I have tex installed, but I'm not sure if this file
> should be part of the orgmode package, or part of
> my distribution.
> 
> Thoughts?
> 

Your TeX installation seems to be misconfigured/incomplete.
This is what I get:

---------------------------------------------------------------------------
$ make doc/orgcard.pdf
(cd doc; tex orgcard.tex)
This is TeX, Version 3.141592 (Web2C 7.5.5)
(./orgcard.tex [3 columns per page] [1] [2] )
Output written on orgcard.dvi (2 pages, 20304 bytes).
Transcript written on orgcard.log.
dvips -q -f -t landscape doc/orgcard.dvi | gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=doc/orgcard.pdf -c .setpdfwrite -
---------------------------------------------------------------------------

It *should* be the case that you can find the tex.fmt file
somewhere on your machine - try:

          kpsewhich tex.fmt

mktexfmt should actually be able to make it and install it - if
you don't find it in the above step, try making it:

          mktexfmt tex.fmt

and see where it ends up.

If this doesn't work, maybe somebody else has more/better ideas!-)

Regards,
Nick

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

* Re: Rebuilding orgcard for US Letter
  2008-05-16 22:01 ` Nick Dokos
@ 2008-05-19 22:18   ` Marc Oscar Singer
  2008-05-20 13:23     ` OT: HOWTO Configure TeX:: was " Eric J. Haywiser
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Oscar Singer @ 2008-05-19 22:18 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

Nick Dokos wrote:
> Marc Oscar Singer <elf@synapse.com> wrote:
>
>   
> Your TeX installation seems to be misconfigured/incomplete.
>   
That was true.  Once I installed it, I was able to run make doc.
Unfortunately, I still was getting an A4 sized orgcard.  I had to
add -t letter to the dvips command to coerce the output to be
letter.  Not sure why.

Thanks for the help.

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

* OT:  HOWTO Configure TeX:: was Re: Rebuilding orgcard for US Letter
  2008-05-19 22:18   ` Marc Oscar Singer
@ 2008-05-20 13:23     ` Eric J. Haywiser
  2008-05-20 14:50       ` Joel J. Adamson
  0 siblings, 1 reply; 5+ messages in thread
From: Eric J. Haywiser @ 2008-05-20 13:23 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

On Mon, 19 May 2008, Marc Oscar Singer wrote:

> Nick Dokos wrote:
>> Marc Oscar Singer <elf@synapse.com> wrote:
>>
>>   Your TeX installation seems to be misconfigured/incomplete.
>> 
> That was true.  Once I installed it, I was able to run make doc.
> Unfortunately, I still was getting an A4 sized orgcard.  I had to
> add -t letter to the dvips command to coerce the output to be
> letter.  Not sure why.

If you are running the teTeX which ships with many Linux distros, the
default paper is A4.  Running texconfig then selecting paper|letter
from the menus should solve your problems.  The same solution may work
in other circumstances as well.

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

* Re: OT: HOWTO Configure TeX:: was Re: Rebuilding orgcard for US Letter
  2008-05-20 13:23     ` OT: HOWTO Configure TeX:: was " Eric J. Haywiser
@ 2008-05-20 14:50       ` Joel J. Adamson
  0 siblings, 0 replies; 5+ messages in thread
From: Joel J. Adamson @ 2008-05-20 14:50 UTC (permalink / raw)
  To: Eric J. Haywiser; +Cc: emacs-orgmode

"Eric J. Haywiser" <ejh1@MIT.EDU> writes:

> On Mon, 19 May 2008, Marc Oscar Singer wrote:
>
>> Nick Dokos wrote:
>>> Marc Oscar Singer <elf@synapse.com> wrote:
>>>
>>>   Your TeX installation seems to be misconfigured/incomplete.
>>>
>> That was true.  Once I installed it, I was able to run make doc.
>> Unfortunately, I still was getting an A4 sized orgcard.  I had to
>> add -t letter to the dvips command to coerce the output to be
>> letter.  Not sure why.
>
> If you are running the teTeX which ships with many Linux distros, the
> default paper is A4.  Running texconfig then selecting paper|letter
> from the menus should solve your problems.  The same solution may work
> in other circumstances as well.

Wow!  Thanks for pointing that out ;)  I've been using teTeX for almost
three years and didn't know about that!

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj

Ineffective security measure:

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.

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

end of thread, other threads:[~2008-05-20 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-16 16:12 Rebuilding orgcard for US Letter Marc Oscar Singer
2008-05-16 22:01 ` Nick Dokos
2008-05-19 22:18   ` Marc Oscar Singer
2008-05-20 13:23     ` OT: HOWTO Configure TeX:: was " Eric J. Haywiser
2008-05-20 14:50       ` Joel J. Adamson

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