[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ECM for: issues with publishing to LaTeX using #INCLUDE
From: |
Robert Klein |
Subject: |
Re: [O] ECM for: issues with publishing to LaTeX using #INCLUDE |
Date: |
Thu, 18 Jun 2015 20:51:10 +0200 |
Hello,
now I've narrowed the org file(s) down to
--- snip ---
#+TITLE: Frequently Asked Questions
#+name: docinfo
#+begin_src elisp :exports none
(let ((props (org-export-get-environment)))
(concat "#+LaTeX_HEADER: \\newcommand{\\myTitle}{"
(org-element-interpret-data
(plist-get props :title))
"}\n"))
#+end_src
#+CALL: docinfo() :exports results :results raw
#+LaTeX_CLASS: scrartcl
#+LaTeX_CLASS_OPTIONS: [11pt]
#+OPTIONS: email:t
* Headline
Some Text
--- snip ---
I tried toc:t, toc:nil and email:t as options.
The sequence CALL, LaTeX_CLASS, LaTeX_CLASS_OPTIONS, OPTIONS seems to be
important. Publishing the example looks Ok when I use the following
sequences:
- CALL, LaTeX_CLASS_OPTIONS, LaTeX_CLASS, OPTIONS
- CALL, LaTeX_CLASS_OPTIONS, OPTIONS, LaTeX_CLASS
- CALL, OPTIONS, LaTeX_CLASS_OPTIONS, LaTeX_CLASS
Best regards
Robert
On Thu, 18 Jun 2015 14:21:42 +0200
Robert Klein <address@hidden> wrote:
> On Thu, 18 Jun 2015 09:55:16 +0200
> Nicolas Goaziou <address@hidden> wrote:
>
> Hello,
>
> thank you very much for your effort!
>
> I boiled it down further and now don't even need an #include to see
> this issues. Using the same .emacs as in the earlier mail and having
> three org files 1.org, 2.org, and 3.org all having the same contents:
>
> --- snip ---
> #+TITLE: Frequently Asked Questions
>
> #+OPTIONS: toc:nil author:t ^:t creator:nil email:t tex:t
>
> #+name: docinfo
> #+begin_src elisp :exports none
> (let ((props (org-export-get-environment)))
> (concat "#+LaTeX_HEADER: \\newcommand{\\myTitle}{"
> (org-element-interpret-data
> (plist-get props :title))
> "}\n"))
> #+end_src
>
> #+CALL: docinfo() :exports results :results raw
>
> #+LaTeX_CLASS: scrartcl
> #+LaTeX_CLASS_OPTIONS: [11pt, a4paper, twoside, notitlepage,
> headsepline, headings=normal, DIV=12, BCOR=12mm]
> #+OPTIONS: toc:t
>
> * Headline
> Some Text
>
> --- snip ---
>
>
> I also get the first file in the publishing process exports Ok, the
> rest is not Ok.
>
> When I delete the LaTeX_CLASS_OPTIONS line the whole project publishes
> without issues.
>
> The same happens when I delete the "#+Options: toc:t" line below the
> class options line.
>
> Best regards
> Robert
>
>
>
>
> > Hello,
> >
> > Robert Klein <address@hidden> writes:
> >
> > > On Thu, 18 Jun 2015 09:15:50 +0200
> > > Robert Klein <address@hidden> wrote:
> > >
> > >
> > >> The file exported first exports Ok, the others don't.
> > >
> > > Sorry, the file _published_ first exports Ok, the others not.
> > >
> > > For the ECM I export w/ org-publish-project.
> >
> > Thanks for the ECM. I will investigate by the end of the week. Do
> > not hesitate to post any additional information.
> >
> > Regards,
> >
>
>
- [O] issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/17
- Re: [O] issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/18
- [O] ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/18
- Re: [O] ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/18
- Re: [O] ECM for: issues with publishing to LaTeX using #INCLUDE, Nicolas Goaziou, 2015/06/18
- Re: [O] ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/18
- Re: [O] ECM for: issues with publishing to LaTeX using #INCLUDE,
Robert Klein <=
- [O] commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/19
- [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/19
- Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Nicolas Goaziou, 2015/06/20
- Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/21
- Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Nicolas Goaziou, 2015/06/22
- Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/22
- Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Nicolas Goaziou, 2015/06/23
- Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Robert Klein, 2015/06/24
- Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE, Nicolas Goaziou, 2015/06/25