From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64902 Path: news.gmane.org!not-for-mail From: Achim Jander Newsgroups: gmane.comp.tex.context Subject: Re: export and pagebreak Date: Mon, 03 Jan 2011 12:54:48 +0100 Message-ID: <4D21B908.3040703@jander.de> References: <4D1E1F68.5020306@jander.de> <4D20925F.3030809@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294055740 18209 80.91.229.12 (3 Jan 2011 11:55:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 11:55:40 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 03 12:55:36 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZj0h-00005R-LH for gctc-ntg-context-518@m.gmane.org; Mon, 03 Jan 2011 12:55:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C578CCA9A8; Mon, 3 Jan 2011 12:55:34 +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 XhFGyjVgoL77; Mon, 3 Jan 2011 12:55:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 426E4CA99E; Mon, 3 Jan 2011 12:55:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5278ECA99E for ; Mon, 3 Jan 2011 12:55:30 +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 TzHbO4JjrPAt for ; Mon, 3 Jan 2011 12:55:18 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id B6328CA988 for ; Mon, 3 Jan 2011 12:55:18 +0100 (CET) Original-Received: from p15188155.pureserver.info (p15188155.pureserver.info [212.227.83.96]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p03BtHqs011814 for ; Mon, 3 Jan 2011 12:55:18 +0100 Original-Received: (qmail 3566 invoked from network); 3 Jan 2011 12:55:17 +0100 Original-Received: from krlh-5f725dac.pool.mediaways.net (HELO ?192.168.1.43?) (95.114.93.172) by p15188155.pureserver.info with SMTP; 3 Jan 2011 12:55:17 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <4D20925F.3030809@wxs.nl> X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=212.227.83.96; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04DOXThx0 - e76504593fa9 - 20110103 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64902 Archived-At: Am 02.01.2011 15:57, schrieb Hans Hagen: > On 31-12-2010 7:22, Achim Jander wrote: >> is it possible to get a into the exported XML? > > I'll send you a small patch to play wit Hello Hans, many thanks! I've tested a bit and it seems to work great! Two little suggestions for improvement: - would it possible to switch both (spaces and pagebreak) to on? It seems that in the Moment only one of them can be enabled. - would it be possible to include the pagenumber as attribute? During my tests i found a strange behaviour of the export-function (not related to pagebreak-export). With certain combinations of \setupalign[hz,hanging] and body-font-size most of the text gets eaten: \setupbackend [export=yes] \enabledirectives[structures.export.pagebreaks] \definefontfeature[default][default][% expansion=quality, protrusion=quality, ] \setupbodyfont[rm,8.5pt] %\setupbodyfont[rm,11pt] %does not work either %\setupbodyfont[rm,12pt] %this is ok \definebodyfontenvironment[8.5pt][% text=8.5pt, script=8.5pt, scriptscript=6pt, x=6pt, xx=5pt, big=28pt, small=17.3pt] \setupalign[hz,hanging] %without everything ok \starttext \input tufte \stoptext that gives the export: --fiflfiglean, synopsize, winnow the wheat from the chaff and separate the sheep from the goats. Either switching the body-font-size to 12pt or disable the \align gives the full export as expected. Very confusing. Greetings, Achim > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > > 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 > ___________________________________________________________________________________ > > ___________________________________________________________________________________ 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 ___________________________________________________________________________________