emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: org-mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Bold text beginning line produces empty PDF
Date: Fri, 12 Feb 2010 08:39:13 +0000	[thread overview]
Message-ID: <8763623l1q.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <C56E4A29-11D6-4B0A-AB76-618DF3CE7FFA@gmail.com>

On Fri, 12 Feb 2010 09:19:31 +0100, Carsten Dominik <carsten.dominik@gmail.com> wrote:
> 
> 
> On Feb 11, 2010, at 11:23 AM, Eric S Fraga 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:
> 
> I believe I have successfully lifted this restriction now.
> 
> >
> > ,----
> > | 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.
> 
> At lease with the latest version I cannot reproduce this.
> Can you please check again after pulling?
> 
> Thanks.
> 
> - Carsten
> 

Carsten,

it all works very well indeed.  Exporting to a temporary latex buffer
works in both of these cases:

1. visiting a new buffer, no file attached;

2. after saving the buffer to a file (write-file).

Further, the OP's original problem is definitely not there.

Thanks,
eric

  reply	other threads:[~2010-02-12  8:39 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
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 [this message]
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=8763623l1q.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=carsten.dominik@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).