From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/102791 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Issues using publications subsystem for non-bibliographic database Date: Fri, 7 Dec 2018 17:19:35 -0500 Message-ID: <1a530441-f22c-857f-8904-f8a7798c6c54@rik.users.panix.com> References: <94603f81-5c21-bc31-d232-82660e1404a9@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8781808504480363494==" X-Trace: blaine.gmane.org 1544221096 8525 195.159.176.226 (7 Dec 2018 22:18:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2018 22:18:16 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 07 23:18:12 2018 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 esmtp (Exim 4.84_2) (envelope-from ) id 1gVORm-000233-6M for gctc-ntg-context-518@m.gmane.org; Fri, 07 Dec 2018 23:18:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6D219AEDF4; Fri, 7 Dec 2018 23:19:54 +0100 (CET) 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 rhbdPUG7_tVD; Fri, 7 Dec 2018 23:19:51 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 86EECAEDF5; Fri, 7 Dec 2018 23:19:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 530E5AEDF4 for ; Fri, 7 Dec 2018 23:19:50 +0100 (CET) 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 4nzwdziLxzq4 for ; Fri, 7 Dec 2018 23:19:49 +0100 (CET) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9C01AAEDEC for ; Fri, 7 Dec 2018 23:19:39 +0100 (CET) Original-Received: from [192.168.201.199] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id 6DDF7356B0 for ; Fri, 7 Dec 2018 17:19:38 -0500 (EST) In-Reply-To: <94603f81-5c21-bc31-d232-82660e1404a9@rik.users.panix.com> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.20 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:102791 Archived-At: This is a multi-part message in MIME format. --===============8781808504480363494== Content-Type: multipart/alternative; boundary="------------7D5DBB3A773BFA4715BA5944" Content-Language: en-US This is a multi-part message in MIME format. --------------7D5DBB3A773BFA4715BA5944 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit List, As a followup, here is a close-to-minimal example which demonstrates the failure when \placebtxrendering is omitted. When run as given, the extract field content is not displayed. When the commented line is uncommented, the result includes the content. \startbuffer[quotedatabase] @quote{qSchopA02, extract = {Es wäre gut Bücher kaufen, wenn man die Zeit, sie zu lesen, mitkaufen könnte, aber man verweschelt meistens den Ankauf der Bücher mit dem Aneignen ihres Inhalts.}, author = {Schopenhauer, Arthur}, } \stopbuffer \usebtxdataset [quotedb] [quotedatabase.buffer] \definebtxrendering [quotedb] [dataset=quotedb] \setupbtx [dataset=quotedb] \starttext Extract:\par \cite[extract][qSchopA02] Rendering:\par % \placebtxrendering [quotedb][method=dataset] Completeness:\par \showbtxdatasetcompleteness[dataset=quotedb] \stoptext The log does not indicate any issues. Is this expected? Is \placebtxrendering required? -- Rik --------------7D5DBB3A773BFA4715BA5944 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

List,

As a followup, here is a close-to-minimal example which demonstrates the failure when \placebtxrendering is omitted.

When run as given, the extract field content is not displayed. When the commented line is uncommented, the result includes the content.

\startbuffer[quotedatabase]
@quote{qSchopA02,
  extract = {Es wäre gut Bücher kaufen, wenn man die Zeit, sie zu
             lesen, mitkaufen könnte, aber man verweschelt meistens
             den Ankauf der Bücher mit dem Aneignen ihres Inhalts.},
  author  = {Schopenhauer, Arthur},
}
\stopbuffer
\usebtxdataset
  [quotedb]
  [quotedatabase.buffer]
\definebtxrendering
  [quotedb]
  [dataset=quotedb]
\setupbtx
  [dataset=quotedb]

\starttext

  Extract:\par
  \cite[extract][qSchopA02]

  Rendering:\par
%  \placebtxrendering [quotedb][method=dataset]

  Completeness:\par
  \showbtxdatasetcompleteness[dataset=quotedb]
\stoptext

The log does not indicate any issues.

Is this expected? Is \placebtxrendering required?

--
Rik

--------------7D5DBB3A773BFA4715BA5944-- --===============8781808504480363494== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8781808504480363494==--