From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [ANN] ASCII back-end for new export engine Date: Tue, 07 Feb 2012 10:00:25 +0100 Message-ID: <80d39rqaqe.fsf@somewhere.org> References: <87pqec4xua.fsf@gmail.com> <87zkcwt4qg.fsf@gmail.com> <87liofuc2k.fsf@gmail.com> <87obtbnmtj.fsf@gmail.com> 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: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Nicolas, Nicolas Goaziou wrote: > tsd-P0awH739Ni4AvxtiuMwx3w@public.gmane.org (Thomas S. Dye) writes: > >> I defined a new entity in org-entities-user, but the new exporter >> appears to ignore it. Does it look at this variable, or just >> org-entities? > > 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 differe= nt 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 cha= racters. =E2=94=83 Each entry in this list is a list of strings. It associates = the name =E2=94=83 of the entity that can be inserted into an Org file as \name = 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 backsla= sh =E2=94=83 LaTeX replacement In ready LaTeX, no further processing wi= ll take place =E2=94=83 LaTeX mathp A Boolean, either t or nil. t if this e= ntity needs =E2=94=83 to be in math mode. =E2=94=83 HTML replacement In ready HTML, no further processing wil= l take place. =E2=94=83 Usually this will be an &...; entity. =E2=94=83 ASCII replacement Plain ASCII, no extensions. Symbols tha= t cannot be =E2=94=83 represented will be left as they are, bu= t see the. =E2=94=83 variable `org-entities-ascii-explanatory= '. =E2=94=83 Latin1 replacement Use the special characters available in = latin1. =E2=94=83 utf-8 replacement Use the special characters available in = utf-8. =E2=94=83=20 =E2=94=83 If you define new entities here that require specific LaTeX p= ackages to be =E2=94=83 loaded, add these packages to `org-export-latex-packages-alis= t'. =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? Best regards, Seb --=20 Sebastien Vauban