From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34139 Path: news.gmane.org!not-for-mail From: Andrea Valle Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt, XeTeX, ect was Re: OpenType in Windows Date: Thu, 5 Apr 2007 17:12:05 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: multipart/mixed; boundary="===============0450542980==" X-Trace: sea.gmane.org 1175786030 14915 80.91.229.12 (5 Apr 2007 15:13:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2007 15:13:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 05 17:13:30 2007 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 1HZTdw-0005bH-9t for gctc-ntg-context-518@m.gmane.org; Thu, 05 Apr 2007 17:12:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 448EC2035B; Thu, 5 Apr 2007 17:12: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 17518-03; Thu, 5 Apr 2007 17:12:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8691B201D2; Thu, 5 Apr 2007 17:12:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B349A201D2 for ; Thu, 5 Apr 2007 17:12:44 +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 17675-06-3 for ; Thu, 5 Apr 2007 17:12:42 +0200 (CEST) Original-Received: from pianeta.di.unito.it (pianeta.di.unito.it [130.192.156.1]) by ronja.ntg.nl (Postfix) with ESMTP id 82F851FDA2 for ; Thu, 5 Apr 2007 17:12:42 +0200 (CEST) Original-Received: from [192.168.1.2] (d83-184-26-132.cust.tele2.it [83.184.26.132]) by pianeta.di.unito.it (INFO-DIP) with ESMTP id l35FCKVh011910 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO userCertificateDN= AuthenticatedUser=valle ) for ; Thu, 5 Apr 2007 17:12:21 +0200 (MEST) In-Reply-To: X-Mailer: Apple Mail (2.752.3) X-dipinfo-MailScanner-Information: Please contact Department of Computer Science technical staff for more information X-AntiVirus: Scanned for viruses by VirusFinder @2001-tecnici@di.unito.it - Email Clean X-SpamCheck: not spam, SpamAssassin (score=-100.652, required 3.5, autolearn=not spam, AUTHENTICATEDUSER -100.00, BAYES_00 -2.60, HTML_MESSAGE 0.00, RCVD_IN_NJABL_DUL 1.95) X-MailScanner-From: valle@di.unito.it 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:34139 Archived-At: --===============0450542980== Content-Type: multipart/alternative; boundary=Apple-Mail-20--89770329 --Apple-Mail-20--89770329 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Thanks Sanjoy for the exhaustive infos. I knew the relations among Tex, LaTeX and ConTeXt but couldn't =20 understand at which level XeTeX was positioned. So, I was interested in XeTeX because (if I understood clearly) I can =20= use resident fonts. Is it true? What I have to do in order to do this? Use the fonts in the source? =20 Add a special command? Thanks a lot Best -a- On 5 Apr 2007, at 15:23, Sanjoy Mahajan wrote: >> What does this exactly mean (from wikipedia)? >> "XeTeX works well with both LaTeX and ConTeXt." > > XeTeX, PDFTeX, eTeX, and TeX (Knuth's original TeX) are conceptually > at the same level. The ConTeXt documents (and kpathsea) call this > level the engine. They all understand basically the same macro > language, the one Knuth described in the _TeXBook_. > > But they have slight differences. For example, TeX produces DVI > output. eTeX does too but it adds a few more commands ('primitives') > to the macro language. PDFTeX produces PDF directly (or can produce > DVI) and has, relative to regular TeX, new macro commands to support > features of PDF; for example, \pdfpagewidth is new to PDFTeX. Regular > TeX doesn't have an equivalent because the DVI format does not include > a notion of page size. PDFTeX, from v1.40, also incorporates those > eTeX commands. And XeTeX has commands to support OpenType, which is > the new standard font format. > > LaTeX and ConTeXt are large programs ('macro packages') written on top > of the engine. Namely, the program -- whether LaTeX or ConTeXt -- is > written in the macro language of the engine. Most of the program is > independent of the engine, but there are a few changes needed; the > program usually detects which engine is being used underneath it and > adjusts what it does accordingly. > > For LaTeX, you choose the engine by the name of the program you run: > > * latex -- uses regular TeX (actually, now it uses PDFTeX =20 > pretending > to be regular TeX) > * pdflatex -- uses PDFTeX > * xelatex -- uses XeTeX > > For ConTeXt, you choose the engine by the '--engine' option to > texexec. For example: "texexec --engine=3Dpdftex file.tex" will make > you file.pdf. But as the manual entry now says, you usually do not > need to specify the engine: > > --engine=3Dtexengine > Specify the program to do the hard work of typesetting. > Currently either pdftex (the default), xetex, or aleph. > The luatex value is experimental. The --engine option > is not usually needed. Instead, let texexec figure out > the setting based on other command-line information. > See for example the --xetex or --pdf switches. > > So > * "texexec --xetex file.tex" : uses XeTeX > * "texexec --pdf file.tex" : uses PDFTeX > * "texexec file.tex" : also uses PDFTeX (the --pdf option is > now the default to texexec) > > I hope this explanation clarifies. If so, you can Wikify (on > wikipedia and/or the ConTeXt wiki)! > > -Sanjoy > > `Not all those who wander are lost.' (J.R.R. Tolkien) > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Universit=E0 degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> andrea.valle@unito.it -------------------------------------------------- I did this interview where I just mentioned that I read Foucault. =20 Who doesn't in university, right? I was in this strip club giving =20 this guy a lap dance and all he wanted to do was to discuss Foucault =20 with me. Well, I can stand naked and do my little dance, or I can =20 discuss Foucault, but not at the same time; too much information. (Annabel Chong) --Apple-Mail-20--89770329 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Thanks Sanjoy=A0 for the = exhaustive infos.
I knew the relations among Tex, LaTeX and ConTeXt = but couldn't understand at which level XeTeX was = positioned.=A0

So, I was interested in = XeTeX because (if I understood clearly) I can use resident fonts. Is it = true?
What I have to do in order to do this? Use the fonts in = the source? Add a special command?


Thanks a = lot=A0
Best
-a-



On 5 Apr = 2007, at 15:23, Sanjoy Mahajan wrote:

What does this exactly mean = (from wikipedia)?
"XeTeX works well with both = LaTeX and ConTeXt."

XeTeX, PDFTeX, eTeX, and TeX = (Knuth's original TeX) are conceptually
at the = same level.=A0 The ConTeXt = documents (and kpathsea) call this
level the = engine.=A0 They all = understand basically the same macro
language, the = one Knuth described in the _TeXBook_. =A0

But they have = slight differences.=A0 For = example, TeX produces DVI
output.=A0 eTeX does too but it adds a = few more commands ('primitives')
to the macro = language.=A0 PDFTeX = produces PDF directly (or can produce
DVI) and = has, relative to regular TeX, new macro commands to support
features of PDF; for example, \pdfpagewidth is new = to PDFTeX.=A0 = Regular
TeX doesn't have an equivalent = because the DVI format does not include
a notion = of page size.=A0 PDFTeX, = from v1.40, also incorporates those
eTeX = commands.=A0 And XeTeX has = commands to support OpenType, which is
the new = standard font format.
LaTeX and ConTeXt are large = programs ('macro packages') written on top
of the = engine.=A0 Namely, the = program -- whether LaTeX or ConTeXt -- is
written = in the macro language of the engine.=A0 Most of the program = is
independent of the engine, but there are a few = changes needed; the
program usually detects = which engine is being used underneath it and
adjusts what it does accordingly.

For = LaTeX, you choose the engine by the name of the program you = run:

* latex=A0 =A0 = -- uses regular TeX (actually, now it uses PDFTeX = pretending
=A0 to be regular TeX)
* pdflatex -- uses PDFTeX
* xelatex=A0 = -- uses XeTeX
For ConTeXt, you choose the = engine by the '--engine' option to
texexec.=A0 For example: "texexec = --engine=3Dpdftex file.tex" will make
you = file.pdf.=A0 But as the = manual entry now says, you usually do not
need to = specify the engine:
=A0=A0 =A0 =A0 = --engine=3Dtexengine=A0
=A0 =A0 =A0 =A0 =A0 =A0 =A0 = Specify the program to do the hard work of typesetting.
=A0 =A0 =A0 =A0 = =A0 =A0 =A0 Currently either pdftex (the default), xetex, or = aleph.
=A0 =A0 =A0 =A0 =A0 =A0 =A0 The = luatex value is experimental.=A0 = The --engine option
=A0 =A0 =A0 =A0 =A0 =A0 =A0 is = not usually needed.=A0 = Instead, let texexec figure out
=A0 =A0 =A0 =A0 =A0 =A0 =A0 the = setting based on other command-line information.
=A0 =A0 =A0 =A0 = =A0 =A0 =A0 See for example the --xetex or --pdf switches. =A0

So=A0
* = "texexec --xetex file.tex" : uses XeTeX
* = "texexec --pdf file.tex" =A0 = : uses PDFTeX
* "texexec file.tex" =A0 =A0 =A0 =A0 : also uses = PDFTeX (the --pdf option is
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 now the default to texexec)

I hope = this explanation clarifies.=A0 = If so, you can Wikify (on
wikipedia = and/or the ConTeXt wiki)!

-Sanjoy

`Not all = those who wander are lost.' (J.R.R. Tolkien)
ntg-context mailing list

= http://www.cirma.unito.it/andre= a/
= --------------------------------------------------



=A0I did this interview where I just mentioned that I = read Foucault. Who doesn't in university, right? I was in this strip = club giving this guy a lap dance and all he wanted to do was to discuss Foucault = with me. Well, I can stand naked and do my little dance, or I can = discuss Foucault, but not at the same time; too much = information.


=

= --Apple-Mail-20--89770329-- --===============0450542980== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0450542980==--