From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43181 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Partly OT: some luatex questions Date: Thu, 14 Aug 2008 09:58:14 +0200 Message-ID: <115224fb0808140058i4d85aaf9t5e02c2787ff4611c@mail.gmail.com> References: <20080813210743.GA21092@phare.normalesup.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218702668 9717 80.91.229.12 (14 Aug 2008 08:31:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 08:31:08 +0000 (UTC) To: news2@nililand.de, "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 14 10:31:59 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KTYF2-0000Nw-TF for gctc-ntg-context-518@m.gmane.org; Thu, 14 Aug 2008 10:31:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA5871FE1B; Thu, 14 Aug 2008 10:30:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18814-03-5; Thu, 14 Aug 2008 10:29:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2A3621FE2A; Thu, 14 Aug 2008 09:58:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 189D31FE3A for ; Thu, 14 Aug 2008 09:58:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12458-02-9 for ; Thu, 14 Aug 2008 09:58:18 +0200 (CEST) Original-Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.240]) by ronja.ntg.nl (Postfix) with ESMTP id 039941FC78 for ; Thu, 14 Aug 2008 09:58:16 +0200 (CEST) Original-Received: by hs-out-0708.google.com with SMTP id k27so275446hsc.2 for ; Thu, 14 Aug 2008 00:58:15 -0700 (PDT) Original-Received: by 10.90.34.3 with SMTP id h3mr1361223agh.15.1218700694918; Thu, 14 Aug 2008 00:58:14 -0700 (PDT) Original-Received: by 10.100.109.20 with HTTP; Thu, 14 Aug 2008 00:58:14 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43181 Archived-At: 2008/8/14 Ulrike Fischer : > Am Wed, 13 Aug 2008 23:07:43 +0200 schrieb Arthur Reutenauer: > >> Hello Ulrike, >> >>> 1. In the following document there is no space between the a and the y: >>> >>> \documentclass{article} >>> \begin{document} >>> \noindent a\\y >>> >>> \bigskip >>> >>> a\par y >>> \end{document} >>> >>> It looks as if the lines have only the depth from their content. >> >> I don't seem to see that (see attachment). How did you generate the >> format? I used "luatex -ini pdflualatex.ini" where pdflualatex.ini >> contains >> >> \pdfoutput1 >> \input latex.ltx > > I tried it with a format generated by simply inputting latex.ltx (and > then \pdfoutput=1 in the document), with one which loads also > pdftexconfig.tex, and with a plain one: > % Thomas Esser, 1998. public domain. > % hyphenation tables are now set up in language.dat > \input pdftexconfig.tex > \input plain > \dump > \endinput > > In all cases (also if I try dvi-output) the lines glue together. The > attachment text-lua is the pdf of the latex try. > > >>> 2. I found here some code to use truetype and opentype fonts: >>> http://luatex.bluwiki.com/go/Use_a_TrueType_font >> >> Oh, that ;-) You really have to realize that these lines of code are >> nothing more than an experiment I wrote one and a half year ago, and you >> should be prepared to extend it if you want complete TrueType support >> (not to mention OpenType features, which are absent altogether). > > Yes I realized that ;-). Currently I'm trying simple code to understand > the principles so that I can later steal the right things from the > context files. > >> That said, the problems should not be as bad as the ones you report >> below: >> >>> a) I tested it with a latin modern font and arial and with both fonts >>> all lines of a text are printed one above the other. >>> of the lines have a height and a depth. >> >> That's not what happens to me, you should really send a precise example. > > See test-lua2.tex + pdf This was a bug, you need a newer luaTeX. http://www.mail-archive.com/dev-luatex@ntg.nl/msg00033.html >>> b) I also tried MnSymbol5.otf and there I get an error "invalid >>> character". (I tried to get an "A"). With xetex the font works fine. >> >> I can't confirm that. I get the A all right (see attachment). Again, >> please send the precise example that fails. > > The MnSymbol-Bold5 you used works fine for me too. MnSymbol5 is the font > doesn't work (the code is -- commented -- in test-lua2): > > !luaTeX error (file > c:/PROGRAMME/MIKTEX2.7/fonts/opentype/public/mnsymbol/MnSym > bol5.otf): Invalid character. > ==> Fatal error occurred, no output PDF file produced! Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________