emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scot Becker <scot.becker@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: org-mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Bold text beginning line produces empty PDF
Date: Thu, 11 Feb 2010 12:36:07 +0000	[thread overview]
Message-ID: <e0e1fe621002110436y63d467bfs34ab445fa92dcef@mail.gmail.com> (raw)
In-Reply-To: <87pr4cxe9d.wl%ucecesf@ucl.ac.uk>


[-- Attachment #1.1: Type: text/plain, Size: 1953 bytes --]

Eric,

Others will know better, but I think it's right to say, that's just how
latex export (currently) works.  It needs to have your buffer saved (C-x
C-s), and not just written to a file somewhere (C-x C-w).  This seems true
even if all you want to do is get your latex in a temporary buffer.  It's
not ideal for rustling up a quick piece of throwaway LaTeX, but, as I
remember, it's always been that way.

Scot


On Thu, Feb 11, 2010 at 10:23 AM, Eric S Fraga <ucecesf@ucl.ac.uk> wrote:

> On Thu, 11 Feb 2010 01:54:11 -0500, Raffi R <raffir@gmail.com> wrote:
> >
> > If I begin a line with bolded text, like so:
> >
> > *Case 1:*
> >
> > it produces the following LaTeX:
> >
> > \textbf{Case 1:\}
> >
> > Exporting with C-c C-e d produces an empty LaTeX document.
> >
> > Is this reproducible? Is it a bug?
>
> It works fine with me so long as I have something before this line,
> even just the template generated by C-x C-e t.  (see attached file)
>
> However, in testing this out, I have run into two little problems:
>
> 1. if I simply visit a buffer (not a file), say x.org, and try
>   exporting to Latex in a temporary buffer (C-c C-e L), I get the
>   following error:
>
> ,----
> | Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> |   file-name-nondirectory(nil)
> |   org-export-as-latex(nil nil nil "*Org LaTeX Export*")
> |   org-export-as-latex-to-buffer(nil)
> |   call-interactively(org-export-as-latex-to-buffer)
> |   org-export(nil)
> |   call-interactively(org-export nil nil)
> `----
>
> 2. if I subsequently save the buffer into a file (C-x C-w x.org), for
>   some reason I get prompted for a file name when trying C-c C-e L.
>
> This is all with org-mode from git as of this morning.
>
> eric
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

[-- Attachment #1.2: Type: text/html, Size: 2748 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-02-11 12:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11  6:54 Bold text beginning line produces empty PDF Raffi R
2010-02-11 10:23 ` Eric S Fraga
2010-02-11 12:36   ` Scot Becker [this message]
2010-02-11 12:54     ` Eric S Fraga
2010-02-11 15:47       ` Raffi R
2010-02-12  8:19   ` Carsten Dominik
2010-02-12  8:39     ` Eric S Fraga
2010-02-12  8:19 ` Carsten Dominik

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=e0e1fe621002110436y63d467bfs34ab445fa92dcef@mail.gmail.com \
    --to=scot.becker@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --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).