From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67258 Path: news.gmane.org!not-for-mail From: "Pavel Striz" Newsgroups: gmane.comp.tex.context Subject: withdots framing (sharing an example) Date: Tue, 22 Mar 2011 01:02:58 +0100 Message-ID: <001f01cbe824$812392d0$836ab870$@utb.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0738497262==" X-Trace: dough.gmane.org 1300752347 29752 80.91.229.12 (22 Mar 2011 00:05:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2011 00:05:47 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 22 01:05:41 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 1Q1p6S-0005p5-HS for gctc-ntg-context-518@m.gmane.org; Tue, 22 Mar 2011 01:05:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2EDC0CAB46; Tue, 22 Mar 2011 01:05: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 3hRl9rst-1-a; Tue, 22 Mar 2011 01:05:24 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A88D5CAB34; Tue, 22 Mar 2011 01:05:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76CBCCAB34 for ; Tue, 22 Mar 2011 01:05:23 +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 bfW+Tm64DH7k for ; Tue, 22 Mar 2011 01:05:10 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 1B602CAB30 for ; Tue, 22 Mar 2011 01:05:10 +0100 (CET) Original-Received: from fry.igloonet.cz (fry.igloonet.cz [89.185.247.108]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2M05JUo013003 for ; Tue, 22 Mar 2011 01:05:19 +0100 Original-Received: from localhost (hyperchicken.igloonet [10.0.0.18]) by mail.igloonet.cz (Postfix) with ESMTP id D4D301333D36 for ; Tue, 22 Mar 2011 01:05:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hyperchicken.igloonet.cz Original-Received: from fry.igloonet.cz ([10.0.0.12]) by localhost (hyperchicken.igloonet.cz [10.0.0.18]) (amavisd-new, port 10024) with ESMTP id sGpAkXto7nnC for ; Tue, 22 Mar 2011 01:05:11 +0100 (CET) Original-Received: from DOK828KNB (unknown [195.113.97.188]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.igloonet.cz (Postfix) with ESMTPSA id 4D2F1C91F7E for ; Tue, 22 Mar 2011 01:02:56 +0100 (CET) X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvoJH+Ip86w7YNoRJiXKQfZExxBng== Content-Language: cs x-cr-hashedpuzzle: Ay2+ Btam BwY2 CpxD CuOH DjNi E1zA E5mz FNGS FTL7 FYqW GT7k Gf/a GyM5 H/IL IUgH; 1; bgB0AGcALQBjAG8AbgB0AGUAeAB0AEAAbgB0AGcALgBuAGwA; Sosha1_v1; 7; {4811C91F-D473-4404-8DA8-C11D9B6CCB10}; cwB0AHIAaQB6AEAAZgBhAG0AZQAuAHUAdABiAC4AYwB6AA==; Tue, 22 Mar 2011 00:02:56 GMT; dwBpAHQAaABkAG8AdABzACAAZgByAGEAbQBpAG4AZwAgACgAcwBoAGEAcgBpAG4AZwAgAGEAbgAgAGUAeABhAG0AcABsAGUAKQA= x-cr-puzzleid: {4811C91F-D473-4404-8DA8-C11D9B6CCB10} X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.185.247.108; country=CZ; region=78; city=Brno; latitude=49.2000; longitude=16.6333; http://maps.google.com/maps?q=49.2000,16.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEm05jkX - e02766f4de8d - 20110322 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:67258 Archived-At: Toto je zprava s vmce hastmi ve formatu MIME. --===============0738497262== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01CBE82C.E2E7FAD0" Content-Language: cs Toto je zprava s vmce hastmi ve formatu MIME. ------=_NextPart_000_0020_01CBE82C.E2E7FAD0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Good evening, dear ConTeXtists, =20 Mr. Eyre in his conference proceedings paper to be = (http://striz9.fame.utb.cz/docasne/bulletin/NEtypo.pdf) applies withdots = framing via TikZ as he told me. I passed him one of your ideas (Aditya = Mahajan, Wolfgang Schuster) and he slightly extended it using Metapost = to fit his examples. =20 I am just sharing it with all the sincere greetings. =20 Pavel Striz =20 http://striz9.fame.utb.cz/docasne/bulletin/framed.pdf http://striz9.fame.utb.cz/docasne/bulletin/framed.tgz =20 a.k.a. =20 \startuniqueMPgraphic{Label} path p; p :=3D (0,0) -- (OverlayWidth,0) -- (OverlayWidth, = OverlayHeight) -- (0, OverlayHeight) -- (0,0); draw p withpen pencircle scaled 1pt dashed withdots; setbounds currentpicture to boundingbox OverlayBox; \stopuniqueMPgraphic \defineoverlay[Label][\useMPgraphic{Label}] \defineframed[Text][background=3DLabel,frame=3Doff,location=3Dlow] \starttext AAA \Text{BBB} CCC \Text{DDD} EEE =20 \def\Picture#1#2#3% {% \vbox to 3in% {% \vfil% \placefigure[left][#3]% {% \hangindent=3D0.5pt\hangafter=3D1{}% #2% }% {% \hskip-11pt\hbox to 3in% {% \Text% {% \externalfigure[#1][width=3D3in]% }% \hss% }% }% }% }% \Picture{Distract.pdf}{Caption}{Refmarker}% \stoptext =20 =20 ------=_NextPart_000_0020_01CBE82C.E2E7FAD0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Good evening, dear ConTeXtists,

 

Mr. Eyre in his conference proceedings paper to be = (http://striz9.fame.utb.cz/docasne/bulletin/NEtypo.pdf) applies withdots framing via TikZ as he told me.=C2=A0 I passed him one = of your ideas (Aditya Mahajan, Wolfgang Schuster) and he slightly extended it using = Metapost to fit his examples.

 

I am just sharing it with all the sincere = greetings.

 

Pavel Striz

 

http://str= iz9.fame.utb.cz/docasne/bulletin/framed.pdf

http://str= iz9.fame.utb.cz/docasne/bulletin/framed.tgz

 

a.k.a.

 

\startuniqueMPgraphic{Label}

path p; p :=3D (0,0) -- (OverlayWidth,0) -- = (OverlayWidth, OverlayHeight) -- (0, OverlayHeight) -- (0,0);

draw p withpen pencircle scaled 1pt dashed = withdots;

setbounds currentpicture to boundingbox = OverlayBox;

\stopuniqueMPgraphic

\defineoverlay[Label][\useMPgraphic{Label}]<= /p>

\defineframed[Text][background=3DLabel,frame=3Doff,loca= tion=3Dlow]

\starttext

AAA \Text{BBB} CCC \Text{DDD} EEE

 

\def\Picture#1#2#3%

{%

=C2=A0 \vbox to 3in%

=C2=A0 {%

=C2=A0=C2=A0=C2=A0 \vfil%

=C2=A0=C2=A0=C2=A0 = \placefigure[left][#3]%

=C2=A0=C2=A0=C2=A0 {%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = \hangindent=3D0.5pt\hangafter=3D1{}%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #2%

=C2=A0=C2=A0=C2=A0 }%

=C2=A0=C2=A0=C2=A0 {%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \hskip-11pt\hbox to = 3in%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = \Text%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = {%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = \externalfigure[#1][width=3D3in]%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = }%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = \hss%

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }%

=C2=A0=C2=A0=C2=A0 }%

=C2=A0 }%

}%

\Picture{Distract.pdf}{Caption}{Refmarker}%<= /p>

\stoptext

 

 

------=_NextPart_000_0020_01CBE82C.E2E7FAD0-- --===============0738497262== 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 ___________________________________________________________________________________ --===============0738497262==--