* Bold text beginning line produces empty PDF @ 2010-02-11 6:54 Raffi R 2010-02-11 10:23 ` Eric S Fraga 2010-02-12 8:19 ` Carsten Dominik 0 siblings, 2 replies; 8+ messages in thread From: Raffi R @ 2010-02-11 6:54 UTC (permalink / raw) To: org-mode Mailing List 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? Thank you, - Raffi. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bold text beginning line produces empty PDF 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-12 8:19 ` Carsten Dominik 2010-02-12 8:19 ` Carsten Dominik 1 sibling, 2 replies; 8+ messages in thread From: Eric S Fraga @ 2010-02-11 10:23 UTC (permalink / raw) To: Raffi R; +Cc: org-mode Mailing List [-- Attachment #1: Type: text/plain, Size: 1183 bytes --] 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 [-- Attachment #2: x.org --] [-- Type: application/octet-stream, Size: 516 bytes --] #+TITLE: x.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DATE: 2010.02.11 10:18:22 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: *Case 1:* This is interesting [-- Attachment #3: 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bold text beginning line produces empty PDF 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-12 8:19 ` Carsten Dominik 1 sibling, 1 reply; 8+ messages in thread From: Scot Becker @ 2010-02-11 12:36 UTC (permalink / raw) To: Eric S Fraga; +Cc: org-mode Mailing List [-- 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bold text beginning line produces empty PDF 2010-02-11 12:36 ` Scot Becker @ 2010-02-11 12:54 ` Eric S Fraga 2010-02-11 15:47 ` Raffi R 0 siblings, 1 reply; 8+ messages in thread From: Eric S Fraga @ 2010-02-11 12:54 UTC (permalink / raw) To: Scot Becker; +Cc: org-mode Mailing List On Thu, 11 Feb 2010 12:36:07 +0000, Scot Becker <scot.becker@gmail.com> wrote: > > [1 <text/plain; ISO-8859-1 (7bit)>] > 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 Thanks. Sounds reasonable! eric ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bold text beginning line produces empty PDF 2010-02-11 12:54 ` Eric S Fraga @ 2010-02-11 15:47 ` Raffi R 0 siblings, 0 replies; 8+ messages in thread From: Raffi R @ 2010-02-11 15:47 UTC (permalink / raw) To: Eric S Fraga; +Cc: org-mode Mailing List Interestingly, my LaTeX also chokes on the sample x.org; while I can export it, I get the error "The file x.org could not be opened because it is empty." This is on OS X 10.6 Snow Leopard using Preview. It only occurs using PDFs generated from org, as far as I can tell. I will explore some more to see if it's due to LaTeX or Preview or something else. Has anyone else had this problem? On Thu, Feb 11, 2010 at 7:54 AM, Eric S Fraga <ucecesf@ucl.ac.uk> wrote: > On Thu, 11 Feb 2010 12:36:07 +0000, Scot Becker <scot.becker@gmail.com> wrote: >> >> [1 <text/plain; ISO-8859-1 (7bit)>] >> 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 > > Thanks. Sounds reasonable! > > eric > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bold text beginning line produces empty PDF 2010-02-11 10:23 ` Eric S Fraga 2010-02-11 12:36 ` Scot Becker @ 2010-02-12 8:19 ` Carsten Dominik 2010-02-12 8:39 ` Eric S Fraga 1 sibling, 1 reply; 8+ messages in thread From: Carsten Dominik @ 2010-02-12 8:19 UTC (permalink / raw) To: Eric S Fraga; +Cc: org-mode Mailing List 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bold text beginning line produces empty PDF 2010-02-12 8:19 ` Carsten Dominik @ 2010-02-12 8:39 ` Eric S Fraga 0 siblings, 0 replies; 8+ messages in thread From: Eric S Fraga @ 2010-02-12 8:39 UTC (permalink / raw) To: Carsten Dominik; +Cc: org-mode Mailing List 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bold text beginning line produces empty PDF 2010-02-11 6:54 Bold text beginning line produces empty PDF Raffi R 2010-02-11 10:23 ` Eric S Fraga @ 2010-02-12 8:19 ` Carsten Dominik 1 sibling, 0 replies; 8+ messages in thread From: Carsten Dominik @ 2010-02-12 8:19 UTC (permalink / raw) To: Raffi R; +Cc: org-mode Mailing List On Feb 11, 2010, at 7:54 AM, 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? I am not able to reproduce it. WOrks just fine for me. Can you please make a complete example file and attach the produced tex file as well? And maybe you settings as listed bu org-submit-bug-report? Are you using the latest version of Org-mode? Git release? Thanks - Carsten > > Thank you, > - Raffi. > > > _______________________________________________ > 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-02-12 8:39 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2010-02-12 8:19 ` Carsten Dominik
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).