From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72216 Path: news.gmane.org!not-for-mail From: Marco Newsgroups: gmane.comp.tex.context Subject: Re: Missing while exporting to xml before Date: Mon, 07 Nov 2011 08:53:04 +0100 Message-ID: <87y5vsid27.fsf@universe.krase.net> References: <871utlz78t.fsf@universe.krase.net> <87pqh5ugtw.fsf@universe.krase.net> <4EB7178A.80304@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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320652415 26120 80.91.229.12 (7 Nov 2011 07:53:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2011 07:53:35 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 07 08:53:31 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 1RNK1L-0005kd-00 for gctc-ntg-context-518@m.gmane.org; Mon, 07 Nov 2011 08:53:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 318EACB0BD; Mon, 7 Nov 2011 08:53: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 FrLr5-SopHFL; Mon, 7 Nov 2011 08:53:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CA5DCB083; Mon, 7 Nov 2011 08:53:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4408CB083 for ; Mon, 7 Nov 2011 08:53:25 +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 3peDPviZpvA8 for ; Mon, 7 Nov 2011 08:53:23 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id C8EF1CA680 for ; Mon, 7 Nov 2011 08:53:23 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pA77rMMP012897 for ; Mon, 7 Nov 2011 08:53:23 +0100 Original-Received: by faaf16 with SMTP id f16so6592037faa.14 for ; Sun, 06 Nov 2011 23:53:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=bJSYKH1xrJZkW+G+L09cN44i7QlHgKlPNHyDVviMebw=; b=Jw0jaim0zrTx1b3efKWmhBuFnDOCUMkM8kyi4D+sIEqdyegDpCXIFIkkKiCjUx/+bV PqHu4NqLqvTMnGVaU3mfGv6Hqx4P0sDC0xQz8lLF2DqC+ugGa4by3RlLJGzkhRh5NXmg 81K2xUClF1VXErTPFLiZ135u8hsffik8ZZeEA= Original-Received: by 10.223.91.82 with SMTP id l18mr43323919fam.30.1320652402589; Sun, 06 Nov 2011 23:53:22 -0800 (PST) Original-Received: from localhost (93-137-101-250.adsl.net.t-com.hr. [93.137.101.250]) by mx.google.com with ESMTPS id l26sm30249819fad.17.2011.11.06.23.53.19 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Nov 2011 23:53:20 -0800 (PST) In-Reply-To: <4EB7178A.80304@wxs.nl> (Hans Hagen's message of "Mon, 07 Nov 2011 00:26:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08FS7Rm23 - aa94a3855f9e - 20111107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:72216 Archived-At: Hans Hagen writes: > On 6-11-2011 21:38, Marco Pessotto wrote: >> >> Hi! >> >> The highlight seems to act strangely. In addition to the previous >> report, I get an unwanted: >> >> %%% start example >> \setupbackend[export=yes] >> \definehighlight[emph][style=italic] >> >> \starttext >> >> \section{test} >> >> \emph{Hello} world! >> >> \stoptext >> %%% stop example > > It has to do with the way grouping interferes with the start of a paragraph > > \dontleavehmode \emph ... > > I'll make highlights horizontal by default It works, thanks a bunch. The previous missing seems to be fixed wrapping the paragraph with \startparagraph \stopparagraph. I assume this is the right thing to do for a proper export, isn't it? Btw, is there a way to run context just for the xml output (as I'm doing conditional runs, and I discard the pdf which comes with the xml as a side effect). context --help doesn't seem to have an option for that. Well, not so important, just asking. Thanks again Best wishes -- Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________