From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85204 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Using *fleurons* Date: Mon, 11 Nov 2013 22:56:03 +0100 Message-ID: <52815273.6020803@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0195548566==" X-Trace: ger.gmane.org 1384206970 17137 80.91.229.3 (11 Nov 2013 21:56:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 21:56:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 11 22:56:16 2013 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 1VfzSv-0004bK-BZ for gctc-ntg-context-518@m.gmane.org; Mon, 11 Nov 2013 22:56:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E0A710226; Mon, 11 Nov 2013 22:56:12 +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 vPJUqpliriRp; Mon, 11 Nov 2013 22:56:10 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3F11510211; Mon, 11 Nov 2013 22:56:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5837010211 for ; Mon, 11 Nov 2013 22:56:09 +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 XIJz9jvdzEmC for ; Mon, 11 Nov 2013 22:56:08 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 42D3F1020B for ; Mon, 11 Nov 2013 22:56:07 +0100 (CET) Original-Received: from mail-bk0-x22a.google.com (mail-bk0-x22a.google.com [IPv6:2a00:1450:4008:c01::22a]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rABLu5Wt010699 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 11 Nov 2013 22:56:06 +0100 Original-Received: by mail-bk0-f42.google.com with SMTP id w16so1949129bkz.29 for ; Mon, 11 Nov 2013 13:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=q+yBSXqVGIUweaCzeh0Y/bVKZNdkZBLfz5KSpm1dogw=; b=cI3BmdASy9Omf3Q1P3Cgryb6nlyY8I58iP9FK86yVTdSK2W0jiEhM9OTsod1OxP14S 5HkxbAZIjs+TD9cXoVdtbrLVlla10S9GlPXWgQ7AHUaCp7HvY5qQHZuA+rfWmXpi6gLR EyXjsgF+NHYK2NUIzYb1bsU5Fzy/N/9CLiBR9WdCyCgdQiQ4skxhrAmfRVOyEy9hMTDc yoiV3do7AiIiPjo0+xBgv3ujTOn6NLe1TQUSZ9EGUb8rnU4iok/AKJb8qjvF3ej2Q0g/ wyL+Os7yiXWL1Xws23IBcSHxQmpU9CFQvtijAA10wWymNY3shjnRllV0fVvcqLCE9ejq ukVA== X-Received: by 10.204.247.71 with SMTP id mb7mr23319313bkb.7.1384206965603; Mon, 11 Nov 2013 13:56:05 -0800 (PST) Original-Received: from keima.localdomain (x2f24629.dyn.telefonica.de. [2.242.70.41]) by mx.google.com with ESMTPSA id pk7sm15770236bkb.2.2013.11.11.13.56.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Nov 2013 13:56:04 -0800 (PST) User-Agent: Postbox 3.0.8 (Macintosh/20130427) In-Reply-To: X-Bayes-Prob: 0.0047 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22a; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07KMlU6LF - f618da4cd0a8 - 20131111 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:85204 Archived-At: This is a multi-part message in MIME format. --===============0195548566== Content-Type: multipart/alternative; boundary="------------080303090807070608060400" This is a multi-part message in MIME format. --------------080303090807070608060400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Francisco Gracia > 11. November 2013 22:40 > Thanks for your contributions. > > You are right in your remark about the path to images, Wolfgang. I was > not using any > > \setupexternalfigure[location=default] > > instruction. With your formulations the figure is recovered without > problem. > > Unfortunately the results of your rewrite of the macro are not so > satisfactory. Surely it is more *ConTeXt*ual than mine but it fails to > fulfill the main purpose of the exercice: it happily prints fleurons > in blank pages, as running your tests with 6 lines demonstrates. In > such a circumstance it should produce just two pages with six lines > each, whereas it outputs 4 pages, the two additional ones containing > only ornaments. I haven't spent much time to check my code but its main point wa to show you a way how to write your own code in a more compact and efficient way. Wolfgang --------------080303090807070608060400 Content-Type: multipart/related; boundary="------------000902080401070909050707" --------------000902080401070909050707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
11. November 2013 22:40
Thanks for your contributions.

You are right in your remark about the path to images, Wolfgang. I was not using any

\setupexternalfigure[location=default]

instruction. With your formulations the figure is recovered without problem.

Unfortunately the results of your rewrite of the macro are not so satisfactory. Surely it is more *ConTeXt*ual than mine but it fails to fulfill the main purpose of the exercice: it happily prints fleurons in blank pages, as running your tests with 6 lines demonstrates. In such a circumstance it should produce just two pages with six lines each, whereas it outputs 4 pages, the two additional ones containing only ornaments.
I haven’t spent much time to check my code but its main point
wa to show you a way how to write your own code in a more compact
and efficient way.

Wolfgang
--------------000902080401070909050707 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= --------------000902080401070909050707-- --------------080303090807070608060400-- --===============0195548566== 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 ___________________________________________________________________________________ --===============0195548566==--