Re: [O] latex export beginner
Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: I'm taking my first baby steps at exporting an org file to LaTex. I know a little about org-mode, and almost nothing about LaTex. I type C-c C-e l o A file named file.tex is produced, but the process halts with an error: org-latex-compile: PDF file ./plm.pdf wasn't produced: [LaTeX error] A program called pdfTex produces a buffer with extensive output, including: ! LaTeX Error: Missing \begin{document}. This seems like some markup that should probably be included in my file automatically as part of the export? Shoud I add /begin{document} to my org doc? No, the exporter should have done that. Post your org file and the resulting tex file. Also, the version of your org mode: C-u M-x org-version will insert it in the current buffer. Thank you for your help! I'm using Org-mode version 8.2.6 (8.2.6-22-gb11b4a-elpaplus @ /home/steven/.emacs.d/elpa/org-plus-contrib-20140519/) I mocked up a smaller reproduction of the problem, because the original file is too large. The same errors were produced. There's a file called test.log, too, which I'm not pasting in here because of its length, but I can if it would be helpful. Here's my org-mode document: | Test org file for conversion to LaTex | | * My top-level header | Some information under the top level header | ** A secondary header | | * Chapter the first | Some information from the first chapter.Some | information from the first Some information from the first chapter.Some | information from the first chapter.Some information from the first | chapter. | | * Chapter the second | The end of this document. And here is the tex output file: | % Created 2014-05-21 Wed 09:11 | \documentclass[11pt]{article} | \usepackage[utf8]{inputenc} | \usepackage[T1]{fontenc} | \usepackage{fixltx2e} | \usepackage{graphicx} | \usepackage{longtable} | \usepackage{float} | \usepackage{wrapfig} | \usepackage{rotating} | \usepackage[normalem]{ulem} | \usepackage{amsmath} | \usepackage{textcomp} | \usepackage{marvosym} | \usepackage{wasysym} | \usepackage{amssymb} | \usepackage{hyperref} | \tolerance=1000 | \author{Steven Arntson} | \date{\today} | \title{test} | \hypersetup{ | pdfkeywords={}, | pdfsubject={}, | pdfcreator={Emacs 24.3.1 (Org mode 8.2.6)}} | \begin{document} | | \maketitle | \tableofcontents | | Test org file for conversion to LaTex | | \section{My top-level header} | \label{sec-1} | Some information under the top level header | \subsection{A secondary header} | \label{sec-1-1} | | \section{Chapter the first} \label{sec-2} | Some information from the | first chapter.Some information from the first Some information from the | first chapter.Some information from the first chapter.Some information | from the first chapter. | | \section{Chapter the second} | \label{sec-3} | The end of this document. | % Emacs 24.3.1 (Org mode 8.2.6) | \end{document}
Re: [O] latex export beginner
Steven Arntson ste...@stevenarntson.com writes: Thank you for your help! I'm using Org-mode version 8.2.6 (8.2.6-22-gb11b4a-elpaplus @ /home/steven/.emacs.d/elpa/org-plus-contrib-20140519/) I mocked up a smaller reproduction of the problem, because the original file is too large. The same errors were produced. There's a file called test.log, too, which I'm not pasting in here because of its length, but I can if it would be helpful. Here's my org-mode document: I think we need the whole output buffer of the pdf compilation by pdflatex. I have the impression in your system you lack some of the used latex packages. -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido ::::
Re: [O] latex export beginner
Steven Arntson ste...@stevenarntson.com writes: Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: I'm taking my first baby steps at exporting an org file to LaTex. I know a little about org-mode, and almost nothing about LaTex. I type C-c C-e l o A file named file.tex is produced, but the process halts with an error: org-latex-compile: PDF file ./plm.pdf wasn't produced: [LaTeX error] A program called pdfTex produces a buffer with extensive output, including: ! LaTeX Error: Missing \begin{document}. This seems like some markup that should probably be included in my file automatically as part of the export? Shoud I add /begin{document} to my org doc? No, the exporter should have done that. Post your org file and the resulting tex file. Also, the version of your org mode: C-u M-x org-version will insert it in the current buffer. Thank you for your help! I'm using Org-mode version 8.2.6 (8.2.6-22-gb11b4a-elpaplus @ /home/steven/.emacs.d/elpa/org-plus-contrib-20140519/) I mocked up a smaller reproduction of the problem, because the original file is too large. The same errors were produced. There's a file called test.log, too, which I'm not pasting in here because of its length, but I can if it would be helpful. Yes, please: as Igor Sosa Mayor mentioned, you are probably missing some latex packages. The document exports and compiles without any problems here. If you are on Linux and use the TeXlive distribution of TeX, then you can check for the existence of e.g. package ulem with kpsewhich ulem.sty Not sure about other systems. Here's my org-mode document: | Test org file for conversion to LaTex | | * My top-level header | Some information under the top level header | ** A secondary header | | * Chapter the first | Some information from the first chapter.Some | information from the first Some information from the first chapter.Some | information from the first chapter.Some information from the first | chapter. | | * Chapter the second | The end of this document. And here is the tex output file: | % Created 2014-05-21 Wed 09:11 | \documentclass[11pt]{article} | \usepackage[utf8]{inputenc} | \usepackage[T1]{fontenc} | \usepackage{fixltx2e} | \usepackage{graphicx} | \usepackage{longtable} | \usepackage{float} | \usepackage{wrapfig} | \usepackage{rotating} | \usepackage[normalem]{ulem} | \usepackage{amsmath} | \usepackage{textcomp} | \usepackage{marvosym} | \usepackage{wasysym} | \usepackage{amssymb} | \usepackage{hyperref} | \tolerance=1000 | \author{Steven Arntson} | \date{\today} | \title{test} | \hypersetup{ | pdfkeywords={}, | pdfsubject={}, | pdfcreator={Emacs 24.3.1 (Org mode 8.2.6)}} | \begin{document} | | \maketitle | \tableofcontents | | Test org file for conversion to LaTex | | \section{My top-level header} | \label{sec-1} | Some information under the top level header | \subsection{A secondary header} | \label{sec-1-1} | | \section{Chapter the first} \label{sec-2} | Some information from the | first chapter.Some information from the first Some information from the | first chapter.Some information from the first chapter.Some information | from the first chapter. | | \section{Chapter the second} | \label{sec-3} | The end of this document. | % Emacs 24.3.1 (Org mode 8.2.6) | \end{document} I'd suggest that you use this style of quote: --8---cut here---start-8--- Quoted text --8---cut here---end---8--- for stuff that your correspondents might want to use: easier to just cut-and-paste. This is done with the command M-x message-mark-inserted-region (which is bound to C-c M-m by default I think). Nick
Re: [O] latex export beginner
Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: I'm taking my first baby steps at exporting an org file to LaTex. I know a little about org-mode, and almost nothing about LaTex. I type C-c C-e l o A file named file.tex is produced, but the process halts with an error: org-latex-compile: PDF file ./plm.pdf wasn't produced: [LaTeX error] A program called pdfTex produces a buffer with extensive output, including: ! LaTeX Error: Missing \begin{document}. This seems like some markup that should probably be included in my file automatically as part of the export? Shoud I add /begin{document} to my org doc? No, the exporter should have done that. Post your org file and the resulting tex file. Also, the version of your org mode: C-u M-x org-version will insert it in the current buffer. Thank you for your help! I'm using Org-mode version 8.2.6 (8.2.6-22-gb11b4a-elpaplus @ /home/steven/.emacs.d/elpa/org-plus-contrib-20140519/) I mocked up a smaller reproduction of the problem, because the original file is too large. The same errors were produced. There's a file called test.log, too, which I'm not pasting in here because of its length, but I can if it would be helpful. Yes, please: as Igor Sosa Mayor mentioned, you are probably missing some latex packages. The document exports and compiles without any problems here. If you are on Linux and use the TeXlive distribution of TeX, then you can check for the existence of e.g. package ulem with kpsewhich ulem.sty Not sure about other systems. Here's my org-mode document: | Test org file for conversion to LaTex | | * My top-level header | Some information under the top level header | ** A secondary header | | * Chapter the first | Some information from the first chapter.Some | information from the first Some information from the first | chapter.Some | information from the first chapter.Some information from the first | chapter. | | * Chapter the second | The end of this document. And here is the tex output file: | % Created 2014-05-21 Wed 09:11 | \documentclass[11pt]{article} | \usepackage[utf8]{inputenc} | \usepackage[T1]{fontenc} | \usepackage{fixltx2e} | \usepackage{graphicx} | \usepackage{longtable} | \usepackage{float} | \usepackage{wrapfig} | \usepackage{rotating} | \usepackage[normalem]{ulem} | \usepackage{amsmath} | \usepackage{textcomp} | \usepackage{marvosym} | \usepackage{wasysym} | \usepackage{amssymb} | \usepackage{hyperref} | \tolerance=1000 | \author{Steven Arntson} | \date{\today} | \title{test} | \hypersetup{ | pdfkeywords={}, | pdfsubject={}, | pdfcreator={Emacs 24.3.1 (Org mode 8.2.6)}} | \begin{document} | | \maketitle | \tableofcontents | | Test org file for conversion to LaTex | | \section{My top-level header} | \label{sec-1} | Some information under the top level header | \subsection{A secondary header} | \label{sec-1-1} | | \section{Chapter the first} \label{sec-2} | Some information from the | first chapter.Some information from the first Some information | from the | first chapter.Some information from the first chapter.Some information | from the first chapter. | | \section{Chapter the second} | \label{sec-3} | The end of this document. | % Emacs 24.3.1 (Org mode 8.2.6) | \end{document} I'd suggest that you use this style of quote: Quoted text for stuff that your correspondents might want to use: easier to just cut-and-paste. This is done with the command M-x message-mark-inserted-region (which is bound to C-c M-m by default I think). Nick Hi Nick, Just in case there was something haywire, I uninstalled and reinstalled TexLive. I'm still getting the same error. Below is the content of the .log file. Glancing through with an unpracticed eye, I see a line that says file wrapfig.sty not found. Thanks again for helping me troubleshoot! This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2014.4.25) 21 MAY 2014 12:32 entering extended mode restricted \write18 enabled. %-line parsing enabled. **/home/steven/Desktop/test.tex (/home/steven/Desktop/test.tex LaTeX2e 2011/06/27 Babel 3.9f and hyphenation patterns for 2 languages loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty Package: inputenc 2008/03/30 v1.1d Input
Re: [O] latex export beginner
Steven Arntson ste...@stevenarntson.com writes: Nick Dokos ndo...@gmail.com writes: well, it's pretty clear... ! LaTeX Error: File `wrapfig.sty' not found. you have to install the wrapfig package. If you're in debian/ubuntu: sudo apt-get install texlive-latex-extra -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido ::::
Re: [O] latex export beginner
Success! I installed that package, and things are working. Thank you! -steven Igor Sosa Mayor joseleopoldo1...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Nick Dokos ndo...@gmail.com writes: well, it's pretty clear... ! LaTeX Error: File `wrapfig.sty' not found. you have to install the wrapfig package. If you're in debian/ubuntu: sudo apt-get install texlive-latex-extra
[O] latex export beginner
I'm taking my first baby steps at exporting an org file to LaTex. I know a little about org-mode, and almost nothing about LaTex. I type C-c C-e l o A file named file.tex is produced, but the process halts with an error: org-latex-compile: PDF file ./plm.pdf wasn't produced: [LaTeX error] A program called pdfTex produces a buffer with extensive output, including: ! LaTeX Error: Missing \begin{document}. This seems like some markup that should probably be included in my file automatically as part of the export? Shoud I add /begin{document} to my org doc? Thank you! Steven Arntson
Re: [O] latex export beginner
Steven Arntson ste...@stevenarntson.com writes: I'm taking my first baby steps at exporting an org file to LaTex. I know a little about org-mode, and almost nothing about LaTex. I type C-c C-e l o A file named file.tex is produced, but the process halts with an error: org-latex-compile: PDF file ./plm.pdf wasn't produced: [LaTeX error] A program called pdfTex produces a buffer with extensive output, including: ! LaTeX Error: Missing \begin{document}. This seems like some markup that should probably be included in my file automatically as part of the export? Shoud I add /begin{document} to my org doc? No, the exporter should have done that. Post your org file and the resulting tex file. Also, the version of your org mode: C-u M-x org-version will insert it in the current buffer. -- Nick