From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Blank page in LaTeX/PDF output Date: Sat, 01 Mar 2014 07:47:28 -0500 Message-ID: <87sir2f5lr.fsf@gmail.com> References: <5310C07D.8010208@pfdstudio.com> <5310C6DF.70501@pfdstudio.com> <874n3ihhwv.fsf@gmail.com> <5311361B.10400@pfdstudio.com> <53113848.2060406@pfdstudio.com> <87wqgefvad.fsf@gmail.com> <5311566D.7030209@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJjKW-00054T-5a for emacs-orgmode@gnu.org; Sat, 01 Mar 2014 07:47:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJjKP-0000a5-VN for emacs-orgmode@gnu.org; Sat, 01 Mar 2014 07:47:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:34853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJjKP-0000Zy-Od for emacs-orgmode@gnu.org; Sat, 01 Mar 2014 07:47:41 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WJjKO-0005Pm-Fm for emacs-orgmode@gnu.org; Sat, 01 Mar 2014 13:47:40 +0100 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Mar 2014 13:47:40 +0100 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Mar 2014 13:47:40 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Hendy writes: > On Fri, Feb 28, 2014 at 9:39 PM, Peter Davis wrote: >> >> On 2/28/14, 10:32 PM, Nick Dokos wrote: >>> >>> You need *some* images in order to compile it. I just replaced all >>> the image links with >>> >>> [[./foo.png]] >> >> >> I did not need any images. In fact, the version I posted I had just tested, >> and the image links in there are completely bogus. I just get empty boxes of >> the height I specified. >> Indeed - I first tried it by hand, running pdflatex on the command line and got what I thought were errors, but they were warnings only: I hit RET to continue past them and got the same empty boxes you got. And doing C-c C-e l o to go straight to PDF does the same thing. >> >>> where foo.png is the emacs logo. >>> >>> And my koma-article is a copy of the article class, except the document >>> class >>> is "scrartcl" instead of "article". >> >> >> I don't know where that came from. I can post my copy of koma-article, if >> that would help. > > We really need a minimal config, in my opinion. I just tried fiddling > again and am having no luck after installing koma-script from CTAN (or > is that even something I need?) and adding =(require 'ox-koma-letter)= > to my emacs config (again, is that even needed?). I don't use koma, so > I'm lost as to how to get anything usable from your document in order > to troubleshoot. > > No, you don't need ox-koma-letter at all. You do need to have the "scrartcl" class from koma-script installed - check with kpsewhich - I get: ,---- | $ kpsewhich scrartcl.cls | /usr/share/texmf-texlive/tex/latex/koma-script/scrartcl.cls `---- and you need to have a "koma-article" class added to org-latex-classes. Here's what I used, but Peter may have a different definition (something must explain why we get different results!): --8<---------------cut here---------------start------------->8--- (setq koma-article-class '("koma-article" "\\documentclass[11pt]{scrartcl}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) (progn (require 'ox-latex) (add-to-list 'org-latex-classes koma-article-class t)) --8<---------------cut here---------------end--------------->8--- -- Nick