From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104586 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andres Conrado Montoya Newsgroups: gmane.comp.tex.context Subject: Is it possible to define a float environment that uses 2 captions? (and another question) Date: Tue, 9 Jul 2019 16:24:05 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7561947143660061180==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="185632"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 09 23:25:18 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkxbx-000m02-62 for gctc-ntg-context-518@m.gmane.org; Tue, 09 Jul 2019 23:25:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D364E1524BA; Tue, 9 Jul 2019 23:24:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LKspLtSxXmg5; Tue, 9 Jul 2019 23:24:45 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7DB9B1524ED; Tue, 9 Jul 2019 23:24:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 918301524BA for ; Tue, 9 Jul 2019 23:24:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KPLzh8C-UM15 for ; Tue, 9 Jul 2019 23:24:43 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.48; helo=mail-io1-f48.google.com; envelope-from=andresconrado@gmail.com; receiver= Original-Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A065F152414 for ; Tue, 9 Jul 2019 23:24:43 +0200 (CEST) Original-Received: by mail-io1-f48.google.com with SMTP id g20so59814ioc.12 for ; Tue, 09 Jul 2019 14:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=A3t/FyjvUQZ1QbiaVbI+b6RgGFk/lycjTEd/ezUYBeA=; b=r/8utISsYi16Qu4UPqEc6Hq3xtgM6gn6ocXIa6WfE9623Pe9Ts2oLxebn68+IaVYBg 9R0/KcOXdgl8OH9vnQIn3z76G8r0Y5ZX8cxbfGwFU5SgVffRN09oEH6yeFRyzSe+tKjj HVg2YLdQFZzd3X2tBk4D+8jOhvJLMvIQs3LVe6GX1LEp+O8E3Iyp3svCRFu+SRP2xDMw xknLzny7ixk4tiXpd2WcGkQL4hod7KJzMZoynvIHp5DEGUNmFiAK3NWj1PIrKFVWx8at dAzjKKnMa9xk9G1tPBCU05fxuCQAQ6Igj8cFxJNQw3fWTXCRwn++XWumUEshkE5L4rIt t5ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=A3t/FyjvUQZ1QbiaVbI+b6RgGFk/lycjTEd/ezUYBeA=; b=gjiQHWNasKff0TH/2MeNB2Jr7DmvQC71/+AaLNqcJ1C+pVvZBjUCq+jZ19mJEmFkSo ESxeEjI5affiKKvPoJxNQaB0VRGL5lWhLTosAGatzYmOJQwFFAgyHhRfD2suGVninc3x vshsGwQlcmKa3u4cgUjAL/52TIdrE6fEAMH2AjzL5mTcCb/4UteB0aeM7ccStUbrvS1P xLHzAjN0Zjd1J/OqzU/m3RfE+8eI6R46kcfegcv0tnr8Ye1UNS3ZDIsZ0JGZjVWCoZ+r 9P1Y+gd71DjZG54KPrcMlslvr4iUNAgMuHDHr2y+FlHg2M5iLyl6lbYDuNi4uCW/PNAr hwRA== X-Gm-Message-State: APjAAAUpvu12BbQdq5gzfyCqj0zsgUVw3wWJriCDMuwhVKF8VpdtGkSC 69dsi39HjEifnIOt10GDoN+qwmEnUMSTUDm/SCxqPGPj X-Google-Smtp-Source: APXvYqxaK0PM4Jw7ObWQI152y+zRyORyk5QH7B/wBP9X0VMD7O4Zw8dNp2m0uekJJVhqNuMdK1G1wSyLXEBbGk17T90= X-Received: by 2002:a6b:b985:: with SMTP id j127mr27407288iof.186.1562707481624; Tue, 09 Jul 2019 14:24:41 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.org gmane.comp.tex.context:104586 Archived-At: --===============7561947143660061180== Content-Type: multipart/alternative; boundary="000000000000548826058d4630c1" --000000000000548826058d4630c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm working on a book that uses tables and figures, but the editors want to use to diffferent captions for each figure: one as usual, with the float description and number, and another one with a "Source" for said float. Something like: --------------------------------- | | | Float | | | --------------------------------- Figure 1: The float description. Source: The float source. I know i can do it by hand, inserting line breaks in the caption and so on. But I was wondering if there is a programmatic way to do it, so I can, for example, change the "Caption" position to be above the float, but have the "Source" below it. LIke: Figure 1: The float description. --------------------------------- | | | Float | | | --------------------------------- Source: The float source. I've been reviewing the Wiki, but so far I have no idea how to approach it. Any recommendation will be very appreciated. Thank you for your time. Andr=C3=A9s Conrado Montoya Andi K=C3=BA andresconrado@gmail.com http://sesentaycuatro.com http://messier87.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. ---------------------------------------- =E2=80=9CYou develop an instant global consciousness, a people orientation,= an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, =E2=80=98Look at that, you so= n of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut Edgar Mitchell --000000000000548826058d4630c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm working on a book that uses tables and figure= s, but the editors want to use to diffferent captions for each figure: one = as usual, with the float description and number, and another one with=C2=A0= a "Source" for said float.=C2=A0 Something like:
=
----------= -----------------------
|=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
|=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Float =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
|=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |<= /span>
--------= -------------------------
Figure 1: The float description.
Source: The float source.=C2=A0<= /span>

I know i can do it by hand, inserting line = breaks in the caption and so on. But I was wondering if there is a programm= atic way to do it, so I can, for example, change the "Caption" po= sition to be above the float, but have the "Source" below it. LIk= e:

Figure 1: The float description.
<= span style=3D"font-family:courier new,monospace">--------------------------= -------
= |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
|=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 Float =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
|=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
-----------------------= ----------
Source: The float source.

I&#= 39;ve been reviewing the Wiki, but so far I have no idea how to approach it= .

Any recommendation will be very appreciated= . Thank you for your time.

Andr=C3=A9s Conrado Montoya
Andi K= =C3=BA
andr= esconrado@gmail.com
http://sesentaycuatro.com
---= -------------------------------------
Los fines no justifican los medios= , porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada por lo= s medios que estamos dispuestos a utilizar, no por los fines que proclamamo= s.
----------------------------------------

=E2=80=9CYou develop a= n instant global consciousness, a people orientation,=20 an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international=20 politics look so petty. You want to grab a politician by the scruff of=20 the neck and drag him a quarter of a million miles out and say, =E2=80=98Lo= ok at that, you son of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut = Edgar Mitchell

--000000000000548826058d4630c1-- --===============7561947143660061180== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7561947143660061180==--