From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47824 Path: news.gmane.org!not-for-mail From: dobbels.geert@googlemail.com Newsgroups: gmane.comp.tex.context Subject: centered text in frame does not fit Date: Thu, 26 Feb 2009 23:16:03 +0000 Message-ID: <00163641793738dfd70463da897e@google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0714977303==" X-Trace: ger.gmane.org 1235724360 15111 80.91.229.12 (27 Feb 2009 08:46:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2009 08:46:00 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 27 09:47:15 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LcyN4-0005Qv-S3 for gctc-ntg-context-518@m.gmane.org; Fri, 27 Feb 2009 09:47:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3200A1FADF; Fri, 27 Feb 2009 09:45:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30544-01-4; Fri, 27 Feb 2009 09:45:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 68C4E1FB14; Fri, 27 Feb 2009 09:45:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 964C91FA4C for ; Fri, 27 Feb 2009 00:16:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08509-01-4 for ; Fri, 27 Feb 2009 00:16:07 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 87E021FA2B for ; Fri, 27 Feb 2009 00:16:07 +0100 (CET) Original-Received: from rv-out-0304.google.com (rv-out-0304.google.com [209.85.198.216]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1QNG3WE005128 for ; Fri, 27 Feb 2009 00:16:04 +0100 Original-Received: by rv-out-0304.google.com with SMTP id g35so392019rvb.2 for ; Thu, 26 Feb 2009 15:16:03 -0800 (PST) Original-Received: by 10.114.25.19 with SMTP id 19mr338792way.22.1235690163067; Thu, 26 Feb 2009 15:16:03 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.198.216; 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: 185885578 - 3b6597535ffa X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Fri, 27 Feb 2009 09:44:59 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47824 Archived-At: --===============0714977303== Content-Type: multipart/alternative; boundary=00163641793738dfc20463da897b --00163641793738dfc20463da897b Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi all, After a couple of years of using an older context version, it was time to update the whole setup. So I installed the context standalone version. I was pretty impressed about the ease of installation compared to what I remember from previous experiences. However, using a piece of tex that never gave me problems before, I now see the following : as you will see in the example, I put a centered text within a frame, and for some reason the line is splitted (see center and right frame), while the same text in the same frames, using left or right alignment does not split the lines, so the text itself is not too long to fit...... This did not happen on my previous context installation..... what could be the cause ? Thanks... \starttext \framed[width=\makeupwidth, height=3cm, align=right,strut=no, offset=none,frame=on]{ \framed[width=0.230\makeupwidth,height=3cm, align=center, frame=off, rightframe=on, offset=none] {Mydepname \crlf anotherline} \framed[width=0.510\makeupwidth, height=3cm, frame=off, offset=none] {\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} \crlf {\it Information Document nr. 70/123--634} \crlf Final Version} \framed[width=0.230\makeupwidth, height=3cm, align=center, frame=off, leftframe=on, offset=none] {\crlf \tfx Fecha de emisi\'on: \crlf Date of issue: \crlf \currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumber} de/of {\lastpage}} } \crlf \crlf \crlf \crlf \crlf \framed[width=\makeupwidth, height=3cm, align=right,strut=no, offset=none,frame=on]{ \framed[width=0.230\makeupwidth,height=3cm, align=center, frame=off, rightframe=on, offset=none] {Mydepname \crlf anotherline} \framed[width=0.510\makeupwidth, height=3cm, align=left, frame=off, offset=none] {\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} \crlf {\it Information Document nr. 70/123--634} \crlf Final Version} \framed[width=0.230\makeupwidth, height=3cm, align=right, frame=off, leftframe=on, offset=none] {\crlf \tfx Fecha de emisi\'on: \crlf Date of issue: \crlf \currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumber} de/of {\lastpage}} } \stoptext --00163641793738dfc20463da897b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

After a couple of years of using an older context version, it was tim= e to update the whole setup. So I installed the context standalone version= . I was pretty impressed about the ease of installation compared to what I= remember from previous experiences. However, using a piece of tex that ne= ver gave me problems before, I now see the following : as you will see in = the example, I put a centered text within a frame, and for some reason the = line is splitted (see center and right frame), while the same text in the s= ame frames, using left or right alignment does not split the lines, so the = text itself is not too long to fit...... This did not happen on my previou= s context installation..... what could be the cause ?

Thanks...

\starttext
\framed[width=3D\makeupwidth, height=3D3cm, align=3Dright,strut=3D= no, offset=3Dnone,frame=3Don]{
\framed[width=3D0.230\makeupwidth,height=3D3cm, align=3Dcenter= , frame=3Doff, rightframe=3Don, offset=3Dnone] {Mydepname \crlf anotherline= }
\framed[width=3D0.510\makeupwidth, height=3D3cm, frame=3Doff, = offset=3Dnone]
{\crlf \crlf {\bf Descripci\'on Nr: 70/123--63= 4} \crlf {\it Information Document nr. 70/123--634} \crlf Final Version}
\framed[width=3D0.230\makeupwidth, height=3D3cm, align=3Dcente= r, frame=3Doff, leftframe=3Don, offset=3Dnone]
{\crlf \tfx Fecha de emisi\'on: \crlf Date of = issue: \crlf \currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumb= er} de/of {\lastpage}}
}

\crlf \crlf \crlf \crlf \crlf=20
\framed[width=3D\makeupwidth, height=3D3cm, align=3Dright,strut=3D= no, offset=3Dnone,frame=3Don]{
\framed[width=3D0.230\makeupwidth,height=3D3cm, align=3Dcenter,= frame=3Doff, rightframe=3Don, offset=3Dnone] {Mydepname \crlf anotherline}
\framed[width=3D0.510\makeupwidth, height=3D3cm, align=3Dleft, = frame=3Doff, offset=3Dnone]
{\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} = \crlf {\it Information Document nr. 70/123--634} \crlf Final Version}
\framed[width=3D0.230\makeupwidth, height=3D3cm, align=3Dright,= frame=3Doff, leftframe=3Don, offset=3Dnone]
{\crlf \tfx Fecha de emisi\'on: \crlf Date of iss= ue: \crlf \currentdate[dd,--,mm,--,j] \crlf \crlf pagina/page {\pagenumber}= de/of {\lastpage}}
}
\stoptext --00163641793738dfc20463da897b-- --===============0714977303== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0714977303==--