From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79028 Path: news.gmane.org!not-for-mail From: Andres Conrado Newsgroups: gmane.comp.tex.context Subject: Re: A problem with autopunctuation Date: Sat, 3 Nov 2012 14:04:30 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0683442376==" X-Trace: ger.gmane.org 1351969574 22860 80.91.229.3 (3 Nov 2012 19:06:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2012 19:06:14 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 03 20:06:23 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TUj2v-0007Tb-KR for gctc-ntg-context-518@m.gmane.org; Sat, 03 Nov 2012 20:06:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B003101F6; Sat, 3 Nov 2012 20:06:08 +0100 (CET) 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 eT-wTHTtnn+C; Sat, 3 Nov 2012 20:06:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1E5E2101E8; Sat, 3 Nov 2012 20:06:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16690101E8 for ; Sat, 3 Nov 2012 20:06:03 +0100 (CET) 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 wMuM1tNpQowB for ; Sat, 3 Nov 2012 20:06:00 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 8D107101E7 for ; Sat, 3 Nov 2012 20:06:00 +0100 (CET) Original-Received: from oproxy11-pub.bluehost.com (oproxy11-pub.bluehost.com [173.254.64.10]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id qA3J5vcD013221 for ; Sat, 3 Nov 2012 20:05:58 +0100 Original-Received: (qmail 9706 invoked by uid 0); 3 Nov 2012 19:05:12 -0000 Original-Received: from unknown (HELO just53.justhost.com) (173.254.28.53) by oproxy11.bluehost.com with SMTP; 3 Nov 2012 19:05:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chiquitico.org; s=default; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version; bh=lwCSlAwHsEQ+5UiO5BzHkkWRjv10J4Vr80z0m6IWHTE=; b=nNFpkRCQZIZXgKn0m6bRxgjfNdh7dRL5sih1IQEyaA/fchyKcQEkkEL5jRwJ5WqGl/jvBiHzy2bWn1GT9nlsCHa8QcrvpL5ttWR0oZ9W2aQmbl47OlEqzKvGpwOmUeHz; Original-Received: from [209.85.210.169] (port=53654 helo=mail-ia0-f169.google.com) by just53.justhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1TUj1r-0006NT-Nm for ntg-context@ntg.nl; Sat, 03 Nov 2012 13:05:11 -0600 Original-Received: by mail-ia0-f169.google.com with SMTP id h37so4280948iak.14 for ; Sat, 03 Nov 2012 12:05:10 -0700 (PDT) Original-Received: by 10.50.7.232 with SMTP id m8mr5227988iga.48.1351969510488; Sat, 03 Nov 2012 12:05:10 -0700 (PDT) Original-Received: by 10.50.181.202 with HTTP; Sat, 3 Nov 2012 12:04:30 -0700 (PDT) X-Identified-User: {1127:just53.justhost.com:chiquit1:chiquitico.org} {sentby:smtp auth 209.85.210.169 authed with elandi@chiquitico.org} X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=173.254.64.10; country=US; region=UT; city=Provo; postalcode=84606; latitude=40.2181; longitude=-111.6133; metrocode=770; areacode=801; http://maps.google.com/maps?q=40.2181,-111.6133&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NIj75VkJ - 67a9c13dd860 - 20121103 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79028 Archived-At: --===============0683442376== Content-Type: multipart/alternative; boundary=f46d04462dd26b79c104cd9beec3 --f46d04462dd26b79c104cd9beec3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In dont't really know why you think it should render differently. Everything TeX is supposed to ignore white spaces in math, AFAIK. If you want a space in math, you need to force it, like this: \setupmathematics[autopunctuation=3Dyes] \starttext $(2,\ 5)$ versus $(2,\ 5)$ \stoptext Best, Andr=C3=A9s Conrado Montoya El Andi andresconrado@gmail.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a utiliz= ar, no por los fines que proclamamos. ---------------------------------------- Por favor, evite enviarme documentos adjuntos en formato Word o PowerPoint. Lea http://www.gnu.org/philosophy/no-word-attachments.es.html ---------------------------------------- "Naturalmente, la gente normal no desea la guerra, pero al final son los l=C3=ADderes de una naci=C3=B3n quienes determinan su pol=C3=ADtica, y resu= lta muy sencillo doblegar a la gente, sea una democracia, una dictadura fascista, un parlamento o una dictadura comunista. Con voz o sin voz, la gente siempre podr=C3=A1 entregarse a la voluntad de sus l=C3=ADderes. Es f=C3=A1= cil. Lo =C3=BAnico que hay que hacer es decirles que est=C3=A1n siendo atacados, y denunciar a= los pacifistas por su falta de patriotismo y exponer el pa=C3=ADs al peligro. Funciona igual en todos los pa=C3=ADses." ---Hermann Goering, en los juicios de Nuremberg. 2012/11/3 > Send ntg-context mailing list submissions to > ntg-context@ntg.nl > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.ntg.nl/mailman/listinfo/ntg-context > or, via email, send a message with subject or body 'help' to > ntg-context-request@ntg.nl > > You can reach the person managing the list at > ntg-context-owner@ntg.nl > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ntg-context digest..." > > > Today's Topics: > > 1. Re: RFC: path relative to current file. (Andre Caldas) > 2. A problem with autopunctuation (Marcin Borkowski) > 3. Re: Weird print("\n...") error (Peter M?nster) > 4. Re: RFC: path relative to current file. (Sietse Brouwer) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 2 Nov 2012 22:35:29 -0200 > From: Andre Caldas > To: Hans Hagen > Cc: mailing list for ConTeXt users > Subject: Re: [NTG-context] RFC: path relative to current file. > Message-ID: > DWNZiA@mail.gmail.com> > Content-Type: text/plain; charset=3DUTF-8 > > Hello! > > >> It would be REALLY NICE if the functionality of "pathrelativetome" was > >> provided by ConTeXt. > > > > in file-job.lua add around the function 'process': > > > > local function toppath() > > [...] > > > > \component toppath:/subpath/somefile.tex > > Works like a charm, Hans! Sorry I took so long to test... > I copied file-job.lua from the GIT repository, and changed my tex > files to use toppath:/path/to/file. > > For example: > > https://bitbucket.org/andrecaldas/math-video-classes/src/b743f22e4f567662= ac55c1ac7dc1b6d13362e11d/src/products/assorted.tex?at=3Ddefault > > Really nice! Thanks!! :-) > > > Cheers, > Andr? Caldas. > > > ------------------------------ > > Message: 2 > Date: Sat, 3 Nov 2012 01:45:45 +0100 > From: Marcin Borkowski > To: ConTeXt mailing list > Subject: [NTG-context] A problem with autopunctuation > Message-ID: <20121103014545.02b8dd5f@aga-netbook> > Content-Type: text/plain; charset=3DUS-ASCII > > If I get it correctly, the following two formulae should render > differently - and they don't. What is going on? > > \setupmathematics[autopunctuation=3Dyes] > > \starttext > > $(2,5)$ versus $(2, 5)$ > > \stoptext > > Best, > > -- > Marcin Borkowski > http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski > Adam Mickiewicz University > > > ------------------------------ > > Message: 3 > Date: Sat, 03 Nov 2012 08:47:33 +0100 > From: Peter M?nster > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] Weird print("\n...") error > Message-ID: <877gq33z6y.fsf@micropit.couberia.selfip.net> > Content-Type: text/plain; charset=3Dutf-8 > > On Fri, Nov 02 2012, Proch?zka Luk?? wrote: > > > print("\nT") > > print("\n" .. "T") > > > > Any explanation? > > \nT is an unknown command. > > -- > Peter > > > ------------------------------ > > Message: 4 > Date: Sat, 3 Nov 2012 11:13:35 +0100 > From: Sietse Brouwer > To: mailing list for ConTeXt users > Cc: Hans Hagen > Subject: Re: [NTG-context] RFC: path relative to current file. > Message-ID: > dkzy9s5uuXfQv5QuQ1PyBTCGgLAM9RWk-RtD3iAxEkp6jJg@mail.gmail.com> > Content-Type: text/plain; charset=3DUTF-8 > > Andreas wrote: > >>> It would be REALLY NICE if the functionality of "pathrelativetome" wa= s > >>> provided by ConTeXt. > > Hans wrote: > >> in file-job.lua add around the function 'process': > >> > >> local function toppath() > >> [...] > >> > >> \component toppath:/subpath/somefile.tex > > Andreas wrote: > > Works like a charm, Hans! Sorry I took so long to test... > > I copied file-job.lua from the GIT repository, and changed my tex > > files to use toppath:/path/to/file. > > Will this be in the core, or is it just a fix for Andreas? I.e: should > we document toppath() as a core command, or as a snippet? > (Not that we have a general space on the wiki for snippets yet, but we > need one and we will have one. Somethine in the next two weeks I'll > write a "State of the Wiki" laying out what we have, what we don't > have, and what we want next.) > > --Sietse > > > ------------------------------ > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > > End of ntg-context Digest, Vol 101, Issue 6 > ******************************************* > --f46d04462dd26b79c104cd9beec3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In dont't really know why you think it should render differently.=C2=A0=
Everything TeX is supposed to ignore white spaces in math, AFAIK.=C2= =A0
If you want a space in math, you need to force it, like this:= =C2=A0

= \setupmathematics[autopunctuation=3Dyes]

\starttext

$(2,\ 5)$ versu= s $(2,\ 5)$

\stoptext

Best,

Andr=C3=A9s Conrado Montoya
El Andi
andresconrado@gmai= l.com
http://chiquitico.org
----------------------------------------
Los fines no justifican l= os medios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 da= da por los medios que estamos dispuestos a utilizar, no por los fines que p= roclamamos.
----------------------------------------
Por favor, evite enviarme docum= entos adjuntos en formato Word o PowerPoint.
Lea
http://ww= w.gnu.org/philosophy/no-word-attachments.es.html
----------------------------------------
"Naturalmente, la gente no= rmal no desea la guerra, pero al final son los l=C3=ADderes de una naci=C3= =B3n quienes determinan su pol=C3=ADtica, y resulta muy sencillo doblegar a= la gente, sea una democracia, una dictadura fascista, un parlamento o una = dictadura comunista. Con voz o sin voz, la gente siempre podr=C3=A1 entrega= rse a la voluntad de sus l=C3=ADderes. Es f=C3=A1cil. Lo =C3=BAnico que hay= que hacer es decirles que est=C3=A1n siendo atacados, y denunciar a los pa= cifistas por su falta de patriotismo y exponer el pa=C3=ADs al peligro. Fun= ciona igual en todos los pa=C3=ADses."
---Hermann Goering, en los juicios de Nuremberg.


2012/11/3 <ntg-context-reques= t@ntg.nl>
Send ntg-context mailing list submissions to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ntg-conte= xt@ntg.nl

To subscribe or unsubscribe via the World Wide Web, visit
=C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.ntg.nl/mailman/listinfo/ntg-contex= t
or, via email, send a message with subject or body 'help' to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 n= tg-context-request@ntg.nl

You can reach the person managing the list at
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ntg= -context-owner@ntg.nl

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ntg-context digest..."


Today's Topics:

=C2=A0 =C2=A01. Re: RFC: path relative to current file. (Andre Caldas)
=C2=A0 =C2=A02. A problem with autopunctuation (Marcin Borkowski)
=C2=A0 =C2=A03. Re: Weird print("\n...") error (Peter M?nster) =C2=A0 =C2=A04. Re: RFC: path relative to current file. (Sietse Brouwer)

----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Nov 2012 22:35:29 -0200
From: Andre Caldas <andre.e= m.caldas@gmail.com>
To: Hans Hagen <pragma@wxs.nl> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] RFC: path relative to current file.
Message-ID:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <CADVh14X0wb-2f7uRzb8Jo5jDE9n3ha0iyTLYBPB=3D= vRf=3DDWNZiA@mail.gmail.com>= ;
Content-Type: text/plain; charset=3DUTF-8

Hello!

>> It would be REALLY NICE if the functionality of "pathrelative= tome" was
>> provided by ConTeXt.
>
> in file-job.lua add around the function 'process':
>
> local function toppath()
> [...]
>
> =C2=A0 =C2=A0 \component toppath:/subpath/somefile.tex

Works like a charm, Hans! Sorry I took so long to test...
I copied file-job.lua from the GIT repository, and changed my tex
files to use toppath:/path/to/file.

For example:
https://bitbucket.org/andrecaldas/math-video-classes/src/b= 743f22e4f567662ac55c1ac7dc1b6d13362e11d/src/products/assorted.tex?at=3Ddefa= ult

Really nice! Thanks!! :-)


Cheers,
Andr? Caldas.


------------------------------

Message: 2
Date: Sat, 3 Nov 2012 01:45:45 +0100
From: Marcin Borkowski <mbork@wm= i.amu.edu.pl>
To: ConTeXt mailing list <ntg-cont= ext@ntg.nl>
Subject: [NTG-context] A problem with autopunctuation
Message-ID: <20121103014545.02b8dd5f@aga-netbook>
Content-Type: text/plain; charset=3DUS-ASCII

If I get it correctly, the following two formulae should render
differently - and they don't. =C2=A0What is going on?

\setupmathematics[autopunctuation=3Dyes]

\starttext

$(2,5)$ versus $(2, 5)$

\stoptext

Best,

--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University


------------------------------

Message: 3
Date: Sat, 03 Nov 2012 08:47:33 +0100
From: Peter M?nster <pmlists@free.fr<= /a>>
To: mailing list for ConTeXt users <
ntg-context@ntg.nl>
Subject: Re: [NTG-context] Weird print("\n...") error
Message-ID: <877gq33z6y.fsf@micropit.couberia.selfip.net>
Content-Type: text/plain; charset=3Dutf-8

On Fri, Nov 02 2012, Proch?zka Luk?? wrote:

> =C2=A0 =C2=A0 print("\nT")

=C2=A0 =C2=A0 =C2=A0 print("\n" .. "T")


> Any explanation?

\nT is an unknown command.

--
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Peter


------------------------------

Message: 4
Date: Sat, 3 Nov 2012 11:13:35 +0100
From: Sietse Brouwer <sbbrouwer@g= mail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl> Subject: Re: [NTG-context] RFC: path relative to current file.
Message-ID:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAF=3Ddkzy9s5uuXfQv5QuQ1PyBTCGgLAM9R= Wk-RtD3iAxEkp6jJg@mail.gmail.com>
Content-Type: text/plain; charset=3DUTF-8

Andreas wrote:
>>> It would be REALLY NICE if the functionality of "pathrela= tivetome" was
>>> provided by ConTeXt.

Hans wrote:
>> in file-job.lua add around the function 'process':
>>
>> local function toppath()
>> [...]
>>
>> =C2=A0 =C2=A0 \component toppath:/subpath/somefile.tex

Andreas wrote:
> Works like a charm, Hans! Sorry I took so long to test...
> I copied file-job.lua from the GIT repository, and changed my tex
> files to use toppath:/path/to/file.

Will this be in the core, or is it just a fix for Andreas? I.e: should
we document toppath() as a core command, or as a snippet?
(Not that we have a general space on the wiki for snippets yet, but we
need one and we will have one. Somethine in the next two weeks I'll
write a "State of the Wiki" laying out what we have, what we don&= #39;t
have, and what we want next.)

--Sietse


------------------------------

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: https://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________

End of ntg-context Digest, Vol 101, Issue 6
*******************************************

--f46d04462dd26b79c104cd9beec3-- --===============0683442376== 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 ___________________________________________________________________________________ --===============0683442376==--