From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79706 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Latex to ConTeXt Date: Sun, 2 Dec 2012 13:40:08 +0100 Message-ID: <500FAE0B-8425-4968-A534-52D03006A513@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: multipart/mixed; boundary="===============0243402342==" X-Trace: ger.gmane.org 1354452029 4769 80.91.229.3 (2 Dec 2012 12:40:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2012 12:40:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 02 13:40:38 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 1Tf8qa-0000lH-LI for gctc-ntg-context-518@m.gmane.org; Sun, 02 Dec 2012 13:40:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E93E10230; Sun, 2 Dec 2012 13:40:24 +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 dsoR2KbNL05f; Sun, 2 Dec 2012 13:40:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6FE2010209; Sun, 2 Dec 2012 13:40:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2255F10209 for ; Sun, 2 Dec 2012 13:40:17 +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 7y8cx8hgk1zE for ; Sun, 2 Dec 2012 13:40:13 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 4727E101F2 for ; Sun, 2 Dec 2012 13:40:13 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB2CeBnm030941 for ; Sun, 2 Dec 2012 13:40:12 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so842297bkc.14 for ; Sun, 02 Dec 2012 04:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=V7XT5WQTBm8HaitjX7uYUmLut7YxszWIPdUlwU5xEDM=; b=QFNgIMsI+UA+wyvh/8tcat8FnqxH06mwMP9g4MXxsKC2jhhoXvDTzcHXnhUo0cTKr5 SYHlbD8pURcDeT1rVQMlVEaJzVD3TQkxCv+5PbB36ZMlnVVNsy3KtZT5ncsHlUTsz/hC q4VTCBxvtlcGthqDMb4Oqli3N8BQZWuLEwVoi0LHHIoC1nSXg97Myfpw+Ec7nOeCjaIQ 2Eh0n60oefa5mpBHg5JNDgPisBtiuz93Lo69vsgh6A8Ern3ftnV4+ATZueXRV3AREduQ j7gSv0ghojkn3gqKgfyUys0rA/TyfIs0TF5gT/f3kGFqKP8lba/dWQ4dallRmuQL0yyy jkwQ== Original-Received: by 10.204.130.140 with SMTP id t12mr2008307bks.39.1354452011740; Sun, 02 Dec 2012 04:40:11 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbe7970.pool.mediaWays.net. [77.190.121.112]) by mx.google.com with ESMTPS id f24sm5528445bkv.7.2012.12.02.04.40.09 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Dec 2012 04:40:10 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIuAEchq - 6de137f3fcd1 - 20121202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:79706 Archived-At: --===============0243402342== Content-Type: multipart/alternative; boundary="Apple-Mail=_2811B21B-950D-4015-948C-EC987FF37225" --Apple-Mail=_2811B21B-950D-4015-948C-EC987FF37225 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Am 15.11.2012 um 09:07 schrieb MANUEL GONZALEZ SUAREZ = : >=20 > Hello. > I wish someone would help me "translate" this code LaTeX to ConTeXt. = It is a command to do word by word translations, so that a word appears = under another. > Here's the code: > = \newcommand\dos[2]{\begin{tabular}{@{}c}{\textDidot{\footnotesize#1}}\\{\s= criptsize\em#2}\end{tabular}} \usemodule[ruby] \defineruby[dos] \starttext Left \dos{middle}{middle text} right \blank Left \dos[alternative=3Dbottom]{middle}{middle text} right \blank Left \dos[textstyle=3D{\setcharactercasing[WORD]\tfxx}]{middle}{middle = text} right \stoptext Wolfgang --Apple-Mail=_2811B21B-950D-4015-948C-EC987FF37225 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 gonzalezsmanuel@uniovi.es>= ;:

Hello.
I wish someone would help me = "translate" this code LaTeX to ConTeXt. It is a command to do word by = word translations, so that a word appears under = another.
Here's the = code:
\newcommand\dos[2]{\begin{tabular}{@{}c}{\textDidot{= \footnotesize#1}}\\{\scriptsize\em#2}\end{tabular}}

\usemodule[ruby]

\definerub= y[dos]

\starttext

Left = \dos{middle}{middle text} = right

\blank

Left = \dos[alternative=3Dbottom]{middle}{middle text} = right

\blank

Left = \dos[textstyle=3D{\setcharactercasing[WORD]\tfxx}]{middle}{middle text} = right

\stoptext

Wolfgang=

= --Apple-Mail=_2811B21B-950D-4015-948C-EC987FF37225-- --===============0243402342== 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 ___________________________________________________________________________________ --===============0243402342==--