From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90634 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Exporting highlights Date: Mon, 16 Mar 2015 00:49:47 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1843557876-1426481388=:64655" X-Trace: ger.gmane.org 1426481450 17908 80.91.229.3 (16 Mar 2015 04:50:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 04:50:50 +0000 (UTC) Cc: mailing list for ConTeXt users To: =?ISO-8859-6?Q?Idris_Samawi_Hamid_=C7=CF=D1=EA=D3_=D3=E5=C7=E8=EA_=CD=C7=E5=CF?= Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 16 05:50:34 2015 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 1YXMz3-0000ol-Jq for gctc-ntg-context-518@m.gmane.org; Mon, 16 Mar 2015 05:50:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A23001022F for ; Mon, 16 Mar 2015 05:50:32 +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 SmjW_9OgEyrr for ; Mon, 16 Mar 2015 05:50:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2ABA210233 for ; Mon, 16 Mar 2015 05:50:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1CEDA101F9 for ; Mon, 16 Mar 2015 05:50:03 +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 CEbWjfnFN0Jp for ; Mon, 16 Mar 2015 05:50:02 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 136A6101EA for ; Mon, 16 Mar 2015 05:49:53 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t2G4no7P009300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Mar 2015 05:49:52 +0100 Original-Received: FROM [192.168.2.65] ((null) [135.0.226.162]) By hackers.mr.itd.umich.edu ID 550660EC.4D8FA.13729 ; Authuser adityam; 16 Mar 2015 00:49:48 EDT In-Reply-To: User-Agent: Alpine 2.02 (OSX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=Michigan; city=Ann Arbor; latitude=42.3241; longitude=-83.7113; http://maps.google.com/maps?q=42.3241,-83.7113&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01O44NPtK - 09ec6bb31db6 - 20150316 (trained as not-spam) Received-SPF: none (filter4-ams.mf.surf.net: domain of adityam@umich.edu does not designate permitted sender hosts) receiver=filter4-ams.mf.surf.net; client-ip=141.211.14.81; envelope-from=; helo=hackers.mr.itd.umich.edu; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:90634 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1843557876-1426481388=:64655 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 15 Mar 2015, Idris Samawi Hamid =D8=A7=D8=AF=D8=B1=D9=8A=D8=B3 =D8= =B3=D9=85=D8=A7=D9=88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF wrote: > [Dear Aditya, I sent this to the list; sending it to you to have a look a= s=20 > well. Any assistance is much appreciated, especially if I have to go the = xslt=20 > route! Thanks in advance!!] It has been almost 1.5 years since I had a serious look at XML generated=20 by ConTeXt. At that time, ConTeXt did not generate XHTML, so I thought=20 that one has to go through the XLST route. But, it looks that things have= =20 changed. > =3D=3D=3D=3D=3D=3D=3Dexport-highlight-div.xhtml=3D=3D=3D=3D=3D=3D=3D=3D >
This is
emphasis">emphasis
. This is
important">important
. This is
regular">regular
.
> This is
some emphasized text, with
class=3D"highlight regular">regular
in between
.
class=3D"break">
> This is
some important text, with
class=3D"highlight regular">regular
in between
.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This is very well formed XHTML. You just need a proper CSS stylesheet to=20 do the correct rednering. Something like: =2Ehighlight.important { font-weight: bold; } =2Ehighlight.emphasis { font-style: italic; } etc. Aditya --0-1843557876-1426481388=:64655 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --0-1843557876-1426481388=:64655--