From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: [ANN] Merge of new export framework on Wednesday Date: Mon, 4 Mar 2013 11:12:24 -0500 Message-ID: References: <876229nrxf.fsf@gmail.com> <87ppzh1xg0.fsf@bzg.ath.cx> <87d2vftch9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=14dae9398ead8d97fe04d71ba09e Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCY0Q-0005Kq-RB for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 11:12:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCY0M-0006ct-SZ for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 11:12:50 -0500 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:42657 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCY0M-0006co-Mu for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 11:12:46 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A4723AB34 for ; Mon, 4 Mar 2013 11:12:45 -0500 (EST) Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 9DB45AB33 for ; Mon, 4 Mar 2013 11:12:45 -0500 (EST) Received: from mail-ob0-f170.google.com (unknown [209.85.214.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 44E46AB27 for ; Mon, 4 Mar 2013 11:12:45 -0500 (EST) Received: by mail-ob0-f170.google.com with SMTP id wc20so2015507obb.29 for ; Mon, 04 Mar 2013 08:12:44 -0800 (PST) In-Reply-To: <87d2vftch9.fsf@gmail.com> 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: Nicolas Goaziou Cc: Bastien , Org Mode List --14dae9398ead8d97fe04d71ba09e Content-Type: multipart/alternative; boundary=14dae9398ead8d97fa04d71ba09c --14dae9398ead8d97fa04d71ba09c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Mar 4, 2013 at 10:24 AM, Nicolas Goaziou wrote= : > Hello, > > Mike McLean writes: > > > I noticed that it no longer concatenates multiple lines from the file > > header. I used to have multiple #+HTML_STYLE: lines in my Org files tha= t > > layered in different CSS. The nice thing about designing my CSS this wa= y > is > > that I have a base style and could change individual documents as neede= d > by > > just adding a new HTML_STYLE line that loads a small, simple override > CSS. > > I would get one line to match each HTML_STYLE line= . > > Now it appears that only the last line is exported to the HTML file. > > This should be fixed. > It doesn't seem to be. I have put together a ECM. I have two CSS files, representing a =E2=80=9Cbase=E2=80=9D style and an optional =E2=80=9Coverri= de=E2=80=9D style. I have two versions of an org test file that differ only in the first 2 lines of the file. One =E2=80=9Cworks=E2=80=9D (loads both style sheets and displays the= text as described in the document), one does not. This is a minimal ECM. In my actual setup I have the equivalent of the base CSS file in a file named ~org-options.txt~ that I include into every single Org file I ever create via ~#+SETUPFILE"~. I load my override CSS on a per-document basis in the document header below the ~#+SETUPFILE:~ directive. --14dae9398ead8d97fa04d71ba09c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Mar 4, 2013 at 10:24 AM, Nicolas Goaziou= <n.goaziou@gmail.com> wrote:
Hello,

Mike McLean <mike.mclean@pobox.= com> writes:

> I noticed that it no longer concatenates multiple lines from the file<= br> > header. I used to have multiple #+HTML_STYLE: lines in my Org files th= at
> layered in different CSS. The nice thing about designing my CSS this w= ay is
> that I have a base style and could change individual documents as need= ed by
> just adding a new HTML_STYLE line that loads a small, simple override = CSS.
> I would get one <link style sheet /> line to match each HTML_STY= LE line.
> Now it appears that only the last line is exported to the HTML file.
This should be fixed.

It doesn= 9;t seem to be. I have put together a ECM. I have two CSS files, representi= ng a =E2=80=9Cbase=E2=80=9D style and an optional =E2=80=9Coverride=E2=80= =9D style. I have two versions of an org test file that differ only in the = first 2 lines of the file. One =E2=80=9Cworks=E2=80=9D (loads both style sh= eets and displays the text as described in the document), one does not.

This is a minimal ECM. In my actual setup I have the eq= uivalent of the base CSS file in a file named ~org-options.txt~ that I incl= ude into every single Org file I ever create via ~#+SETUPFILE"~. I loa= d my override CSS on a per-document basis in the document header below the = ~#+SETUPFILE:~ directive.

--14dae9398ead8d97fa04d71ba09c-- --14dae9398ead8d97fe04d71ba09e Content-Type: text/css; charset=US-ASCII; name="test-org-export-base-style.css" Content-Disposition: attachment; filename="test-org-export-base-style.css" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hdvtqiid0 YSwgaDEsIGgyLCBoMywgaDQsIGg1LCBoNiB7CgkgIGNvbG9yOiByZWQ7CiAgICBtYXJnaW4tYm90 dG9tOiAwLjVlbTsKfQo= --14dae9398ead8d97fe04d71ba09e Content-Type: application/octet-stream; name="test-org-export-not-works.org" Content-Disposition: attachment; filename="test-org-export-not-works.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hdvtqiih1 IytIVE1MX0hFQURfRVhUUkE6IDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgdHlwZT0idGV4dC9jc3Mi IGhyZWY9InRlc3Qtb3JnLWV4cG9ydC1iYXNlLXN0eWxlLmNzcyIgLz4KIytIVE1MX0hFQURfRVhU UkE6IDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgdHlwZT0idGV4dC9jc3MiIGhyZWY9InRlc3Qtb3Jn LWV4cG9ydC1vdmVycmlkZS1zdHlsZS5jc3MiIC8+CgoKKiBIZWxsbyB0aGlzIEgxIFNob3VsZCBk aXNwbGF5IGluIHJlZApU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3RlPn4gZG9lcyBub3QKZGlzcGxheSBuZWF0bHkgb24gdGhlIHJpZ2h0LgojK2JlZ2luX2V4YW1w bGUKIytIVE1MX0hFQURfRVhUUkE6IDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgdHlwZT0idGV4dC9j c3MiIGhyZWY9InRlc3Qtb3JnLWV4cG9ydC1iYXNlLXN0eWxlLmNzcyIgLz4KIytIVE1MX0hFQURf RVhUUkE6IDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgdHlwZT0idGV4dC9jc3MiIGhyZWY9InRlc3Qt b3JnLWV4cG9ydC1vdmVycmlkZS1zdHlsZS5jc3MiIC8+CiMrZW5kX2V4YW1wbGUK --14dae9398ead8d97fe04d71ba09e Content-Type: text/css; charset=US-ASCII; name="test-org-export-override-style.css" Content-Disposition: attachment; filename="test-org-export-override-style.css" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hdvtqiij2 LyoKICogQ1NTIE92ZXJyaWRlcyBmb3IgZG9jdW1lbnRzIHRoYXQgc2hvdWxkIGRpc3BsYXkgaW4g Ymx1ZSBhbmQgaGF2ZSBibG9ja3F1b3RlcwogKi8KCnAgewogICAgY29sb3I6IGJsdWU7Cn0KCmJs b2NrcXVvdGUgewogICAgZmxvYXQ6cmlnaHQ7CiAgICB3aWR0aDoxNjBweDsKICAgIGZvbnQtc2l6 ZTo5MCU7CiAgICBtYXJnaW46MCAwIDAgMTBweDsKICAgIHBhZGRpbmc6MTVweDsKICAgIGZvbnQt ZmFtaWx5Okdlb3JnaWEsICJUaW1lcyBOZXcgUm9tYW4iLCBUaW1lcywgc2VyaWY7CiAgICBib3Jk ZXItbGVmdDpzb2xpZCAzcHggI0RFREVERTsKfQo= --14dae9398ead8d97fe04d71ba09e Content-Type: application/octet-stream; name="test-org-export-works.org" Content-Disposition: attachment; filename="test-org-export-works.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hdvtqiik3 IytIVE1MX0hFQURfRVhUUkE6IDxsaW5rIHJlbD0ic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