From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87488 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: [bug?] no space before \cite[data][] and after \abbreviation Date: Thu, 22 May 2014 16:15:22 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: multipart/mixed; boundary="===============1265915299==" X-Trace: ger.gmane.org 1400768163 16738 80.91.229.3 (22 May 2014 14:16:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2014 14:16:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 22 16:15:59 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WnTmi-0006AJ-6c for gctc-ntg-context-518@m.gmane.org; Thu, 22 May 2014 16:15:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BAE2A1023E for ; Thu, 22 May 2014 16:15:51 +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 jVgSWyx8pElT for ; Thu, 22 May 2014 16:15:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BD129101EB for ; Thu, 22 May 2014 16:15:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6193B101E3 for ; Thu, 22 May 2014 16:15:42 +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 C55ovHRodMCZ for ; Thu, 22 May 2014 16:15:36 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id B9B77101E2 for ; Thu, 22 May 2014 16:15:28 +0200 (CEST) Original-Received: from mail-ee0-x22e.google.com (mail-ee0-x22e.google.com [IPv6:2a00:1450:4013:c00::22e]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4MEFQgi020662 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 22 May 2014 16:15:27 +0200 Original-Received: by mail-ee0-f46.google.com with SMTP id t10so2605015eei.5 for ; Thu, 22 May 2014 07:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=gHKq746daMY3lntqdo+1Fcd41mQ9YFkXKfKEmCCBBgQ=; b=ZMV0EWYui0URdBQLm2oJddETQGXkc6zEYLuErbL0WrlGA704R+LIoYj0NuAVoxvr5H kMnkutLjtD7wT3i85xZ0mqRWwIZpJctVaxEV7Qf/Vry3AJHy1Afo5QH8tsNnK7eyWoXf B0Y8Edje7pUt7rDv70Hf6Yrj/DFw6fq91M7XyaMqkhe2pqpRxDd1wFqp1c8/N3aL2kRP BG0a7KU/M7N8K73BfsvgB6J7RRV0soQXGcV04TPWEid8nYTxkDlK/B2xiNRwzBhlou/r n5eWppIv20NTlbpQJTjy0t9Pm77Smet88xy3FEs6b57NrASeCeylusKllNj9afcQujwK EA+A== X-Received: by 10.14.225.194 with SMTP id z42mr3920868eep.106.1400768126865; Thu, 22 May 2014 07:15:26 -0700 (PDT) Original-Received: from keima.localdomain (x2f2e8c1.dyn.telefonica.de. [2.242.232.193]) by mx.google.com with ESMTPSA id 8sm803761eea.10.2014.05.22.07.15.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 07:15:24 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1874) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RM52fr5n - ae9f99a88254 - 20140522 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:87488 Archived-At: --===============1265915299== Content-Type: multipart/alternative; boundary="Apple-Mail=_0D8C78D5-2958-4520-9944-D60385ABD064" --Apple-Mail=_0D8C78D5-2958-4520-9944-D60385ABD064 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 22.05.2014 um 14:35 schrieb pol stra : > Hello, >=20 > I used "see \cite[data]" in a document and I obtained "seeAuthor" = without space between "see" and "Author". I think it is a bug. >=20 > I also had troubles with abbreviations (although it might be a bad use = from myself): > setting "\abbreviation{AB}{Abbreviation}" >=20 > "an \AB some text" will give "an ABsome text" =3D> missing space after = abbreviation > "an {\AB} some text" will give "an AB some text" =3D> OK > "an \infull{AB} some text" will give "an some text" =3D> missing = expanded abbreviation Spaces after commands (e.g. \TeX) are ignored, to keep the space you = have to add =93\ =94 or =93{} =94 after the command. \abbreviation{AB}{Abbreviation} \starttext text \AB\ text \AB{} \infull{AB} text \stoptext There is also a automatic way for this where you don=92t have add any = thing after the command but there are a few exceptions where this = doesn=92t work. \abbreviation{AB}{Abbreviation} \setupsynonyms [abbreviation] [next=3D\autoinsertnextspace] \starttext text \AB text \stoptext Wolfgang= --Apple-Mail=_0D8C78D5-2958-4520-9944-D60385ABD064 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Am 22.05.2014 um 14:35 schrieb pol = stra <ryzz@hotmail.fr>:

Hello,

I used "see \cite[data]" in a document and I = obtained "seeAuthor" without space between "see" and "Author". I think = it is a bug.

I also had troubles with abbreviations (although it = might be a bad use from myself):
setting = "\abbreviation{AB}{Abbreviation}"

"an \AB some text" will give = "an ABsome text" =3D> missing space after abbreviation
"an {\AB} = some text" will give "an AB some text" =3D> OK
"an \infull{AB} = some text" will give "an  some text" =3D> missing expanded = abbreviation

Spaces after = commands (e.g. \TeX) are ignored, to keep the space you have to add =93\ = =94 or =93{} =94 after the = command.

\abbreviation{AB}{Abbreviation}

\starttext
text \AB\ text \AB{} = \infull{AB} = text
\stoptext


The= re is also a automatic way for this where you don=92t have add any thing = after the command but there are a few exceptions where this doesn=92t = work.

\abbreviation{AB}{Abbreviation}
<= div>
\setupsynonyms
  = [abbreviation]
  = [next=3D\autoinsertnextspace]

\starttext
text \AB = text
\stoptext

Wolfgang
= --Apple-Mail=_0D8C78D5-2958-4520-9944-D60385ABD064-- --===============1265915299== 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 ___________________________________________________________________________________ --===============1265915299==--