ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* A problem with autopunctuation
@ 2012-11-03  0:45 Marcin Borkowski
  2012-11-04 21:11 ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Marcin Borkowski @ 2012-11-03  0:45 UTC (permalink / raw)
  To: ConTeXt mailing list

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

\setupmathematics[autopunctuation=yes]

\starttext

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

\stoptext

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: A problem with autopunctuation
@ 2012-11-03 19:04 Andres Conrado
  2012-11-03 20:15 ` Marcin Borkowski
  0 siblings, 1 reply; 11+ messages in thread
From: Andres Conrado @ 2012-11-03 19:04 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 6714 bytes --]

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=yes]

\starttext

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

\stoptext

Best,

Andrés Conrado Montoya
El Andi
andresconrado@gmail.com
http://chiquitico.org
----------------------------------------
Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, 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íderes de una nación quienes determinan su política, 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á entregarse a la voluntad de sus líderes. Es fácil. Lo único
que hay que hacer es decirles que están siendo atacados, y denunciar a los
pacifistas por su falta de patriotismo y exponer el país al peligro.
Funciona igual en todos los países."
---Hermann Goering, en los juicios de Nuremberg.


2012/11/3 <ntg-context-request@ntg.nl>

> 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 <andre.em.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:
>         <CADVh14X0wb-2f7uRzb8Jo5jDE9n3ha0iyTLYBPB=vRf=
> DWNZiA@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-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/b743f22e4f567662ac55c1ac7dc1b6d13362e11d/src/products/assorted.tex?at=default
>
> Really nice! Thanks!! :-)
>
>
> Cheers,
> Andr? Caldas.
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 3 Nov 2012 01:45:45 +0100
> From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
> To: ConTeXt mailing list <ntg-context@ntg.nl>
> Subject: [NTG-context] A problem with autopunctuation
> Message-ID: <20121103014545.02b8dd5f@aga-netbook>
> Content-Type: text/plain; charset=US-ASCII
>
> If I get it correctly, the following two formulae should render
> differently - and they don't.  What is going on?
>
> \setupmathematics[autopunctuation=yes]
>
> \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>
> 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=utf-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 <sbbrouwer@gmail.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:
>         <CAF=
> dkzy9s5uuXfQv5QuQ1PyBTCGgLAM9RWk-RtD3iAxEkp6jJg@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Andreas wrote:
> >>> It would be REALLY NICE if the functionality of "pathrelativetome" was
> >>> 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
> *******************************************
>

[-- Attachment #1.2: Type: text/html, Size: 10339 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-04 12:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-03  0:45 A problem with autopunctuation Marcin Borkowski
2012-11-04 21:11 ` Wolfgang Schuster
2012-11-04 21:38   ` Aditya Mahajan
2012-11-04 22:03     ` Marcin Borkowski
2012-11-30 12:51       ` Sietse Brouwer
2012-11-30 12:58         ` Sietse Brouwer
2012-12-04 12:58           ` Sietse Brouwer
2012-11-03 19:04 Andres Conrado
2012-11-03 20:15 ` Marcin Borkowski
2012-11-04 10:04   ` Wolfgang Schuster
2012-11-04 21:00     ` Marcin Borkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).