From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Announcement: org-one-to-many Date: Thu, 12 Feb 2015 23:33:43 +0100 Message-ID: <87386a3gl4.fsf@wmi.amu.edu.pl> References: <87ppdlfotc.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM2Kb-0002Qw-9f for emacs-orgmode@gnu.org; Thu, 12 Feb 2015 17:33:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YM2KY-000852-5Y for emacs-orgmode@gnu.org; Thu, 12 Feb 2015 17:33:57 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:50795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM2KX-00084r-VC for emacs-orgmode@gnu.org; Thu, 12 Feb 2015 17:33:54 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 72026519C3 for ; Thu, 12 Feb 2015 23:33:50 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CsJFyAKMWHf9 for ; Thu, 12 Feb 2015 23:33:50 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 20026519BD for ; Thu, 12 Feb 2015 23:33:50 +0100 (CET) In-reply-to: <87ppdlfotc.fsf@wmi.amu.edu.pl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org mailing list Hello everybody, so I've got this little library of mine, called org-one-to-many, which can split an Org file into pieces, modifying internal links so that they still point to the same place (even if now in another file). But I have a problem with it. I would like to export all the resulting files into, say, HTML, and the problem is that all the options (obviously) don't propagate to the =E2=80=9Csubfiles=E2=80=9D =E2=80=93 s= o that if I say e.g. #+LANGUAGE: pl anywhere in the file, it is not copied to all the resulting files (generated from headings), unless this line happens to be in one of them (and then it disappears from the =E2=80=9Cmain=E2=80=9D file). I can see two solutions to this problem. One is to somehow recognize these lines and copy them to all the resulting files. One trouble with that is that I=E2=80=99d have to decide, for instance, /where/ to put the= m =E2=80=93 at the beginning? The easier solution, which /might/ also be =E2=80=9Ccleaner=E2=80=9D in a= sense, is to recognize some kind of =E2=80=9Cspecial=E2=80=9D heading - for instance, * COMMENT Config #+LANGUAGE: pl or something like that, and copy it verbatim to all the generated files, say =E2=80=93 at their end. What do you think? Can you see another solution? If not, which of the above do you consider a better one? TIA, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University