From mboxrd@z Thu Jan 1 00:00:00 1970 From: Livin Stephen Sharma Subject: Re: org-export [with respect to lists] to HTML Date: Wed, 17 Feb 2010 19:32:47 +0530 Message-ID: <53e1b0061002170602s1acb1a2at75af2099f400f375@mail.gmail.com> References: <8F16A01C-AE25-443B-85FA-F32917AAF9B5@gmail.com> <87hbpghtv0.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=00504502cc2b596e18047fcc4f73 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhkUi-0004AG-0C for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 09:03:12 -0500 Received: from [140.186.70.92] (port=57045 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhkUg-00049k-QD for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 09:03:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhkUf-0007ly-G0 for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 09:03:10 -0500 Received: from mail-iw0-f176.google.com ([209.85.223.176]:62905) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhkUf-0007lt-7y for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 09:03:09 -0500 Received: by iwn6 with SMTP id 6so4380612iwn.5 for ; Wed, 17 Feb 2010 06:03:08 -0800 (PST) In-Reply-To: <87hbpghtv0.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-org-mode-help gnu gnu --00504502cc2b596e18047fcc4f73 Content-Type: multipart/alternative; boundary=00504502cc2b596e11047fcc4f71 --00504502cc2b596e11047fcc4f71 Content-Type: text/plain; charset=ISO-8859-1 Sebastian, In the 'test.org' file **attached** in my previous mail, indentation was as you had suggested [you may verify or test/use that as a 'minimal example' to confirm]. I think text pasted into the email itself [under the title 'org content'] may have lost some white-space. Thanks for the BEGIN_QUOTE suggestion. Here's a funny thing I see: If I use *begin_quote*, the exported html has list-items numbered *correctly *. However, If I use *begin_example*, the numbering gets messed up again! Attaching slightly modified version of org file and exported-html [ *C-c C-e b* ] On 17 February 2010 19:00, Sebastian Rose wrote: > Hi Stephan, > > > list are made from indentation. The `#+begin_example' (did you mean > `#+begin_quote'?) must be indented to be considered a part of the first > list item. This way, it is considered the end of the list. > > > It should be: > > * Simonisms > 1. Kodachrome > #+BEGIN_EXAMPLE > When I think back on all the crap I learned in high school, It's a > wonder I can think at all > #+END_EXAMPLE > 2. Sound of silence > > --00504502cc2b596e11047fcc4f71 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sebastian,
In the 'test.org' fi= le *attached* in my previous mail, indentation was as you had sugges= ted [you may verify or test/use that as a 'minimal example' to conf= irm]. I think text pasted into the email itself [under the title 'org c= ontent'] may have lost some white-space.


Thanks for the BEGIN_QUOTE suggestion.
Here's a funny thing I see:
If I use begin_quote, the exported html has list-items numbered correctly= . However,
If I use begin_example, the numbering gets messed up again!

Attaching slightly modified version of org file and e= xported-html [ C-c C-e b ]






On 17 Feb= ruary 2010 19:00, Sebastian Rose <sebastian_rose@gmx.de>= wrote:
Hi Stephan,


list are made from indentation. The `#+begin_example' (did you mean
`#+begin_quote'?) must be indented to be considered a part of the first=
list item. This way, it is considered the end of the list.


It should be:

* Simonisms
=A01. Kodachrome
=A0 =A0 #+BEGIN_EXAMPLE
=A0 =A0 =A0When I think back on all the crap I learned in high school, It&= #39;s a
=A0 =A0 =A0wonder I can think at all
=A0 =A0 #+END_EXAMPLE
=A02. Sound of silence


--00504502cc2b596e11047fcc4f71-- --00504502cc2b596e18047fcc4f73 Content-Type: text/html; charset=US-ASCII; name="test.html" Content-Disposition: attachment; filename="test.html" Content-Transfer-Encoding: base64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CjxoMiBpZD0ic2Vj LTIiPjxzcGFuIGNsYXNzPSJzZWN0aW9uLW51bWJlci0yIj4yPC9zcGFuPiBTaW1vbmlzbXMgJ3F1 b3RlJyA8L2gyPgo8ZGl2IGNsYXNzPSJvdXRsaW5lLXRleHQtMiIgaWQ9InRleHQtMiI+Cgo8b2w+ CjxsaT4KS29kYWNocm9tZQo8YmxvY2txdW90ZT4KCjxwPldoZW4gSSB0aGluayBiYWNrIG9uIGFs bCB0aGUgY3JhcCBJIGxlYXJuZWQgaW4gaGlnaCBzY2hvb2wsIEl0J3MgYSB3b25kZXIgSSBjYW4g dGhpbmsgYXQgYWxsCjwvcD4KPC9ibG9ja3F1b3RlPgoKPC9saT4KPGxpPgpTb3VuZCBvZiBzaWxl bmNlICZuZGFzaDsgPGI+Y29ycmVjdDwvYj4gPGJyLz4KVGVuIHRob3VzYW5kIHBlb3BsZQo8L2xp Pgo8L29sPgo8L2Rpdj4KPC9kaXY+CjxkaXYgaWQ9InBvc3RhbWJsZSI+CjxwIGNsYXNzPSJkYXRl Ij4gRGF0ZTogMjAxMC0wMi0xNyAxOToyOToxOSBJU1Q8L3A+CjxwIGNsYXNzPSJjcmVhdG9yIj5I VE1MIGdlbmVyYXRlZCBieSBvcmctbW9kZSA2LjMxYSBpbiBlbWFjcyAyMzwvcD4KPC9kaXY+Cjwv ZGl2Pgo8L2JvZHk+CjwvaHRtbD4K --00504502cc2b596e18047fcc4f73 Content-Type: application/octet-stream; name="test.org" Content-Disposition: attachment; filename="test.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g5s6z6cj0 IytUSVRMRTogV2hlbiBJIHRoaW5rIGJhY2sgb24gYWxsIHRoZSBjcmFwIEkgbGVhcm5lZCBpbiBo aWdoIHNjaG9vbC4uLgojK09QVElPTlM6IHRvYzoyIF46bmlsIGF1dGhvcjpuaWwKIytTVEFSVFVQ OiBjb250ZW50CiMrU1RBUlRVUDogaGlkZXN0YXJzCiMrRklMRVRBR1M6IFBFUlNPTkFMCgoqIFNp bW9uaXNtcyAnZXhhbXBsZScKICAxLiBLb2RhY2hyb21lCgkgIytCRUdJTl9FWEFNUExFCgkgV2hl biBJIHRoaW5rIGJhY2sgb24gYWxsIHRoZSBjcmFwIEkgbGVhcm5lZCBpbiBoaWdoIHNjaG9vbCwg SXQncyBhIHdvbmRlciBJIGNhbiB0aGluayBhdCBhbGwKCSAjK0VORF9FWEFNUExFCiAgMi4gU291 bmQgb2Ygc2lsZW5jZSAtLSAqd3JvbmcqIFxcCgkgVGVuIHRob3VzYW5kIHBlb3BsZQoKCiogU2lt b25pc21zICdxdW90ZScKICAxLiBLb2RhY2hyb21lCgkgIytCRUdJTl9RVU9URQoJIFdoZW4gSSB0 aGluayBiYWNrIG9uIGFsbCB0aGUgY3JhcCBJIGxlYXJuZWQgaW4gaGlnaCBzY2hvb2wsIEl0J3Mg YSB3b25kZXIgSSBjYW4gdGhpbmsgYXQgYWxsCgkgIytFTkRfUVVPVEUKICAyLiBTb3VuZCBvZiBz aWxlbmNlIC0tICpjb3JyZWN0KiBcXAoJIFRlbiB0aG91c2FuZCBwZW9wbGUK --00504502cc2b596e18047fcc4f73 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --00504502cc2b596e18047fcc4f73--