From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: RTF for emacs Date: Sun, 25 May 2014 04:22:03 +0200 Organization: Aioe.org NNTP Server Message-ID: <87bnumsilw.fsf@debian.uxu> References: <87fvk012fi.fsf@debian.uxu> <8761kw58n4.fsf@robertthorpeconsulting.com> <87a9a79gvk.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1400984724 13354 80.91.229.3 (25 May 2014 02:25:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 May 2014 02:25:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 25 04:25:19 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WoO7j-000127-1n for geh-help-gnu-emacs@m.gmane.org; Sun, 25 May 2014 04:25:19 +0200 Original-Received: from localhost ([::1]:50072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoO7i-0005wo-FX for geh-help-gnu-emacs@m.gmane.org; Sat, 24 May 2014 22:25:18 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: u+UUXbnu1hlDFr5pMibebQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:Up8EgX6wGhgYMjKDRBW9FSsjNjY= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:205568 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97838 Archived-At: Grant Rettke writes: > Emanuel try http://ditaa.sourceforge.net Thanks, but I haven't given up just yet of including the Unicode right into the PDF - just imagine how cool, with no image files whatsoever to burden you! So just now, I sent the following to comp.text.tex - let's see if they can solve it! (post begins here) I just learned about Emacs' artist-mode on gnu.emacs.help, which I used to draw two diagrams. Then, I used a clever tool called aa2u (ASCII Art To Unicode) [1] to make solid lines out of the dashes and all that. Examples: with [2] and without [3] Unicode. Now, in the LaTeX source [4] I put this: \usepackage{alltt} %% ... \begin{alltt} \input{tree.txt} \clearpage \input{multicore.txt} \end{alltt} And the result looks like this [5] (at page 2, right after the TOC). Question is, is there a similar way to include not the ASCII, but the UTF-8 versions of the diagrams? I tried the same way, only it got stuck on pdflatex on the very Unicode. I know I can make pictures of them but I like the idea of just having those as text, and just inserting them (faster update, and no in-between file - minimal overhead). [1] http://www.gnuvola.org/software/aa2u/ [2] http://user.it.uu.se/~embe8573/hs/docs/report/multicore.txt [3] http://user.it.uu.se/~embe8573/hs/docs/report/multicore_u.txt [4] http://user.it.uu.se/~embe8573/hs/docs/report/formal.tex [5] http://user.it.uu.se/~embe8573/hs/docs/report/formal.pdf -- underground experts united: http://user.it.uu.se/~embe8573