From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ANN] ASCII back-end for new export engine Date: Tue, 07 Feb 2012 18:49:42 +0100 Message-ID: <87pqdqfs95.fsf@gmail.com> References: <87pqec4xua.fsf@gmail.com> <87zkcwt4qg.fsf@gmail.com> <87liofuc2k.fsf@gmail.com> <87obtbnmtj.fsf@gmail.com> <80d39rqaqe.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RupD5-0005UP-TO for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 12:52:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RupD0-0008Ko-0n for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 12:52:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:58899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RupCz-0008Kh-LB for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 12:52:01 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RupCy-0004XF-4S for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 18:52:00 +0100 In-Reply-To: <80d39rqaqe.fsf@somewhere.org> (Sebastien Vauban's message of "Tue, 07 Feb 2012 10:00:25 +0100") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org "Sebastien Vauban" writes: > Nicolas Goaziou wrote: >> I used: >> >> (add-to-list 'org-entities-user '("omacr" "\\=3D{o}" nil "ō" "o" "o= " "=C5=8D")) >> >> without a problem. > > IIUC, you specify how to translate some "LaTeX-like command" to the diffe= rent > back-ends. But I don't see DocBook nor OOo in the list: > > =E2=94=8F=E2=94=81=E2=94=81=E2=94=81=E2=94=81 > =E2=94=83 User-defined entities used in Org-mode to produce special c= haracters. > =E2=94=83 Each entry in this list is a list of strings. It associate= s the name > =E2=94=83 of the entity that can be inserted into an Org file as \nam= e with the > =E2=94=83 appropriate replacements for the different export backends.= The order > =E2=94=83 of the fields is the following > =E2=94=83=20 > =E2=94=83 name As a string, without the leading backs= lash > =E2=94=83 LaTeX replacement In ready LaTeX, no further processing = will take place > =E2=94=83 LaTeX mathp A Boolean, either t or nil. t if this= entity needs > =E2=94=83 to be in math mode. > =E2=94=83 HTML replacement In ready HTML, no further processing w= ill take place. > =E2=94=83 Usually this will be an &...; entity. > =E2=94=83 ASCII replacement Plain ASCII, no extensions. Symbols t= hat cannot be > =E2=94=83 represented will be left as they are, = but see the. > =E2=94=83 variable `org-entities-ascii-explanato= ry'. > =E2=94=83 Latin1 replacement Use the special characters available i= n latin1. > =E2=94=83 utf-8 replacement Use the special characters available i= n utf-8. > =E2=94=83=20 > =E2=94=83 If you define new entities here that require specific LaTeX= packages to be > =E2=94=83 loaded, add these packages to `org-export-latex-packages-al= ist'. > =E2=94=97=E2=94=81=E2=94=81=E2=94=81=E2=94=81 > > Aren't those backends missing? Or do I miss how it really is used? I think most back-ends understand at least one of the formats used in this alist. For example the DocBook one just reads HTML entry. Regards, --=20 Nicolas Goaziou