From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85454 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Intermediate format Date: Mon, 25 Nov 2013 21:07:50 +0100 Message-ID: <32233.1145908267$1385410083@news.gmane.org> References: <007a01cee94b$e7b10480$b7130d80$@tosovsky@email.cz> <5293A3E2.1040803@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385410072 18680 80.91.229.3 (25 Nov 2013 20:07:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 20:07:52 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 25 21:07:59 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 1Vl2Rq-0003fQ-KF for gctc-ntg-context-518@m.gmane.org; Mon, 25 Nov 2013 21:07:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91689101E9; Mon, 25 Nov 2013 21:07:57 +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 gG2fYiVK0L4o; Mon, 25 Nov 2013 21:07:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B3719101EF; Mon, 25 Nov 2013 21:07:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12326101EF for ; Mon, 25 Nov 2013 21:07:54 +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 euNydmNFIsHK for ; Mon, 25 Nov 2013 21:07:52 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id AE283101E9 for ; Mon, 25 Nov 2013 21:07:52 +0100 (CET) Original-Received: from fep22.mx.upcmail.net (fep22.mx.upcmail.net [62.179.121.42]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAPK7p3B011376 for ; Mon, 25 Nov 2013 21:07:51 +0100 Original-Received: from edge04.upcmail.net ([192.168.13.239]) by viefep22-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131125200751.CGEC1568.viefep22-int.chello.at@edge04.upcmail.net> for ; Mon, 25 Nov 2013 21:07:51 +0100 Original-Received: from emk ([78.102.140.157]) by edge04.upcmail.net with edge id tw7q1m00m3Px8vi03w7qeT; Mon, 25 Nov 2013 21:07:51 +0100 X-SourceIP: 78.102.140.157 In-Reply-To: <5293A3E2.1040803@wxs.nl> X-Mailer: Microsoft Office Outlook 12.0 Content-Language: cs Thread-Index: Ac7qE/g3cm8IeIkCRfCTPmeDALTv7gAA93ow X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.42; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08KRU7PB3 - f23be4d9e248 - 20131125 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:85454 Archived-At: On 2013-11-25 Hans Hagen wrote: > On 11/24/2013 8:32 PM, Jan Tosovsky wrote: > > > > is it possible to get the complete representation of the layout that > > is processed in the luatex PDF generator? > > > > I mean coordinations of individual text boxes, their dimensions etc. > > > > Actually, I'd like to retrieve the page number and vertical position > > of my object with a specific id (reference) to be able to perform PDF > > post-processing. > > \starttext > > we are here: \setposition{crap}(\MPx{crap},\MPy{crap}) > > \stoptext Thanks! Looks promising, Actually I'd like to print it into a log or somewhere else, not into the document itself. But I need also the page number. Every record should be ideally in the form: ID;page-number;Y-coord. > > Is DVI way to go? How can I get it in MkIV? I've found that luatex can optionally output DVI [1], but I cannot find any ConTeXt commandline switch to change the output format from PDF to something else... Thanks, Jan ___________ [1] http://tex.stackexchange.com/questions/42216/which-tex-programs-produce-dvi- output ___________________________________________________________________________________ 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 ___________________________________________________________________________________