From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59347 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt unit testing Date: Sat, 5 Jun 2010 18:14:51 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/mixed; boundary="===============1906887094==" X-Trace: dough.gmane.org 1275754523 30659 80.91.229.12 (5 Jun 2010 16:15:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2010 16:15:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 05 18:15:20 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OKw1n-0007TM-Ub for gctc-ntg-context-518@m.gmane.org; Sat, 05 Jun 2010 18:15:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64413C9CDD; Sat, 5 Jun 2010 18:15:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0qd-x+aQ2b9R; Sat, 5 Jun 2010 18:15:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C5D87C9CBD; Sat, 5 Jun 2010 18:15:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A10CC9CBD for ; Sat, 5 Jun 2010 18:15:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id c8xZ3uXPauKa for ; Sat, 5 Jun 2010 18:14:55 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by balder.ntg.nl (Postfix) with ESMTP id B1E05C9CBB for ; Sat, 5 Jun 2010 18:14:55 +0200 (CEST) Original-Received: by wyb42 with SMTP id 42so678802wyb.14 for ; Sat, 05 Jun 2010 09:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=nL+WdUjov4eeV0sTMY4VrDcpRH2CL4U0KPTlo6DwAmY=; b=x5MtO0ejNx8rra0WboZeuykVI9RRGEQwxYrvJ+3hSYC4wRnjy22Q+xs9Thd3WjCeDZ FNQUGa4UBZoJddlFHrm8RUAChidyq1TxEjkaADN079vD5liacpEd4QYQNKV3k135Vano R0V+EeEqzHX/TTMVKW/31+HuxWgmmhAbebFms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=bWWhR0u12JmJuuXN9DHeUvdxJ59zVCqSH4rxLKc850v74iGz8whMpyezH50pW18oX4 TcFAVTSDW9opoRzUe66i1tUdcXnfGlkpqlnTW2crR8KfL/+FrPdLQOLlgmayXNz/V/fS NmG1kApeiLPzTwqaiFVBiCirLAMUY1qLDAOc4= Original-Received: by 10.227.144.141 with SMTP id z13mr11881647wbu.154.1275754493684; Sat, 05 Jun 2010 09:14:53 -0700 (PDT) Original-Received: from [192.168.0.12] (mna75-3-82-66-231-76.fbx.proxad.net [82.66.231.76]) by mx.google.com with ESMTPS id z33sm20416010wbd.19.2010.06.05.09.14.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jun 2010 09:14:52 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1078) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:59347 Archived-At: --===============1906887094== Content-Type: multipart/alternative; boundary=Apple-Mail-1--1052935779 --Apple-Mail-1--1052935779 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Yuri and Mojca, As far as I am concerned, I have a little file named =AB basic-test.tex = =BB containing the lines below: eveytime I update the minimals (well=85 = almost everytime), before doing so, I proceed as follows: 1) I make a backup copy of my existing and working context-minimals 2) I run first-setup.sh to update to the latest context-minimals 3) I typeset the file =AB basic-test.tex =BB: if everything works I keep = a zipped archive of the old installation and I delete the backup copy. = If the new installation doesn't work I delete the updated = context-minimals and go back to my old installation (and I complain to = Mojca, Hans, Taco, and the list=85). Here is this little file: %% file basic-test.tex \starttext \chapter{Testing a chapter\footnote{Actually for testing footnotes in a = chapter header\dots}} This file has been typeset=20 on \currentdate{}=20 at \currenttime,=20 with=20 \doifmodeelse{mkiv} {mkiv,=20 LuaTeX version \the\luatexversion, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp), using the command: \crlf \type{context basic-test.tex}\crlf} {mkii,=20 using the command: \crlf \type{texexec basic-test.tex} \crlf} ConTeXt version \contextversion. \section{Testing a section\footnote{Actually for testing footnotes in a = section header\dots}} An elementary identity: $(a + b)^2 =3D a^2 + 2ab + b^2$. And a = well-known identity due to Leonhard Euler in which the five most = important numbers appear: \placeformula \startformula {\rm e}^{{\rm i}\pi} + 1 =3D 0. \stopformula By the way, $\int_{0}^{2\pi} \sin(x)dx =3D 0$, while \startformula \int_{0}^{2\pi} \sin^2(x)dx =3D \pi. \stopformula \startitemize[r] \item Testing items and footnotes\footnote{This is a silly remark\dots} \item\footnote{This is a silly remark, inside an item\dots} testing = items and footnotes \stopitemize And a final test\footnote{This is another silly remark but outside = items\dots} of a footnote. \stoptext %% end file basic-test.tex Best regards: OK On 5 juin 2010, at 17:43, Mojca Miklavec wrote: > On Sat, Jun 5, 2010 at 17:13, Yury G. Kudryashov wrote: >>=20 >> If there are no, any objections against adding them, and testing = before >> releasing new beta? >=20 > No, just go on. Any volunteer with some ideas to start a project is = welcome. >=20 > Mojca > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ %%%%%%%%%%%%%%%%%% Otared Kavian D=E9partement de Math=E9matiques Universit=E9 de Versailles Saint-Quentin B=E2timent Fermat 45 aveue des Etats Unis 78035 Versailles cedex T=E9l=E9phone: +33 1 39 25 46 42 Secr=E9tariat: +33 1 39 25 46 44=20 Secr=E9tariat: +33 1 39 25 46 46 e-mail: Otared.Kavian@math.uvsq.fr --Apple-Mail-1--1052935779 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hi = Yuri and Mojca,

As far as I am concerned, I have a = little file named =AB basic-test.tex =BB containing the lines below: = eveytime I update the minimals (well=85 almost everytime), before doing = so, I proceed as follows:
1) I make a backup copy of my = existing and working context-minimals

2) I run = first-setup.sh to update to the latest = context-minimals

3) I typeset the file =AB = basic-test.tex =BB: if everything works I keep a zipped archive of the = old installation and I delete the backup copy. If the new installation = doesn't work I delete the updated context-minimals and go back = to my old installation (and I complain to Mojca, Hans, Taco, and = the list=85).

Here is this little = file:
%% file = basic-test.tex
\starttext
\chapter{Testing a = chapter\footnote{Actually for testing footnotes in a chapter = header\dots}}

This file has been = typeset 
on \currentdate{} 
at = \currenttime, 
with 
\doifmodeelse{mkiv}
= {mkiv, 
LuaTeX version = \the\luatexversion,
LuaTeX revision = \luatexrevision,
(LuaTeX date stamp = \luatexdatestamp),
using the command: = \crlf
= \type{context basic-test.tex}\crlf}
= {mkii, 
using the command: = \crlf
= \type{texexec basic-test.tex} \crlf}
ConTeXt = version \contextversion.

\section{Testing a = section\footnote{Actually for testing footnotes in a section = header\dots}}

An elementary identity: $(a + = b)^2 =3D a^2 + 2ab + b^2$. And a well-known identity due to Leonhard = Euler in which the five most important numbers = appear:
\placeformula
\startformula
{\rm = e}^{{\rm i}\pi} + 1 =3D 0.
\stopformula
By the = way, $\int_{0}^{2\pi} \sin(x)dx =3D 0$, = while
\startformula
\int_{0}^{2\pi} \sin^2(x)dx =3D = \pi.
\stopformula

\startitemize[r= ]

\item Testing items and = footnotes\footnote{This is a silly = remark\dots}

\item\footnote{This is a silly = remark, inside an item\dots} testing items and = footnotes

\stopitemize

A= nd a final test\footnote{This is another silly remark but outside = items\dots}  of a = footnote.

\stoptext

%% = end file basic-test.tex

Best regards: = OK

On 5 juin 2010, at 17:43, Mojca = Miklavec wrote:

On Sat, Jun 5, 2010 at 17:13, Yury G. Kudryashov = wrote:

If there are no, any objections against adding them, and = testing before
releasing new = beta?

No, just go on. Any volunteer with some ideas = to start a project is = welcome.

Mojca
_________________________________________________= __________________________________
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 =  : http://foundry.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

%%%%%%%%%%%%%%%%%%
Otared = Kavian
D=E9partement de Math=E9matiques
Universit=E9 = de Versailles Saint-Quentin
B=E2timent Fermat
45 = aveue des Etats Unis
78035 Versailles = cedex

T=E9l=E9phone: +33 1 39 25 46 = 42
Secr=E9tariat: +33 1 39 25 46 = 44 
Secr=E9tariat: +33 1 39 25 46 = 46



= --Apple-Mail-1--1052935779-- --===============1906887094== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1906887094==--