From mboxrd@z Thu Jan 1 00:00:00 1970 From: brian powell Subject: Re: OT: collage of scripts [was: Re: table alignment failed for Asian char Date: Fri, 28 Oct 2011 12:56:10 -0400 Message-ID: References: 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]:34971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJpj5-0000aj-Gg for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 12:56:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJpj2-0000wQ-Kv for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 12:56:15 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:63557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJpj2-0000w3-Dg for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 12:56:12 -0400 Received: by wwf27 with SMTP id 27so4691398wwf.30 for ; Fri, 28 Oct 2011 09:56:10 -0700 (PDT) In-Reply-To: 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: Brian Powell Cc: emacs-orgmode * One of my favorite Hofstadter books is: "Le Ton beau de Marot: In Praise of the Music of Language (ISBN 0-465-08645-4), published by Basic Books in 1997, is a book by Douglas Hofstadter in which he explores the meaning, strengths, failings, and beauty of translation." ** "Translation between frames of reference =E2=80=94 languages, cultures, modes of expression, or indeed between one person's thoughts and another =E2=80=94 becomes an element in many of the same concepts Hofstadte= r has addressed in prior works, such as reference and self-reference, structure and function, and artificial intelligence." ** This topic correctly has been labeled "OT"; but, on the subject of translation and "modes of expression" (in the OrgMode table); this is related to the original thread/topic: "table alignment failed for Asian chars."--getting back there for a moment: *** Are there any Asian/Chinese/Tamil character sets that have fixed widths? Chinese writing is "picture writing", where characters actually represent, to varying degrees, a picture or an abstract concept of the thing they represent. **** I remember many years ago, suggesting to fellow software engineers, that they do just that: Make fixed-width Tamil character sets that will work well in EMACS. * One possibly simple "work-around" (not sure this is what you seek): Put all your non-fixed width Asian characters into cells like: "[[blahAsianCharactersOrPNGofAsianChars][A]]" ** All you'd see is an "A" and then the table will look "covered down" (in an OrgMode buffer)--but you may have to manually adjust the OrgMode table. *** Another idea: you just put something like AAAAA555 (simple PlainText--maybe the unicode string equivalent like: "U+024B62") in the table and have a program that replace the PlainText U+024B62 with the AsianChars and/or a .PNG picture file link when you click an icon/run the program. There are ELISP programs which help with inserting "glyphs" that you could use and/or extend this hash array: **** Excerptions from "unichars.el": (defvar unicode-character-list '( ;Codept Unicode name ISO Name (#x000000 "NULL" nil ) ... (#x00fb92 "ARABIC LETTER GAF ISOLATED FORM" nil ) (#x00fb93 "ARABIC LETTER GAF FINAL FORM" nil ) (#x00fb94 "ARABIC LETTER GAF INITIAL FORM" nil ) (#x00fb95 "ARABIC LETTER GAF MEDIAL FORM" nil ) (#x00fb96 "ARABIC LETTER GUEH ISOLATED FORM" nil ) ... ***** See this wonderful extension/new take on this too: http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-3.7/x-symbol/lisp/x-= symbol-unichars.el --so suggest looking at x-symbol-unichars.el, unichars.el and maybe x-symbol.el and maybe then input UNICODE "glyphs" into your table. Can you extend it to Asian/Chinese/Tamil chars? (I don't see any in the files x-symbol-unichars.el, unichars.el, x-symbol.e= l) *** Last idea: I've put ticker-tape .GIF files in EMACS OrgMode buffers--you could put an infinite scrolling ticker tape of AsianChars in fixed-width .GIF files with say a 16x16 pixel window (or wider) and then know a priori that the table would remain covered down--when you view it in an EMACS OrgMode buffer--regardless of what text you put in it (This is probably not what you want though--but if you are doing a presentation or tutorial of some sort and you want to show your table with scrolling notes in table cells, then it can work for you--I've done it.) You can use ImageMagick to create the .GIF files--of the scrolling Asian text. _ ElBaradei, 3 minutes ago: =D9=A1=D9=A0 =D8=B4=D9=87=D9=88=D8=B1 =D9=82=D8=A8=D9=84 =D8=A5=D8=AD=D8= =A7=D9=84=D8=A9 =D9=82=D8=B6=D9=8A=D8=A9 =D8=A7=D9=84=D8=B4=D9=87=D9=8A=D8= =AF =D8=B3=D9=8A=D8=AF =D8=A8=D9=84=D8=A7=D9=84 =D9=84=D9=84=D8=AC=D9=86=D8=A7=D9=8A=D8=A7=D8=AA =D8=A7=D9=84=D9=85=D8=AA= =D9=87=D9=85 =D9=81=D9=8A=D9=87=D8=A7 =D9=A5 =D9=85=D9=86 =D8=B6=D8=A8=D8= =A7=D8=B7 =D8=A3=D9=85=D9=86 =D8=A7=D9=84=D8=AF=D9=88=D9=84=D8=A9 =D9=87=D8= =B1=D8=A8 =D9=85=D8=B9=D8=B8=D9=85=D9=87=D9=85 =D8=A7=D9=84=D9=89 =D8=A7=D9=84=D8= =AE=D8=A7=D8=B1=D8=AC. =D8=B4=D8=A6 =D9=85=D8=AE=D8=B2=D9=89 // from Twitte= r for iPad [Cairo, Egypt] On Fri, Oct 28, 2011 at 10:25 AM, Rustom Mody wrote= : > Jambunathan wrote: >> >> Book seems like an interesting read. For me to go from frame message -> > The wikipedia page: > http://en.wikipedia.org/wiki/Talk:Douglas_Hofstadter#Inspirational >