From: Ben Alexander <bva@alexanderonline.org>
To: emacs-orgmode@gnu.org
Subject: Org-babel and LaTeX letter
Date: Mon, 5 Sep 2011 15:01:32 +0300 [thread overview]
Message-ID: <E0AB97FB-3280-45C8-99A1-2E93564BC191@alexanderonline.org> (raw)
Hello orgmode and latex users!
I'm trying to use a latex to write a letter, and I'm using an org
babel block to hold the original source. I've whittled down my latex
code to one word and it still isn't working for me. I've included the
code block and the pdflatex output buffer. I notice that the default
style is 'article'. Is there some way to remove the article style and
use a letter instead?
The funny thing is, if I run pdflatex from the command line, it works
fine. Though it doesn't have as many lines of diagnostic output. I
think the wrapping code for babel execution of latex code is the
issue. I'd be happy to install more tex files. I use MacPorts to
maintain my system; perhaps I am missing a tex package that is needed?
Any pointers would be helpful.
-Ben
ORG file
***** trial of latex
#+begin_src latex :file letter.pdf
Hello
#+end_src
BUFFER *Org PDF LaTeX Output* shows the following (first and last few
lines only)
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011/MacPorts
2011_1)
restricted \write18 enabled.
entering extended mode
(/var/folders/pC/pCO-RjsoEHGUcvQ-+Z3F2U+++TI/-Tmp-/babel-58334TCg/
latex-58334gM
m.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, lo
aded.
(/opt/local/share/texmf-texlive-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
.....lines of output omitted......
! LaTeX Error: File `wrapfig.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.13 \usepackage
{soul}^^M
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on /var/folders/pC/pCO-RjsoEHGUcvQ-+Z3F2U+++TI/-
Tmp-/babel-5
8334TCg//latex-58334gMm.log.
Xander$ port list installed and texlive*
texlive-basic @23152 tex/texlive-basic
texlive-basic @23152 tex/texlive-basic
texlive-bin @2011 tex/texlive-bin
texlive-bin @2011 tex/texlive-bin
texlive-common @2011 tex/texlive-common
texlive-common @2011 tex/texlive-common
texlive-documentation-base @23160 tex/texlive-
documentation-base
texlive-documentation-base @23160 tex/texlive-
documentation-base
texlive-generic-recommended @23088 tex/texlive-generic-
recommended
texlive-generic-recommended @23088 tex/texlive-generic-
recommended
texlive-latex @23089 tex/texlive-latex
texlive-latex @23089 tex/texlive-latex
texlive-latex-recommended @23089 tex/texlive-latex-
recommended
texlive-latex3 @19447 tex/texlive-latex3
texlive-xetex @23080 tex/texlive-xetex
next reply other threads:[~2011-09-05 12:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-05 12:01 Ben Alexander [this message]
2011-09-06 15:17 ` Org-babel and LaTeX letter Eric Schulte
[not found] ` <m1ipp5iuom.fsf@tsdye.com>
2011-09-07 9:11 ` Ben Alexander
2011-09-07 15:36 ` Eric S Fraga
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=E0AB97FB-3280-45C8-99A1-2E93564BC191@alexanderonline.org \
--to=bva@alexanderonline.org \
--cc=emacs-orgmode@gnu.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).