From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75387 Path: news.gmane.org!not-for-mail From: Honza Hejzl Newsgroups: gmane.comp.tex.context Subject: Figures alignment on grid Date: Wed, 28 Mar 2012 20:13:28 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1369552630==" X-Trace: dough.gmane.org 1332958420 30314 80.91.229.3 (28 Mar 2012 18:13:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 18:13:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 28 20:13:40 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SCxNI-0004Bk-AT for gctc-ntg-context-518@m.gmane.org; Wed, 28 Mar 2012 20:13:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E712210194; Wed, 28 Mar 2012 20:13:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fl-7QPsCBO0H; Wed, 28 Mar 2012 20:13:33 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6BEDD101E2; Wed, 28 Mar 2012 20:13:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D196101E2 for ; Wed, 28 Mar 2012 20:13:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Bg5zVX8LyiR9 for ; Wed, 28 Mar 2012 20:13:31 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 0A0DA10194 for ; Wed, 28 Mar 2012 20:13:30 +0200 (CEST) Original-Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2SIDTj6004634 for ; Wed, 28 Mar 2012 20:13:30 +0200 Original-Received: by ggeq1 with SMTP id q1so1230040gge.14 for ; Wed, 28 Mar 2012 11:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=J8TemEJRkyn8K/7ZQhh5117rEjKohtu2fZeJgP1pBYI=; b=TRwauttvqxTXk8uVgRKF0Pxjb2Ok6PX5xlUOVtGBS8bVEiqTok/lnXkXpcrnRz4r1W u+n7b0ZKwxfaloDNiphYguNpOm4xIOqMwEMCDDxIa3UNb6O3Rw9vLQh+1cZehw214cbI gbREdbvGU0hZfN1GalXOO231dcG4ArVUhKt8w2VXgKXpGaou0kkJX4g9yFoS4Xw2/m8z X2eXoWoTQ3nn9p0BkjPxMx5inhod2tkWwNHnyO9HcxC2WdKsTzx14DLSAtwcHwh2OfJr aPHlsKnHjISojZIMKqRP4m7OtrAVBS4PWp7m3TGZwawM+Y0zkLr2nReMYqec+lNFO+Kq SQcQ== Original-Received: by 10.60.13.37 with SMTP id e5mr30589630oec.70.1332958408949; Wed, 28 Mar 2012 11:13:28 -0700 (PDT) Original-Received: by 10.182.46.33 with HTTP; Wed, 28 Mar 2012 11:13:28 -0700 (PDT) X-Bayes-Prob: 0.0046 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.169; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NGP6duyv - 330116338f60 - 20120328 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:75387 Archived-At: --===============1369552630== Content-Type: multipart/alternative; boundary=e89a8fb1f350773ef104bc519004 --e89a8fb1f350773ef104bc519004 Content-Type: text/plain; charset=ISO-8859-1 Hello ConTeXists, My questions are still without any response. I am not sure why, maybe they are not clearly explained. I have found two problems about figures: 1) It is impossible to achieve proper text wrapping around figure when the GRID is ON. I have tried more suggestions (see my source). 2) The second thing is there is no way how to change alignment in captions. \enableregime[utf] \mainlanguage[en] \setuppapersize[A5][A5] \definefloat[figure][figures] \setuplayout[grid=yes] \setupcaption[figure][% align=left, %align=right, style=\ss, distance=2pt,before={\noindent}] \showgrid \starttext \input tufte %\movesidefloat[x=10pt,y=-40pt] %\movesidefloat[3*line] %\hangsidefloat[3] \placefigure[left]{sdf}{\externalfigure[none][height=3cm]} \input tufte \stoptext Any help appreciated. Honza Hejzl --e89a8fb1f350773ef104bc519004 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Con=
TeXists,

My questions are still without any response. I am not sure why, maybe they =
are not clearly explained.
I have found two problems about figures:
1) It is impossible to achieve proper text wrapping around figure when the
GRID is ON. I have tried more suggestions (see my source).

2) The second thing is there is no way how to change alignment in captions=
.


\enableregime[utf]
\mainlanguage[en]
\setuppapersize[A5][A5]
\definefloat[figure][figures]
\setuplayout[grid=3Dyes]
\setupcaption[figure][%
align=3Dleft,
%align=3Dright,
style=3D\ss, distance=3D2pt,before=3D{\noindent}]
\showgrid

\starttext
\input tufte

%\movesidefloat[x=3D10pt,y=3D-40pt]
%\movesidefloat[3*line]
%\hangsidefloat[3]

\placefigure[left]{sdf}{\externalfigure[none][height=3D3cm]}
\input tufte
 \stoptext

Any help appreciated.

Honza Hejzl
--e89a8fb1f350773ef104bc519004-- --===============1369552630== 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 ___________________________________________________________________________________ --===============1369552630==--