From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87015 Path: news.gmane.org!not-for-mail From: Keith McKay Newsgroups: gmane.comp.tex.context Subject: Problem with pdf output for FeedARead.com Date: Tue, 15 Apr 2014 11:04:31 +0100 Message-ID: <534D042F.8010301@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1359741009==" X-Trace: ger.gmane.org 1397556303 13551 80.91.229.3 (15 Apr 2014 10:05:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2014 10:05:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 15 12:04:58 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 1Wa0Ea-000765-Ga for gctc-ntg-context-518@m.gmane.org; Tue, 15 Apr 2014 12:04:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E09CA1023B for ; Tue, 15 Apr 2014 12:04:55 +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 S3HPEWz8jB6v for ; Tue, 15 Apr 2014 12:04:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 156E210240 for ; Tue, 15 Apr 2014 12:04:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0D41101E9 for ; Tue, 15 Apr 2014 12:04:46 +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 FEkoq6Fa10Sp for ; Tue, 15 Apr 2014 12:04:45 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 0A308101E3 for ; Tue, 15 Apr 2014 12:04:34 +0200 (CEST) Original-Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3FA4XiP027715 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 15 Apr 2014 12:04:34 +0200 Original-Received: by mail-wi0-f179.google.com with SMTP id z2so5382230wiv.6 for ; Tue, 15 Apr 2014 03:04:33 -0700 (PDT) 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 :content-type; bh=MK7TWLZ9jA6xn5cHtdzPjvFbZCkP0gYHOs85sMMwlV0=; b=Xgan1ER3aMh7pQE4qsUsQHe5STVXKq+5mfR3wIFWo+wddzs9dbuOLibOMyvKGaG+ce 6dqEG8338SNLd4E8buo0qXtKeXdmGqOoR/sLsJf5SwQsve1wo4XIa8w9Dd3PsVyqRcxV wgegt74RZyWBJfegn04EgFoFxKoBC+GKx1bIG7+g3g3OeZw0WHUleWOu/4hn3Wp9CYEn Z7v7IBu9njQNs0Buox2wEJG28vGEDvlvS5IVM2w3NWTow9wkZrMxUFnC5bPjLFLR+riN vUphiqkcXiMHpatkcO8HxkuI/K6iEKV3ZQhdF+GxKuG8opCjCBJ7te+rd3q2r1QtTNiI XCDg== X-Received: by 10.180.106.132 with SMTP id gu4mr1089764wib.26.1397556273631; Tue, 15 Apr 2014 03:04:33 -0700 (PDT) Original-Received: from Keiths-Mac-mini.local (cpc12-uddi22-2-0-cust219.20-3.cable.virginm.net. [82.15.155.220]) by mx.google.com with ESMTPSA id ph8sm29022749wjb.32.2014.04.15.03.04.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Apr 2014 03:04:32 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TLOa4x9T - 0fa856b5d949 - 20140415 (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:87015 Archived-At: This is a multi-part message in MIME format. --===============1359741009== Content-Type: multipart/alternative; boundary="------------090605010101050708000605" This is a multi-part message in MIME format. --------------090605010101050708000605 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Colleagues A friend of mine asked me to produce a small book of three of her short stories for FeedARead.com from a word document. On looking at the site I suggested I do a conversion to pdf since it would look much better and FeedARead recommend uploading pdf over word as well. So I set about using Context to produce a simple pdf for upload using the structure below: \definepapersize[leela][width=5in, height=8in] \setuppapersize[leela][leela] \setuplayout[backspace=0.75in,cutspace=0.5in,width=fit] \setupindenting[yes,medium,next] \setuppagenumbering[state=stop] \setupexternalfigures[location={local,default}] \setupalign[nonhyphenated] \setuphead[section-3][number=no,align=middle][alternative=doublesided,location=footer] \setuptolerance[vertical,verystrict] \setuptolerance[horizontal,verytolerant] \starttext \midaligned{\tfd{Title Page}} \page FeedAReed blurb and copyright notice goes here. \setupcombinedlist[content][list={chapter,section,subsection}] \completecontent \page[empty] \setuppagenumbering[state=start,alternative=doublesided,location=footer] \startsection[title={Knuth}] \input knuth\par \stopsection \page \startsection[title={Zapf}] \input zapf\par \stopsection \page \startsection[title={Tufte}] \input tufte\par \stopsection \stoptext As you can see it's nothing fancy but is produces nice copy. However, when my friend uploaded to FeedARead she received back this comment: /Please note that you have uploaded TWO pages of your book per one 5 inch wide x 8 inch high page e.g. on your file there would be two book pages of print per page and not one per page as required./ I did notice that when viewed in Adobe Reader, V11.0.6, it displays two pages on the screen at a time but on checking the documents properties it shows the correct page size so I thought it was OK. I've had a look on the wiki but haven't found anything obviously wrong in what I've done above. Is their something I'm missing in \definepapersize or \setuppapersize? I really don't want to have to tell her to upload the word doc. Thanks and Best Wishes Keith --------------090605010101050708000605 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Colleagues

A friend of mine asked me to produce a small book of three of her short stories for FeedARead.com from a word document.  On looking at the site I suggested I do a conversion to pdf since it would look much better and FeedARead recommend uploading pdf over word as well.  So I set about using Context to produce a simple pdf for upload using the structure below:

\definepapersize[leela][width=5in, height=8in]

\setuppapersize[leela][leela]

\setuplayout[backspace=0.75in,cutspace=0.5in,width=fit]

\setupindenting[yes,medium,next]

\setuppagenumbering[state=stop]

\setupexternalfigures[location={local,default}]

\setupalign[nonhyphenated]

\setuphead[section-3][number=no,align=middle][alternative=doublesided,location=footer]

\setuptolerance[vertical,verystrict]

\setuptolerance[horizontal,verytolerant]

\starttext

\midaligned{\tfd{Title Page}}

\page

FeedAReed blurb and copyright notice goes here.

\setupcombinedlist[content][list={chapter,section,subsection}]

\completecontent

\page[empty]

\setuppagenumbering[state=start,alternative=doublesided,location=footer]

\startsection[title={Knuth}]

\input knuth\par

\stopsection

\page

\startsection[title={Zapf}]

\input zapf\par

\stopsection

\page

\startsection[title={Tufte}]

\input tufte\par

\stopsection

\stoptext


As you can see it's nothing fancy but is produces nice copy. However, when my friend uploaded to FeedARead she received back this comment:

Please note that you have uploaded TWO pages of your book per one 5 inch wide x 8 inch high page e.g. on your file there would be two book pages of print per page and not one per page as required.


I did notice that when viewed in Adobe Reader, V11.0.6, it displays two pages on the screen at a time but on checking the documents properties it shows the correct page size so I thought it was OK. I've had a look on the wiki but haven't found anything obviously wrong in what I've done above. Is their something I'm missing in \definepapersize or \setuppapersize? I really don't want to have to tell her to upload the word doc.

Thanks and Best Wishes
Keith


--------------090605010101050708000605-- --===============1359741009== 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 ___________________________________________________________________________________ --===============1359741009==--