[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] worg latex example "11 Styling the Frontmatter"
From: |
Nick Dokos |
Subject: |
Re: [O] worg latex example "11 Styling the Frontmatter" |
Date: |
Thu, 08 Mar 2012 13:39:28 -0500 |
Myles English <address@hidden> wrote:
>
> So the two files are:
>
> ,--------------------------- testAbs.org ------------------------------
> | #+LATEX_HEADER: \input{/home/myles/tmp/bugs/title.tex}
> | #+BEGIN_abstract
> | Here is my abstract, it is a fine abstract.
> | #+END_abstract
> | #+LATEX: \tableofcontents
> | #+LATEX: \listoftables
> | #+LATEX: \listoffigures
> |
> | * Foo
> | foo
> |
> | * Bar
> | bar
> |
> | #+BEGIN_SRC emacs-lisp :exports none
> | (defun org-export-latex-no-toc (depth) (when depth (format "%% Org-mode
> | is exporting headings to %s levels.\n" depth))) (setq
> | org-export-latex-format-toc-function 'org-export-latex-no-toc)
> | #+END_SRC
> `------------------------------------------------------------------------
>
> ,------------------------------title.tex--------
> |
> | \renewcommand\maketitle{\begin{titlepage}%
> | FOO
> | \end{titlepage}% }
> `-----------------------------------------------
>
You have commented out the closing brace in title.tex. It should be
--8<---------------cut here---------------start------------->8---
\renewcommand\maketitle{\begin{titlepage}%
FOO
\end{titlepage}%
}
--8<---------------cut here---------------end--------------->8---
Nick