Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-04-03 Thread Charles Millar
Hello, On 04/02/2016 05:00 AM, Nicolas Goaziou wrote: Hello, Charles Millar writes: [...] "mysetup" class is (add-to-list 'org-latex-classes '("mysetup" "\\documentclass[fontsize=11pt,letterpaper,twoside=false]{scrartcl} [...] \\newcommand\\foo{bar}

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-04-02 Thread Nicolas Goaziou
Hello, Charles Millar writes: > I have a #+SETUPFILE which starts as follows > > #+LATEX_HEADER: \usepackage{lastpage} [...] > "mysetup" class is > > (add-to-list 'org-latex-classes > '("mysetup" >

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-29 Thread Eric S Fraga
On Monday, 28 Mar 2016 at 10:54, Charles Millar wrote: [...] > As we agreed my first successful export was lucky, so I revised that > file template from which I was exporting - the extra first page and > the missing\begin{document} do not seem to be a problem now. > > However, the LATEX_HEADER:

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-28 Thread Charles Millar
On 03/26/2016 01:14 PM, Eric S Fraga wrote: On Saturday, 26 Mar 2016 at 10:15, Charles Millar wrote: [...] I was not clear - I ran the exports after I made the correction to "mysetup", i.e. \newcommand{\\foo}{bar} but I am confused: why the \\ for foo but \ for newcommand? What is the

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-26 Thread Charles Millar
On 03/26/2016 01:14 PM, Eric S Fraga wrote: On Saturday, 26 Mar 2016 at 10:15, Charles Millar wrote: [...] I was not clear - I ran the exports after I made the correction to "mysetup", i.e. \newcommand{\\foo}{bar} but I am confused: why the \\ for foo but \ for newcommand? My typo. Just in

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-26 Thread Eric S Fraga
On Saturday, 26 Mar 2016 at 10:15, Charles Millar wrote: [...] > I was not clear - I ran the exports after I made the correction to > "mysetup", i.e. \newcommand{\\foo}{bar} but I am confused: why the \\ for foo but \ for newcommand? What is the actual result in the output.tex file? > I do

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-26 Thread Charles Millar
Eric, On 03/26/2016 08:51 AM, Eric S Fraga wrote: On Saturday, 26 Mar 2016 at 07:52, Charles Millar wrote: [...] Thanks for the correction. I escaped the \foo otherwise I had a spurious "oobar" at the beginning of the exported document so that my latex class has \newcommand{\\foo}{bar} I

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-26 Thread Eric S Fraga
On Saturday, 26 Mar 2016 at 07:52, Charles Millar wrote: [...] > Thanks for the correction. I escaped the \foo otherwise I had a > spurious "oobar" at the beginning of the exported document so that my > latex class has > > \newcommand{\\foo}{bar} > > I suspect that this problem may be file

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-26 Thread Charles Millar
Hi Eric On 03/26/2016 05:36 AM, Eric S Fraga wrote: On Friday, 25 Mar 2016 at 20:56, Charles Millar wrote: [...] \newcommand\foo{bar} The problem is this line. The proper syntax is \newcommand{\foo}{bar} Thanks for the correction. I escaped the \foo otherwise I had a spurious "oobar" at

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-26 Thread Eric S Fraga
On Friday, 25 Mar 2016 at 20:56, Charles Millar wrote: [...] > \newcommand\foo{bar} The problem is this line. The proper syntax is \newcommand{\foo}{bar} HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-668-g809a83

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error

2016-03-25 Thread Charles Millar
"Pushed" the send button too soon LMDE2 GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Org-mode version 8.3.4 (release_8.3.4-655-g9fb077 @ /usr/local/share/emacs/site-lisp/org-mode/lisp/) On 03/25/2016 08:56 PM, Charles Millar wrote: