emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Klein <roklein@roklein.de>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: ECM for:  issues with publishing to LaTeX using #INCLUDE
Date: Thu, 18 Jun 2015 14:21:42 +0200	[thread overview]
Message-ID: <20150618142142.639189af@pckr150.mpip-mainz.mpg.de> (raw)
In-Reply-To: <87ioal78nv.fsf@selenimh.access.network>

On Thu, 18 Jun 2015 09:55:16 +0200
Nicolas Goaziou <mail@nicolasgoaziou.fr> 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 <roklein@roklein.de> writes:
> 
> > On Thu, 18 Jun 2015 09:15:50 +0200
> > Robert Klein <roklein@roklein.de> 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,
> 

  reply	other threads:[~2015-06-18 12:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17 18:04 issues with publishing to LaTeX using #INCLUDE Robert Klein
2015-06-18  6:58 ` Robert Klein
2015-06-18  7:15   ` ECM for: " Robert Klein
2015-06-18  7:21     ` Robert Klein
2015-06-18  7:55       ` Nicolas Goaziou
2015-06-18 12:21         ` Robert Klein [this message]
2015-06-18 18:51           ` Robert Klein
2015-06-19  7:51             ` commit found, was: " Robert Klein
2015-06-19 18:28               ` tentative patch " Robert Klein
2015-06-20 22:15                 ` Nicolas Goaziou
2015-06-21 12:55                   ` Robert Klein
2015-06-22  8:37                     ` Nicolas Goaziou
2015-06-22 15:01                       ` Robert Klein
2015-06-23 21:44                         ` Nicolas Goaziou
2015-06-24  7:07                           ` Robert Klein
2015-06-25 13:16                             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150618142142.639189af@pckr150.mpip-mainz.mpg.de \
    --to=roklein@roklein.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).