From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: unnumbered subsections in latex export Date: Tue, 05 Apr 2011 12:16:31 +0200 Message-ID: <80mxk5t340.fsf@somewhere.org> References: <20110322051038.21655c80@kuru.homelinux.net> <80d3lj9wj6.fsf@somewhere.org> <20110322053134.669127e9@kuru.homelinux.net> <8999.1300804510@alphaville.dokosmarshall.org> <20110322160814.227fc53f@bhishma.homelinux.net> <27844.1300836065@alphaville.usa.hp.com> <8162r9hgxm.fsf@gmail.com> <87bp11dk4h.fsf@gnu.org> <3553.1300994702@alphaville.usa.hp.com> <80ipuut70z.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Aankhen, Aankhen wrote: > 2011/4/4 S=C3=A9bastien Vauban : >> [snip] >> >> When discussing exporters and features, two things that come up to my mi= nd >> as missing as a "general Org feature": >> >> - bibliography :: works for LaTeX[1], not for HTML export. >> - acronyms :: idem. >> >> Maybe those should be made available for general Org usage by making them >> somehow part of the preprocessing? > > FWIW, acronyms wouldn=E2=80=99t need any preprocessing for HTML export. O= r maybe > they would: HTML has both =E2=80=98acronym=E2=80=99 and =E2=80=98abbr=E2= =80=99 (abbreviation) elements, the > distinction between them being a little hard to make. Could go the other = way > and provide both in Org and combine them where there=E2=80=99s no distinc= tion, I > suppose. > > Uhm, anyway. Acronyms are natively supported in HTML. That is all. Thanks for reporting this. Wasn't aware of it. Though, that does not alter = the need (at least, what I consider so) for acronyms handling in/from Org. Let's clarify what I'm talking about -- I know, I should have done it earli= er. I want to be able to say, in my Org file, that DNS is an acronym, for examp= le. I'm thinking -- brainstorming! -- at a solution _such as_ adding accolades around the acronyms: --8<---------------cut here---------------start------------->8--- This paper talks about {DNS} clients and {DNS} servers... --8<---------------cut here---------------end--------------->8--- In LaTeX, this should have to be translated to: --8<---------------cut here---------------start------------->8--- This paper talks about \acro{DNS} clients and \acro{DNS} servers... --8<---------------cut here---------------end--------------->8--- And the effects would be that: 1. the first occurrence of the acronym would be expanded in the PDF, while others not -- this is customizable! 2. every occurrence would be a link to the list of acronyms, at the end of = the document. In HTML, I would expect internal links to a list of acronyms at the end of = the document. I was thinking at preprocessing, because some smart things need to be done: - expanding the first occurrence of the acronym (if wished) with its definition, not the following; - in the list, at the end of the document, only list acronym definitions for the acronyms that have been used in the document. For the readability of the Org buffer, and for the behavior that we could expect, maybe a new link type would make it? I would expect a similar treatment for the bibliography: having some built-= in representation for that in Org, and have the exporters make it to both LaTeX and HTML (and ...). Comments welcome! Best regards, Seb --=20 S=C3=A9bastien Vauban