From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: Bold text beginning line produces empty PDF Date: Thu, 11 Feb 2010 12:36:07 +0000 Message-ID: References: <87pr4cxe9d.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1357577653==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfYHZ-00061D-3J for emacs-orgmode@gnu.org; Thu, 11 Feb 2010 07:36:33 -0500 Received: from [199.232.76.173] (port=36909 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfYHY-00060u-GR for emacs-orgmode@gnu.org; Thu, 11 Feb 2010 07:36:32 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfYHW-0008CY-R0 for emacs-orgmode@gnu.org; Thu, 11 Feb 2010 07:36:32 -0500 Received: from mail-iw0-f195.google.com ([209.85.223.195]:53503) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfYHW-0008CK-D1 for emacs-orgmode@gnu.org; Thu, 11 Feb 2010 07:36:30 -0500 Received: by iwn33 with SMTP id 33so1356912iwn.5 for ; Thu, 11 Feb 2010 04:36:29 -0800 (PST) In-Reply-To: <87pr4cxe9d.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: org-mode Mailing List --===============1357577653== Content-Type: multipart/alternative; boundary=0016362852b64b3ef5047f52662c --0016362852b64b3ef5047f52662c Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > On Thu, 11 Feb 2010 01:54:11 -0500, Raffi R 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 > > --0016362852b64b3ef5047f52662c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Eric,

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

Scot


On Thu, Feb 11, 2010 at 10:2= 3 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. =A0(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
=A0 exporting to Latex in a temporary buffer (C-c C-e L), I get the
=A0 following error:

,----
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
| =A0 file-name-nondirectory(nil)
| =A0 org-export-as-latex(nil nil nil "*Org LaTeX Export*")
| =A0 org-export-as-latex-to-buffer(nil)
| =A0 call-interactively(org-export-as-latex-to-buffer)
| =A0 org-export(nil)
| =A0 call-interactively(org-export nil nil)
`----

2. if I subsequently save the buffer into a file (C-x C-w x.org), for
=A0 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


--0016362852b64b3ef5047f52662c-- --===============1357577653== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1357577653==--